ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] issue with \setuptyping (and XML sources)
@ 2024-01-14 18:29 Pablo Rodriguez via ntg-context
  0 siblings, 0 replies; only message in thread
From: Pablo Rodriguez via ntg-context @ 2024-01-14 18:29 UTC (permalink / raw)
  To: ConTeXt users; +Cc: Pablo Rodriguez

Dear list,

the issue I’m experiencing comes from XML sources typeset with ConTeXt.

I have tried, but I found no way to get a minimal sample.

For code fragments in the XML source, I use:

  \bgroup\xmlprettyprinttext{#1}{none}\egroup

To which I apply:

  \setuptyping
    [style={\tt\wider},
     margin=yes,
     align={right, broad},
     blank={3*halfline},
     before={\blank[3*halfline]},
     after={\blank[3*halfline]}]

Could anyone be so kind to explain me why the first three options from
\setuptyping work (style, margin and alignment), and the other three
don’t work at all?

Sorry, I think it has to be a stupid mistake of mine (but I don’t know
which one it might be).

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] only message in thread

only message in thread, other threads:[~2024-01-14 18:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-14 18:29 [NTG-context] issue with \setuptyping (and XML sources) 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).