public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: <denis.maier-NSENcxR/0n0@public.gmane.org>
To: <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: AW: AW: AW: Lineblocks in Jats writer
Date: Wed, 15 Dec 2021 14:16:13 +0000	[thread overview]
Message-ID: <e412473bac1948a09884941aed6c4fdf@unibe.ch> (raw)
In-Reply-To: <87czlznsgg.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>

Another question:
What happens with stuff like this:

```md
| this
| is a 
| poem

| with
| two 
| stanzas
```

I think in jats this should be rendered with nested verse-groups, right?

Denis


> -----Ursprüngliche Nachricht-----
> Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-
> discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Im Auftrag von Albert Krewinkel
> Gesendet: Dienstag, 14. Dezember 2021 15:59
> An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> Betreff: Re: AW: AW: Lineblocks in Jats writer
> 
> 
> denis.maier-NSENcxR/0n0@public.gmane.org writes:
> 
> >> 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?
> 
> Sounds good to me.
> 
> I think for the general case, output should be changed to use `<preformat
> preformat-type="lines">` or something similar. The only disadvantage of that
> is that we have to do some extra work to process math formulae, as those
> are not allowed contents of `<preformat>` elements.
> 
> If the LineBlock comes wrapped in a Div, then we could use the first class of
> the div as the value for `preformat-type`.
> 
> --
> Albert Krewinkel
> GPG: 8eed e3e2 e8c5 6f18 81fe  e836 388d c0b2 1f63 1124
> 
> --
> 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/87czlznsgg.fsf%40zeitkraut.de.

-- 
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/e412473bac1948a09884941aed6c4fdf%40unibe.ch.


  parent reply	other threads:[~2021-12-15 14:16 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               ` AW: " denis.maier-NSENcxR/0n0
     [not found]                 ` <0efb04f31c3a4d659a30cca620530eb6-NSENcxR/0n0@public.gmane.org>
2021-12-14 14:58                   ` Albert Krewinkel
     [not found]                     ` <87czlznsgg.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2021-12-15 14:16                       ` denis.maier-NSENcxR/0n0 [this message]
     [not found]                         ` <e412473bac1948a09884941aed6c4fdf-NSENcxR/0n0@public.gmane.org>
2022-01-13 11:10                           ` AW: " 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=e412473bac1948a09884941aed6c4fdf@unibe.ch \
    --to=denis.maier-nsencxr/0n0@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).