From: Jacob Lifshay Date: Fri, 19 Jan 2024 05:41:30 +0000 (-0800) Subject: got dia files to work, they're autoconverted to tex X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=112d5247fa47aa15e039510263e5a74c9ee856d9;p=libreriscv.git got dia files to work, they're autoconverted to tex --- diff --git a/conferences/fosdem2024/fosdem2024_bigint/.gitignore b/conferences/fosdem2024/fosdem2024_bigint/.gitignore index 2dfc088a4..befb69ca4 100644 --- a/conferences/fosdem2024/fosdem2024_bigint/.gitignore +++ b/conferences/fosdem2024/fosdem2024_bigint/.gitignore @@ -1,2 +1,3 @@ /fosdem2024_bigint.* !/fosdem2024_bigint.tex +*.dia-tex \ No newline at end of file diff --git a/conferences/fosdem2024/fosdem2024_bigint/.latexmkrc b/conferences/fosdem2024/fosdem2024_bigint/.latexmkrc index b6868139c..1e1ab8cbc 100644 --- a/conferences/fosdem2024/fosdem2024_bigint/.latexmkrc +++ b/conferences/fosdem2024/fosdem2024_bigint/.latexmkrc @@ -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 diff --git a/conferences/fosdem2024/fosdem2024_bigint/Makefile b/conferences/fosdem2024/fosdem2024_bigint/Makefile index 8cf17f544..6bdb008d5 100644 --- a/conferences/fosdem2024/fosdem2024_bigint/Makefile +++ b/conferences/fosdem2024/fosdem2024_bigint/Makefile @@ -2,6 +2,9 @@ ARGS=-silent -interaction=nonstopmode -file-line-error -pdf +%.eps : %.dia + dia -n -e $@ $< + all: @latexmk $(ARGS) diff --git a/conferences/fosdem2024/fosdem2024_bigint/fosdem2024_bigint.tex b/conferences/fosdem2024/fosdem2024_bigint/fosdem2024_bigint.tex index b184ff037..c6660d599 100644 --- a/conferences/fosdem2024/fosdem2024_bigint/fosdem2024_bigint.tex +++ b/conferences/fosdem2024/fosdem2024_bigint/fosdem2024_bigint.tex @@ -4,6 +4,7 @@ \usepackage{beamerthemesplit} \usetheme{default} \usepackage[english]{babel} +\usepackage{tikz} \title[]{ Fast Big-Integer Arithmetic on SVP64 at up to 256-bits/cycle and beyond @@ -21,4 +22,8 @@ \titlepage \end{frame} +\begin{frame} + \input{test.dia-tex} +\end{frame} + \end{document} \ No newline at end of file diff --git a/conferences/fosdem2024/fosdem2024_bigint/test.dia b/conferences/fosdem2024/fosdem2024_bigint/test.dia new file mode 100644 index 000000000..d10f01455 --- /dev/null +++ b/conferences/fosdem2024/fosdem2024_bigint/test.dia @@ -0,0 +1,295 @@ + + + + + + + + + + + + + #Letter# + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #Reg# + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #Mul# + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +