Skip to content

Commit a6c1ff8

Browse files
committed
agrego cover al pdf
1 parent 4ecda50 commit a6c1ff8

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include_dir=build
22
source=capitulos/*.md
33
title='Git - Manual de usuario'
4-
filename='git_manual'
4+
filename=git_manual
55
distdir=dist
66

77

@@ -44,13 +44,17 @@ rtf: markdown
4444
--smart
4545

4646
pdf: markdown
47-
pandoc -s $(distdir)/$(filename).md -o $(distdir)/$(filename).pdf \
47+
48+
pandoc -s $(distdir)/$(filename).md -o $(distdir)/$(filename)_tmp.pdf \
4849
--title-prefix $(title) \
4950
--normalize \
5051
--smart \
5152
--toc \
5253
--latex-engine=`which xelatex`
5354

55+
pdftk $(include_dir)/cover.pdf $(distdir)/$(filename)_tmp.pdf cat output $(distdir)/$(filename).pdf
56+
rm $(distdir)/$(filename)_tmp.pdf
57+
5458
#mobi: epub
5559
# # Download: http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000765211
5660
# # Symlink bin: ln -s /path/to/kindlegen /usr/local/bin

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212

1313
#### Linux (Debian based):
1414

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>

build/cover.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
![](img/logo_fiqus.png)
3+
4+
5+
Git - Manual de usuario
6+
=======================
7+
8+
Cooperativa de Trabajo Fiqus LTDA

build/cover.odt

22.1 KB
Binary file not shown.

build/cover.pdf

20.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)