1
0
Fork 0
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:
Dominik Riebeling 2006-04-03 21:29:47 +00:00
parent c06e7772ff
commit 009aeab748

View file

@ -3,10 +3,6 @@
\usepackage{palatino} \usepackage{palatino}
%\renewcommand{\familydefault}{\sfdefault} %\renewcommand{\familydefault}{\sfdefault}
%Comment this out at release
\usepackage{pdfdraftcopy}
\draftstring{DRAFT VERSION}
%\draftangle{45}
\usepackage{tabularx} \usepackage{tabularx}
\usepackage{multirow} \usepackage{multirow}
@ -44,6 +40,16 @@
\urlstyle{sf} \urlstyle{sf}
\usepackage{marvosym} \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 % fancy header style adjustments
%\renewcommand{\chaptermark}[1]{\markboth{#1}{}} %\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
%\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} %\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}