Feature request - control over sort order for carto and copyright similar to explo and topo
Stacho Looks like it is counting scraps correctly. The following statements… statistics carto all statistics carto-count hide (or on or off) … work perfectly. One thing that does seem to be a problem however. The syntax… statistics <explo/topo/carto/copyright> number … 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. For example this is what I have been trying… statistics topo 10 statistics topo-length hide I checked with the previous recent version, 552f923 and after removing all the carto-count statements, I get the same behaviour, an untrapped error. So I think the carto-count is working perfectly and I have just unearthed a different problem. Have not yet tested statistics copyright-count. I presume it will be OK based on the success with carto-count. Bruce From: Therion <therion-bounces@speleo.sk> On Behalf Of Stacho Mudrak Sent: Friday, 20 November 2020 09:19 To: List for Therion users <therion@speleo.sk> Subject: Re: [Therion] Feature request - control over sort order for carto and copyright similar to explo and topo Hi Bruce, 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. Could you please check, whether it works as expected? S. On Mon, 16 Nov 2020 at 09:48, Bruce Mutton <bruce@tomo.co.nz <mailto:bruce@tomo.co.nz> > wrote:
From the Therion Book…
• statistics <explo/topo/carto/copyright all/off/number> or • statistics <explo/topo-length on/hide/off> ▷ 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: off) …and explained a little more completely here <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> ie on = sorts by length and shows the length with each person’s name; hide = sorts as above and does not show the lengths; off = sorts alphabetically and does not show the lengths. I have a feature request (unless we can already do this?). We have the option of sorting exploration and survey team members by the length of the passage centrelines that they have contributed to. Can we do a similar thing for scrap authors and copyrights? ie statistics <carto/copyright-count on/hide/off> where: 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; hide = sorts as above and does not show the numbers; off = sorts alphabetically by surname and does not show the numbers. This last setting matches the current behaviour for carto, and as I posted recently, the sort order for copyright seems to be unpredictable. Why do I want this feature? 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! Bruce _______________________________________________ Therion mailing list Therion@speleo.sk <mailto:Therion@speleo.sk> https://mailman.speleo.sk/listinfo/therion
Vertical scalebar created by Juraj Halama added to wiki Martin Sluka
Cool, do you have a link? :) Am 2020-11-26 11:55, schrieb Martin Sluka via Therion:
Vertical scalebar created by Juraj Halama added to wiki
Martin Sluka _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
therion.speleo.sk <http://therion.speleo.sk/> https://therion.speleo.sk/wiki/metapost <https://therion.speleo.sk/wiki/metapost> Martin
26. 11. 2020 v 14:12, Benedikt Hallinger <beni@hallinger.org>:
Cool, do you have a link? :)
Am 2020-11-26 11:55, schrieb Martin Sluka via Therion:
Vertical scalebar created by Juraj Halama added to wiki Martin Sluka _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
https://therion.speleo.sk/wiki/metapost?s[]=vertical&s[]=scalebar almost at the bottom -----Ursprüngliche Nachricht----- Von: Therion [mailto:therion-bounces@speleo.sk] Im Auftrag von Benedikt Hallinger Gesendet: Donnerstag, 26. November 2020 14:12 An: List for Therion users Cc: Martin Sluka Betreff: Re: [Therion] Vertical scalebar created by Juraj Halama added to wiki Cool, do you have a link? :) Am 2020-11-26 11:55, schrieb Martin Sluka via Therion:
Vertical scalebar created by Juraj Halama added to wiki
Martin Sluka _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
<https://therion.speleo.sk/wiki/metapost?s%5b%5d=vertical&s%5b%5d=scalebar> https://therion.speleo.sk/wiki/metapost?s[]=vertical&s[]=scalebar
almost at the bottom
Vertical scalebar created by Juraj Halama added to wiki
Martin Sluka
Quite aside from the vertical scalebar, that is a nicely prepared map of the cave. I’m interested in the way that Juraj has prepared the plan where the passages are over top of each other. I’m about to start drawing a vertical cave with a similar level of complexity. I will experiment myself, but may as well ask what may be silly questions. Has this been compiled entirely with Therion, or has it been post processed with the likes of Illustrator or Inkscape? I presume the black plan passage is ‘preview below’, and that all of the plan scraps are simply offset from that? The map-connection lines that connect all three instances of some stations. Is this standard behaviour or has this been custom coded? Bruce
29. 11. 2020 v 23:15, Bruce Mutton <bruce@tomo.co.nz>:
Has this been compiled entirely with Therion, or has it been post processed with the likes of Illustrator or Inkscape?
As I may say, entirely in Therion with some editing of Metapost and TeX. Logos were created in some other programs. Juraj Halama is not in front of his computer now, he will answer you later. Martin
Hi Martin, Do you have the meta post for the plan and elevation symbols? They look great! [cid:fb5ddfa0-6726-4688-a17f-4417930ca203] thanks, Al ________________________________ From: Therion <therion-bounces@speleo.sk> on behalf of Martin Sluka via Therion <therion@speleo.sk> Sent: 01 December 2020 15:41 To: List for Therion users <therion@speleo.sk> Cc: Martin Sluka <martinsluka@me.com> Subject: Re: [Therion] Vertical scalebar created by Juraj Halama added to wiki 29. 11. 2020 v 23:15, Bruce Mutton <bruce@tomo.co.nz<mailto:bruce@tomo.co.nz>>: Has this been compiled entirely with Therion, or has it been post processed with the likes of Illustrator or Inkscape? As I may say, entirely in Therion with some editing of Metapost and TeX. Logos were created in some other programs. Juraj Halama is not in front of his computer now, he will answer you later. Martin
From Juraj: It is not a regular point due to its size, but all the features of points are working... def p_u_symbol_plan (expr pos,theta,sc,al) = U := (-3.25u, 3.25u); T := identity aligned al rotated theta scaled sc shifted pos; pickup PenB; q := ((-3.26u, -.95u) -- (1.74u, -.95u) -- (2.8u, .82u) -- (-1.49u, .82u) -- cycle); thfill q withcolor .85; thdraw q; q := ((-.175u, .5u) -- (0u, 0u) -- (.175u, .5u) .. (0u, .45u) .. cycle); thfill q withcolor .5green; thdraw q withcolor .5green; thdraw (0u, 0u) -- (0u, 2.31u) withcolor .5green; enddef; def p_u_symbol_extend (expr pos,theta,sc,al) = U := (-2.5u, 2.5u); T := identity aligned al rotated theta scaled sc shifted pos; pickup PenB; q := ((-2.346u, -2.480u) -- (-.48u, -2.116u) -- (-.48u, 1.573u) -- (-2.346u, 1.354u) -- cycle); thfill q withcolor .85; q := ((-1.551u, -2.878u) -- (1.438u, -.766u) -- (1.438u, 2.388u) -- (-1.551u, 1.118u) -- cycle); thfill q withcolor .75; thdraw q; thdraw (-.48u, -2.116u) -- (-.48u, 1.573u) dashed evenly; q := ((.446u, -1.461u) -- (2.120u, -1.094u) -- (2.120u, 2.184u) -- (.446u, 1.965u) -- cycle); thfill q withcolor .85; thdraw (.446u, -1.461u) -- (.446u, 1.965u) dashed evenly; q := ((-.175u, .5u) -- (0u, 0u) -- (.175u, .5u) .. (0u, .45u) .. cycle) rotated -90; thfill q withcolor .5green; thdraw q withcolor .5green; thdraw (0u, 0u) -- (2.31u, 0u) withcolor .5green; enddef; ...and do not forget to remove it from legend: text sk "point u:symbol_plan" "" text sk "point u:symbol_extend" ""
1. 12. 2020 v 21:15, alastair gott <alastairgott@hotmail.com>:
Hi Martin,
Do you have the meta post for the plan and elevation symbols? They look great!
<image.png>
thanks, Al From: Therion <therion-bounces@speleo.sk <mailto:therion-bounces@speleo.sk>> on behalf of Martin Sluka via Therion <therion@speleo.sk <mailto:therion@speleo.sk>> Sent: 01 December 2020 15:41 To: List for Therion users <therion@speleo.sk <mailto:therion@speleo.sk>> Cc: Martin Sluka <martinsluka@me.com <mailto:martinsluka@me.com>> Subject: Re: [Therion] Vertical scalebar created by Juraj Halama added to wiki
29. 11. 2020 v 23:15, Bruce Mutton <bruce@tomo.co.nz <mailto:bruce@tomo.co.nz>>:
Has this been compiled entirely with Therion, or has it been post processed with the likes of Illustrator or Inkscape?
As I may say, entirely in Therion with some editing of Metapost and TeX. Logos were created in some other programs.
Juraj Halama is not in front of his computer now, he will answer you later.
Martin _______________________________________________ Therion mailing list Therion@speleo.sk <mailto:Therion@speleo.sk> https://mailman.speleo.sk/listinfo/therion <https://mailman.speleo.sk/listinfo/therion>
participants (5)
-
alastair gott -
Benedikt Hallinger -
Bruce Mutton -
Markus Boldt -
Martin Sluka