user 2 gadus atpakaļ
vecāks
revīzija
096de0591f
6 mainītis faili ar 555 papildinājumiem un 485 dzēšanām
  1. 1
    0
      .gitignore
  2. Binārs
      recipes-book.pdf
  3. 399
    349
      recipes.html
  4. 17
    1
      recipes.org
  5. Binārs
      recipes.pdf
  6. 138
    135
      recipes.tex

+ 1
- 0
.gitignore Parādīt failu

@@ -5,3 +5,4 @@
5 5
 /#recipes.org#
6 6
 /.#recipes.org
7 7
 /4uptest/
8
+/recipes.html~

Binārs
recipes-book.pdf Parādīt failu


+ 399
- 349
recipes.html
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 17
- 1
recipes.org Parādīt failu

@@ -2,6 +2,15 @@
2 2
 #+AUTHOR: Emacs 27.1 (Org mode 9.3)
3 3
 
4 4
 :CONFIG:
5
+#+BEGIN_EXPORT html
6
+
7
+<h2>Download</h2>
8
+<p> <a href="./recipes.pdf"> Recipes PDF</a> </p>
9
+<p> <a href="./recipes-book.pdf"> Recipes Booklet</a> </p>
10
+<p> <a href="./recipes.org"> Org Source</a> </p>
11
+
12
+#+END_EXPORT
13
+
5 14
 # hide noexport sections
6 15
 #+EXCLUDE_TAGS: noexport
7 16
 
@@ -60,11 +69,12 @@
60 69
 # html
61 70
 #+HTML_HEAD: <link rel="stylesheet" type="text/css" href="recipes.css" />
62 71
 # #+HTML_HEAD_EXTRA: <link rel="alternate stylesheet" type="text/css" href="style2.css" />
72
+
63 73
 :END:
64 74
 
65 75
 * generate-booklet :noexport:
66 76
 #+BEGIN_SRC elisp
67
-(shell-command-to-string "pdfbook2 recipes.pdf -b 10 -t 10 -o 10 -i 10 -n -p letterpaper")
77
+(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/")
68 78
 #+END_SRC
69 79
 
70 80
 #+RESULTS:
@@ -78,6 +88,12 @@
78 88
 : Processing recipes.pdf
79 89
 : Getting bounds... create booklet... done
80 90
 
91
+#+BEGIN_SRC elisp
92
+(shell-command-to-string "scp recipes.html recipes.pdf recipes-book.pdf recipes.org webserver:/var/www/html/")
93
+#+END_SRC
94
+
95
+#+RESULTS:
96
+
81 97
 # add page breaks, find and replace with M-% to remove all page breaks
82 98
 # #+LATEX: \newpage
83 99
 

Binārs
recipes.pdf Parādīt failu


+ 138
- 135
recipes.tex
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu