public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* How to indent text based on the level of heading in docx?
@ 2020-08-10 15:42 Mikhail Matrosov
  0 siblings, 0 replies; only message in thread
From: Mikhail Matrosov @ 2020-08-10 15:42 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1157 bytes --]



I convert AsciiDoc to Word via DocBook. The db->docx conversion is done 
with Pandoc and is the most interesting.

I provide a reference file with --reference-doc. I specified indentation 
for headings in the reference file. Now headings are indented. But the text 
is not:


[image: enter image description here] <https://i.stack.imgur.com/hmMX8.png>


While I want the text indentation to match the headings indentation:


[image: enter image description here] <https://i.stack.imgur.com/KxYz5.png>

However, from what I can see, all snippets of text under different headings 
have exactly the same style. I could provide styles manually in adoc, but 
this is tedious and error-prone. Is there a way to set proper indentation 
automatically?

-- 
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/fb3bbb7b-77e4-425b-af6b-cc98c631b708o%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 6686 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-10 15:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-10 15:42 How to indent text based on the level of heading in docx? Mikhail Matrosov

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).