public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: <denis.maier-NSENcxR/0n0@public.gmane.org>
To: <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>,
	<pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Cc: <albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
Subject: AW: AW: Lineblocks in Jats writer
Date: Tue, 14 Dec 2021 10:56:53 +0000	[thread overview]
Message-ID: <0efb04f31c3a4d659a30cca620530eb6@unibe.ch> (raw)
In-Reply-To: <m2czm09zfl.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org>

> -----Ursprüngliche Nachricht-----
> Von: John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>
> Gesendet: Montag, 13. Dezember 2021 18:40
> An: Maier, Denis Christian (UB) <denis.maier-NSENcxR/0n0@public.gmane.org>; pandoc-
> discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> Betreff: Re: AW: Lineblocks in Jats writer
> 
> 
> > {.verse}
> > | This is
> > | my first
> > | poem
> 
> This syntax would work with `-f commonmark+attributes` if we had line block
> support in commonmark, but we don't.

Ok.

> 
> You can of course do something like
> 
> ::: {.verse}
> | This
> | is it
> :::
> 
> which will create a Div containing the line block.
> 
> So, we could modify the JATS writer to take a Div with class
> "verse" and produce a verse element.   I don't know if that's
> too ad hoc.

I think that sounds like a good solution. Albert, WDYT? If you think that this could work, maybe we should try to cover other use-cases as well, say addresses. Anything else? What will happen with theses classes when going to other formats?

Best,
Denis

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/0efb04f31c3a4d659a30cca620530eb6%40unibe.ch.


  parent reply	other threads:[~2021-12-14 10:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-13 10:57 denis.maier-NSENcxR/0n0
     [not found] ` <28d7db8315224f719f5b4378afab270c-NSENcxR/0n0@public.gmane.org>
2021-12-13 12:55   ` Albert Krewinkel
     [not found]     ` <87k0g88y05.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2021-12-13 13:08       ` AW: " denis.maier-NSENcxR/0n0
     [not found]         ` <07859a49dfab413d81a40faa0818d40b-NSENcxR/0n0@public.gmane.org>
2021-12-13 17:39           ` John MacFarlane
     [not found]             ` <m2czm09zfl.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org>
2021-12-14 10:56               ` denis.maier-NSENcxR/0n0 [this message]
     [not found]                 ` <0efb04f31c3a4d659a30cca620530eb6-NSENcxR/0n0@public.gmane.org>
2021-12-14 14:58                   ` AW: " Albert Krewinkel
     [not found]                     ` <87czlznsgg.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2021-12-15 14:16                       ` AW: " denis.maier-NSENcxR/0n0
     [not found]                         ` <e412473bac1948a09884941aed6c4fdf-NSENcxR/0n0@public.gmane.org>
2022-01-13 11:10                           ` denis.maier-NSENcxR/0n0

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=0efb04f31c3a4d659a30cca620530eb6@unibe.ch \
    --to=denis.maier-nsencxr/0n0@public.gmane.org \
    --cc=albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org \
    --cc=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /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).