Include txt files in the publication script

This commit is contained in:
Knoch 2022-01-10 10:34:00 +01:00
parent 1ee3d6c36e
commit 6ecf6267bd
3 changed files with 3 additions and 3 deletions

View File

@ -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 {}' \;

View File

@ -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.