File tree Expand file tree Collapse file tree 5 files changed +15
-3
lines changed Expand file tree Collapse file tree 5 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1
1
include_dir =build
2
2
source =capitulos/*.md
3
3
title ='Git - Manual de usuario'
4
- filename =' git_manual'
4
+ filename =git_manual
5
5
distdir =dist
6
6
7
7
@@ -44,13 +44,17 @@ rtf: markdown
44
44
--smart
45
45
46
46
pdf : markdown
47
- pandoc -s $(distdir ) /$(filename ) .md -o $(distdir ) /$(filename ) .pdf \
47
+
48
+ pandoc -s $(distdir)/$(filename).md -o $(distdir)/$(filename)_tmp.pdf \
48
49
--title-prefix $(title) \
49
50
--normalize \
50
51
--smart \
51
52
--toc \
52
53
--latex-engine=`which xelatex`
53
54
55
+ pdftk $(include_dir)/cover.pdf $(distdir)/$(filename)_tmp.pdf cat output $(distdir)/$(filename).pdf
56
+ rm $(distdir)/$(filename)_tmp.pdf
57
+
54
58
# mobi: epub
55
59
# # Download: http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000765211
56
60
# # Symlink bin: ln -s /path/to/kindlegen /usr/local/bin
Original file line number Diff line number Diff line change 12
12
13
13
#### Linux (Debian based):
14
14
15
- <code >apt-get install pandoc texlive-latex-base texlive-fonts-recommended cm-super etoolbox texlive-xetex</code >
15
+ <code >apt-get install pandoc texlive-latex-base texlive-fonts-recommended cm-super etoolbox texlive-xetex pdftk </code >
Original file line number Diff line number Diff line change
1
+
2
+ ![ ] ( img/logo_fiqus.png )
3
+
4
+
5
+ Git - Manual de usuario
6
+ =======================
7
+
8
+ Cooperativa de Trabajo Fiqus LTDA
You can’t perform that action at this time.
0 commit comments