got dia files to work, they're autoconverted to tex
[libreriscv.git] / conferences / fosdem2024 / fosdem2024_bigint / .latexmkrc
index b6868139c9c56252ca76929a7d0a5b89fd24adae..1e1ab8cbc7d052bfe4fbabcbb29847387e9dff21 100644 (file)
@@ -1,2 +1,7 @@
-$pdf_mode = 1;
+$pdf_mode = 2;
 $pdflatex = 'pdflatex --shell-escape %O %S';
+add_cus_dep('dia', 'dia-tex', 0, 'dia2tex');
+sub dia2tex {
+    system("dia -n -t pgf-tex -e \"$_[0].dia-tex\" \"$_[0].dia\"");
+}
+$cleanup_includes_cusdep_generated = 1;
\ No newline at end of file