text typesetter
$ python -m pip install git+https://github.com/shidocchi/text2docx.git
usage: python -m text2docx ...
text typesetter
optional arguments:
-h, --help show this help message and exit
--raw suppress stdin encoding
--out OUT output filename
--page {a3,b4,a4,b5,a5,hagaki}
page size
--landscape landscape
--margin top bottom left right
margin mm
--size SIZE font pt
--font {lc,lst} font
--eafont {biz,hg,hge,hgm,meiryo,yu,ms}
eastasia font
--do {print,edit,open}
operation
--number page number on header
--header HEADER header
--footer FOOTER footer
$ cat sample.txt | python -m text2docx --do open