Creating LOX files sometimes takes a very long time. One issue appears to be when there are empty objects in a th2 file such as line wall endline In the list archive Martin Sulka refers to a tool (?) that: There is somewhere a grab to find and erase empty objects from th2 files in conference. https://www.mail-archive.com/therion@speleo.sk/msg02978.html Any ideas? Many thanks, Henry Dell Corporation Limited is registered in England and Wales. Company Registration Number: 2081369 Registered address: Dell House, The Boulevard, Cain Road, Bracknell, Berkshire, RG12 1LF, UK. Company details for other Dell UK entities can be found on www.dell.co.uk.
Grep, nor grab, sorry 16.02.2009: I made a simple grep patter to find such "null lines" in th2 files: I have try grep search/replace ^\s*(\w+) \w+\s+end\1 and it looks it works m.s.
9. 3. 2017 v 9:14, Henry.Bennett--- via Therion <therion@speleo.sk>:
Creating LOX files sometimes takes a very long time. One issue appears to be when there are empty objects in a th2 file such as
line wall endline
In the list archive Martin Sulka refers to a tool (?) that:
There is somewhere a grab to find and erase empty objects from th2 files in conference. https://www.mail-archive.com/therion@speleo.sk/msg02978.html <https://www.mail-archive.com/therion@speleo.sk/msg02978.html>
Any ideas?
Many thanks, Henry Dell Corporation Limited is registered in England and Wales. Company Registration Number: 2081369 Registered address: Dell House, The Boulevard, Cain Road, Bracknell, Berkshire, RG12 1LF, UK. Company details for other Dell UK entities can be found on www.dell.co.uk <http://www.dell.co.uk/>. _______________________________________________ Therion mailing list Therion@speleo.sk <mailto:Therion@speleo.sk> https://mailman.speleo.sk/listinfo/therion <https://mailman.speleo.sk/listinfo/therion>
That grep works pretty well, I have run it over a few of my projects, and am now happy enough to let it automatically replace all the strings found with a null string. (I use version control, so can easily back out of any disasters). However I notice that it will not pick up hyphenated strings such as; line floor-step endline Any clever person figure out how to make it find both hyphenated and non-hyphenated empty objects. I'll add something to the wiki in due course. Bruce From: Therion [mailto:therion-bounces@speleo.sk] On Behalf Of Martin Sluka via Therion Sent: Thursday, 9 March 2017 10:29 PM To: List for Therion users <therion@speleo.sk> Cc: Martin Sluka <martinsluka@mac.com> Subject: Re: [Therion] th2 empty objects . I made a simple grep patter to find such "null lines" in th2 files: I have try grep search/replace ^\s*(\w+) \w+\s+end\1 and it looks it works m.s.
This one? Search/replace grep: ^\s*(w+) \w+(-?)\w*\s+end\1 m.s.
15. 3. 2017 v 9:03, Bruce Mutton via Therion <therion@speleo.sk>:
That grep works pretty well, I have run it over a few of my projects, and am now happy enough to let it automatically replace all the strings found with a null string. (I use version control, so can easily back out of any disasters).
However I notice that it will not pick up hyphenated strings such as;
line floor-step endline
Any clever person figure out how to make it find both hyphenated and non-hyphenated empty objects.
I’ll add something to the wiki in due course.
Bruce
From: Therion [mailto:therion-bounces@speleo.sk <mailto:therion-bounces@speleo.sk>] On Behalf Of Martin Sluka via Therion Sent: Thursday, 9 March 2017 10:29 PM To: List for Therion users <therion@speleo.sk <mailto:therion@speleo.sk>> Cc: Martin Sluka <martinsluka@mac.com <mailto:martinsluka@mac.com>> Subject: Re: [Therion] th2 empty objects
…
I made a simple grep patter to find such "null lines" in th2 files:
I have try grep search/replace
^\s*(\w+) \w+\s+end\1
and it looks it works
m.s. _______________________________________________ Therion mailing list Therion@speleo.sk <mailto:Therion@speleo.sk> https://mailman.speleo.sk/listinfo/therion <https://mailman.speleo.sk/listinfo/therion>
Martin’s regexp works as well, juast add backlash before first w this is working: ^\s*(\w+) \w+(-?)\w*\s+end\1
On 15 Mar 2017, at 09:52, Martin Sluka via Therion <therion@speleo.sk> wrote:
This one?
Search/replace grep:
^\s*(w+) \w+(-?)\w*\s+end\1
m.s.
15. 3. 2017 v 9:03, Bruce Mutton via Therion <therion@speleo.sk <mailto:therion@speleo.sk>>:
That grep works pretty well, I have run it over a few of my projects, and am now happy enough to let it automatically replace all the strings found with a null string. (I use version control, so can easily back out of any disasters).
However I notice that it will not pick up hyphenated strings such as;
line floor-step endline
Any clever person figure out how to make it find both hyphenated and non-hyphenated empty objects.
I’ll add something to the wiki in due course.
Bruce
From: Therion [mailto:therion-bounces@speleo.sk <mailto:therion-bounces@speleo.sk>] On Behalf Of Martin Sluka via Therion Sent: Thursday, 9 March 2017 10:29 PM To: List for Therion users <therion@speleo.sk <mailto:therion@speleo.sk>> Cc: Martin Sluka <martinsluka@mac.com <mailto:martinsluka@mac.com>> Subject: Re: [Therion] th2 empty objects
…
I made a simple grep patter to find such "null lines" in th2 files:
I have try grep search/replace
^\s*(\w+) \w+\s+end\1
and it looks it works
m.s. _______________________________________________ Therion mailing list Therion@speleo.sk <mailto:Therion@speleo.sk> https://mailman.speleo.sk/listinfo/therion <https://mailman.speleo.sk/listinfo/therion>
Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
On 2017-03-15 11:23 +0100, Ladislav Blažek via Therion wrote:
Martin’s regexp works as well, juast add backlash before first w
this is working:
^\s*(\w+) \w+(-?)\w*\s+end\1
Someone add this to the wiki, as working out a regex yourself takes ages :-) Wookey -- Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/
Hello, i try to generate a PDF with the whole cave rendered with LRUD centerline data only. The goal here is to generate a complete picture of the cave (>100km) with walls generated from LROU data, because i still have very few scraps at this time. However therion aborts with an error. How can i render a complex and big system into such a map? Currently there are only a few scraps in the data and yet i get problems, it seems... is an atlas project with caves this big not possible? For the compile, i generated a map in the compiler file, that selects the centerline only: source map onlyCenterline -projection plan #Zubringer@Hirlatzhoehle # <- this renders fine Hirlatzhoehle endmap endsource And the following layout: layout LROU colour map-fg [100 0 0] symbol-show group centerline scale 1 5000 endlayout However, when i try to compile it, i get the following error: Transcript written on data.log. converting scraps ... done making map ... done This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2015/dev/Debian) (preloaded format=pdfetex) restricted \write18 enabled. entering extended mode (./data.tex (./th_enc.tex) (./th_texts.tex) (./th_resources.tex (/usr/share/texlive/texmf-dist/tex/generic/pdftex/glyphtounicode.tex)) (./th_fontdef.tex{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}) (./th_formdef.tex Runaway text? 794.15 ! TeX capacity exceeded, sorry [main memory size=5000000]. l.286830 \PL{794.15 1 423.19 794.21 1423.05 794.31 1422.94 c}% ! ==> Fatal error occurred, no output PDF file produced! Transcript written on data.log. therion: error -- pdftex exit code -- 256 Thank you very much!
Try scale 1:10000 Odesláno z iPhonu 9. 3. 2017 v 22:43, Benedikt Hallinger via Therion <therion@speleo.sk>:
Hello, i try to generate a PDF with the whole cave rendered with LRUD centerline data only. The goal here is to generate a complete picture of the cave (>100km) with walls generated from LROU data, because i still have very few scraps at this time.
However therion aborts with an error. How can i render a complex and big system into such a map? Currently there are only a few scraps in the data and yet i get problems, it seems... is an atlas project with caves this big not possible?
For the compile, i generated a map in the compiler file, that selects the centerline only: source map onlyCenterline -projection plan #Zubringer@Hirlatzhoehle # <- this renders fine Hirlatzhoehle endmap endsource
And the following layout: layout LROU colour map-fg [100 0 0] symbol-show group centerline scale 1 5000 endlayout
However, when i try to compile it, i get the following error: Transcript written on data.log. converting scraps ... done making map ... done This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2015/dev/Debian) (preloaded format=pdfetex) restricted \write18 enabled. entering extended mode (./data.tex (./th_enc.tex) (./th_texts.tex) (./th_resources.tex (/usr/share/texlive/texmf-dist/tex/generic/pdftex/glyphtounicode.tex)) (./th_fontdef.tex{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}) (./th_formdef.tex Runaway text? 794.15 ! TeX capacity exceeded, sorry [main memory size=5000000]. l.286830 \PL{794.15 1 423.19 794.21 1423.05 794.31 1422.94 c}% ! ==> Fatal error occurred, no output PDF file produced! Transcript written on data.log. therion: error -- pdftex exit code -- 256
Thank you very much! <therion.log> _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
There could be an error in scraps somewhere. Try to use lower scale and add to layout "debug on" to check if there is not something wrong. Odesláno z iPhonu 9. 3. 2017 v 22:43, Benedikt Hallinger via Therion <therion@speleo.sk>:
Hello, i try to generate a PDF with the whole cave rendered with LRUD centerline data only. The goal here is to generate a complete picture of the cave (>100km) with walls generated from LROU data, because i still have very few scraps at this time.
However therion aborts with an error. How can i render a complex and big system into such a map? Currently there are only a few scraps in the data and yet i get problems, it seems... is an atlas project with caves this big not possible?
For the compile, i generated a map in the compiler file, that selects the centerline only: source map onlyCenterline -projection plan #Zubringer@Hirlatzhoehle # <- this renders fine Hirlatzhoehle endmap endsource
And the following layout: layout LROU colour map-fg [100 0 0] symbol-show group centerline scale 1 5000 endlayout
However, when i try to compile it, i get the following error: Transcript written on data.log. converting scraps ... done making map ... done This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2015/dev/Debian) (preloaded format=pdfetex) restricted \write18 enabled. entering extended mode (./data.tex (./th_enc.tex) (./th_texts.tex) (./th_resources.tex (/usr/share/texlive/texmf-dist/tex/generic/pdftex/glyphtounicode.tex)) (./th_fontdef.tex{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}) (./th_formdef.tex Runaway text? 794.15 ! TeX capacity exceeded, sorry [main memory size=5000000]. l.286830 \PL{794.15 1 423.19 794.21 1423.05 794.31 1422.94 c}% ! ==> Fatal error occurred, no output PDF file produced! Transcript written on data.log. therion: error -- pdftex exit code -- 256
Thank you very much! <therion.log> _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Hello, this did not work unfortunately. However i got a solution. The data structure looks as following: MyCave +---Region-A | + Survey-1 | + Survey-2 | - ... +---Region-B | + Subregion-B1 | + Survey-B1-1 | - Survey-B1-2 | + Survey-2 | - ... ... The error occurs with the map defined in compilerfile as: source map onlyCenterline -projection plan MyCave endmap endsource It does NOT occur if i specifiy every sublevel explicitely source map onlyCenterline -projection plan #MyCave Region-A@MyCave Region-B@MyCave endmap endsource This seems to be a usable workaround. It would be interesting what causes the error, tough. Greetings, Beni Am 2017-03-10 8:00, schrieb Martin Sluka:
There could be an error in scraps somewhere. Try to use lower scale and add to layout "debug on" to check if there is not something wrong.
Odesláno z iPhonu
9. 3. 2017 v 22:43, Benedikt Hallinger via Therion <therion@speleo.sk>:
Hello, i try to generate a PDF with the whole cave rendered with LRUD centerline data only. The goal here is to generate a complete picture of the cave (>100km) with walls generated from LROU data, because i still have very few scraps at this time.
However therion aborts with an error. How can i render a complex and big system into such a map? Currently there are only a few scraps in the data and yet i get problems, it seems... is an atlas project with caves this big not possible?
For the compile, i generated a map in the compiler file, that selects the centerline only: source map onlyCenterline -projection plan #Zubringer@Hirlatzhoehle # <- this renders fine Hirlatzhoehle endmap endsource
And the following layout: layout LROU colour map-fg [100 0 0] symbol-show group centerline scale 1 5000 endlayout
However, when i try to compile it, i get the following error: Transcript written on data.log. converting scraps ... done making map ... done This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2015/dev/Debian) (preloaded format=pdfetex) restricted \write18 enabled. entering extended mode (./data.tex (./th_enc.tex) (./th_texts.tex) (./th_resources.tex (/usr/share/texlive/texmf-dist/tex/generic/pdftex/glyphtounicode.tex)) (./th_fontdef.tex{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}) (./th_formdef.tex Runaway text? 794.15 ! TeX capacity exceeded, sorry [main memory size=5000000]. l.286830 \PL{794.15 1 423.19 794.21 1423.05 794.31 1422.94 c}% ! ==> Fatal error occurred, no output PDF file produced! Transcript written on data.log. therion: error -- pdftex exit code -- 256
Thank you very much! <therion.log> _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Hello again, i now stripped my cave data from all scrap imports. Only centerline data remains in the dataset. The result is now, that the export with only "MyCave" selected magically works, so the problem has to be somewhere in my scraps and NOT in therion itself. I think i need to dig into this deeper, but regarding the mailing list, this issue can be considered done. Thank you everybody for help, private and public! You are amazing! Am 2017-03-11 22:29, schrieb Benedikt Hallinger via Therion:
Hello, this did not work unfortunately. However i got a solution.
The data structure looks as following: MyCave +---Region-A | + Survey-1 | + Survey-2 | - ... +---Region-B | + Subregion-B1 | + Survey-B1-1 | - Survey-B1-2 | + Survey-2 | - ... ...
The error occurs with the map defined in compilerfile as: source map onlyCenterline -projection plan MyCave endmap endsource
It does NOT occur if i specifiy every sublevel explicitely source map onlyCenterline -projection plan #MyCave Region-A@MyCave Region-B@MyCave endmap endsource
This seems to be a usable workaround. It would be interesting what causes the error, tough.
Greetings, Beni
Am 2017-03-10 8:00, schrieb Martin Sluka:
There could be an error in scraps somewhere. Try to use lower scale and add to layout "debug on" to check if there is not something wrong.
Odesláno z iPhonu
9. 3. 2017 v 22:43, Benedikt Hallinger via Therion <therion@speleo.sk>:
Hello, i try to generate a PDF with the whole cave rendered with LRUD centerline data only. The goal here is to generate a complete picture of the cave (>100km) with walls generated from LROU data, because i still have very few scraps at this time.
However therion aborts with an error. How can i render a complex and big system into such a map? Currently there are only a few scraps in the data and yet i get problems, it seems... is an atlas project with caves this big not possible?
For the compile, i generated a map in the compiler file, that selects the centerline only: source map onlyCenterline -projection plan #Zubringer@Hirlatzhoehle # <- this renders fine Hirlatzhoehle endmap endsource
And the following layout: layout LROU colour map-fg [100 0 0] symbol-show group centerline scale 1 5000 endlayout
However, when i try to compile it, i get the following error: Transcript written on data.log. converting scraps ... done making map ... done This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2015/dev/Debian) (preloaded format=pdfetex) restricted \write18 enabled. entering extended mode (./data.tex (./th_enc.tex) (./th_texts.tex) (./th_resources.tex (/usr/share/texlive/texmf-dist/tex/generic/pdftex/glyphtounicode.tex)) (./th_fontdef.tex{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}) (./th_formdef.tex Runaway text? 794.15 ! TeX capacity exceeded, sorry [main memory size=5000000]. l.286830 \PL{794.15 1 423.19 794.21 1423.05 794.31 1422.94 c}% ! ==> Fatal error occurred, no output PDF file produced! Transcript written on data.log. therion: error -- pdftex exit code -- 256
Thank you very much! <therion.log> _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Hello Martin, thank you very much, again, however i cannot reproduce the issue right now. It seems that it vanished even with my original problematic dataset. The most probable error source lies in my thconfig file somewhere, and the second most possible error source is in the dataset itself. It seems, that i made an error somewhere, maybe some partially data already included but forgotten to comment out. Thank you very much for all your help. If the problem occurs again, i will contact you for a teamviewer session (maybe i can also beg permission to share the dataset then - sorry that this is an issue, but our Katasterwart is a little tight on such things). With best regards!
Am 2017-03-18 9:16, schrieb Martin Sluka:
It is very interesting for me. Because select in Survey structure should work exactly as you described - to ignore all scrap and maps informations.
Again, may I help you screen to screen?
There is no any chance to steal your data!
Martin
-------- Originalnachricht -------- Betreff: Re: [Therion] How to render very big cave with centerline and LROU only? + screenshot Datum: 2017-03-18 12:53 Absender: Benedikt Hallinger <beni@hallinger.org> Empfänger: Martin Sluka <martinsluka@mac.com>
Hello Martin, thank you very much, again,
however i cannot reproduce the issue right now. It seems that it vanished even with my original problematic dataset. The most probable error source lies in my thconfig file somewhere, and the second most possible error source is in the dataset itself. It seems, that i made an error somewhere, maybe some partially data already included but forgotten to comment out.
Thank you very much for all your help. If the problem occurs again, i will contact you for a teamviewer session.
With best regards!
Am 2017-03-18 9:16, schrieb Martin Sluka:
It is very interesting for me. Because select in Survey structure should work exactly as you described - to ignore all scrap and maps informations.
Again, may I help you screen to screen?
There is no any chance to steal your data!
Martin
Am 2017-03-18 0:22, schrieb Benedikt Hallinger via Therion:
Hello again, i now stripped my cave data from all scrap imports. Only centerline data remains in the dataset.
The result is now, that the export with only "MyCave" selected magically works, so the problem has to be somewhere in my scraps and NOT in therion itself.
I think i need to dig into this deeper, but regarding the mailing list, this issue can be considered done. Thank you everybody for help, private and public!
You are amazing!
Am 2017-03-11 22:29, schrieb Benedikt Hallinger via Therion:
Hello, this did not work unfortunately. However i got a solution.
The data structure looks as following: MyCave +---Region-A | + Survey-1 | + Survey-2 | - ... +---Region-B | + Subregion-B1 | + Survey-B1-1 | - Survey-B1-2 | + Survey-2 | - ... ...
The error occurs with the map defined in compilerfile as: source map onlyCenterline -projection plan MyCave endmap endsource
It does NOT occur if i specifiy every sublevel explicitely source map onlyCenterline -projection plan #MyCave Region-A@MyCave Region-B@MyCave endmap endsource
This seems to be a usable workaround. It would be interesting what causes the error, tough.
Greetings, Beni
Am 2017-03-10 8:00, schrieb Martin Sluka:
There could be an error in scraps somewhere. Try to use lower scale and add to layout "debug on" to check if there is not something wrong.
Odesláno z iPhonu
9. 3. 2017 v 22:43, Benedikt Hallinger via Therion <therion@speleo.sk>:
> Hello, >>>> i try to generate a PDF with the whole cave rendered with LRUD >>>> centerline data only. > The goal here is to generate a complete picture of the cave (>100km) > with walls generated from LROU data, because i still have very few > scraps at this time. > > However therion aborts with an error. > How can i render a complex and big system into such a map? > Currently there are only a few scraps in the data and yet i get > problems, it seems... is an atlas project with caves this big not > possible? > > > > For the compile, i generated a map in the compiler file, that > selects the centerline only: > source > map onlyCenterline -projection plan > #Zubringer@Hirlatzhoehle # <- this renders fine > Hirlatzhoehle > endmap > endsource > > > And the following layout: > layout LROU > colour map-fg [100 0 0] > symbol-show group centerline > scale 1 5000 > endlayout > > > However, when i try to compile it, i get the following error: > Transcript written on data.log. > converting scraps ... done > making map ... done > This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live > 2015/dev/Debian) (preloaded format=pdfetex) > restricted \write18 enabled. > entering extended mode > (./data.tex (./th_enc.tex) (./th_texts.tex) (./th_resources.tex > > (/usr/share/texlive/texmf-dist/tex/generic/pdftex/glyphtounicode.tex)) > > (./th_fontdef.tex{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}) > (./th_formdef.tex > Runaway text? > 794.15 > ! TeX capacity exceeded, sorry [main memory size=5000000]. > l.286830 \PL{794.15 1 > 423.19 794.21 1423.05 794.31 1422.94 c}% > ! ==> Fatal error occurred, no output PDF file produced! > Transcript written on data.log. > therion: error -- pdftex exit code -- 256 > > > > Thank you very much! > <therion.log>
Hello again, i try to export some lists and want the titles to appear in german. for this i added "language de" to my export definition ("de_DE" is not accepted...). However, it does not do anything, the text appears still in english. What am i doing wrong? Or is the translation still missing (in which case please point me to the source, i will translate it with pleasure)? With best regards, B. Hallinger
Explanation of language specific translations and its symbols is on page 2 of Thbook. May you share your thconfig file? m.s.
10. 3. 2017 v 20:27, Benedikt Hallinger via Therion <therion@speleo.sk>:
Hello again,
i try to export some lists and want the titles to appear in german.
for this i added "language de" to my export definition ("de_DE" is not accepted...). However, it does not do anything, the text appears still in english.
What am i doing wrong? Or is the translation still missing (in which case please point me to the source, i will translate it with pleasure)?
With best regards, B. Hallinger _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
It is in essence a line "language de" followed by export continuation-list -o list.html This yields english table headers. Am 2017-03-11 12:29, schrieb Martin Sluka via Therion:
Explanation of language specific translations and its symbols is on page 2 of Thbook.
May you share your thconfig file?
m.s.
10. 3. 2017 v 20:27, Benedikt Hallinger via Therion <therion@speleo.sk>:
Hello again,
i try to export some lists and want the titles to appear in german.
for this i added "language de" to my export definition ("de_DE" is not accepted...). However, it does not do anything, the text appears still in english.
What am i doing wrong? Or is the translation still missing (in which case please point me to the source, i will translate it with pleasure)?
With best regards, B. Hallinger _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
11. 3. 2017 v 13:01, Benedikt Hallinger via Therion <therion@speleo.sk>:
It is in essence a line "language de" followed by export continuation-list -o list.html
Try: export continuation-list -o list.html -layout-language de m.s.
Unfortunately that didn't work. The layout command yields the error: therion: error -- thconfig [8] -- unknown option -- "-layout-language" Is it possible that this feature is just not supported yet? Or is it a possible bug? Am 2017-03-11 15:25, schrieb Martin Sluka via Therion:
11. 3. 2017 v 13:01, Benedikt Hallinger via Therion <therion@speleo.sk>:
It is in essence a line "language de" followed by export continuation-list -o list.html
Try: export continuation-list -o list.html -layout-language de
m.s.
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
You caught me out Benedict!
Unfortunately that didn't work. The layout command yields the error: therion: error -- thconfig [8] -- unknown option -- "-layout-language"
I did try to add a different language to another project, and I could not get any non-english output of any type, using both the method above, and Martin's suggestion.
Actually I put the language de inside of a layout that was called by the export, rather than with a -layout-language option. Bruce
Same result. I dont know much C, however if i peek into thexptable.cxx, it seems that there are only fixed strings put into the output. It seems the translate-method is not invoked, thus no language settings/translations can be applied. If someone would add the needed calls, i would happily provide "de" translations for it :) Am 2017-03-11 21:59, schrieb Bruce Mutton via Therion:
You caught me out Benedict!
Unfortunately that didn't work. The layout command yields the error: therion: error -- thconfig [8] -- unknown option -- "-layout-language"
I did try to add a different language to another project, and I could not get any non-english output of any type, using both the method above, and Martin's suggestion.
Actually I put the language de inside of a layout that was called by the export, rather than with a -layout-language option. Bruce
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Beni, there is quite simple to change English headers to German ones directly in HTML code. A bit dirty way. m.s.
11. 3. 2017 v 21:41, Benedikt Hallinger via Therion <therion@speleo.sk>:
Same result.
I dont know much C, however if i peek into thexptable.cxx, it seems that there are only fixed strings put into the output. It seems the translate-method is not invoked, thus no language settings/translations can be applied.
If someone would add the needed calls, i would happily provide "de" translations for it :)
Am 2017-03-11 21:59, schrieb Bruce Mutton via Therion:
You caught me out Benedict!
Unfortunately that didn't work. The layout command yields the error: therion: error -- thconfig [8] -- unknown option -- "-layout-language"
I did try to add a different language to another project, and I could not get any non-english output of any type, using both the method above, and Martin's suggestion.
Actually I put the language de inside of a layout that was called by the export, rather than with a -layout-language option. Bruce
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Yes indeed, i currently use a sed command to automate this. However it remains a hacky workaround. Am 2017-03-12 10:32, schrieb Martin Sluka via Therion:
Beni, there is quite simple to change English headers to German ones directly in HTML code. A bit dirty way.
m.s.
11. 3. 2017 v 21:41, Benedikt Hallinger via Therion <therion@speleo.sk>:
Same result.
I dont know much C, however if i peek into thexptable.cxx, it seems that there are only fixed strings put into the output. It seems the translate-method is not invoked, thus no language settings/translations can be applied.
If someone would add the needed calls, i would happily provide "de" translations for it :)
Am 2017-03-11 21:59, schrieb Bruce Mutton via Therion:
You caught me out Benedict!
Unfortunately that didn't work. The layout command yields the error: therion: error -- thconfig [8] -- unknown option -- "-layout-language"
I did try to add a different language to another project, and I could not get any non-english output of any type, using both the method above, and Martin's suggestion.
Actually I put the language de inside of a layout that was called by the export, rather than with a -layout-language option. Bruce
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
I am have run a few cursory tests, and all of the list exports seem to have English headings regardless of the language setting I use. I don't think there are translations for list exports (html output anyway). I have a tried and true multilingual project set up and testing it just now, it will produce pdf maps with en, fr, de and mi (one at a time, not all at once). However the list headings are always in English regardless of the language setting. The thconfig has; language de #fr en_UK mi export survey-list -output Output/SpanishParrotSurveys.html # and other list exports as well... export map -projection extended \ -layout LayoutMapThisCave \ -layout LayoutMapThisCaveElevEXT \ -output Output/SpanishParrotCave.pdf I am using 5.3.16 Vlad's beta, although over time I have compiled this project on a number of Therion versions. I did try to add a different language to another project, and I could not get any non-english output of any type, using both the method above, and Martin's suggestion. I am guessing there is some other language setting in that project that is conflicting, and if I persisted I would figure out where it is. Bruce -----Original Message----- From: Therion [mailto:therion-bounces@speleo.sk] On Behalf Of Martin Sluka via Therion Sent: Sunday, 12 March 2017 2:25 AM To: List for Therion users <therion@speleo.sk> Cc: Martin Sluka <martinsluka@mac.com> Subject: Re: [Therion] Exporting lists - translation not there?
11. 3. 2017 v 13:01, Benedikt Hallinger via Therion <therion@speleo.sk>:
It is in essence a line "language de" followed by export continuation-list -o list.html
Try: export continuation-list -o list.html -layout-language de m.s.
participants (6)
-
Benedikt Hallinger -
Bruce Mutton -
Henry.Bennett@dell.com -
Ladislav Blažek -
Martin Sluka -
Wookey