public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Can anyone provide a simple example of how to use custom styles with ODT output?
@ 2021-06-14 19:15 T. Kurt Bond
       [not found] ` <CAN1EhV8K3qkd4XpHY7T5=SfXr4qgA+Vp4AQZ2KsnvEQwTctf7A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: T. Kurt Bond @ 2021-06-14 19:15 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

This <https://github.com/jgm/pandoc/issues/2106#issuecomment-714824114>
comment says custom styles have been implemented for ODT, but I can't find
any examples of how to do it.

I know that I have to use --reference-doc=custom=custom-reference.odt and I
know how to produce custom-reference.odt using

pandoc -o custom-reference.odt --print-default-data-file reference.odt

and I know how to create the custom styles in custom-reference.odt, but I
can't figure out how to put the pieces together.

I want to have, for instance, a custom style name that makes things marked
up with it show up in italics in the ODT output.  Should this markdown work?

This sentence includes a name: [J. Random User]{custom-style="name"}.

It doesn't seem to work.
-- 
T. Kurt Bond, tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, https://tkurtbond.github.io

-- 
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/CAN1EhV8K3qkd4XpHY7T5%3DSfXr4qgA%2BVp4AQZ2KsnvEQwTctf7A%40mail.gmail.com.

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

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

end of thread, other threads:[~2021-06-15  7:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-14 19:15 Can anyone provide a simple example of how to use custom styles with ODT output? T. Kurt Bond
     [not found] ` <CAN1EhV8K3qkd4XpHY7T5=SfXr4qgA+Vp4AQZ2KsnvEQwTctf7A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-06-14 20:07   ` BPJ
     [not found]     ` <CADAJKhCZ8=EVj_=VikW2MawA+Qwz0-0c7z_bJgf3DTXHNRKcnw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-06-14 20:26       ` T. Kurt Bond
     [not found]         ` <CAN1EhV__DCJTc=UbC2MpvPo5qdmodWwXQkPTf6ws1Eipw9m+oA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-06-15  7:39           ` 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).