Skip to content

Commit 0e94809

Browse files
committed
some improvements for PDF
1 parent 4738004 commit 0e94809

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- stage: releases
3030
script:
3131
- docker pull jagregory/pandoc
32-
- "./build.epub.sh"
32+
- "./build.books.sh"
3333
deploy:
3434
provider: releases
3535
api_key:

build.epub.sh renamed to build.books.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
set -e
44

5-
docker run -v `pwd`:/source jagregory/pandoc -o learn-go-with-tests.pdf --latex-engine=xelatex --toc --toc-depth=1 title.txt \
5+
docker run -v `pwd`:/source jagregory/pandoc -o learn-go-with-tests.pdf --latex-engine=xelatex --variable urlcolor=blue --toc --toc-depth=1 pdf-cover.md \
66
gb-readme.md \
7+
why.md \
78
hello-world.md \
89
integers.md \
910
arrays-and-slices.md \
@@ -26,10 +27,10 @@ docker run -v `pwd`:/source jagregory/pandoc -o learn-go-with-tests.pdf --latex-
2627
websockets.md \
2728
os-exec.md \
2829
error-types.md \
29-
why.md
3030

3131
docker run -v `pwd`:/source jagregory/pandoc -o learn-go-with-tests.epub --latex-engine=xelatex --toc --toc-depth=1 title.txt \
3232
gb-readme.md \
33+
why.md \
3334
hello-world.md \
3435
integers.md \
3536
arrays-and-slices.md \
@@ -51,5 +52,4 @@ docker run -v `pwd`:/source jagregory/pandoc -o learn-go-with-tests.epub --latex
5152
time.md \
5253
websockets.md \
5354
os-exec.md \
54-
error-types.md \
55-
why.md
55+
error-types.md

pdf-cover.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
![](epub-cover.png)

0 commit comments

Comments
 (0)