Hello, I'm working on documents marked up with XHTML. I wrote some utilities to convert them in docx, pdf (through PrinceXML or ConTeXt) and ICML. Those utilities are far from complete and I'd like to use Pandoc instead. It would be great to convert

and elements to some corresponding paragraph and character styles in docx, odt and ICML. The concepts of paragraph styles and character styles are common in Word, OpenOffice/Libreoffice Writer and InDesign (and not only them). They map well to HTML's p+class and span+class. In Pandoc, paragraphs lack attributes(see Pandoc.Text.Definition ), even if there's a workaround (see here ). It would be really useful if Pandoc mapped p+class and span+class elements to para and char styles with the same name in docx, odt, icml. What do you think? I think it should be an option that you could toggle (i.e. "--map-styles"). Something like (or working with) --reference-odt and --reference-docx (and maybe --reference-icml or --reference-idml in the future), but not limited to a fixed set of styles. I don't know how they should be marked up in markdown, but since it would be specific to those formats, markdown writer could simply ignore that feature. -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/6f4a2ed7-3eb3-4f09-8fc2-07c823e62ff2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.