Re: [NTG-context] xml, language, btx problems

2018-06-17 Thread Alan Braslau
On Sun, 17 Jun 2018 19:52:35 +0200 "Thomas A. Schmitz" wrote: > However, this implies a \starttext. And the btxdefinitions need to be > loaded before \starttext, or so it seems. Thomas, Why would the definitions need to be loaded before \starttext? The bibliographic data can be loaded independ

Re: [NTG-context] xml, language, btx problems

2018-06-17 Thread Wolfgang Schuster
One option is to load your document at the beginning with different setups where you only process the language information. Another option is to put the language dependent options in a setups block and load them when you process the XML file. \startbuffer[test] test \stopbuffer \startxm

Re: [NTG-context] xml, language, btx problems

2018-06-17 Thread Thomas A. Schmitz
On 06/17/2018 09:37 PM, Pablo Rodriguez wrote: Hi Thomas, this may work in your case: \startxmlsetups xml:document \mainlanguage[\xmlatt{#1}{language}] \doifmodeelse{**en} {\usebtxdefinitions [english]} {\usebtxdefinitions [deutsch]} \stopxmlsetups I have just c

Re: [NTG-context] xml, language, btx problems

2018-06-17 Thread Pablo Rodriguez
On 06/17/2018 07:52 PM, Thomas A. Schmitz wrote: > Hi, > > I have a conceptual problem integrating btx into my xml workflow. There > are too many files involved, so no minimal example, but a minimal > description. Root of my xml document: > > > ... > > > I have two files with btx definitions

[NTG-context] xml, language, btx problems

2018-06-17 Thread Thomas A. Schmitz
Hi, I have a conceptual problem integrating btx into my xml workflow. There are too many files involved, so no minimal example, but a minimal description. Root of my xml document: ... I have two files with btx definitions: publ-imp-deutsch.mkvi publ-imp-english.mkvi Loading one of these

Re: [NTG-context] Confusing level change message, why?

2018-06-17 Thread Hans Hagen
On 6/17/2018 2:48 PM, Rik Kabel wrote: On 6/17/2018 04:35, Pablo Rodriguez wrote: On 06/15/2018 11:03 PM, Rik Kabel wrote: The example below is taken from the wiki article "Titles ," with pdf bookmark apparatus prepended and a second chapter added to the bo

Re: [NTG-context] Confusing level change message, why?

2018-06-17 Thread Rik Kabel
On 6/17/2018 04:35, Pablo Rodriguez wrote: On 06/15/2018 11:03 PM, Rik Kabel wrote: The example below is taken from the wiki article "Titles ," with pdf bookmark apparatus prepended and a second chapter added to the bodymatter. In the log, this produces the

Re: [NTG-context] Confusing level change message, why?

2018-06-17 Thread Pablo Rodriguez
On 06/15/2018 11:03 PM, Rik Kabel wrote: > The example below is taken from the wiki article "Titles > ," with pdf bookmark apparatus > prepended and a second chapter added to the bodymatter. > > In the log, this produces the lines: > > backend > b