Tag Info

New answers tagged


Note that latexmk can't know which LaTeX run will be the last, so you will need to run it twice. The first time call it like latexmk -pdf -pdflatex="pdflatex %O '\PassOptionsToPackage{draft}{graphicx}\input{%S}'" <filename> and the second time just with latexmk -pdf -g <filename> In the document you'll just have \usepackage{graphicx}. In ...


Stealing from http://stackoverflow.com/questions/510202/apply-formatting-to-unix-shell If the script ./zz outputs the code in your question then (on terminals supporting "ansi" colour codes) RED=`echo -en '\e[31m'` YELLOW=`echo -en '\e[93m'` RESET=`echo -en '\e[00m'` ./zz | sed -E "s/(^Running.*)/$RED\1$RESET/g;s/(^Run number.*)/$YELLOW\1$RESET/g" ...

Top 50 recent answers are included