public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Convert paragraphs to
@ 2020-09-18 14:20 Denis Maier
       [not found] ` <e9ca8ffe-2004-24a4-154f-3ea94a2ded75-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Denis Maier @ 2020-09-18 14:20 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Hi,

converting markdown to JATS XML, I need to wrap the bibliography in 
special tags. Looks like the Jats writer does that already when the 
bibliography is produced via pandoc-citeproc. But I receive them as 
preformatted paragraphs.

So, I get this:

```
# References

First citation

Second citation

Another citation
```

And this is what I need:

```
<ref-list>
   <title>References</title>
   <ref>
     <mixed-citation>
       First citation
     </mixed-citation>
   </ref>
   <ref>
     <mixed-citation>
       Second citation
     </mixed-citation>
   </ref>
   <ref>
     <mixed-citation>
       Another citation
     </mixed-citation>
   </ref>
</ref-list>
```

The whole thing must be a child element under `<back/>`.

Any suggestions?

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/e9ca8ffe-2004-24a4-154f-3ea94a2ded75%40mailbox.org.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-09-19 18:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-18 14:20 Convert paragraphs to Denis Maier
     [not found] ` <e9ca8ffe-2004-24a4-154f-3ea94a2ded75-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
2020-09-18 14:27   ` Convert paragraphs to xml structure (markdown to jats) Denis Maier
2020-09-18 16:29   ` Convert paragraphs to John MacFarlane
     [not found]     ` <m2zh5nujym.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-09-18 19:02       ` Denis Maier
     [not found]         ` <7e377dff-fee5-bf9b-690e-b60837e6313b-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
2020-09-18 19:49           ` Denis Maier
     [not found]             ` <54131db9-87b3-47bd-0f93-c65f9f19a4bd-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
2020-09-18 20:15               ` BPJ
2020-09-18 17:26   ` Albert Krewinkel
     [not found]     ` <87imcbm1xy.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2020-09-18 19:00       ` Denis Maier
2020-09-18 22:26       ` John MacFarlane
     [not found]         ` <m2tuvuvi0s.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-09-19  6:59           ` Albert Krewinkel
     [not found]             ` <87d02imetv.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2020-09-19 18:13               ` John MacFarlane

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).