<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)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;
        mso-ligatures:standardcontextual;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></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" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><b><span style='font-size:11.0pt'>The scenario:<o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:11.0pt'>I have a large cave, and so to gain better control of extent of pages for export than is possible using atlas, I define and export sub-maps.  Each submap (of maps) is a logical grouping of passages in part of the cave, each submap either linearly placed one after the other, or above and below other groupings of passages.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>ie map AllofCave<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>              map <span style='background:yellow;mso-highlight:yellow'>Submap1</span><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>              map <span style='background:lime;mso-highlight:lime'>submap2</span><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>              map submap3 etc<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>endmap AllofCave<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Each of these submaps contains small local maps that are offset and previewed above and or below.  ie a short bit of passage here and there.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>To facilitate flexibility of map production, the thconfig selections are grouped and mostly commented like this…<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>              # select AllofCave<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>              select <span style='background:yellow;mso-highlight:yellow'>Submap1</span><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>              select <span style='background:lime;mso-highlight:lime'>Submap2</span><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>              # select Submap3 etc<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>In order that each of these submaps can be presented as a stand-alone output showing its relationship with the neighbouring submaps, or even all of the cave, each submap contains previews of its neighbouring submaps.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>ie<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>map <span style='background:yellow;mso-highlight:yellow'>Submap1</span><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>              preview above <span style='background:lime;mso-highlight:lime'>Submap2</span><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>              preview above Submap3<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>              <other ‘map of maps’ specified to define this part of cave><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>              <including small local map [offset] above or below><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>endmap <span style='background:yellow;mso-highlight:yellow'>Submap1</span><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>map <span style='background:lime;mso-highlight:lime'>Submap2</span><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>              preview above (or below) <span style='background:yellow;mso-highlight:yellow'>Submap1</span><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>              preview above Submap3<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>              <other ‘map of maps’ specified to define this part of cave><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>              <including small local map [offset] above or below><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>endmap <span style='background:lime;mso-highlight:lime'>Submap2</span><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Usually in the thconfig, one of the selects is uncommented at a time, but in parts of the cave and for some end uses, two or three submap selects are uncommented, as with Submap1 and Submap2 above.  This is when the problem arises.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt'>The problem:<o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:11.0pt'>Having two or more selects for the same projection breaks the previews of the small offset sections of passage in the second and subsequently selected submaps.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>ie <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><img width=637 height=573 style='width:6.6388in;height:5.9722in' id="_x0000_i1029" src="cid:image002.png@01DBC835.AFC33770"></span><span style='font-size:11.0pt'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Submap1 and Submap3 previews are correct, but all of Submap2 offset previews forced to above by the preview spec in Submap1<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><img width=642 height=509 style='width:6.6875in;height:5.2986in' id="_x0000_i1028" src="cid:image004.png@01DBC835.AFC33770"></span><span style='font-size:11.0pt'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>The order of selecting Submap1 and Submap2 has been swapped, so you can see previews in the top part of the image are now correct, but the previews in the bottom part of the image are incorrect.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt'>Possible Workaround:<o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:11.0pt'>Use only ONE select (for each projection) by collecting all of the maps you want to ‘select’ into a new map.  The disadvantage of this is that one must pre-empt all combinations of submaps into yet more maps.  But anyway, lets try it.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><img width=668 height=523 style='width:6.9583in;height:5.4513in' id="_x0000_i1027" src="cid:image006.png@01DBC835.AFC33770"></span><span style='font-size:11.0pt'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Now the individual passage offset previews are correctly rendered in all of the submaps (Submap1 and Submap2), except that the other submap previews (Submap3 etc) are not rendered at all.  So that did not work.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Trying adding -map-level 1 to the select for the new map gives some insight, but not a solution…<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><img width=645 height=487 style='width:6.7152in;height:5.0763in' id="_x0000_i1026" src="cid:image012.png@01DBC835.AFC33770"></span><span style='font-size:11.0pt'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>…because now the behaviour is the same as if I had uncommented multiple selects in the thconfig file and not defined a new map at all.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt'>The workaround/solution I came up with:<o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:11.0pt'>The submap previews in the submaps specified after the first one will be ignored (somehow they are in a different map-level, but the first one is not), so any submap previews that are wanted must be specified directly in the new map.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>ie<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>map newMap<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>              preview above Submap3<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>               <span style='background:yellow;mso-highlight:yellow'>Submap1</span>           <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>               <span style='background:lime;mso-highlight:lime'>Submap2</span><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>endmap newMap<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Now all of the offset previews and submap previews are displayed as they ‘should’ be displayed.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><img width=795 height=616 style='width:8.2847in;height:6.4166in' id="Picture_x0020_1" src="cid:image015.png@01DBC835.AFC33770"></span><span style='font-size:11.0pt'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt'>Question:<o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:11.0pt'>The Therion Book on page 50 seems to hint at the workaround/solution I eventually came up with.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Why can the above output not be achieved by specifying multiple selects in the thconfig?  Or can it be achieved?  It would be a simpler solution than having to define a map for each of the many combinations of submaps that users might want to produce.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>I realise I don’t understand ‘map-level’ very well.  Does anyone have any insights beyond what is written in the Therion Book and in the wiki?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Bruce<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p></div></body></html>