|
|
@ -1,6 +1,6 @@ |
|
|
|
# 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> |
|
|
|
|
|
|
@ -23,17 +23,17 @@ lines per page: 70 |
|
|
|
|
|
|
|
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 +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 |
|
|
|
|
|
|
|
<https://www.unixuser.org/~euske/python/pdfminer/> |
|
|
@ -55,10 +55,10 @@ The inverted tool of this process |
|
|
|
|
|
|
|
## --- hyphenation --- |
|
|
|
|
|
|
|
### Hyphenator |
|
|
|
**Hyphenator** |
|
|
|
<https://pypi.org/project/hyphenator/> |
|
|
|
|
|
|
|
### textwrap |
|
|
|
**textwrap** |
|
|
|
<https://pypi.org/project/textwrap3/> |
|
|
|
|
|
|
|
|
|
|
|