ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Albert Krewinkel via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Albert Krewinkel <albert+context@zeitkraut.de>
Subject: Re: Improving pandoc's ConTeXt output
Date: Sun, 05 Jun 2022 16:15:03 +0200	[thread overview]
Message-ID: <87czfnp55x.fsf@zeitkraut.de> (raw)
In-Reply-To: <YpxnTZ3tz9Pjb68Q@odysseus>

Dear juh,

juh via ntg-context <ntg-context@ntg.nl> writes:

> great to hear that, as my cooperative uses pandoc to produce print stuff
> with ConTeXt, we are always happy, when there are improvements.

I'd love to learn more about your workflow, if you have time to share at
some point!

We chose ConTeXt as the intermediate format for the next iteration of
the JOSS pipeline (the current pipeline is described here:
https://www.ncbi.nlm.nih.gov/books/NBK579698/)

Big thanks to Denis Maier for convincing me to try and go that route :)

> 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?

I absolutely see the appeal of that method, and I'd like for pandoc to
support it. The main question is probably whether the default should be
`\startsection` or `\startsectionlevel`. I lean towards making
`\startsectionlevel` the new default, but that might need some more
discussing. I think Denis linked to the respective GitHub issue in his
mail, more comments and opinions are definitely welcome.

-- 
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe  e836 388d c0b2 1f63 1124
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2022-06-05 14:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-05  7:07 Albert Krewinkel via ntg-context
2022-06-05  8:20 ` juh via ntg-context
2022-06-05  9:39   ` Denis Maier via ntg-context
2022-06-05 14:15   ` Albert Krewinkel via ntg-context [this message]
2022-06-05 16:38     ` juh+ntg-context--- via ntg-context
2022-06-05 23:52       ` Thangalin via ntg-context
2022-06-06  5:21         ` Problem with SVG an conversion mp (was: Improving pandoc's ConTeXt output) Jan U. Hasecke via ntg-context
2022-06-06  5:51         ` Improving pandoc's ConTeXt output juh+ntg-context--- via ntg-context
2022-06-05  9:46 ` Denis Maier via ntg-context
2022-06-05 10:01 ` Hans Hagen via ntg-context
2022-06-05 11:08   ` Wolfgang Schuster via ntg-context
2022-06-05 14:30     ` Albert Krewinkel via ntg-context
2022-06-06 20:47       ` Henning Hraban Ramm via ntg-context
2022-06-08 13:43 ` Albert Krewinkel via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87czfnp55x.fsf@zeitkraut.de \
    --to=ntg-context@ntg.nl \
    --cc=albert+context@zeitkraut.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).