diff --git a/README.md b/README.md index d78d274..79dc0d8 100644 --- a/README.md +++ b/README.md @@ -19,21 +19,21 @@ lines per page: 70 70, 140, 210, 280, 350, 420, 490, 560, 630, 700 -## --- txt to pdf --- +### --- txt to pdf --- options ... -**weasyprint** +#### weasyprint (stretched the page size, font size, etc, in order to place everything) -**enscript** +#### enscript (using postscript to create pdf) `$ enscript --word-wrap --margins=40:10:10:20 --fancy-header writers.intro.txt -o - | ps2pdf - test.pdf` `$ cat writers.intro.txt | iconv -c -f utf-8 -t ISO-8859-1 | enscript --word-wrap --margins=40:10:10:20 --fancy-header -o - | ps2pdf - test.pdf` -**txt2pdf** +#### txt2pdf (uses reportlab) @@ -45,7 +45,7 @@ options ... currently using: `$ python3 txt2pdf/txt2pdf.py -m A4 -f fonts/fantasque/TTF/FantasqueSansMono-Regular.ttf -s 9 -v 0.05 -T 1 -B 0.9 -L 1.5 -R 1.5 data-workers.txt -o test.pdf` -**PDF2txt miner** +#### PDF2txt miner The inverted tool of this process @@ -53,16 +53,16 @@ The inverted tool of this process *"What's It? PDFMiner is a tool for extracting information from PDF documents. Unlike other PDF-related tools, it focuses entirely on getting and analyzing text data. PDFMiner allows one to obtain the exact location of text in a page, as well as other information such as fonts or lines."* -## --- hyphenation --- +### --- hyphenation --- -**Hyphenator** +#### Hyphenator -**textwrap** +#### textwrap -## --- commands --- +### --- commands --- Generate the publication to PDF: @@ -81,7 +81,7 @@ PDFTK in one command: `$ pdftk data-workers.en.pdf A=data-workers.en.pdf cat A52 output data-workers.en.backcover.pdf && pdftk data-workers.en.backcover.pdf multistamp logos.pdf output data-workers.en.logos.pdf && pdftk A=data-workers.en.pdf B=data-workers.en.backcover.logos.pdf cat A1-51 B output data-workers.en.publication.pdf` -## --- ASCII/UNICODE fonts --- +### --- ASCII/UNICODE fonts --- Unicode art :) @@ -94,11 +94,11 @@ Unicode art :) -## --- unifont --- +### --- unifont --- -## --- DUMP --- +### --- DUMP --- `[\/\]\<\?\'\)\(\[\\\"\w]`