Include txt files in the publication script
This commit is contained in:
parent
1ee3d6c36e
commit
6ecf6267bd
4
Makefile
4
Makefile
@ -71,7 +71,7 @@ publication-pdf-with-solutions: clean publication-dir main.tex
|
|||||||
# Build a ZIP file with tasks and without solutions
|
# Build a ZIP file with tasks and without solutions
|
||||||
publication-zip-with-exercises: clean publication-dir main.tex
|
publication-zip-with-exercises: clean publication-dir main.tex
|
||||||
rm -rf temp/*
|
rm -rf temp/*
|
||||||
cp --parents main.tex praeamble.tex commands.tex setup.tex content/* graphics/* listings/**/*.{tex,pdf,bib,java} temp/
|
cp --parents main.tex praeamble.tex commands.tex setup.tex content/* graphics/* listings/**/*.{tex,pdf,bib,java,txt} temp/
|
||||||
cp --parents exercises/**/* temp/
|
cp --parents exercises/**/* temp/
|
||||||
rm -f temp/exercises/**/*.done.{tex,bib}
|
rm -f temp/exercises/**/*.done.{tex,bib}
|
||||||
rm -f temp/exercises/**/*.rend.tex
|
rm -f temp/exercises/**/*.rend.tex
|
||||||
@ -82,7 +82,7 @@ publication-zip-with-exercises: clean publication-dir main.tex
|
|||||||
# Build a ZIP file with tasks and solutions
|
# Build a ZIP file with tasks and solutions
|
||||||
publication-zip-with-solutions: clean publication-dir main.tex
|
publication-zip-with-solutions: clean publication-dir main.tex
|
||||||
rm -rf temp/*
|
rm -rf temp/*
|
||||||
cp --parents main.tex praeamble.tex commands.tex setup.tex content/* graphics/* listings/**/*.{tex,pdf,bib,java} temp/
|
cp --parents main.tex praeamble.tex commands.tex setup.tex content/* graphics/* listings/**/*.{tex,pdf,bib,java,txt} temp/
|
||||||
cp --parents exercises/**/* temp/
|
cp --parents exercises/**/* temp/
|
||||||
rm -f temp/exercises/**/*.raw.{tex,bib}
|
rm -f temp/exercises/**/*.raw.{tex,bib}
|
||||||
find temp/ -name '*.done.*' -exec bash -c 'sed "s/\.done\./\./g" <<<{} | xargs mv {}' \;
|
find temp/ -name '*.done.*' -exec bash -c 'sed "s/\.done\./\./g" <<<{} | xargs mv {}' \;
|
||||||
|
|||||||
@ -64,7 +64,7 @@ Unfortunately, we cannot take away the decision if you would rather wait for the
|
|||||||
\section{The commands}
|
\section{The commands}
|
||||||
\label{subsec:command-structure}
|
\label{subsec:command-structure}
|
||||||
The commands used in source code follow a general structure:
|
The commands used in source code follow a general structure:
|
||||||
\codeblock{xml}{listings/basic-functionality/command-structure.xml}
|
\codeblock{xml}{listings/basic-functionality/command-structure.txt}
|
||||||
|
|
||||||
A command can use several optional and/or mandatory parameters.
|
A command can use several optional and/or mandatory parameters.
|
||||||
Some commands have no mandatory parameters at all.
|
Some commands have no mandatory parameters at all.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user