Wolfgang Schuster via ntg-context
Hans Hagen via ntg-context schrieb am 05.06.2022 um 12:01:
On 6/5/2022 9:07 AM, Albert Krewinkel via ntg-context wrote:
Hi all,
I'm currently trying to improve the ConTeXt output generated by pandoc, the document convert. There are two questions that we haven't decided on, and I'd be grateful to receive some feedback from ConTeXt experts on these issues:
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?
I assume not that many users see (or manipulate) the output so it is harmless.
\startparagraph can lead to unwanted side effects (I can't remember the details) and \bpar ... \epar is the safer alternative to add tags.
Thank you Wolfgang, I wasn't aware! Searching the wiki brought me to https://wiki.contextgarden.net/Epub_Sample. It states:
In places where \startparagraph does not work, such as itemizations, where it causes a blank line after the bullet and before the item text, use \bpar (and closing \epar) to tag paragraphs.
It's probably more consistent then to use \bpar ... \epar everywhere. -- Albert Krewinkel GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124