|
@@ -10,6 +10,8 @@
|
10
|
10
|
|
11
|
11
|
#+END_EXPORT
|
12
|
12
|
|
|
13
|
+#+OPTIONS: html-style:nil
|
|
14
|
+
|
13
|
15
|
# hide noexport sections
|
14
|
16
|
#+EXCLUDE_TAGS: noexport
|
15
|
17
|
|
|
@@ -70,8 +72,10 @@
|
70
|
72
|
# #+HTML_HEAD_EXTRA: <link rel="alternate stylesheet" type="text/css" href="style2.css" />
|
71
|
73
|
|
72
|
74
|
:END:
|
|
75
|
+:PUBLISHING:
|
|
76
|
+# Evaluate this elisp to export to pdf and html, generate bifold booklet, and
|
|
77
|
+# upload to webserver
|
73
|
78
|
|
74
|
|
-* generate-booklet :noexport:
|
75
|
79
|
#+BEGIN_SRC elisp
|
76
|
80
|
(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/")
|
77
|
81
|
#+END_SRC
|
|
@@ -80,6 +84,7 @@
|
80
|
84
|
|
81
|
85
|
# add page breaks, find and replace with M-% to remove all page breaks
|
82
|
86
|
# #+LATEX: \newpage
|
|
87
|
+:END:
|
83
|
88
|
|
84
|
89
|
* Breakfast
|
85
|
90
|
** Angel Biscuits
|