<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1809392493;
mso-list-type:hybrid;
mso-list-template-ids:1823622732 336134159 336134169 336134171 336134159 336134169 336134171 336134159 336134169 336134171;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-NZ link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoPlainText>Hi Bill<o:p></o:p></p><p class=MsoPlainText>Not sure what is going wrong (just perused your files, I have not compiled them).<o:p></o:p></p><p class=MsoPlainText>I have had no such problems, and cannot see any significant differences to what I am doing for symbols that do not exist as a Therion default , although I have only user defined points and lines, not areas.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Here are some examples that work in my thconfig file just fine (rope is perhaps a bad example, as I think it is now a default symbol, however it was not when I first created this many years ago).<o:p></o:p></p><p class=MsoPlainText style='margin-left:36.0pt'>text en "line u:rope" "rope" #text to appear in legend <o:p></o:p></p><p class=MsoPlainText style='margin-left:36.0pt'><span lang=FR>text mi "line u:rope" "taura"<o:p></o:p></span></p><p class=MsoPlainText style='margin-left:36.0pt'>text fr "line u:rope" "corde"<o:p></o:p></p><p class=MsoPlainText style='margin-left:36.0pt'>text en "line u:heyphone" "hey phone antenna" <o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>In the particular case of rope, have small differences associated with symbol definition, that I don’t expect are relevant, but maybe…<o:p></o:p></p><ol style='margin-top:0cm' start=1 type=1><li class=MsoPlainText style='mso-list:l0 level1 lfo1'>No semi colon after initsymbol (seems like it is a mistake on my part, but it seems like it has not ever caused me problems).<o:p></o:p></li><li class=MsoPlainText style='mso-list:l0 level1 lfo1'>I have defined the ‘shape’ of the symbol in the legend.<o:p></o:p></li></ol><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText style='margin-left:36.0pt'><span lang=FR>initsymbol("l_u_rope")<o:p></o:p></span></p><p class=MsoPlainText style='margin-left:36.0pt'><span lang=FR><o:p> </o:p></span></p><p class=MsoPlainText style='margin-left:36.0pt'><span lang=FR>def l_u_rope_legend =<o:p></o:p></span></p><p class=MsoPlainText style='margin-left:36.0pt'><span lang=FR> l_u_rope(((.2,.2) -- (.8,.8)) inscale)<o:p></o:p></span></p><p class=MsoPlainText style='margin-left:36.0pt'>enddef;<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Don’t expect this will help, but maybe…<o:p></o:p></p><p class=MsoPlainText>Bruce<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><span lang=EN-US>-----Original Message-----<br>From: Therion <therion-bounces@speleo.sk> On Behalf Of Bill Gee via Therion<br>Sent: Saturday, 9 February 2019 10:01<br>To: therion@speleo.sk<br>Cc: Bill Gee <bgee@campercaver.net><br>Subject: [Therion] Changing text on the legend</span></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Hello everyone -<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>This has been annoying me for a while. Time to see if there is a fix ...<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>I have defined quite a few custom symbols, and I have redefined some of the symbols that are included with Therion. When Therion prints the legend, those symbols get labels like "area u:pavement".<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>I added some text lines to the thconfig file, but that has no effect. A close reading of the Therion Book tells me that text substitution only works for text strings that are part of the language pack. That implies it does NOT work to re-label symbols in the legend. Is that true?<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>The attached file is a sample cave. The PDF file shows the incorrect strings in the legend. The two custom symbols on this map are defined below.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>code metapost<o:p></o:p></p><p class=MsoPlainText># Define an area fill for pavement<o:p></o:p></p><p class=MsoPlainText> beginpattern(pattern_pavement);<o:p></o:p></p><p class=MsoPlainText> draw (-0.7u, -0.2u)--(-0.1u, 0.2u) withpen pensquare scaled (0.04u);<o:p></o:p></p><p class=MsoPlainText> draw (0.1u, 0.2u)--(0.7u, -0.2u) withpen pensquare scaled (0.04u);<o:p></o:p></p><p class=MsoPlainText> patternxstep(1.6u);<o:p></o:p></p><p class=MsoPlainText> patternystep(0.50u);<o:p></o:p></p><p class=MsoPlainText> endpattern;<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText> def a_u_pavement (expr Path) =<o:p></o:p></p><p class=MsoPlainText> T:=identity;<o:p></o:p></p><p class=MsoPlainText> thclean Path;<o:p></o:p></p><p class=MsoPlainText> thfill Path withpattern pattern_pavement;<o:p></o:p></p><p class=MsoPlainText> enddef;<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText># Define an area fill for tiled floor<o:p></o:p></p><p class=MsoPlainText> beginpattern(pattern_tiles);<o:p></o:p></p><p class=MsoPlainText> draw (-0.1u, -0.1u)--(-0.1u, 0.1u)--(0.1u, 0.1u)--(0.1u, -0.1u)--cycle;<o:p></o:p></p><p class=MsoPlainText> patternxstep(0.3u);<o:p></o:p></p><p class=MsoPlainText> patternystep(0.3u);<o:p></o:p></p><p class=MsoPlainText> endpattern;<o:p></o:p></p><p class=MsoPlainText> <o:p></o:p></p><p class=MsoPlainText> def a_u_tiles (expr Path) =<o:p></o:p></p><p class=MsoPlainText> T:= identity;<o:p></o:p></p><p class=MsoPlainText> thclean Path;<o:p></o:p></p><p class=MsoPlainText> thfill Path withpattern pattern_tiles;<o:p></o:p></p><p class=MsoPlainText> enddef;<o:p></o:p></p><p class=MsoPlainText> <o:p></o:p></p><p class=MsoPlainText> <o:p></o:p></p><p class=MsoPlainText># Initialize the new symbols<o:p></o:p></p><p class=MsoPlainText> initsymbol ("a_u_pavement");<o:p></o:p></p><p class=MsoPlainText> initsymbol ("a_u_tiles");<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>endcode<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Thanks!<o:p></o:p></p><p class=MsoPlainText>-- <o:p></o:p></p><p class=MsoPlainText>Bill Gee<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p></div></body></html>