Skip to content

Commit

Permalink
adding archi-2023
Browse files Browse the repository at this point in the history
  • Loading branch information
bstarynk committed Mar 20, 2023
1 parent 7e70b4e commit d25d34b
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
41 changes: 41 additions & 0 deletions archi-2023/archi2023.tex
Original file line number Diff line number Diff line change
@@ -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: ;;
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
22 changes: 22 additions & 0 deletions archi-2023/build-archi2023.sh
Original file line number Diff line number Diff line change
@@ -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: ;;
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

0 comments on commit d25d34b

Please sign in to comment.