summaryrefslogtreecommitdiffstats
path: root/DOCS/man/docutils.conf
diff options
context:
space:
mode:
authorMartin Herkt <lachs0r@srsfckn.biz>2013-09-09 04:23:06 +0200
committerMartin Herkt <lachs0r@srsfckn.biz>2013-09-09 04:34:56 +0200
commit005407338d8943cbb5ce551ee7f6ae9ac94091a6 (patch)
tree2f99f1d72826648cc962566ee0e2106f98f2e2bf /DOCS/man/docutils.conf
parent1b4d9b26cbd582e71cfb0e45c95a2d27d91db602 (diff)
downloadmpv-005407338d8943cbb5ce551ee7f6ae9ac94091a6.tar.bz2
mpv-005407338d8943cbb5ce551ee7f6ae9ac94091a6.tar.xz
Add PDF manual target
This builds a PDF version of the manpage using rst2latex and pdflatex, and installs it to PREFIX/share/doc/mpv by default.
Diffstat (limited to 'DOCS/man/docutils.conf')
-rw-r--r--DOCS/man/docutils.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/DOCS/man/docutils.conf b/DOCS/man/docutils.conf
new file mode 100644
index 0000000000..cd6e3acd52
--- /dev/null
+++ b/DOCS/man/docutils.conf
@@ -0,0 +1,20 @@
+[latex2e writer]
+use-latex-docinfo: yes
+use-latex-toc: yes
+hyperlink-color: Blue!30!RoyalPurple!70!Black
+latex-preamble: \usepackage[usenames,dvipsnames]{xcolor}
+ \usepackage{fullpage}
+ \usepackage{graphicx}
+ \renewcommand{\familydefault}{\sfdefault}
+
+ \makeatletter
+ \renewcommand{\maketitle}{
+ \begin{center}
+ \includegraphics{etc/mpv-icon-8bit-64x64.png}\\
+ \vspace*{-1.5em}
+ \begin{Huge}
+ \@title
+ \end{Huge}
+ \end{center}
+ }
+ \makeatother