From 005407338d8943cbb5ce551ee7f6ae9ac94091a6 Mon Sep 17 00:00:00 2001 From: Martin Herkt Date: Mon, 9 Sep 2013 04:23:06 +0200 Subject: 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. --- DOCS/man/en/mpv.rst | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'DOCS/man/en') 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 ======== -- cgit v1.2.3