I have a file in Orgmode, and I have to export it to .docx format using a heavily customised .docx template (publishers requirement). Specifically, all paragraph styles have their own names, including the body text (unstyled in Orgmode).

I have created custom-reference.docx file and the conversion in general seems to work. However, the styles in the target .docx are selected according to some fixed mapping scheme - level 1 Orgmode heading are converted into 'Heading 1' styled paragraphs, unstyled (body) text - into 'Body text'.

What I'd like to do is to have exporting routines to create from level 1 Orgmode file headings not 'Heading 1' paragraphs, but, say, 'Other H1' paragraphs, and unstyled (body) text to be converted to not 'Body text' paragraphs but to, say, 'Other body' paragraphs?

I'd like the best an option to set a style mapping in pandoc options, like "Heading 1":"Other H1" and "Body text":"Other body", or maybe some changes in ox-pandoc.el (me, I couldn't find any relevant content in it). Anything but messing with the .docx file.

0

Your Reply

By clicking “Post Your Reply”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.