manetta 5 years ago
parent
commit
55d667ed19
  1. 50
      README.md

50
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.
<http://www.algolit.net/index.php/Data_Workers>
` _ `
` _ __ ___ | |_ ___ ___ `
`| '_ \ / _ \| __/ _ \/ __|`
`| | | | (_) | || __/\__ \`
` _ `<br>
` _ __ ___ | |_ ___ ___ `<br>
`| '_ \ / _ \| __/ _ \/ __|`<br>
`| | | | (_) | || __/\__ \`<br>
`|_| |_|\___/ \__\___||___/`
@ -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)
<https://github.com/baruchel/txt2pdf>
@ -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
<https://www.unixuser.org/~euske/python/pdfminer/>
@ -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
<https://pypi.org/project/hyphenator/>
### textwrap
#### textwrap
<https://pypi.org/project/textwrap3/>
## --- 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 :)
<http://www.alanwood.net/unicode/>
## --- unifont ---
------
### --- unifont ---
<http://unifoundry.com/unifont/index.html>
## --- DUMP ---
------
### --- DUMP ---
`[\/\]\<\?\'\)\(\[\\\"\w]`

Loading…
Cancel
Save