Re: [Therion] Exporting lists - translation not there?

2017-03-11 Thread Benedikt Hallinger via Therion

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


Re: [Therion] How to render very big cave with centerline and LROU only?

2017-03-11 Thread 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 :


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=500].
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 mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Exporting lists - translation not there?

2017-03-11 Thread 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


Re: [Therion] Exporting lists - translation not there?

2017-03-11 Thread Bruce Mutton via 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-boun...@speleo.sk] On Behalf Of Martin Sluka via 
Therion
Sent: Sunday, 12 March 2017 2:25 AM
To: List for Therion users 
Cc: Martin Sluka 
Subject: Re: [Therion] Exporting lists - translation not there?


> 11. 3. 2017 v 13:01, Benedikt Hallinger via Therion :
> 
> 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


Re: [Therion] Exporting lists - translation not there?

2017-03-11 Thread Martin Sluka via Therion

> 11. 3. 2017 v 13:01, Benedikt Hallinger via Therion :
> 
> 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


Re: [Therion] Exporting lists - translation not there?

2017-03-11 Thread Benedikt Hallinger via 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 :

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


___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Exporting lists - translation not there?

2017-03-11 Thread 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 :
> 
> 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