ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] weird \inlinetypebuffer interaction
@ 2024-05-06 18:06 Pablo Rodriguez via ntg-context
  2024-05-06 20:45 ` [NTG-context] " Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-05-06 18:06 UTC (permalink / raw)
  To: ConTeXt users; +Cc: Pablo Rodriguez

Dear list,

I have the following sample:

  \definefontfamily[mainface][tt][TeX Gyre Termes]
  \setupbodyfont[mainface]
  \starttext
  \startbuffer
  context --purgeall
  \stopbuffer
  inline \typeinlinebuffer

  block:
  \typebuffer
  \stoptext

As long as there is no defined font family for mono, \typeinlinebuffer
doesn’t convert -- into an en-dash (the same way as \typebuffer behaves).

But as in the sample above, when a font is defined for mono (at least
with \definefontfamily), \typeinlinebuffer converts -- into en-dashes
(different from \typebuffer).

Sorry, but how could I fix this \typeinlinebuffer?

This is important for me, since two hyphens is one of the most common
ways to marks options when invoking programs (which I try to explain to
others).

BTW, \sciteinlinebuffer seems have the same problem (in the scite module).

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-05-14 14:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-06 18:06 [NTG-context] weird \inlinetypebuffer interaction Pablo Rodriguez via ntg-context
2024-05-06 20:45 ` [NTG-context] " Wolfgang Schuster
2024-05-07 17:40   ` Pablo Rodriguez via ntg-context
2024-05-07 20:37     ` Wolfgang Schuster
2024-05-08 16:05       ` Pablo Rodriguez via ntg-context
2024-05-09 10:57         ` Wolfgang Schuster
2024-05-09 13:18           ` Pablo Rodriguez via ntg-context
2024-05-14 14:07             ` 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).