simple formatter for docx file which is generated by pandoc.
this software is still a work in progress.
$ pandocxtyle --h
$ pandocxtyle --help
$ pandocxtyle document show_xml -i input.docx
$ pandocxtyle document add_index -i input.docx -o output.docx
$ pandocxtyle document pagebreak_h1 -i input.docx -o output.docx
$ pandocxtyle table show_style -i input.docx
- style_id: a2
name: Normal Table
based_on:
- style_id: af6
name: Table Grid
based_on: a2
- style_id: 8
name: Table Grid 8
based_on: a2
- style_id: 40
name: Medium Shading 1 Accent 4
based_on: a2
...
$ pandocxtyle table sub_style -i input.docx -o output.docx \
--target 'TableNormal' --with 'YourTableStyle'
$ pandocxtyle table seq_caption -i input.docx -o output.docx \
--label 'Table.'
$ pandocxtyle drawing seq_caption -i input.docx -o output.docx \
--label 'Fig.'
This software is released under the MIT License, see LICENSE.txt.