Re: [NTG-context] Split Table, don't repeat caption

2020-10-07 Thread Denis Maier
Am 07.10.2020 um 17:46 schrieb Wolfgang Schuster: Denis Maier schrieb am 07.10.2020 um 17:39: Hi, is there a way not to repeat the caption of a multipage natural table? I've searched the list archive and it looks the question came up a couple of times, but I couldn't find an answer. If

Re: [NTG-context] Sections in content: macros v text

2020-10-07 Thread Tomas Hala
Thank you, Wolfgang, that's it! Tomáš Wed, Oct 07, 2020 ve 05:12:42PM +0200 Wolfgang Schuster napsal(a): # Tomas Hala schrieb am 05.10.2020 um 20:20: # >Hi all, # > # >the content generated by the MWE below contains # >1 bb ... 1 # >2 bb ... 1 # >instead of # >1 aa ... 1 # >2 bb ... 1 # >because

Re: [NTG-context] playing with Windows drag & drop

2020-10-07 Thread context
Hello Pablo, slight correction: .bat call lua.exe -e "os.execute('echo context --purgeall --arguments=PDFdocument=' .. ([[%1]]):gsub([[\]], '/') .. ' b.tex')" "echo" should be omitted, of course, or be placed just for debugging purposes. Best regards, Lukas On 2020-10-07

Re: [NTG-context] playing with Windows drag & drop

2020-10-07 Thread context
Hello Pablo, sometimes I do something hacky like the following in similar situations (not tested now): .bat call lua.exe -e "os.execute('echo context --purgeall --arguments=PDFdocument=' .. ([[%1]]):gsub([[\]], '/') .. ' b.tex')" Best regards, Lukas On 2020-10-06 16:18, Pablo

Re: [NTG-context] playing with Windows drag & drop

2020-10-07 Thread Pablo Rodriguez
On 10/7/20 4:45 PM, cont...@vivaldi.net wrote: > Hello Pablo, > > slight correction: > > .bat > call lua.exe -e "os.execute('echo context --purgeall > --arguments=PDFdocument=' .. ([[%1]]):gsub([[\]], '/') .. ' b.tex')" > Many thanks for your reply, Lukas. I found another workaround at

Re: [NTG-context] xml bookmarks + chapter no. in header

2020-10-07 Thread Pablo Rodriguez
On 10/7/20 5:06 PM, Tomas Hala wrote: > Hi, > > I tried > \setuphead[section][expansion=yes] > with no effect before I wrote my question to the list here. > > With the \setuphead, the .tuc file still contains macro names instead of the > text: > ["title"]="\\expanded \\name ", > whereas without

[NTG-context] wrong url border (LMTX only)

2020-10-07 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \enabledirectives[references.border] \definemakeup[slide] \define[1]\newurl{\goto{\tt\hyphenatedurl{#1}}[url(#1)]} \starttext \startmakeup[slide]\newurl{a}\stopmakeup \stoptext LMTX (latest from

Re: [NTG-context] Split Table, don't repeat caption

2020-10-07 Thread Wolfgang Schuster
Denis Maier schrieb am 07.10.2020 um 17:39: Hi, is there a way not to repeat the caption of a multipage natural table? I've searched the list archive and it looks the question came up a couple of times, but I couldn't find an answer. If this doesn't help you have to provide a example.

[NTG-context] Split Table, don't repeat caption

2020-10-07 Thread Denis Maier
Hi, is there a way not to repeat the caption of a multipage natural table? I've searched the list archive and it looks the question came up a couple of times, but I couldn't find an answer. Also, if I add a footnote to a caption of a split table, this note always appears when the caption

Re: [NTG-context] URLs in XML, escaping special characters

2020-10-07 Thread Denis Maier
Am 07.10.2020 um 17:19 schrieb Wolfgang Schuster: Denis Maier schrieb am 07.10.2020 um 17:16: Am 07.10.2020 um 16:47 schrieb Wolfgang Schuster: Denis Maier schrieb am 07.10.2020 um 15:42: [...] Unfortunately, the clickable link is still not correct. What am I doing wrong? Add

Re: [NTG-context] URLs in XML, escaping special characters

2020-10-07 Thread Wolfgang Schuster
Denis Maier schrieb am 07.10.2020 um 17:16: Am 07.10.2020 um 16:47 schrieb Wolfgang Schuster: Denis Maier schrieb am 07.10.2020 um 15:42: Hi, I'm struggling with getting hyphenated URLs to work from XML input. How do you enter ampersands and percent signs correctly so that they can be used

Re: [NTG-context] URLs in XML, escaping special characters

2020-10-07 Thread Denis Maier
Am 07.10.2020 um 16:47 schrieb Wolfgang Schuster: Denis Maier schrieb am 07.10.2020 um 15:42: Hi, I'm struggling with getting hyphenated URLs to work from XML input. How do you enter ampersands and percent signs correctly so that they can be used in links? This here doesn't really works:

Re: [NTG-context] Sections in content: macros v text

2020-10-07 Thread Wolfgang Schuster
Tomas Hala schrieb am 05.10.2020 um 20:20: Hi all, the content generated by the MWE below contains 1 bb ... 1 2 bb ... 1 instead of 1 aa ... 1 2 bb ... 1 because the content structure refers to the macro name \name in both sections instead of to work with the text. Maybe it was already

Re: [NTG-context] xml bookmarks + chapter no. in header

2020-10-07 Thread Tomas Hala
Hi, I tried \setuphead[section][expansion=yes] with no effect before I wrote my question to the list here. With the \setuphead, the .tuc file still contains macro names instead of the text: ["title"]="\\expanded \\name ", whereas without it only: ["title"]=" \\name ", So is there any way

Re: [NTG-context] URLs in XML, escaping special characters

2020-10-07 Thread Wolfgang Schuster
Denis Maier schrieb am 07.10.2020 um 15:42: Hi, I'm struggling with getting hyphenated URLs to work from XML input. How do you enter ampersands and percent signs correctly so that they can be used in links? This here doesn't really works: \startxmlsetups xml:test    

Re: [NTG-context] xml bookmarks

2020-10-07 Thread Jano Kula
On Wed, 7 Oct 2020 at 15:04, Pablo Rodriguez wrote: > On 10/7/20 1:28 PM, Jano Kula wrote: > > Hello to everybody! > > > > I have a similar problem as Tomas two days ago. When inserting bookmarks > > from XML the reference to the node is stored in TUC file > > > > ["titledata"]={ > >

[NTG-context] URLs in XML, escaping special characters

2020-10-07 Thread Denis Maier
Hi, I'm struggling with getting hyphenated URLs to work from XML input. How do you enter ampersands and percent signs correctly so that they can be used in links? This here doesn't really works: \startxmlsetups xml:test     \xmlsetsetup{#1}{*}{-}     % Hauptgruppen    

Re: [NTG-context] chapter no. in header

2020-10-07 Thread Henning Hraban Ramm
> Am 07.10.2020 um 14:30 schrieb Tomas Hala : > > Hi Hraban, > > \setupheadertexts > [{\getmarking[sectionnumber]\getmarking[section]}] > [{\pagenumber}] > [{\pagenumber}] > [{\getmarking[chapternumber]\getmarking[chapter]}] Thank you! I could have just tried that... Hraban

Re: [NTG-context] xml bookmarks

2020-10-07 Thread Pablo Rodriguez
On 10/7/20 1:28 PM, Jano Kula wrote: > Hello to everybody! > > I have a similar problem as Tomas two days ago. When inserting bookmarks > from XML the reference to the node is stored in TUC file > >   ["titledata"]={ >    ["label"]="section", >    ["title"]="\\xmlatt {xml:name::4}{title}" > > and

Re: [NTG-context] chapter no. in header

2020-10-07 Thread Tomas Hala
Hi Hraban, \setupheadertexts [{\getmarking[sectionnumber]\getmarking[section]}] [{\pagenumber}] [{\pagenumber}] [{\getmarking[chapternumber]\getmarking[chapter]}] Best wishes, Tomáš Wed, Oct 07, 2020 ve 01:45:46PM +0200 Henning Hraban Ramm napsal(a): # This should be simple, but I

[NTG-context] chapter no. in header

2020-10-07 Thread Henning Hraban Ramm
This should be simple, but I can’t find it: I need not only the chapter title, but also the chapter number in my headertext. ATM I have (minus formatting): \setupheadertexts [{\getmarking[section]}] [{\pagenumber}] [{\pagenumber}] [{\getmarking[chapter]}] Hraban

[NTG-context] xml bookmarks

2020-10-07 Thread Jano Kula
Hello to everybody! I have a similar problem as Tomas two days ago. When inserting bookmarks from XML the reference to the node is stored in TUC file ["titledata"]={ ["label"]="section", ["title"]="\\xmlatt {xml:name::4}{title}" and this reference ends up in bookmarks. Any advice on how

Re: [NTG-context] Citeproc

2020-10-07 Thread Denis Maier
Am 07.10.2020 um 12:01 schrieb Hans Hagen: On 10/6/2020 10:50 AM, denis.maier.li...@mailbox.org wrote: Taco Hoekwater mailto:t...@elvenkind.com>> hat am 06.10.2020 09:25 geschrieben: I recall discussing this idea with Bruce D’Arcus a long time ago (somewhere in the early 00-es, maybe). The

Re: [NTG-context] Citeproc

2020-10-07 Thread Hans Hagen
On 10/6/2020 10:50 AM, denis.maier.li...@mailbox.org wrote: Taco Hoekwater mailto:t...@elvenkind.com>> hat am 06.10.2020 09:25 geschrieben: I recall discussing this idea with Bruce D’Arcus a long time ago (somewhere in the early 00-es, maybe). The CSL files look like XML, but really they

[NTG-context] Keep postponed footnotes on page where called

2020-10-07 Thread Denis Maier
Am 02.10.2020 um 13:00 schrieb Denis Maier: Am 30.09.2020 um 19:03 schrieb Pablo Rodriguez: On 9/30/20 5:52 PM, Denis Maier wrote: Hi, postponing footnotes when using tables causes the footnote often to appear on the next page, which may not always be wanted. Is there a way to keep the