Thanks Agustin,

That was exactly it!

Cheers,
Oliver

On Monday, June 24, 2019 at 7:01:35 PM UTC+10, Agustín Martín wrote:
Hi Oliver.

I'm afraid you didn't modify the reference doc correctly.

You changed the Title on the document text, but not on the "style".
You need to change the styles, not the text (after changing the styles, the text normally reflects these changes anyways).

Edit the "Title" style and make it left aligned. It will work.

Best regards,
  Agustín.

On Friday, June 14, 2019 at 7:00:39 AM UTC+2, Oliver Baumann wrote:
I use pandoc (version 2.5) on Linux to convert Markdown to DOCX:

pandoc -s file.md -t docx --reference-doc=style-ref.docx  -o file.docx

I created the file style-ref.docx via pandoc --print-default-data-file=reference.docx  > style-ref.docx and then modified it in MS Word.

However the formatting changes saved to style-ref.docx do not seem to be applied to the result document.

What's going wrong?

How can I debug this? Calling pandoc with --verbose doesn't give any more clues.


--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a2fa791c-60e2-41d0-b12d-9fb80c6b61c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.