From d25d34be4d6d241a22085bdfd958f841ae4adc48 Mon Sep 17 00:00:00 2001 From: Basile Starynkevitch Date: Mon, 20 Mar 2023 15:08:32 +0100 Subject: [PATCH] adding archi-2023 --- archi-2023/archi2023.tex | 41 +++++++++++++++++++++++++++++++++++ archi-2023/build-archi2023.sh | 22 +++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 archi-2023/archi2023.tex create mode 100755 archi-2023/build-archi2023.sh diff --git a/archi-2023/archi2023.tex b/archi-2023/archi2023.tex new file mode 100644 index 0000000..85d1996 --- /dev/null +++ b/archi-2023/archi2023.tex @@ -0,0 +1,41 @@ + +\documentclass[xcolor=svgnames,final,smaller,a4]{beamer} +\usepackage{relsize} +\usepackage{luacode} +\usepackage{xcolor} +\usepackage{alltt} +\usepackage{wasysym} +\usepackage{hyperref} +\usepackage{newunicodechar} + +\hypersetup{ + colorlinks = true, %Colours links instead of ugly boxes + urlcolor = NavyBlue, %Colour for external hyperlinks + linkcolor = DarkGreen, %Colour of internal links + citecolor = DarkMagenta, %Colour of citations + frenchlinks = true, +} +\begin{document} + \begin{luacode*} + local gitpip=io.popen("git log --no-color --format=oneline -1 --abbrev=16 --abbrev-commit -q | cut -d' ' -f1") + gitid=gitpip:read() + gitpip:close() + \end{luacode*} + \newcommand{\mygitid}{\luadirect{tex.print(gitid)}} + + + \begin{frame} + {compléments sur les architectures} + + \begin{center} + Basile \textsc{Starynkévitch} - mars 2023 + + git {\texttt \mygitid} + \end{center} + \end{frame} +\end{document} +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +#% Local Variables: ;; +#% compile-command: "./build-archi2023.sh" ;; +#% End: ;; +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/archi-2023/build-archi2023.sh b/archi-2023/build-archi2023.sh new file mode 100755 index 0000000..9e22086 --- /dev/null +++ b/archi-2023/build-archi2023.sh @@ -0,0 +1,22 @@ +#!/bin/bash +# file bismon/talks/Lamsade-21nov2019/build.sh +# in http://github.com/bstarynk/bismon/ +for svgfile in *.svg ; do + svgbase=$(basename $svgfile .svg) + inkscape --without-gui --export-pdf=$svgbase.pdf $svgfile + inkscape --without-gui --export-eps=$svgbase.eps $svgfile +done +for dotfile in *.dot ; do + dotbase=$(basename $dotfile .dot) + dot -v -Teps -o $dotbase.eps $dotfile + dot -v -Tpdf -o $dotbase.pdf $dotfile + dot -v -Tsvg -o $dotbase.svg $dotfile +done +lualatex --shell-escape --halt-on-error archi2023 +lualatex --shell-escape --halt-on-error archi2023 + +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +#% Local Variables: ;; +#% compile-command: "./build-archi2023.sh" ;; +#% End: ;; +#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%