summaryrefslogtreecommitdiffstats
path: root/DOCS/man/en
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/en
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/en')
-rw-r--r--DOCS/man/en/mpv.rst11
1 files changed, 5 insertions, 6 deletions
diff --git a/DOCS/man/en/mpv.rst b/DOCS/man/en/mpv.rst
index d769d34b29..74cc70f1e5 100644
--- a/DOCS/man/en/mpv.rst
+++ b/DOCS/man/en/mpv.rst
@@ -1,9 +1,3 @@
-..
- Hint: To generate a nicely formatted XeLaTeX document from this file, use
- rst2xetex --use-latex-docinfo --use-latex-toc --hyperlink-color=MidnightBlue --latex-preamble="\usepackage[usenames,dvipsnames]{xcolor}\usepackage{fullpage}\setmainfont{Droid Sans}\setsansfont{Linux Biolinum O}\setmonofont[HyphenChar=None]{DejaVu Sans Mono}" mpv.rst
-
- You might want to put the .. contents:: directive below to generate a TOC.
-
mpv
###
@@ -18,6 +12,11 @@ a movie player
:Manual section: 1
:Manual group: multimedia
+.. raw:: latex
+
+ \tableofcontents
+ \pagebreak
+
SYNOPSIS
========