[NTG-context] streams reversed?

2023-09-12 Thread jbf
I am making some progress with a bilingual text using the streams mechanism suggested by Wolfgang: https://wiki.contextgarden.net/Columns, but see below. The aim has been to have en and vi on facing pages (en left, vi right). It works correctly for the Foreword in two languages (en, vi) in fr

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread Andres Conrado Montoya
You can find some examples in the wiki to do something similar: https://wiki.contextgarden.net/Generate_Authorlist_from_Head_Content Also you can use setups instead of macro definitions, and create spaces with \space, \par, etc: https://wiki.contextgarden.net/Setups -- Andrés Conrado Montoya And

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread denis.maier
Von: Wolfgang Schuster Gesendet: Dienstag, 12. September 2023 23:16 An: Maier, Denis Christian (UB) Cc: ntg-context@ntg.nl Betreff: Re: [NTG-context] Using structureuservariables before the heading denis.ma...@unibe.ch schrieb am 12.09.2023 um 21:38: Von: Wolfgang

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread Wolfgang Schuster
denis.ma...@unibe.ch schrieb am 12.09.2023 um 21:38: *Von:*Wolfgang Schuster *Gesendet:* Dienstag, 12. September 2023 21:30 *An:* Maier, Denis Christian (UB) *Cc:* ntg-context@ntg.nl *Betreff:* Re: [NTG-context] Using structureuservariables before the heading denis.ma...@unibe.ch

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread denis.maier
Von: Wolfgang Schuster Gesendet: Dienstag, 12. September 2023 21:30 An: Maier, Denis Christian (UB) Cc: ntg-context@ntg.nl Betreff: Re: [NTG-context] Using structureuservariables before the heading denis.ma...@unibe.ch schrieb am 12.09.2023 um 21:24: Von: Wolfgang

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread Wolfgang Schuster
denis.ma...@unibe.ch schrieb am 12.09.2023 um 21:24: *Von:*Wolfgang Schuster *Gesendet:* Dienstag, 12. September 2023 20:41 *An:* mailing list for ConTeXt users ; Maier, Denis Christian (UB) *Betreff:* Re: [NTG-context] Using structureuservariables before the heading denis.ma...@unibe.ch <

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread denis.maier
Von: Wolfgang Schuster Gesendet: Dienstag, 12. September 2023 20:41 An: mailing list for ConTeXt users ; Maier, Denis Christian (UB) Betreff: Re: [NTG-context] Using structureuservariables before the heading denis.ma...@unibe.ch schrieb am 12.09.2023 um 17:47: Hi

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread Wolfgang Schuster
denis.ma...@unibe.ch schrieb am 12.09.2023 um 17:47: Hi, is it possible to access a structureuservariable before the heading’s title ? Using the «before» key does not seem to work. There are ways but not in a general way because you try to access the values before they are known to ConTeX

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread denis.maier
Ok, \starttexdefinition allows blanks, apparently just like setups. But, it still fails exactly like the version with \def \setuphead[chapter][ before={Before: \structureuservariable{author}\blank}, beforesection={Beforesection: \structureuservariable{author}\blank}, insidesection={In

[NTG-context] Using structureuservariables before the heading

2023-09-12 Thread denis.maier
Hi, is it possible to access a structureuservariable before the heading's title ? Using the key does not seem to work. As an aside, I've tried to use the < command > key to provide my own command, but while \define works here (but ignores \blank), \def gives me an error. Why is that? How would

[NTG-context] Re: tiffs: autoconversion via graphicsmagick produces invalid pdfs

2023-09-12 Thread denis.maier
Sorry, that was too quick... Hi, currently, ConTeXt can't use tiffs directly, but it uses Graphicsmagick to convert tiffs to pdf on the fly. However, as it seems, graphicsmagick is producing invalid pdfs. For every included tiff I have something like this in the log: luatex warning > pdfe: in

[NTG-context] tiffs: autoconversion via graphicsmagick produces invalid pdfs

2023-09-12 Thread denis.maier
Hi, currently, ConTeXt can't use tiffs directly, but it uses ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo

[NTG-context] Re: Reduce space between lines in Natural Tables

2023-09-12 Thread Jeroen
It does not seem to have an effect to the table. The distance between the rows remains the same Thanks, Jeroen Op ma 11 sep 2023 om 09:08 schreef : > \bTABLE[spaceinbetween=0cm] > > ... > > \eTABLE > > > > > > > > *Von:* Jeroen > *Gesendet:* Sonntag, 10. September 2023 22:05 > *An:* mailing li

[NTG-context] Re: \dontleavethemode

2023-09-12 Thread Wolfgang Schuster
Ursula Hermann schrieb am 12.09.2023 um 11:19: Dear List, I have done an little example with a \blackrule: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \starttext \margintext{\blackrule[color=black, height=0.05ex, wid

[NTG-context] \dontleavethemode

2023-09-12 Thread Ursula Hermann
Dear List, I have done an little example with a \blackrule: \setuppapersize[A8,landscape] \setuplayout[leftmargin=2.5cm, leftmargindistance=0.2cm, backspace=2.9cm, width=4cm] \starttext \margintext{\blackrule[color=black, height=0.05ex, width=1cm]\\Me}\blac

[NTG-context] Re: XML: flush to lua function

2023-09-12 Thread Taco Hoekwater
Hi, xml.text(t) is safer than directly accessing t.dt[1]. Note: you may need to strip some XML tags from that content. If the element is not straight-up data but has nested elements, then this will return the full xml representation instead: A short title=> ‘A short title' <