<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="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 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman";}
p
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman";}
pre
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle21
{mso-style-type:personal;
font-family:Arial;
color:windowtext;}
span.EmailStyle22
{mso-style-type:personal;
font-family:Arial;
color:navy;}
span.EmailStyle23
{mso-style-type:personal;
font-family:Arial;
color:navy;}
span.EmailStyle24
{mso-style-type:personal;
font-family:Arial;
color:navy;}
span.EmailStyle25
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 77.95pt 72.0pt 77.95pt;}
div.Section1
{page:Section1;}
-->
</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-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I have figured out by trial and error that
if Therion cannot determine a unique map output title, it assigns a value of ‘sort
of empty but not quite empty’ to </span></font><font color=navy><span
style='color:navy'>\cavename.</span></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>What ever that value is, it looks like a
space character, ie blank but with a height that equals a typical text line
height.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>It’s not one space, not two spaces,
not an empty string, and I can see I could end up testing a lot of non printing
characters before I find it.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Maybe the programmer can remember what the
magic value is, or someone with better tex skills (than my almost non-existent
tex skills) can offer some code to identify the contents of a string variable,
ie it’s length or much better a list of ascii codes?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";color:navy'>code tex-map<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";color:navy'> \edef\therioninferedmaptitle{\the\cavename}
%save existing calculated cavename to variable<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";color:navy'>
%could put some code here to output the ascii codes contained in \cavename<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";color:navy'>
\edef\nostring{ } %save ‘empty string’ to variable<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";color:navy'>
\ifx\therioninferedmaptitle\nostring
%test if therioninferedmaptitle matches empty string<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";color:navy'> \cavename={Caves
of the Flora Area} %if
therioninferedmaptitle is empty do this<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";color:navy'> \else <o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";color:navy'> %if
it's not empty, do nothing, ie keep the value set by therion<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";color:navy'> \fi<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";color:navy'>endcode</span></font><font
size=3 color=navy face="Times New Roman"><span lang=EN-NZ style='font-size:
12.0pt;font-family:"Times New Roman";color:navy'><o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=navy face=Arial><span lang=EN-NZ
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=navy face=Arial><span lang=EN-NZ
style='font-size:10.0pt;font-family:Arial;color:navy'>;- )<o:p></o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=navy face=Arial><span lang=EN-NZ
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoPlainText><font size=2 color=navy face=Arial><span lang=EN-NZ
style='font-size:10.0pt;font-family:Arial;color:navy'>Bruce <o:p></o:p></span></font></p>
</div>
</body>
</html>