diff --git a/README.md b/README.md index 56fdbb3..14ce2f5 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ # plain text workflow -Files for the publication & poster for Data Workers, an exhibition by Algolit at the Mundaneum in Mons from 28 March until 28 April 2019. +Files for the plain text publication for Data Workers, an exhibition by Algolit at the Mundaneum in Mons from 28 March until 28 April 2019. -` _ ` -` _ __ ___ | |_ ___ ___ ` -`| '_ \ / _ \| __/ _ \/ __|` -`| | | | (_) | || __/\__ \` +` _ `
+` _ __ ___ | |_ ___ ___ `
+`| '_ \ / _ \| __/ _ \/ __|`
+`| | | | (_) | || __/\__ \`
`|_| |_|\___/ \__\___||___/` @@ -19,21 +19,25 @@ 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 +49,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 +57,21 @@ 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 --- -### Hyphenator +------ + +### --- hyphenation --- + +#### Hyphenator -### textwrap +#### textwrap -## --- commands --- +------ + +### --- commands --- Generate the publication to PDF: @@ -81,7 +90,9 @@ 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 +105,16 @@ Unicode art :) -## --- unifont --- +------ + +### --- unifont --- -## --- DUMP --- + +------ + +### --- DUMP --- `[\/\]\<\?\'\)\(\[\\\"\w]`