public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Set language attribute directly on
@ 2020-09-19 11:13 Denis Maier
       [not found] ` <efcd2673-1f02-fd29-c2e1-19b90f7d0ba2-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Denis Maier @ 2020-09-19 11:13 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]

Hi

Is it possible to set the language attribute directly on a paragraph or 
quotation?

The documentation gives this example:

::: {lang=fr-CA}
 > Cette citation est écrite en français canadien.
:::

But, in JATS, this ends up as

<boxed-text xml:lang="fr-CA">
     <disp-quote>
       <p>Cette citation est écrite en français canadien.</p>
     </disp-quote>
   </boxed-text>

Is there a simple way to set attibute directly on a paragraph or a 
quotation? To get this:

     <disp-quote>
       <p xml:lang="fr-CA">Cette citation est écrite en français 
canadien.</p>
     </disp-quote>

||

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/efcd2673-1f02-fd29-c2e1-19b90f7d0ba2%40mailbox.org.

[-- Attachment #2: Type: text/html, Size: 1785 bytes --]

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

end of thread, other threads:[~2020-09-23  7:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-19 11:13 Set language attribute directly on Denis Maier
     [not found] ` <efcd2673-1f02-fd29-c2e1-19b90f7d0ba2-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
2020-09-19 17:41   ` John MacFarlane
2020-09-19 19:05   ` BPJ
     [not found]     ` <CADAJKhDsuZQVxqNP3bQAFqPHvgysG40WkgAPUtebadM27zvduA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-09-20  9:04       ` Denis Maier
     [not found]         ` <63355b45-399b-023c-cc49-ca91a0347ab9-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
2020-09-23  7:45           ` BPJ

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