|
|
|
|
73
|
|
73
|
|
74
|
* generate-booklet :noexport:
|
74
|
* generate-booklet :noexport:
|
75
|
#+BEGIN_SRC elisp
|
75
|
#+BEGIN_SRC elisp
|
76
|
-(shell-command-to-string "pdfbook2 recipes.pdf -b 10 -t 10 -o 10 -i 10 -n -p letterpaper && scp recipes.html recipes.pdf recipes-book.pdf recipes.org webserver:/var/www/html/recipes/")
|
|
|
77
|
-#+END_SRC
|
|
|
78
|
-
|
|
|
79
|
-#+RESULTS:
|
|
|
80
|
-:
|
|
|
81
|
-: pdfbook2 v1.4 (https://github.com/jenom/pdfbook2)
|
|
|
82
|
-: (c) 2015 - 2020 Johannes Neumann (http://www.neumannjo.de)
|
|
|
83
|
-: licensed under GPLv3 (http://www.gnu.org/licenses/gpl-3.0)
|
|
|
84
|
-: based on pdfbook by David Firth with help from Marco Pessotto
|
|
|
85
|
-:
|
|
|
86
|
-:
|
|
|
87
|
-: Processing recipes.pdf
|
|
|
88
|
-: Getting bounds... create booklet... done
|
|
|
89
|
-
|
|
|
90
|
-#+BEGIN_SRC elisp
|
|
|
91
|
-(shell-command-to-string "scp recipes.html recipes.pdf recipes-book.pdf recipes.org webserver:/var/www/html/")
|
|
|
|
|
76
|
+(org-latex-export-to-pdf)(org-html-export-to-html)(shell-command-to-string "pdfbook2 recipes.pdf -b 10 -t 10 -o 10 -i 10 -n -p letterpaper") (shell-command-to-string "scp recipes.html recipes.pdf recipes-book.pdf recipes.org webserver:/var/www/html/recipes/")
|
92
|
#+END_SRC
|
77
|
#+END_SRC
|
93
|
|
78
|
|
94
|
#+RESULTS:
|
79
|
#+RESULTS:
|