No, I did create a character style. On Mon, Jun 14, 2021 at 4:07 PM BPJ wrote: > Did you by any chance create a paragraph style rather than a character > style? Custom-style spans need character styles; divs need paragraph styles. > > Den mån 14 juni 2021 21:16T. Kurt Bond skrev: > >> This >> 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 >> >> . >> > -- > 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/CADAJKhCZ8%3DEVj_%3DVikW2MawA%2BQwz0-0c7z_bJgf3DTXHNRKcnw%40mail.gmail.com > > . > -- 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/CAN1EhV__DCJTc%3DUbC2MpvPo5qdmodWwXQkPTf6ws1Eipw9m%2BoA%40mail.gmail.com.