[NTG-context] Improving pandoc's ConTeXt output

denis.maier at unibe.ch denis.maier at unibe.ch
Sun Jun 5 11:39:46 CEST 2022


> -----Ursprüngliche Nachricht-----
> Von: ntg-context <ntg-context-bounces at ntg.nl> Im Auftrag von juh via ntg-
> context
> Gesendet: Sonntag, 5. Juni 2022 10:20
> An: ntg-context at ntg.nl
> Cc: juh <juh+ntg-context at mailbox.org>
> Betreff: Re: [NTG-context] Improving pandoc's ConTeXt output
> 
> Dear Albert,
> 
> great to hear that, as my cooperative uses pandoc to produce print stuff with
> ConTeXt, we are always happy, when there are improvements.
> 
> Am Sun, Jun 05, 2022 at 09:07:37AM +0200 schrieb Albert Krewinkel via ntg-
> context:
> > 2. Similarly, I'd like to start wrapping paragraphs with
> >    `\startparagraph`/`\stopparagraph`. It is important for me to get
> >    properly tagged PDF, but this would also make the output more
> >    verbose. Is that something that you would find bothering, or do you
> >    see adding the extra environment by default as an acceptable
> >    practice?
> 
> A similiary question came up in the org-mode mailinglist some weeks ago.
> 
> (Background: Org-mode is a markup used with Emacs to make single source
> publishing possible)
> 
> Someone who maintains an export programme for ConTeXt uses
> sectionlevels.
> 
> You get the incremental subsections and subsubsection like this.
> 
> \startsectionlevel
>   \startsectionlevel
>     \startsectionlevel
>     \stopsectionlevel
>   \stopsectionlevel
> \stopsectionlevel
> 
> This makes it possible to ignore the part-chapter-section naming convention
> and be more flexible. You can leave it to the style files to decide which level
> is a part, chapter, section etc...
> 
> As I do not use this in production – only playing around with emacs and org-
> mode – I cannot say if this is a good way.
> 
> Have you considered sectionlevel?
> What is your opinion?

Yes, I've also suggested that: https://github.com/jgm/pandoc/issues/5539

Denis


More information about the ntg-context mailing list