Skip to content

Commit 99c0500

Browse files
feat: clickable toc in pdf
1 parent fdc8612 commit 99c0500

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ build.sh
2525
*.fdb_latexmk
2626
*.fls
2727
*.log
28+
*.out
2829
*.synctex.gz
2930
*.toc

ebook/python-snippets.epub

-3 Bytes
Binary file not shown.

ebook/python-snippets.mobi

0 Bytes
Binary file not shown.

ebook/python-snippets.pdf

11.4 KB
Binary file not shown.

ebook/python-snippets.tex

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@
3030
showstringspaces=false %
3131
}
3232

33+
\usepackage{hyperref}
34+
\hypersetup{
35+
colorlinks,
36+
citecolor=black,
37+
filecolor=black,
38+
linkcolor=black,
39+
urlcolor=black
40+
}
41+
3342
\setcounter{tocdepth}{5}
3443
\setcounter{secnumdepth}{5}
3544

0 commit comments

Comments
 (0)