added curl_tests
parent
faefcc05e7
commit
76cdedac42
@ -0,0 +1,45 @@
|
|||||||
|
19.11.19
|
||||||
|
<pre>
|
||||||
|
|
||||||
|
Tutorial with Michael
|
||||||
|
================
|
||||||
|
|
||||||
|
**input from web:**
|
||||||
|
$ curl https://pad.xpub.nl/p/flusser_interview_notes/export/txt | pandoc -t markdown > flusser.md
|
||||||
|
texts written on pad, then curl, then pushed to https://git.xpub.nl/simoon/thesis
|
||||||
|
|
||||||
|
Q: If I curl from the pad, it creates a lot of line-breaks and also doesn't break lines where they should be (inserting a "\*"). How do I avoid this? Adding pre tags seems to help get around this, but then I'm writing in markdown AND html. Confusing perhaps? I'm using this command:
|
||||||
|
$ curl https://pad.xpub.nl/p/19_11_19_Simon_W_Michael/export/txt | pandoc -t markdown > foo.md
|
||||||
|
|
||||||
|
Q: Writing in markdown seems to make more sense than exporting HTML from pad (which includes a lot of unnecessary <ol> and <ul> tags. Which is the best workflow for using input from pad?
|
||||||
|
|
||||||
|
|
||||||
|
**Layout:**
|
||||||
|
I'd like to try writing multi-page documents, using Python to read files as part of the code: https://pzwiki.wdka.nl/mediadesign/User:Simon/Trim4/tools/Python_read_file
|
||||||
|
How do I do this with:
|
||||||
|
|
||||||
|
* reportlab
|
||||||
|
https://pzwiki.wdka.nl/mediadesign/User:Simon/Trim4/Layout_using_Reportlab
|
||||||
|
* flat https://xxyxyz.org/flat/
|
||||||
|
https://pzwiki.wdka.nl/mediadesign/User:Simon/Trim4/Layout_using_Flat
|
||||||
|
* LaTeX???
|
||||||
|
* platypus
|
||||||
|
https://platypus.pz.org/downloads.html
|
||||||
|
|
||||||
|
|
||||||
|
**Imposition:**
|
||||||
|
* using pdfimpose https://pzwiki.wdka.nl/mediadesign/User:Simon/Trim4/PDF_imposition#Using_pdfimpose
|
||||||
|
|
||||||
|
|
||||||
|
**print-ready docs in the browser**
|
||||||
|
this https://transmediale.de/content/on-the-endless-infrastructural-reach-of-a-phoneme
|
||||||
|
becoming this https://www.printfriendly.com/p/g/DXSzGK
|
||||||
|
|
||||||
|
|
||||||
|
**bootleg library functionality:**
|
||||||
|
* mutliple PDFs under the one listing (e.g. booklet PDF, single-page PDF)
|
||||||
|
* ways to incorporate annotation
|
||||||
|
* django
|
||||||
|
|
||||||
|
|
||||||
|
**turning RPi into hotspot?**</pre>
|
Loading…
Reference in New Issue