Skip to content
Snippets Groups Projects
Commit 99c65cef authored by Philip Kaluđerčić's avatar Philip Kaluđerčić :u7121:
Browse files

Generate the Git bundle while building the document

parent 6f96394d
Branches
Tags
No related merge requests found
......@@ -8,10 +8,9 @@ always appricaited.
To build this document, it should suffice to have a basic LaTeX
installation and then invoke
$ git bundle create algprog.pack master
$ pdflatex master.tex
$ pdflatex --shell-escape master.tex
and repeat the last command until the output reaches a fixpoint. The
and repeat the command until the output reaches a fixpoint. The
resulting document should appear in `master.pdf`. A pre-rendered
version can also be found at
<https://wwwcip.cs.fau.de/~oj14ozun/src+etc/algprog-summary.pdf>,
......
......@@ -117,6 +117,7 @@
\AtBeginBibliography{\footnotesize}
%% hack to attach the git bundle
\immediate\write18{/usr/bin/env git bundle create algprog.pack master}
\usepackage{attachfile}
\title{
......@@ -139,19 +140,11 @@
\small
Last updated for the Winter Semester 2023/24\footnote{
The \LaTeX{} sources should be available under
\url{https://gitlab.cs.fau.de/oj14ozun/algprog-summary},
% To attach the source, package everything into an archive, and
% then use[0]
%
% $ git bundle create algprog.pack master
%
% before setting the final PDF.
%
% [0] https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
or ought also be accessible as a PDF attachment:
\attachfile[icon=Paperclip,zoom=false,description=A Git bundle of the
document sources.]{algprog.pack}, see \texttt{git-bundle(1)}. The
document and the source are published under the terms and
\url{https://gitlab.cs.fau.de/oj14ozun/algprog-summary}, or ought
also be accessible as a PDF attachment:
\attachfile[icon=Paperclip,zoom=false,description=A Git bundle of
the document sources.]{algprog.pack}, see \texttt{git-bundle(1)}.
The document and the source are published under the terms and
conditions of
\href{https://creativecommons.org/licenses/by-sa/4.0/}{CC BY-SA
4.0}.}, last typeset on \today.
......@@ -191,4 +184,5 @@
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% TeX-command-extra-options: "-shell-escape"
%%% End:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment