Jan 18, 2025

Proctorzone

Contribute

Tools

Related Sites

More...

edit SideBar

Search

Pandoc: To Docx

18 April, 2021, at 03:38 AM WIB by Hendrik in Uncategorized, Pandoc, Docx (0 comments)

Apparently, to convert to docx, we have to create our own reference doc (see --reference-doc=FILE section]. For docx, we have to first create a custom reference.docx by getting a default reference.docx: pandoc -o custom-reference.docx --print-default-data-file reference.docx. Then we edit the resulting document in word, modify the styles as we wish, and save the file. It is suggested that we only have to edit the styles, while the rest are to be kept unchanged. The styles we have to change are:

  1. Paragraph Styles
    • Normal
    • Body Text
    • First Paragraph
    • Compact
    • Title
    • Subtitle
    • Author
    • Date
    • Abstract
    • Bibliography
    • Heading 1
    • Heading 2
    • Heading 3
    • Heading 4
    • Heading 5
    • Heading 6
    • Heading 7
    • Heading 8
    • Heading 9
    • Block Text
    • Footnote Text
    • Definition Term
    • Definition
    • Caption
    • Table Caption
    • Image Caption
    • Figure
    • Captioned Figure
    • TOC Heading
  2. Character styles:
    • Default Paragraph Font
    • Body Text Char
    • Verbatim Char
    • Footnote Reference
    • Hyperlink
    • Section Number
  3. Table style:
    • Table

What I am yet to see, is on whether or not it could allow specific formatting style like that in my thesis. Further testing is required, and I will update it here as necessary.

Leave a reply
Your name (required):

Your comment (required):


Page Actions

Recent Changes

Group & Page

Back Links