<div>Hi there,<br></div><div><div class="gmail_quote">
<br>
Since I upgraded to the last version of Therion (6.01) on Windows my<br>
maps refuse to compile even though they used to compile just fine<br>
before and still compile under the previous version (on a Linux<br>
machine)<br>
<br>
Specifically this piece of code in LayoutStandards.thc drafted by<br>
Bruce Mutton found here:<br>
<a href="https://therion.speleo.sk/wiki/_media/templates:layoutstandards.txt" rel="noreferrer" target="_blank">https://therion.speleo.sk/wiki/_media/templates:layoutstandards.txt</a><br>
<br>
code metapost<br>
%these colours affect fills, not the linework<br>
!color colour_water_bg; %! forces interpretation as metapost<br>
colour_water_bg := (0.82,.93,.95); %light blue<br>
!color colour_sump_bg; %! forces interpretation as metapost<br>
def_transparent_rgb (tr_color_sump_bg, .44, .81, .92) %transparent version<br>
colour_sump_bg := (.44,.81,.92); %dark blue<br>
<br>
%these colours affect the linework<br>
!color colour_rope; %! forces interpretation as metapost<br>
colour_rope := (0.35,0.75,1.0); %blue<br>
endcode<br>
<br>
<br>
<br>
Gives the following error message:<br>
<br>
<br>
<br>
>> def_transparent_rgb<br>
! Isolated expression.<br>
<to be read again><br>
(<br>
l.6979 def_transparent_rgb (<br>
tr_color_sump_bg, .44, .81, .92) %transparent ve...<br>
I couldn't find an `=' or `:=' after the<br>
expression that is shown above this error message,<br>
so I guess I'll just ignore it and carry on.<br>
<br>
! Extra tokens will be flushed.<br>
<to be read again><br>
(<br>
l.6979 def_transparent_rgb (<br>
tr_color_sump_bg, .44, .81, .92) %transparent ve...<br>
I've just read as much of that statement as I could fathom,<br>
so a semicolon should have been next. It's very puzzling...<br>
but I'll try to get myself back together, by ignoring<br>
everything up to the next `;'. Please insert a semicolon<br>
now in front of anything that you don't want me to delete.<br>
(See Chapter 27 of The METAFONTbook for an example.)<br>
<br>
<br>
<br>
I tried adding some := and =, but this just leads to the following<br>
error message:<br>
<br>
<br>
>> def_transparent_rgb<br>
>> (tr_color_sump_bg,0.44,0.81,0.92)<br>
! Equation cannot be performed (numeric=cmykcolor).<br>
<to be read again><br>
colour_sump_bg<br>
l.6980 colour_sump_bg<br>
:= (.44,.81,.92); %dark blue<br>
I'm sorry, but I don't know how to make such things equal.<br>
(See the two expressions just above the error message.)<br>
<br>
! Extra tokens will be flushed.<br>
<to be read again><br>
colour_sump_bg<br>
l.6980 colour_sump_bg<br>
:= (.44,.81,.92); %dark blue<br>
I've just read as much of that statement as I could fathom,<br>
so a semicolon should have been next. It's very puzzling...<br>
but I'll try to get myself back together, by ignoring<br>
everything up to the next `;'. Please insert a semicolon<br>
now in front of anything that you don't want me to delete.<br>
(See Chapter 27 of The METAFONTbook for an example.)<br>
<br>
Any ideas how to fix this?<br>
<br>
Cheers,<br>
<br>
Anton<br>
</div></div>