Re: [NTG-context] Foonotes in Captions ... again

2022-06-16 Thread Denis Maier via ntg-context
Thanks, Max! That's very neat, and it indeed works in my use case. Can anyone see any drawbacks here? Best, Denis > -Ursprüngliche Nachricht- > Von: Max Chernoff > Gesendet: Donnerstag, 16. Juni 2022 01:32 > An: ntg-context@ntg.nl > Cc: Maier, Denis Christian (UB) > Betreff: Re:

Re: [NTG-context] Footnotes in captions -> "inherit" textwidth from floatntg

2022-06-16 Thread Denis Maier via ntg-context
;inherit" textwidth from floatntg Yes, that works. But it’s still strange, isn’t it? Denis Von: ntg-context mailto:ntg-context-boun...@ntg.nl>> Im Auftrag von jbf via ntg-context Gesendet: Donnerstag, 16. Juni 2022 11:49 An: Denis Maier via ntg-context mailto:ntg-context@ntg.nl>&

[NTG-context] Footnotes in captions -> "inherit" textwidth from float

2022-06-16 Thread Denis Maier via ntg-context
Hi, I think I've ran into a somewhat strange behaviour. If you have a footnote in a float caption, the footnote won't use the full textwidth, but only the width of the corresponding caption. Is that on purpose, a context bug or a user bug? Best, Denis \starttext asdf

Re: [NTG-context] Rotating jpeg image gives weird output

2022-06-14 Thread Denis Maier via ntg-context
Thanks for your suggestions. It probably is not EXIF-related. I've opened and saved the image with MS Paint, but that did not change anything (the increase in file size aside...). Any other ideas? (I tend to think the image is corrupted in one way or the other, but I have no clue how to fix

[NTG-context] Rotating jpeg image gives weird output

2022-06-14 Thread Denis Maier via ntg-context
Hi, I have a jpeg image that drives me crazy. The scanned image I have received from the author is in landscape. So, I've rotated the image, but now two things happen: 1. there's a weird offset (the image is moved to the right) 2. The output contains this line . location=local,global.

Re: [NTG-context] Compiling context files in command line

2022-06-03 Thread Denis Maier via ntg-context
You cannot use the result command line option for that. Instead, switch to the target directory and run context from there. Denis Von: ntg-context im Auftrag von Jaroslav Hajtmar via ntg-context Gesendet: Samstag, 4. Juni 2022 07:21:04 An: mailing

Re: [NTG-context] french quotation marks

2022-07-26 Thread Denis Maier via ntg-context
Here is what the french Wikipedia page says: Méthode avec doubles guillemets-apostrophes : « L’ouvreuse m’a dit : “Donnez-moi votre ticket.” Je le lui ai donné. » Recommandée en français canadien[19],[20] et utilisée par de nombreuses publications françaises tel que le journal Le

Re: [NTG-context] process list items differently depending on position in list

2022-05-02 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Hans Hagen > via ntg-context > Gesendet: Montag, 2. Mai 2022 12:34 > An: Denis Maier via ntg-context > Cc: Hans Hagen > Betreff: Re: [NTG-context] process list items differently depending on > posi

Re: [NTG-context] process list items differently depending on position in list

2022-05-02 Thread Denis Maier via ntg-context
Ok, in lua it's indeed simple: \startluacode list = {"foo", "bar", "baz"} \stopluacode \starttext \startluacode for i, v in ipairs(list) do if i == #list then tex.print("last:") tex.print(v) elseif i == 1 then tex.print("first:") tex.print(v) else

Re: [NTG-context] XML processing instructions

2022-05-02 Thread Denis Maier via ntg-context
That was too quick, sorry. Hi Duncan, I have used context’s own injectors for this : \startsetups xml:directive:injector:addlinetopage \adaptlayout[lines=+1] \stopsetups Or, for your line break example : \startsetups xml:directive:injector:newline \crlf \stopsetups Also, I have

[NTG-context] process list items differently depending on position in list

2022-05-02 Thread Denis Maier via ntg-context
Hi, I need to process a comma separated list, and adapt the formatting according to the position of an item in the list (example below). Expected output would be: {\bf foo }, {\em bar} and baz. Is that possible? Can I somehow get the position of an item in the list? (My understanding is that

[NTG-context] \getcommacommandsize not working in lmtx

2022-05-02 Thread Denis Maier via ntg-context
Hi, I've just ran into a behaviour that runs against what is shown on the wiki, https://wiki.contextgarden.net/System_Macros/Comma_Separated_Lists Maybe a bug? The wiki says you can use \getcommacommandsize to get the length of a comma separated list, but it does not seem to work. MWE below.

Re: [NTG-context] XML processing instructions

2022-05-02 Thread Denis Maier via ntg-context
Hi Duncan, I have used context’s own injectors for this : \startsetups xml:directive:injector:addlinetopage \adaptlayout[lines=+1] \stopsetups Or, for your line break example : Von: ntg-context Im Auftrag von Duncan Hothersall via ntg-context Gesendet: Montag, 2. Mai 2022 09:20 An:

Re: [NTG-context] Citeproc-lua

2022-05-06 Thread Denis Maier via ntg-context
w biblio system. I only understand half of what ConTeXt does these days, > and much less of what the LaTeX package is trying to achieve i.r.t. options. > > Best wishes, > Taco > > > On 3 May 2022, at 22:00, Denis Maier via ntg-context cont...@ntg.nl> wrote: > > > >

Re: [NTG-context] Citeproc-lua

2022-05-06 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Hans Hagen > via ntg-context > Gesendet: Freitag, 6. Mai 2022 23:45 > An: Denis Maier via ntg-context > Cc: Hans Hagen > Betreff: Re: [NTG-context] Citeproc-lua > > [...] > > For the recor

Re: [NTG-context] Citeproc-lua

2022-05-06 Thread Denis Maier via ntg-context
Yes, Aditya. Citeproc-lua uses csl styles. Test suite coverage is not complete yet, though. Denis Von: ntg-context im Auftrag von Hans Hagen via ntg-context Gesendet: Freitag, 6. Mai 2022 23:44:38 An: Denis Maier via ntg-context Cc: Hans Hagen

Re: [NTG-context] Citeproc-lua

2022-05-07 Thread Denis Maier via ntg-context
gliche Nachricht- > >> Von: ntg-context Im Auftrag von Hans > >> Hagen via ntg-context > >> Gesendet: Freitag, 6. Mai 2022 23:45 > >> An: Denis Maier via ntg-context > >> Cc: Hans Hagen > >> Betreff: Re: [NTG-context] Citeproc-lua > >

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-08 Thread Denis Maier via ntg-context
Or change the setup of unnumbered chapter titles... Add a forced blank before there. Denis Von: Maier, Denis Christian (UB) Gesendet: Sonntag, 8. Mai 2022 09:24:51 An: mailing list for ConTeXt users Cc: Joel Betreff: AW: [NTG-context] How to place

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-08 Thread Denis Maier via ntg-context
Maybe define your own chapter command and use a vbox. Look at this example from the wiki: \setuppapersize[A6][A6] \setupbodyfont[8pt] \def\MyChapterCommand#1#2% {\vbox to 4cm\bgroup {#1\hskip.75em #2} \vss \egroup} \setuphead[chapter][header=nomarking, command=\MyChapterCommand]

[NTG-context] Citeproc-lua

2022-05-03 Thread Denis Maier via ntg-context
Hi, I just came across this: https://github.com/zepinglee/citeproc-lua Thats's an lua implemenation of the CSL language targeting LaTeX. I don't know if the processor itself contains any LaTeX specific code, but it looks like the integration basically happens here :

Re: [NTG-context] Simple question

2022-05-10 Thread Denis Maier via ntg-context
Don't know how if there's an automatic way, perhaps look into ctx processing instructions. Anyway you can use --result=name As you have to set quite a few options on the command line (modes, language) you'll perhaps want to use a makefile anyway. Von:

[NTG-context] \startXML vs \startPARSEDXML

2022-05-11 Thread Denis Maier via ntg-context
Hi everyone, the wikipage on \starttyping (https://wiki.contextgarden.net/Command/_starttyping) says there are some dedicated commands, e.g. \startXML and \startPARSEDXML. How do they differ? Best, Denis ___ If

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-09 Thread Denis Maier via ntg-context
This example from the wiki does not run anymore with LMTX: You get the error message: I've run across a '}' that doesn't seem to match anything. For example, '\def\a#1{...}' and '\a}' would produce this error. The '\par' that I've just inserted will cause me to report a runaway argument that might

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-09 Thread Denis Maier via ntg-context
vertical distance from the top? > > > > > On 9 May 2022, at 09:45, Denis Maier via ntg-context cont...@ntg.nl> wrote: > > > > This example from the wiki does not run anymore with LMTX: > > Still worked ok in: ConTeXt ver: 2022.04.19 19:53 LMTX Or better yet,

Re: [NTG-context] blockligatures removing characters

2022-05-09 Thread Denis Maier via ntg-context
Happens here as well, already on ConTeXt ver: 2022.03.12 17:56 LMTX. By the way, this even happens without special fonts: \blockligatures[Th] \definefontfeature[default:blocklig][default][liga=yes,blockligatures=yes] \setupbodyfont[myfont] \starttext

Re: [NTG-context] blockligatures removing characters

2022-05-09 Thread Denis Maier via ntg-context
. Mai 2022 15:03 > An: ntg-context@ntg.nl > Cc: Hans Hagen > Betreff: Re: [NTG-context] blockligatures removing characters > > On 5/9/2022 9:56 AM, Denis Maier via ntg-context wrote: > > Happens here as well, already on  ConTeXt  ver: 2022.03.12 17:56 LMTX. > > >

Re: [NTG-context] font fallbacks

2022-08-01 Thread Denis Maier via ntg-context
Hi, I have used more than one fallback, but each fallback is for a different character range Denis Von: ntg-context im Auftrag von Henning Hraban Ramm via ntg-context Gesendet: Montag, 1. August 2022 19:42:51 An: Henning Hraban Ramm via ntg-context Cc:

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-29 Thread Denis Maier via ntg-context
-context] Parallel texts: verse with blanks between stanzas > via tabulate > > On 8/27/2022 11:25 PM, Denis Maier via ntg-context wrote: > > Thanks, Wolfgang. That gives me a blank between the verses. However the > blank is rather huge and I don't see how I could make i

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-29 Thread Denis Maier via ntg-context
n 8/27/2022 11:25 PM, Denis Maier via ntg-context wrote: > > Thanks, Wolfgang. That gives me a blank between the verses. However the > blank is rather huge and I don't see how I could make it smaller? Is it > possible > to do this? > morning exercise attached (you can run the fi

[NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-26 Thread Denis Maier via ntg-context
Hi, I need to typeset two poems side by side. Usually, I use the tabulate environment for typesetting parallel texts. However, for poems this does not quite work as tabulate does not seem to allow blanks between the stanzas. See MWE below. Am I missing someting? Is there a better way to

[NTG-context] Understanding font errors

2022-08-26 Thread Denis Maier via ntg-context
Hi, I've just noticed I'm getting error messages related to fonts: %% fonts > checking > char G (U+00047) in font '' with id 0: missing fonts > checking > char r (U+00072) in font '' with id 0: missing fonts > checking > char a

Re: [NTG-context] Understanding font errors

2022-08-26 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Hans Hagen > via ntg-context > Gesendet: Freitag, 26. August 2022 22:11 > An: ntg-context@ntg.nl > Cc: Hans Hagen > Betreff: Re: [NTG-context] Understanding font errors > > On 8/26/2022 10:07 PM,

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-27 Thread Denis Maier via ntg-context
, 26. August 2022 23:26:56 An: Denis Maier via ntg-context Cc: Henning Hraban Ramm Betreff: Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate Am 26.08.22 um 22:00 schrieb Denis Maier via ntg-context: > Hi, > > I need to typeset two poems side by side. Usual

[NTG-context] Hebrew punctuation with SBL Hebrew

2022-08-31 Thread Denis Maier via ntg-context
Hi, I’m running into something weird with Hebrew punctuation. Consider the example below. SBL Hebrew gives me incorrect results when there’s a vaw with a holam = וֹ just before a chet with a patach = חַ => the patach below the chet ist misplaced. If I remove the holam from the vaw, everything

Re: [NTG-context] Hebrew punctuation with SBL Hebrew

2022-08-31 Thread Denis Maier via ntg-context
Von: Joey McCollum Gesendet: Mittwoch, 31. August 2022 12:25 An: mailing list for ConTeXt users Cc: Maier, Denis Christian (UB) Betreff: Re: [NTG-context] Hebrew punctuation with SBL Hebrew In your "broken" example, the patah below the het is being moved to the right rather than staying

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-27 Thread Denis Maier via ntg-context
gt; Gesendet: Samstag, 27. August 2022 09:27 > An: mailing list for ConTeXt users > Cc: Wolfgang Schuster > Betreff: Re: [NTG-context] Parallel texts: verse with blanks between stanzas > via tabulate > > Denis Maier via ntg-context schrieb am 27.08.2022 um 09:17: > > Thanks.

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-27 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Henning > Hraban Ramm via ntg-context > Gesendet: Freitag, 26. August 2022 23:27 > An: Denis Maier via ntg-context > Cc: Henning Hraban Ramm > Betreff: Re: [NTG-context] Parallel texts: verse with blanks

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-30 Thread Denis Maier via ntg-context
o:j.ha...@xs4all.nl>> > Betreff: Re: [NTG-context] Parallel texts: verse with blanks between stanzas > via tabulate > > On 8/29/2022 1:31 PM, Denis Maier via ntg-context wrote: > >> -Ursprüngliche Nachricht- > >> Von: Hans Hagen mailto:j.ha...@freed

Re: [NTG-context] Parallel texts: verse with blanks between stanzas via tabulate

2022-08-30 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Dienstag, 30. August 2022 14:31 > An: Maier, Denis Christian (UB) ; mailing list for > ConTeXt users > Betreff: Re: AW: [NTG-context] Parallel texts: verse with blanks between > stanzas via tabulate > > On 8/30/2022 1:40 PM,

Re: [NTG-context] Suboptimal German hyphenation

2022-10-31 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Pablo > Rodriguez via ntg-context > Gesendet: Mittwoch, 19. Oktober 2022 20:02 > An: Leah Neukirchen via ntg-context > Cc: Pablo Rodriguez > Betreff: Re: [NTG-context] Suboptimal German hyphenation > > Hans added hyphenmin

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-14 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Max > Chernoff via ntg-context > Gesendet: Mittwoch, 14. September 2022 08:51 > An: ntg-context@ntg.nl > Cc: Max Chernoff ; cont...@st.estfiles.de > Betreff: Re: [NTG-context] Hyphenation in multi-language projects > > Hi

Re: [NTG-context] meeting not online

2022-09-14 Thread Denis Maier via ntg-context
Too bad, but thanks for letting us know. Have a nice meeting! Best, Denis > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Henning > Hraban Ramm via ntg-context > Gesendet: Mittwoch, 14. September 2022 09:23 > An: jbf via ntg-context > Cc: Henning Hraban Ramm > Betreff:

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-12 Thread Denis Maier via ntg-context
Untested: try specifying the exceptions first, load mainlanguage later? Or, use \hyphenation? Have you tested any if these? Or, you could use multiple exception blocks... \startexceptions[it] Steff-en \stopexceptions \startexceptions[en] Steff-en \stopexceptions

Re: [NTG-context] Hyphenation in multi-language projects

2022-09-14 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Steffen > Wolfrum via ntg-context > Gesendet: Mittwoch, 14. September 2022 16:45 > An: mailing list for ConTeXt users > Cc: Steffen Wolfrum ; Hans Hagen > > Betreff: Re: [NTG-context] Hyphenation in multi-language projects >

Re: [NTG-context] meeting not online

2022-09-16 Thread Denis Maier via ntg-context
Thank you so much for all your efforts! Best, Denis > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Henning > Hraban Ramm via ntg-context > Gesendet: Freitag, 16. September 2022 09:38 > An: Henning Hraban Ramm via ntg-context > Cc: Henning Hraban Ramm > Betreff: Re:

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Henning > Hraban Ramm via ntg-context > Gesendet: Mittwoch, 12. Oktober 2022 10:15 > An: ntg-context@ntg.nl > Cc: Henning Hraban Ramm > Betreff: Re: [NTG-context] \quotation, protrusion and linebreaking > > Am 11.10.22 um

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Hans Hagen > via ntg-context > Gesendet: Mittwoch, 12. Oktober 2022 21:12 > An: Denis Maier via ntg-context > Cc: Hans Hagen > Betreff: Re: [NTG-context] \quotation, protrusion and linebreaking >

Re: [NTG-context] What exactly is lpath?

2022-08-03 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Hans Hagen > via ntg-context > Gesendet: Mittwoch, 3. August 2022 10:35 > An: Denis Maier via ntg-context > Cc: Hans Hagen > Betreff: Re: [NTG-context] What exactly is lpath? > > On 8/3/2022 9

Re: [NTG-context] Keep the right margin in [nothyphenated, flushleft] columns

2022-08-12 Thread Denis Maier via ntg-context
Also stretch might be useful as an additional option for align. Denis Von: ntg-context im Auftrag von Aditya Mahajan via ntg-context Gesendet: Freitag, 12. August 2022 23:11:21 An: Marcin Ciura via ntg-context Cc: Aditya Mahajan Betreff: Re:

[NTG-context] Suggestions for project structures, environment inheritance, local overrides

2022-08-17 Thread Denis Maier via ntg-context
Hi everyone One of my current main projects where I use ConTeXt is typesetting journal articles from xml sources. As the journal appears only online, we've decided to publish each article individually. I have a working setup, but I occasionally ponder whether I could make things more smootly.

[NTG-context] What exactly is lpath?

2022-08-03 Thread Denis Maier via ntg-context
Hi everyone Just a question I've been thinking about from time to time: What exactly is lpath? Is that ConTeXt-specific? Or something more general from Lua? I've of course asked Google, but Lpath seems to a Python-inspired path library for Lua unrelated to XML... Best, Denis >

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Denis Maier via ntg-context
Don’t know about ConTeXt. But maybe you might want to have a look at pdftk. You could try to produce per-section pdfs and include those. Best, Denis Von: ntg-context Im Auftrag von Joel via ntg-context Gesendet: Sonntag, 4. Dezember 2022 23:31 An: Mailing List for ConTeXt Users Cc: Joel

Re: [NTG-context] Project structure with nested subfolders and shared environments.

2022-12-16 Thread Denis Maier via ntg-context
Also, I think you'll need to load the environment in your products as well. I don't think linking to the project is enough. (Check the mailing list, I have also asked similar questions already...) Best, Denis > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Henning >

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Denis Maier via ntg-context
Last time I had to do something like this I've kept both books in one master file (actually one master file for part 1, one for part 2, one for both together). With that I could easiliy have a table of contents for both volumes. I've made some experiments with writing stuff to the logs or tuc

Re: [NTG-context] Project structure with nested subfolders and shared environments.

2022-12-16 Thread Denis Maier via ntg-context
Another think you might want to consider: automatic local overrides. So, I’d copy everthing to a build folder, copy the environment from somewhere above unless the current folder contains a file with the same name. Denis Von: ntg-context Im Auftrag von Pawel Urbanski via ntg-context

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Denis Maier via ntg-context
What was his approach? Did he probably send it off-list? > -Ursprüngliche Nachricht- > Von: Alan Braslau > Gesendet: Freitag, 16. Dezember 2022 14:58 > An: Maier, Denis Christian (UB) > Cc: ntg-context@ntg.nl > Betreff: Re: [NTG-context] Structure: multi-volume products > > On Fri, 16

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Denis Maier via ntg-context
Oh, that's bad. Because apparently it never came through : https://www.mail-archive.com/ntg-context@ntg.nl/msg103661.html (Maybe the two mentioned files are to large?) > -Ursprüngliche Nachricht- > Von: Alan Braslau > Gesendet: Freitag, 16. Dezember 2022 15:02 > An: Maier,

Re: [NTG-context] Do environment files add implicit \starttext ... \stopttext

2022-11-16 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Pablo > Rodriguez via ntg-context > Gesendet: Dienstag, 15. November 2022 16:07 > An: Denis Maier via ntg-context > Cc: Pablo Rodriguez > Betreff: Re: [NTG-context] Do environment files ad

Re: [NTG-context] Xml filtering in Lua

2022-11-16 Thread Denis Maier via ntg-context
Just a quick question regarding this? Is xml.filter equivalent to \xmlfilter? If so, how do you pass the match to a command as you'd do with \xmlfilter? Best, Denis > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von mf via ntg- > context > Gesendet: Mittwoch, 16. November

Re: [NTG-context] New VSCode extenstion using ConTeXt Language server

2022-11-09 Thread Denis Maier via ntg-context
Thanks. I’ve had a quick look. One thing I’ve found is that it supports \start... commands, yet in some cases the corresponding \stop... commands seem to be missing. [cid:image001.png@01D8F440.4954AD00] Am I missing something ? Best, Denis Von: ntg-context Im Auftrag von Ramkumar KB via

[NTG-context] \xmldocument vs #1 in \xmlsetsetup

2022-11-14 Thread Denis Maier via ntg-context
Hi, most examples in the mkiv-xml manual use #1 with \xmlsetsetup, e.g. \startxmlsetups xml:demo:base \xmlsetsetup{#1}{document|section|p}{xml:demo:*} \stopxmlsetups However, in quite a few occasions I've noticed the usage of \xmldocument instead of #1. What exactly is the difference ? When

[NTG-context] Do environment files add implicit \starttext ... \stopttext

2022-11-15 Thread Denis Maier via ntg-context
Hi, if I process an XML buffer, I've noticed I need to wrap the \xmlprocessbuffer in a \starttext ... \stoptext pair. %%% \startbuffer[test] a paragraph of text another paragraph of text \stopbuffer \startxmlsetups xml:demo

Re: [NTG-context] \xmlmap errors when returning key-value

2023-02-22 Thread Denis Maier via ntg-context
I maybe should have mentioned the error message I'm getting: error in line 9, namespace '1CB>:', key 'align=lefttoright,' Maybe that's helpful for tracking this down... Best, Denis > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Denis Maier > via ntg-contex

[NTG-context] \startnarrow seems to have no effect for tabulate

2023-02-22 Thread Denis Maier via ntg-context
Hi, I need to have a table set with tabulate centered and a bit narrower. But it seems that \startnarrow has no effect on the tabulate. Am I missing something ? Is there a better way to achieve the same thing? Best, Denis \starttext \showframe \startplacefigure[location=force,number=no]

Re: [NTG-context] \setupparagraphs - can they run over two pages?

2023-02-27 Thread Denis Maier via ntg-context
No, I don’t think that’s possible, at least it wasn’t last time I’ve checked : https://www.mail-archive.com/ntg-context@ntg.nl/msg102871.html Best, Denis Von: ntg-context Im Auftrag von jbf via ntg-context Gesendet: Freitag, 24. Februar 2023 06:42 An: mailing list for ConTeXt users Cc: jbf

[NTG-context] \xmlmap errors when returning key-value

2023-02-20 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Hans Hagen > via ntg-context > Gesendet: Donnerstag, 16. Februar 2023 23:45 > An: Denis Maier via ntg-context > Cc: Hans Hagen > Betreff: Re: [NTG-context] Unexpected results with \xmlpos > > O

Re: [NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Denis Maier via ntg-context
Denis Maier via ntg-context Gesendet: Donnerstag, 2. März 2023 09:21 An: ntg-context@ntg.nl Cc: Maier, Denis Christian (UB) Betreff: [NTG-context] Disappearing footnote in figure / tabulate Hi, I have a strange case where a footnote in a tabulate disappears. Strangely, I *cannot* reproduce

Re: [NTG-context] Float control

2023-03-02 Thread Denis Maier via ntg-context
z 2023 03:35 > An: Hans Hagen via ntg-context > Cc: Alan Braslau > Betreff: Re: [NTG-context] Float control > > On Thu, 2 Mar 2023 00:12:53 +0100 > Hans Hagen via ntg-context wrote: > > > On 2/28/2023 11:45 AM, Denis Maier via ntg-context wrote: > > > Hi everyone, >

[NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Denis Maier via ntg-context
Hi, I have a strange case where a footnote in a tabulate disappears. Strangely, I *cannot* reproduce the behaviour in the MWE below. At first, I thought it must have something to do with \startpostponingnotes, but it seems that this currently isnt't necessary anymore, or at least only for

Re: [NTG-context] Bug with \startnarrow?

2023-03-03 Thread Denis Maier via ntg-context
t, right] narrower text \stopnarrow some text after \stoptext Thanks, good to know. I'll update the documentation. Best, Denis > > > On 23/02/2023, at 11:14 PM, Denis Maier via ntg-context cont...@ntg.nl> wrote: > > > > Hi, > > While doing some more tes

[NTG-context] Unexpected results with \xmlpos

2023-02-16 Thread Denis Maier via ntg-context
Hi, I'm getting unexpected results for \xmlpos With the example below, I was expecting to get the following positions: 1 2 3 4 However the result is: 2 4 6 8, i.e. each time it's exactly the double. What am I missing? Background: I need to define column alignment based on the value of the

[NTG-context] Bug with \startnarrow?

2023-02-23 Thread Denis Maier via ntg-context
Hi, While doing some more tests with my example from yesterday (tables in \startnarrow), I've realized that the example from the wiki doesn't seem to quite work as expected: %% \starttext Some text before

[NTG-context] Spacing between headings

2023-02-23 Thread Denis Maier via ntg-context
Hi, I want to make the spacing before headings conditional. Like, apply the spacing if the a heading follows some text, but not if it immediately follows a previous heading. This has been requested before : https://www.mail-archive.com/ntg-context@ntg.nl/msg63950.html Does there exist a way

[NTG-context] Float control

2023-02-28 Thread Denis Maier via ntg-context
Hi everyone, I've recently had to typeset a document that gave me some headaches with the floats. The floats where jumping around, appearing in a different order than in the source file, tables ended up split up at weird points, some positioning keys had not the intended effect (e.g. top),

Re: [NTG-context] Help with typesetting footnotes in an HTML document

2023-04-11 Thread Denis Maier via ntg-context
Hard to tell, if you don't show us what you've tried so far. In one of my setups I use the lua based approach described on page 86/87. But again, we'll probably need more information to figure it out. > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Keith > McKay via

Re: [NTG-context] Help with typesetting footnotes in an HTML document

2023-04-12 Thread Denis Maier via ntg-context
Depending on how complex your files are, you might want to have a look at pandoc. It does a decent job when converting docx to other formats (HTML, Markdown or even ConTeXt). Best & good luck Denis > -Ursprüngliche Nachricht- > Von: Keith McKay > Gesendet: Mittwoch, 12. April 2023

Re: [NTG-context] Help with typesetting footnotes in an HTML document

2023-04-12 Thread Denis Maier via ntg-context
Hey Keith, the code below should get you started. Obviously, the links in the footnotes don't appear as there are no setups for the elements yet. By the way, where is the HTML coming from? The dual structure for footnotes looks a bit odd and a bit too complicated for me.

[NTG-context] module installer: unknown script 'install-modules.lua' or 'mtx-install-modules.lua'

2023-05-24 Thread Denis Maier via ntg-context
Hi, I'm setting up a new computer, and I've wanted to benefit from the new module installer. However, the commands I should use gives me the following error message : mtxrun --script install-modules --list mtxrun | unknown script 'install-modules.lua' or 'mtx-install-modules.lua' I'm using a

Re: [NTG-context] module installer: unknown script 'install-modules.lua' or 'mtx-install-modules.lua'

2023-05-24 Thread Denis Maier via ntg-context
In my path. Do I need to add something else to the Path? Best, Denis > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Hans Hagen > via ntg-context > Gesendet: Mittwoch, 24. Mai 2023 09:00 > An: Denis Maier via ntg-context > Cc: Hans Hagen > Betr

Re: [NTG-context] module installer: unknown script 'install-modules.lua' or 'mtx-install-modules.lua'

2023-05-24 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: Aditya Mahajan > Gesendet: Mittwoch, 24. Mai 2023 14:49 > An: Denis Maier via ntg-context > Cc: Maier, Denis Christian (UB) > Betreff: Re: [NTG-context] module installer: unknown script 'install- > modules.lua' or 'mt

Re: [NTG-context] Can ConTeXt write its pdf to a different directory?

2023-05-27 Thread Denis Maier via ntg-context
I usually use a makefile for this. There I have build rule that first cds into the target directory, then calls context from there. Best Denis Von: ntg-context im Auftrag von peter.hopcroft--- via ntg-context Gesendet: Samstag, 27. Mai 2023 03:52:42

[NTG-context] Tabulate: Change cell orienation for individual cells?

2023-06-27 Thread Denis Maier via ntg-context
Hi, is it possible to override the defined orienatation for a given cell ? Take this example from the wiki: %% \starttext \starttabulate[|l|c|r|] \NC this and that \NC left and right \NC here and there \NC \NR \NC such and so \NC up and down \NC on and on \NC \NR

Re: [NTG-context] Tabulate: Change cell orienation for individual cells?

2023-06-27 Thread Denis Maier via ntg-context
ward \NC \input ward \NC \NR \stoptabulate \stoptext %%% Best, Denis Von: ntg-context Im Auftrag von Denis Maier via ntg-context Gesendet: Dienstag, 27. Juni 2023 10:56 An: ntg-context@ntg.nl Cc: Maier, Denis Christian (UB) Betreff: [NTG-context] Tabulate: Change cell

Re: [NTG-context] Two columns of footnotes

2023-05-16 Thread Denis Maier via ntg-context
Technically it should be possible: https://wiki.contextgarden.net/Footnotes (see under footnote formatting). However, the example is not particularly pretty and the explanatory text states there is a bug. Don’t know if that is the current behavior or if this bug has been fixed. Best, Denis

[NTG-context] Re: upload

2024-01-18 Thread Denis Maier via ntg-context
Works here. Best, Denis Von: Alain Delmotte Gesendet: Donnerstag, 18. Januar 2024 20:04 An: ntg-context@ntg.nl Betreff: [NTG-context] Re: upload Hi, When I go to https://www.pragma-ade.nl/ I get an 404 Not Found message, so I can't download the new upload !! Any reason? Alain Le

[NTG-context] Re: upload

2024-01-19 Thread Denis Maier via ntg-context
  Pablo Rodriguez via ntg-context <ntg-context@ntg.nl> hat am 19.01.2024 18:34 CET geschrieben:     On 1/18/24 20:43, Denis Maier via ntg-context wrote: >> *Von:*Alain Delmotte <alain.delmo..

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-11 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: Pablo Rodriguez via ntg-context > Gesendet: Donnerstag, 11. April 2024 17:26 > An: 'mailing list for ConTeXt users' > Cc: Pablo Rodriguez > Betreff: [NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx- > context.lua > > On 4/10/24 22:28,

[NTG-context] unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-10 Thread Denis Maier via ntg-context
Hi, I wanted to test my earlier example (float placement) also with MKIV, but context ---luatex . give me this error message : unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua How can I make it work? Best, Denis

[NTG-context] Weird (?) float placement for specific widths of image

2024-04-10 Thread Denis Maier via ntg-context
Hi, another graphics/floats question: consider the following example % \setupexternalfigures [location={local,global,default}] \starttext \placefigure{A Cow}{\externalfigure[cow][ height=.5\textheight,

[NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx-context.lua

2024-04-10 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: Pablo Rodriguez via ntg-context > Gesendet: Mittwoch, 10. April 2024 19:35 > An: ntg-context@ntg.nl > Cc: Pablo Rodriguez > Betreff: [NTG-context] Re: unknown script 'mtx-context.lua' or 'mtx-mtx- > context.lua > > On 4/10/24

[NTG-context] Re: minwidth not working ?

2024-04-19 Thread Denis Maier via ntg-context
  Wolfgang Schuster hat am 19.04.2024 20:32 CEST geschrieben:     denis.ma...@unibe.ch schrieb am 10.04.2024 um 12:47: Hi, Shouldn’t minwidth set a default minimal width for external figures? But this here does

[NTG-context] Re: minwidth not working ?

2024-04-22 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: Wolfgang Schuster > Gesendet: Samstag, 20. April 2024 11:56 > An: Denis Maier > Cc: mailing list for ConTeXt users ; denis.ma...@unibe.ch > Betreff: Re: [NTG-context] Re: minwidth not working ? > > Denis Maier schrieb am 19.04.2024 um 22:55: > > >>

[NTG-context] Re: Is TIFF image no longer supported?

2024-04-14 Thread Denis Maier via ntg-context
  Thomas A. Schmitz hat am 14.04.2024 22:18 CEST geschrieben:     On 4/14/24 22:11, Joel via ntg-context wrote: I have a document with PNG, JPG, and TIFF. When I try using

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Denis Maier via ntg-context
  Pablo Rodriguez via ntg-context hat am 26.04.2024 17:25 CEST geschrieben:     On 4/26/24 15:33, denis.ma...@unibe.ch wrote: Hi, I’m trying to typeset a poem from

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Denis Maier via ntg-context
:     Denis Maier via ntg-context schrieb am 26.04.2024 um 18:10: Pablo Rodriguez via ntg-context <ntg-context@ntg.nl> hat am 26.04.2024 17:25 CEST gesch

[NTG-context] Re: \par and \startlines

2024-04-26 Thread Denis Maier via ntg-context
  Wolfgang Schuster hat am 26.04.2024 18:24 CEST geschrieben:     Denis Maier via ntg-context schrieb am 26.04.2024 um 18:10:   Pablo Rodriguez via ntg-context <ntg-context@ntg.nl> hat am 26.04.2024

[NTG-context] Re: Weird (?) float placement for specific widths of image

2024-04-19 Thread Denis Maier via ntg-context
Hi again, just a quick follow up on this one. Can anyone reproduce this? Would be good to know how this can be fixed. I have this in a real document, and as I'm typesetting a XML source I cannot just adjust slightly adjust the dimensions to get rid of that. Best, Denis Von:

[NTG-context] Re: minwidth not working ?

2024-04-19 Thread Denis Maier via ntg-context
Hi again, another follow up. Can anyone confirm this issue? Is there a way to set the minimal width of graphics? Best, Denis Von: Maier, Denis Christian (UB) Gesendet: Mittwoch, 10. April 2024 12:47 An: ntg-context@ntg.nl Betreff: minwidth not working ? Hi, Shouldn't minwidth

[NTG-context] Re: \par and \startlines

2024-04-30 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: Wolfgang Schuster > Gesendet: Samstag, 27. April 2024 07:40 > An: Denis Maier > Cc: mailing list for ConTeXt users > Betreff: Re: [NTG-context] Re: \par and \startlines > > Denis Maier schrieb am 26.04.2024 um 19:52: > > > I see. But there's no

[NTG-context] Re: How to stop ConTeXt from thinking period is at the end of a sentence?

2024-05-05 Thread Denis Maier via ntg-context
https://wiki.contextgarden.net/French_spacing Joel via ntg-context hat am 05.05.2024 00:30 CEST geschrieben:     I noticed that some code is being rendered wrong, most especially apparent in a column environment where

<    1   2   3   >