<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=utf-8"><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;}
@font-face
{font-family:"Calibri Light";
panose-1:2 15 3 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.gmail-m7853353679874126546fontstyle01
{mso-style-name:gmail-m_7853353679874126546fontstyle01;}
span.gmail-m7853353679874126546fontstyle21
{mso-style-name:gmail-m_7853353679874126546fontstyle21;}
span.gmail-m7853353679874126546fontstyle31
{mso-style-name:gmail-m_7853353679874126546fontstyle31;}
span.gmail-m7853353679874126546fontstyle41
{mso-style-name:gmail-m_7853353679874126546fontstyle41;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.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;}
--></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=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Stacho<o:p></o:p></p><p class=MsoNormal>Looks like it is counting scraps correctly. The following statements…<o:p></o:p></p><p class=MsoNormal><span style='font-family:"Calibri Light",sans-serif'> statistics carto all<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri Light",sans-serif'> statistics carto-count hide (or on or off)<o:p></o:p></span></p><p class=MsoNormal>… work perfectly.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>One thing that does seem to be a problem however. The syntax…<o:p></o:p></p><p class=MsoNormal><span class=gmail-m7853353679874126546fontstyle21><span style='font-size:12.0pt;font-family:"Calibri Light",sans-serif'> statistics <explo/topo/carto/copyright> number <o:p></o:p></span></span></p><p class=MsoNormal>… is giving me problems. They all seem to result in what seems to be an untrapped error, and truncating the therion.log file in random locations.<o:p></o:p></p><p class=MsoNormal>For example this is what I have been trying…<o:p></o:p></p><p class=MsoNormal><span style='font-family:"Calibri Light",sans-serif'> statistics topo 10<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri Light",sans-serif'> statistics topo-length hide<o:p></o:p></span></p><p class=MsoNormal>I checked with the previous recent version, 552f923 and after removing all the <span style='font-family:"Calibri Light",sans-serif'>carto-count</span> statements, I get the same behaviour, an untrapped error. So I think the <span style='font-family:"Calibri Light",sans-serif'>carto-count</span> is working perfectly and I have just unearthed a different problem.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Have not yet tested <span style='font-family:"Calibri Light",sans-serif'>statistics copyright-count</span>. I presume it will be OK based on the success with <span style='font-family:"Calibri Light",sans-serif'>carto-count</span>.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Bruce<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US>From:</span></b><span lang=EN-US> Therion <therion-bounces@speleo.sk> <b>On Behalf Of </b>Stacho Mudrak<br><b>Sent:</b> Friday, 20 November 2020 09:19<br><b>To:</b> List for Therion users <therion@speleo.sk><br><b>Subject:</b> Re: [Therion] Feature request - control over sort order for carto and copyright similar to explo and topo<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>Hi Bruce,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>I have tried to implement your feature in the latest commit (it will take a while until win installer will be available), I was able to count by scraps - hope this is OK.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>Could you please check, whether it works as expected?<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif'>S.<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Mon, 16 Nov 2020 at 09:48, Bruce Mutton <<a href="mailto:bruce@tomo.co.nz">bruce@tomo.co.nz</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>From the Therion Book…<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span class=gmail-m7853353679874126546fontstyle01><span style='font-size:12.0pt'>• </span></span><span class=gmail-m7853353679874126546fontstyle21><span style='font-size:12.0pt'>statistics <explo/topo/carto/copyright all/off/number> </span></span><span class=gmail-m7853353679874126546fontstyle31><span style='font-size:12.0pt'>or</span></span><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black'><br></span><span class=gmail-m7853353679874126546fontstyle01><span style='font-size:12.0pt'>• </span></span><span class=gmail-m7853353679874126546fontstyle21><span style='font-size:12.0pt'>statistics <explo/topo-length on/hide/off> </span></span><span class=gmail-m7853353679874126546fontstyle41><span style='font-size:12.0pt;font-family:"Cambria Math",serif'>▷</span></span><span class=gmail-m7853353679874126546fontstyle41><span style='font-size:12.0pt'> </span></span><span class=gmail-m7853353679874126546fontstyle31><span style='font-size:12.0pt'>display some basic statistics; if set to off, team members are sorted alphabetically; otherwise according to their contribution to exploration and surveying (M, A; default: </span></span><span class=gmail-m7853353679874126546fontstyle21><span style='font-size:12.0pt'>off</span></span><span class=gmail-m7853353679874126546fontstyle31><span style='font-size:12.0pt'>)</span></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>…and explained a little more completely <a href="https://therion.speleo.sk/wiki/faq?s%5b%5d=statistics#why_do_peoples_names_sort_alphabetically_when_they_used_to_sort_by_length_of_cave_explored_and_surveyed" target="_blank">here</a><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>ie<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>on = sorts by length and shows the length with each person’s name;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>hide = sorts as above and does not show the lengths;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>off = sorts alphabetically and does not show the lengths.<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I have a feature request (unless we can already do this?). <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>We have the option of sorting exploration and survey team members by the length of the passage centrelines that they have contributed to.<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Can we do a similar thing for scrap authors and copyrights?<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>ie<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span class=gmail-m7853353679874126546fontstyle21><span style='font-size:12.0pt'>statistics <carto/copyright-count on/hide/off></span></span><span class=gmail-m7853353679874126546fontstyle31><span style='font-size:12.0pt'> where:</span></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span class=gmail-m7853353679874126546fontstyle31><span style='font-size:12.0pt'>on = sorts by number of scraps and surveys by a particular author, or number of scraps and surveys by a particular copyright, respectively, and displays the numbers;</span></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span class=gmail-m7853353679874126546fontstyle31><span style='font-size:12.0pt'>hide = sorts as above and does not show the numbers;</span></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span class=gmail-m7853353679874126546fontstyle31><span style='font-size:12.0pt'>off = sorts alphabetically by surname and does not show the numbers.</span></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span class=gmail-m7853353679874126546fontstyle31><span style='font-size:12.0pt'> </span></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span class=gmail-m7853353679874126546fontstyle31><span style='font-size:12.0pt'>This last setting matches the current behaviour for carto, and as I posted recently, the sort order for copyright seems to be unpredictable.</span></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span class=gmail-m7853353679874126546fontstyle31><span style='font-size:12.0pt'>Why do I want this feature?</span></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span class=gmail-m7853353679874126546fontstyle31><span style='font-size:12.0pt'>Because regularly I draw 98 scraps, and someone else will draw 2, and their name will be displayed in front because of the spelling of our names!</span></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span class=gmail-m7853353679874126546fontstyle31><span style='font-size:12.0pt'> </span></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span class=gmail-m7853353679874126546fontstyle31><span style='font-size:12.0pt'>Bruce</span></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div></div><p class=MsoNormal>_______________________________________________<br>Therion mailing list<br><a href="mailto:Therion@speleo.sk" target="_blank">Therion@speleo.sk</a><br><a href="https://mailman.speleo.sk/listinfo/therion" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><o:p></o:p></p></blockquote></div></div></body></html>