|
Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
% (find-LATEX "2024eev-git.tex")
% (defun c () (interactive) (find-LATEXsh "lualatex -record 2024eev-git.tex" :end))
% (defun C () (interactive) (find-LATEXSH "lualatex 2024eev-git.tex" "Success!!!"))
% (defun D () (interactive) (find-pdf-page "~/LATEX/2024eev-git.pdf"))
% (defun d () (interactive) (find-pdftools-page "~/LATEX/2024eev-git.pdf"))
% (defun e () (interactive) (find-LATEX "2024eev-git.tex"))
% (defun o () (interactive) (find-LATEX "2023loeliger.tex"))
% (defun u () (interactive) (find-latex-upload-links "2024eev-git"))
% (defun v () (interactive) (find-2a '(e) '(d)))
% (defun cv () (interactive) (C) (ee-kill-this-buffer) (v) (g))
% (defun d0 () (interactive) (find-ebuffer "2024eev-git.pdf"))
% (code-eec-LATEX "2024eev-git")
% (find-pdf-page "~/LATEX/2024eev-git.pdf")
% (find-sh0 "cp -v ~/LATEX/2024eev-git.pdf /tmp/")
% (find-sh0 "cp -v ~/LATEX/2024eev-git.pdf /tmp/pen/")
% file:///home/edrx/LATEX/2024eev-git.pdf
% file:///tmp/2024eev-git.pdf
% file:///tmp/pen/2024eev-git.pdf
% http://anggtwu.net/LATEX/2024eev-git.pdf
% (find-LATEX "2019.mk")
% (find-Deps1-cps "Loeliger1")
% (find-lualatex-links "2024eev-git" "loeeg")
% «.defs.loeliger» (to "defs.loeliger")
% «.bigtts-and-bigtimes» (to "bigtts-and-bigtimes")
% «.title» (to "title")
\documentclass[oneside,10pt]{article}
\usepackage[colorlinks,citecolor=DarkRed,urlcolor=DarkRed]{hyperref} % (find-es "tex" "hyperref")
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{pict2e}
\usepackage[x11names,svgnames]{xcolor} % (find-es "tex" "xcolor")
\usepackage{colorweb} % (find-es "tex" "colorweb")
\usepackage{tikz}
%
\usepackage{edrx21} % (find-LATEX "edrx21.sty")
\input edrxaccents.tex % (find-LATEX "edrxaccents.tex")
\input edrx21chars.tex % (find-LATEX "edrx21chars.tex")
\input edrxheadfoot.tex % (find-LATEX "edrxheadfoot.tex")
\input edrxgac2.tex % (find-LATEX "edrxgac2.tex")
%
\usepackage{tikz}
\usetikzlibrary{
arrows, decorations.pathmorphing,
backgrounds, calc, positioning, fit, petri
}
%
% (find-es "tex" "geometry")
% (find-LATEX "2021emacsconf.tex" "screenshotdimens")
\newdimen\slidewidth
\slidewidth=10.5cm
\slidewidth=11cm
\slidewidth=15cm
%
% (find-es "tex" "geometry")
\usepackage[%a6paper, landscape,
paperwidth=\slidewidth,
paperheight=0.625\slidewidth,
%top=1.5cm, bottom=.25cm, left=1cm, right=1cm, includefoot
%top=1cm, bottom=.25cm, left=1cm, right=1cm, includefoot
top=2cm, bottom=.25cm, left=1cm, right=1cm, includefoot
]{geometry}
\begin{document}
\def\drafturl{http://anggtwu.net/LATEX/2023-2-C2.pdf}
\def\drafturl{http://anggtwu.net/2023-eev-git.html}
\def\draftfooter{\tiny \href{\drafturl}{\jobname{}} \ColorBrown{\shorttoday{} \hours}}
\catcode`\^^J=10
\directlua{dofile "dednat6load.lua"} % (find-LATEX "dednat6load.lua")
%L dofile "Loeliger1.lua" -- (find-angg "LUA/Loeliger1.lua")
\pu
% «defs.loeliger» (to ".defs.loeliger")
% Similar to: (find-angg "LUA/Loeliger1.lua" "defs.loeliger")
\def\loeligerbox#1#2{
\scalebox{0.75}{
\begin{tikzpicture}[ scale=2,
commit/.style={circle, draw=black,fill=yellow,thin},
branch/.style={rectangle,draw=black,fill=orange,thin},
mybackground/.style={fill=GrayPale!25,draw=none}
]
\draw [mybackground] ($(1,0)-(.4,.4)$) rectangle ($(4,3)+(.4,.4)$);
#1
\end{tikzpicture}
#2
}
}
\def\loeliger#1{
\loeligerbox{\ga{loeliger #1}}{#1}
}
\def\drawcommi #1#2{
\node (#1) at (#2) [commit] {\phantom{A}}
}
\def\drawcommit#1#2{
\node (#1) at (#2) [commit] {#1}
}
\def\drawwire#1#2{
\draw [-] (#1)--(#2)
}
\def\drawbranch#1#2{
\node (#1 r) at ($(#1)+(0.5,0)$) [branch,align=left] {#2}
}
\def\Red#1{{\color{red}#1}}
\def\HEAD{\ensuremath{\color{red}\bullet}}
% «bigtts-and-bigtimes» (to ".bigtts-and-bigtimes")
% See: (find-angg "LUA/Loeliger1.lua" "big")
% (find-angg "LUA/Loeliger1.lua" "big-tests")
%L output(bigtts:sas(bigtimes))
\pu
\newpage
% «title» (to ".title")
% (find-LATEX "2021emacsconf.tex" "title")
\thispagestyle{empty}
\pagestyle{empty}
\vspace*{0.5cm}
\begin{center}
\begin{tabular}{c}
{\bf \Huge Learning git} \\ \\[-8pt]
{\bf \huge with ``try it!''s} \\ \\[-9pt]
\scalebox{1.25}{(and eev)} \\ \\[-9pt]
\scalebox{0.9}{Eduardo Ochs} \\ \\[-9pt]
\scalebox{0.5}{
\begin{tabular}{l}
\url{http://angg.twu.net/2023-eev-git.html} \\
\url{http://angg.twu.net/\#eev} \\
\end{tabular}
}
\\ \\[-9pt]
\scalebox{0.7}{\ColorOrange{2024-jan-05}} \\ \\[-9pt]
\end{tabular}
\end{center}
\newpage
\vspace*{-0.6cm}
{\bf Introduction}
\scalebox{0.7}{\def\colwidth{12cm}\firstcol{
\par In dec/2023 something broke in the scripts
\par that I use to update the git repository of eev...
\par the part that kept the two branches in sync
\par stopped working.
\msk
\par I had to merge the two branches many times.
\msk
\par I am {\bf very bad} with merging.
\par Each merge took me hours and put me in panic.
\msk
\par I am {\bf very bad} with git.
\par I am good with programs that let me do
\par small, reproducible tests -- in REPLs.
\msk
\par Years ago I tried to create a way to learn git
\par using REPLs and \standout{reproducible tests}...
\par it was time to work on that again!
\msk
\par My presentation at the EmacsConf2023 was called
\par ``\ColorRed{REPLs} in strange places: Lua, LaTeX, LPeg, LPegRex, \ColorRed{TikZ}''...
\par I used its programs to create some animations in TikZ.
}\anothercol{
\vspace*{0cm}
\hspace*{-2cm}
\ga{loeliger H0}
}}
\newpage
%L output(bigtts:gas(bigtimes))
\pu
\GenericWarning{Success:}{Success!!!} % Used by `M-x cv'
\end{document}
% Local Variables:
% coding: utf-8-unix
% ee-tla: "loeeg"
% End: