Browse Source

publishing

user 2 years ago
parent
commit
0b78276d13
5 changed files with 465 additions and 637 deletions
  1. BIN
      recipes-book.pdf
  2. 321
    501
      recipes.html
  3. 6
    1
      recipes.org
  4. BIN
      recipes.pdf
  5. 138
    135
      recipes.tex

BIN
recipes-book.pdf View File


+ 321
- 501
recipes.html
File diff suppressed because it is too large
View File


+ 6
- 1
recipes.org View File

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

BIN
recipes.pdf View File


+ 138
- 135
recipes.tex
File diff suppressed because it is too large
View File