Tag Info

New answers tagged


You need also to specify the -jobname option when you use latexmk -c, i.e., latexmk -c -jobname=these header.tex


I am really not sure if this is what you want, i don't see any use in it. \documentclass{scrbook} \usepackage{blindtext} \usepackage{hyperref} \newcommand{\fakechap}[1]{% \cleardoublepage% \phantomsection \addxcontentsline{toc}{chapter}{#1}% \addchapmark{#1}% } \newcommand{\fakesec}[1]{% \phantomsection \addxcontentsline{toc}{section}{#1}% \addsecmark{#1}% ...


Write a file called bw.cfg and containing \PassOptionsToPackage{monochrome}{xcolor} and modify your main file to have \InputIfFileExists{bw.cfg}{}{} before the call to xcolor. For printing in colors just rename the file. Full test document. \documentclass{article} \InputIfFileExists{bw.cfg}{}{} \usepackage{xcolor} \begin{document} Black ...


(As the author of latexmk, I am naturally partial to my own program, but here's my 2-cents' worth anyway.) The fundamental problem that latexmk solves is that the number of runs of (pdf)latex needed is highly dynamically dependent on the document and the class file used. If you make a small change to a document, often only one recompilation by (pdf)latex ...

Top 50 recent answers are included