Dear list, I have the following sample: \setuppapersize[A9] \starttext \type{\a.bc}\footnote{\type{\a.bc}} \stoptext Using current latest from 2024.09.25 11:53, I get an extra space after \a in the footnote. This happens both with LMTX and LuaTeX. Could anyone confirm this? (A patch would be greatly appreciated, if this were a reproducible issue.) Many thanks for your help, Pablo
Same here with ConTeXt ver: 2024.09.25 11:53 LMTX fmt: 2024.9.25 On 2024-10-04 11:28, Pablo Rodriguez via ntg-context wrote:
Dear list,
I have the following sample:
\setuppapersize[A9] \starttext \type{\a.bc}\footnote{\type{\a.bc}} \stoptext
Using current latest from 2024.09.25 11:53, I get an extra space after \a in the footnote.
This happens both with LMTX and LuaTeX.
Could anyone confirm this? (A patch would be greatly appreciated, if this were a reproducible issue.)
Many thanks for your help,
Pablo
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist :ntg-context@ntg.nl /https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage :https://www.pragma-ade.nl /https://context.aanhet.net (mirror) archive :https://github.com/contextgarden/context wiki :https://wiki.contextgarden.net ___________________________________________________________________________________
On 10/4/24 18:06, Wolfgang Schuster wrote:
Pablo Rodriguez via ntg-context schrieb am 04.10.2024 um 17:28:
[...] \type{\a.bc}\footnote{\type{\a.bc}}
\type{\a.bc}\footnote{\type[compact=absolute]{\a.bc}}
Many thanks for your help, Wolfgang. I wonder why I have just discovered it. Given this sample: \setuppapersize[A9] \starttext \setuptype[compact=all] \footnote{\type{\a.b c} \type{\a .b c}} \setuptype[compact=absolute] \footnote{\type{\a.b c} \type{\a .b c}} \stoptext There seems not to be a way to disable space compacting (or showing spaces as they were typed). What is the rationale behind this? I mean, this is verbatim and in some cases it is essential to be able to display spaces as they are in the source. Many thanks for your help, Pablo
Pablo Rodriguez via ntg-context schrieb am 04.10.2024 um 18:44:
On 10/4/24 18:06, Wolfgang Schuster wrote:
Pablo Rodriguez via ntg-context schrieb am 04.10.2024 um 17:28:
[...] \type{\a.bc}\footnote{\type{\a.bc}}
\type{\a.bc}\footnote{\type[compact=absolute]{\a.bc}}
Many thanks for your help, Wolfgang.
I wonder why I have just discovered it.
Given this sample:
\setuppapersize[A9] \starttext \setuptype[compact=all] \footnote{\type{\a.b c} \type{\a .b c}} \setuptype[compact=absolute] \footnote{\type{\a.b c} \type{\a .b c}} \stoptext
There seems not to be a way to disable space compacting (or showing spaces as they were typed). What is the rationale behind this?
I mean, this is verbatim and in some cases it is essential to be able to display spaces as they are in the source.
A reminder from of past: https://www.mail-archive.com/ntg-context@ntg.nl/msg74688.html Wolfgang
On 10/4/24 19:01, Wolfgang Schuster wrote:
Pablo Rodriguez via ntg-context schrieb am 04.10.2024 um 18:44:
[...] I mean, this is verbatim and in some cases it is essential to be able to display spaces as they are in the source.
A reminder from of past: https://www.mail-archive.com/ntg-context@ntg.nl/msg74688.html
Many thanks for your reply, Wolfgang. This helped me to realize why I was stuck with the same issue again. My source files are Markdown (converted to XML with pandoc) to be compiled with ConTeXt. When I type ConTeXt code, it is really rare that its contains verbatim (especially inside footnotes). Both \xmlprettyprinttext and \xmlinlineprettyprinttext use buffers. This avoids having issues when deployed inside a footnote. As always, many thanks for your insightful explanation and your help, Pablo
On Fri, 4 Oct 2024, Pablo Rodriguez via ntg-context wrote:
On 10/4/24 18:06, Wolfgang Schuster wrote:
Pablo Rodriguez via ntg-context schrieb am 04.10.2024 um 17:28:
[...] \type{\a.bc}\footnote{\type{\a.bc}}
\type{\a.bc}\footnote{\type[compact=absolute]{\a.bc}}
I mean, this is verbatim and in some cases it is essential to be able to display spaces as they are in the source.
You can also use: \startbuffer \a.bc \stopbuffer \footnote{\typebuffer} Aditya
participants (4)
-
Aditya Mahajan
-
Pablo Rodriguez
-
Rik Kabel
-
Wolfgang Schuster