SVG output gives blank file and compiling error
Using 5.4.3ds1-4 on Debian testing The thconfig.thc at http://www.cave-registry.org.uk/svn/WookeyCatchment/SludgePit/ works fine for pdf map output, but if I try to output svg a file is produced that does not display in any of the svg programs I have. It also does not finishing compiling giving a red ERROR in xtherion The log file just seems to stop here is the end of it ##################### end of pdftex log file ##################### done writing output/SludgePitP.svg ... ####################### metapost log file ######################## This is MetaPost, version 2.00 (TeX Live 2019/dev/Debian) (kpathsea version 6.3.1/dev) 25 FEB 2019 13:01 **data.mp (/usr/share/texlive/texmf-dist/metapost/base/mpost.mp (/usr/share/texlive/texmf-dist/metapost/base/plain.mp Preloading the plain mem file, version 1.005) ) (./data.mp {randomseed:=42} [4001] [4002] [4003] [4004] [4005] [4006] [4007] [4008] [4009] [4010] [4011] [ 4012] [4013] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [Warning: scrap outline intersects itself in scrap 4PotsLowerSP2@Maze.SludgePit ] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73] I have also tried xhtml which the manual says is SVG embedded in XHTML file which contains also legend and only a legend is produced. Spent a while looking at the manual and wiki pages, and not finding my mistake, can anyone help thanks Andrew
Andrew Not sure if this is helpful or not. I just compiled a random project that I am working on just now. svg files are produced OK. The label text spacing is rubbish however. xhtml files are produced OK. They have a header and the text spacing seems just fine. Using therion 5.4.3+d0538ee (2019-02-01) on Windows 10 Bruce -----Original Message----- From: Therion <therion-bounces@speleo.sk> On Behalf Of Andrew Atkinson via Therion Sent: Tuesday, 26 February 2019 02:11 Subject: [Therion] SVG output gives blank file and compiling error Using 5.4.3ds1-4 on Debian testing The thconfig.thc at http://www.cave-registry.org.uk/svn/WookeyCatchment/SludgePit/ works fine for pdf map output, but if I try to output svg a file is produced that does not display in any of the svg programs I have. It also does not finishing compiling giving a red ERROR in xtherion The log file just seems to stop ... I have also tried xhtml which the manual says is SVG embedded in XHTML file which contains also legend and only a legend is produced. Spent a while looking at the manual and wiki pages, and not finding my mistake, can anyone help thanks Andrew
Are your files available so that I can see if they work on my machine? My files are on the link sent in the original email. http://www.cave-registry.org.uk/svn/WookeyCatchment/SludgePit/ If you have time could you try to compile them, we can then find out if it is my mistake or maybe a Linux bug thanks Andrew On 26/02/2019 06:22, Bruce Mutton via Therion wrote:
Andrew Not sure if this is helpful or not. I just compiled a random project that I am working on just now. svg files are produced OK. The label text spacing is rubbish however. xhtml files are produced OK. They have a header and the text spacing seems just fine.
Using therion 5.4.3+d0538ee (2019-02-01) on Windows 10
Bruce
I have compiled a small section of SludgePit and it produces proper svg and xhtml files on Windows 10. I've sent Andrew a small dataset of mine for him to test. Bruce -----Original Message----- From: Therion <therion-bounces@speleo.sk> On Behalf Of Andrew Atkinson via Therion Sent: Tuesday, 26 February 2019 22:48 To: therion@speleo.sk Cc: Andrew Atkinson <andrew@wotcc.org.uk> Subject: Re: [Therion] SVG output gives blank file and compiling error Are your files available so that I can see if they work on my machine? My files are on the link sent in the original email. http://www.cave-registry.org.uk/svn/WookeyCatchment/SludgePit/ If you have time could you try to compile them, we can then find out if it is my mistake or maybe a Linux bug thanks Andrew On 26/02/2019 06:22, Bruce Mutton via Therion wrote:
Andrew Not sure if this is helpful or not. I just compiled a random project that I am working on just now. svg files are produced OK. The label text spacing is rubbish however. xhtml files are produced OK. They have a header and the text spacing seems just fine.
Using therion 5.4.3+d0538ee (2019-02-01) on Windows 10
Bruce
Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
May you advice how to add to centerline tape measured accidentally with DistoX switched to feet? for example 11’ 5 3/16’' I may simple convert it, but I want to write centerline as it was measured, if possible. Thanks Martin
Hi I don't quite understand the problem. The Disto stores and exports data i the same format whatever unit you use when measuring. Switch unit on the Disto and read out the measurements in m when scrolling through them, or export them to PT or any other device like nothing happend. Or; what in your question didn't I understand? Svein -----Opprinnelig melding----- From: Martin Sluka via Therion Sent: Thursday, February 28, 2019 7:48 PM To: List for Therion users Cc: Martin Sluka Subject: [Therion] units tape fractional inches May you advice how to add to centerline tape measured accidentally with DistoX switched to feet? for example 11’ 5 3/16’' I may simple convert it, but I want to write centerline as it was measured, if possible. Thanks Martin _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
I have not access to that DistoX. I received only data from sketchbook. They didn’t use PocketTopo or Topodroid. Martin Odesláno z iPhonu 1. 3. 2019 v 13:10, Svein Grundstrøm via Therion <therion@speleo.sk>:
Hi
I don't quite understand the problem.
The Disto stores and exports data i the same format whatever unit you use when measuring. Switch unit on the Disto and read out the measurements in m when scrolling through them, or export them to PT or any other device like nothing happend.
Or; what in your question didn't I understand?
Svein
-----Opprinnelig melding----- From: Martin Sluka via Therion Sent: Thursday, February 28, 2019 7:48 PM To: List for Therion users Cc: Martin Sluka Subject: [Therion] units tape fractional inches
May you advice how to add to centerline tape measured accidentally with DistoX switched to feet?
for example 11’ 5 3/16’'
I may simple convert it, but I want to write centerline as it was measured, if possible.
Thanks
Martin _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Thanks to Bruce for sending data and trying to run mine. The conclusion is that with the same data set svg output works on a windows 10 machine but does not work on Debian testing therion 5.4.3 (2019.02.01) A short svg file is produced, where hundreds of lines are produced on the windows machine. The log file just stops and the red ERROR bar is shown. the log file corrctly says that it has written a svg file. Andrew On 26/02/2019 18:56, Bruce Mutton via Therion wrote:
I have compiled a small section of SludgePit and it produces proper svg and xhtml files on Windows 10. I've sent Andrew a small dataset of mine for him to test. Bruce
On Fri, Mar 1, 2019 at 12:00 PM Andrew Atkinson via Therion <therion@speleo.sk> wrote:
The conclusion is that with the same data set svg output works on a windows 10 machine but does not work on Debian testing therion 5.4.3 (2019.02.01)
Hi, could you send me that example? I processed 'Maze' part of the cave on Debian 9 / therion 5.4.3+d0538ee without any problem (svg and xhtml looking fine). Didn't process the whole cave, though, as some of the th2 files are missing on the web. Martin
On Fri, Mar 1, 2019 at 12:00 PM Andrew Atkinson via Therion
The conclusion is that with the same data set svg output works on a windows 10 machine but does not work on Debian testing therion 5.4.3 (2019.02.01)
Fixed now in the current development version (947e945). Martin
participants (5)
-
Andrew Atkinson -
Bruce Mutton -
Martin Budaj -
Martin Sluka -
Svein Grundstrøm