forked from len0rd/rockbox
detect pdflatex mode in preparation for work on HTML generation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9471 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c06e7772ff
commit
009aeab748
1 changed files with 10 additions and 4 deletions
|
|
@ -3,10 +3,6 @@
|
|||
\usepackage{palatino}
|
||||
%\renewcommand{\familydefault}{\sfdefault}
|
||||
|
||||
%Comment this out at release
|
||||
\usepackage{pdfdraftcopy}
|
||||
\draftstring{DRAFT VERSION}
|
||||
%\draftangle{45}
|
||||
\usepackage{tabularx}
|
||||
\usepackage{multirow}
|
||||
|
||||
|
|
@ -44,6 +40,16 @@
|
|||
\urlstyle{sf}
|
||||
\usepackage{marvosym}
|
||||
|
||||
% new \ifpdf to check if running in pdf mode. Helps for html generation.
|
||||
\newif\ifpdf\ifx\pdfoutput\undefined\pdffalse\else\pdfoutput=1\pdftrue\fi
|
||||
|
||||
% mark this ad draft version (only for pdflatex) -- comment this out at release
|
||||
\ifpdf
|
||||
\usepackage{pdfdraftcopy}
|
||||
\draftstring{DRAFT VERSION}
|
||||
% \draftangle{45}
|
||||
\fi
|
||||
|
||||
% fancy header style adjustments
|
||||
%\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
|
||||
%\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue