-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: ;; | ||
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: ;; | ||
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |