* [NTG-context] different type in footnote
@ 2024-10-04 15:28 Pablo Rodriguez via ntg-context
2024-10-04 16:03 ` [NTG-context] " Rik Kabel
2024-10-04 16:06 ` Wolfgang Schuster
0 siblings, 2 replies; 8+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-10-04 15:28 UTC (permalink / raw)
To: ConTeXt users; +Cc: Pablo Rodriguez
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: different type in footnote
2024-10-04 15:28 [NTG-context] different type in footnote Pablo Rodriguez via ntg-context
@ 2024-10-04 16:03 ` Rik Kabel
2024-10-04 16:06 ` Wolfgang Schuster
1 sibling, 0 replies; 8+ messages in thread
From: Rik Kabel @ 2024-10-04 16:03 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 1120 bytes --]
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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 1940 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: different type in footnote
2024-10-04 15:28 [NTG-context] different type in footnote Pablo Rodriguez via ntg-context
2024-10-04 16:03 ` [NTG-context] " Rik Kabel
@ 2024-10-04 16:06 ` Wolfgang Schuster
2024-10-04 16:44 ` Pablo Rodriguez via ntg-context
1 sibling, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2024-10-04 16:06 UTC (permalink / raw)
To: mailing list for ConTeXt users, Pablo Rodriguez via ntg-context
Cc: Pablo Rodriguez
Pablo Rodriguez via ntg-context schrieb am 04.10.2024 um 17:28:
> Dear list,
>
> I have the following sample:
>
> \setuppapersize[A9]
> \starttext
> \type{\a.bc}\footnote{\type{\a.bc}}
\type{\a.bc}\footnote{\type[compact=absolute]{\a.bc}}
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: different type in footnote
2024-10-04 16:06 ` Wolfgang Schuster
@ 2024-10-04 16:44 ` Pablo Rodriguez via ntg-context
2024-10-04 17:01 ` Wolfgang Schuster
2024-10-04 21:55 ` Aditya Mahajan
0 siblings, 2 replies; 8+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-10-04 16:44 UTC (permalink / raw)
To: ntg-context; +Cc: Pablo Rodriguez
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: different type in footnote
2024-10-04 16:44 ` Pablo Rodriguez via ntg-context
@ 2024-10-04 17:01 ` Wolfgang Schuster
2024-10-05 9:38 ` Pablo Rodriguez via ntg-context
2024-10-04 21:55 ` Aditya Mahajan
1 sibling, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2024-10-04 17:01 UTC (permalink / raw)
To: mailing list for ConTeXt users, Pablo Rodriguez via ntg-context
Cc: Pablo Rodriguez
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: different type in footnote
2024-10-04 16:44 ` Pablo Rodriguez via ntg-context
2024-10-04 17:01 ` Wolfgang Schuster
@ 2024-10-04 21:55 ` Aditya Mahajan
2024-10-05 9:44 ` Pablo Rodriguez via ntg-context
1 sibling, 1 reply; 8+ messages in thread
From: Aditya Mahajan @ 2024-10-04 21:55 UTC (permalink / raw)
To: Pablo Rodriguez via ntg-context; +Cc: Pablo Rodriguez
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: different type in footnote
2024-10-04 17:01 ` Wolfgang Schuster
@ 2024-10-05 9:38 ` Pablo Rodriguez via ntg-context
0 siblings, 0 replies; 8+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-10-05 9:38 UTC (permalink / raw)
To: ntg-context; +Cc: Pablo Rodriguez
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* [NTG-context] Re: different type in footnote
2024-10-04 21:55 ` Aditya Mahajan
@ 2024-10-05 9:44 ` Pablo Rodriguez via ntg-context
0 siblings, 0 replies; 8+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-10-05 9:44 UTC (permalink / raw)
To: ntg-context; +Cc: Pablo Rodriguez
On 10/4/24 23:55, Aditya Mahajan wrote:
> You can also use:
> [...}
> \footnote{\typebuffer}
Many thanks for your reply, Aditya.
Your message helped me to realize that verbatim in footnotes needs buffers.
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-10-05 9:49 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-04 15:28 [NTG-context] different type in footnote Pablo Rodriguez via ntg-context
2024-10-04 16:03 ` [NTG-context] " Rik Kabel
2024-10-04 16:06 ` Wolfgang Schuster
2024-10-04 16:44 ` Pablo Rodriguez via ntg-context
2024-10-04 17:01 ` Wolfgang Schuster
2024-10-05 9:38 ` Pablo Rodriguez via ntg-context
2024-10-04 21:55 ` Aditya Mahajan
2024-10-05 9:44 ` Pablo Rodriguez via ntg-context
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).