Closed Poetastrophe closed 6 years ago
Ok I needed some code. It worked wonderfully with this:
`
$pdf_mode = 1;
$pdf_previewer = 'start zathura';
$latex = "$latex ; python /usr/share/texmf/tex/latex/sagetex/run-sagetex-if-necessary.py %B"; $pdflatex = "$pdflatex ; python /usr/share/texmf/tex/latex/sagetex/run-sagetex-if-necessary.py %B";
add_cus_dep( 'sage', 'sout', 0, 'makesout' ); $hash_calc_ignore_pattern{'sage'} = '^( st.goboom|print .SageT)'; sub makesout { system( "sage \"$_[0].sage\"" ); } `
Using the given code in the .latexmkrc
Seems to have no effect when producing a pdf file. Whereas if I do it manually there is no problem. Is the latexmkrc code outdated?