diff --git a/Makefile b/Makefile index ca8b619..236b6d3 100644 --- a/Makefile +++ b/Makefile @@ -71,7 +71,7 @@ publication-pdf-with-solutions: clean publication-dir main.tex # Build a ZIP file with tasks and without solutions publication-zip-with-exercises: clean publication-dir main.tex 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/ rm -f temp/exercises/**/*.done.{tex,bib} 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 publication-zip-with-solutions: clean publication-dir main.tex 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/ rm -f temp/exercises/**/*.raw.{tex,bib} find temp/ -name '*.done.*' -exec bash -c 'sed "s/\.done\./\./g" <<<{} | xargs mv {}' \; diff --git a/content/basic-functionality.tex b/content/basic-functionality.tex index f1b346c..959a3b5 100644 --- a/content/basic-functionality.tex +++ b/content/basic-functionality.tex @@ -64,7 +64,7 @@ Unfortunately, we cannot take away the decision if you would rather wait for the \section{The commands} \label{subsec:command-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. Some commands have no mandatory parameters at all. diff --git a/listings/basic-functionality/command-structure.xml b/listings/basic-functionality/command-structure.txt similarity index 100% rename from listings/basic-functionality/command-structure.xml rename to listings/basic-functionality/command-structure.txt