diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/stex/bin/allgen')
-rwxr-xr-x | Master/texmf-dist/source/latex/stex/bin/allgen | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/Master/texmf-dist/source/latex/stex/bin/allgen b/Master/texmf-dist/source/latex/stex/bin/allgen deleted file mode 100755 index 4728d89ee56..00000000000 --- a/Master/texmf-dist/source/latex/stex/bin/allgen +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash - -if [[ -z $STEX_CONTENT_HOME ]] -then - echo "STEX_CONTENT_HOME is not set; please set it in your ~/.bashrc" - exit 1 -fi - -LIB="$STEX_CONTENT_HOME/slides/lib" -cat <<'EOF' -% this file is automatically generated by allgen -% Note: This hack is needed to make mikoslides and problems work together. -\PassOptionsToPackage{solutions,notes,pts,min}{problems} -EOF - -sed -e '/\\begin{document}/ i\ -\\usepackage{problems} -' $LIB/pre.tex | \ - grep -v '^\\def\\snippets' - -cat <<'EOF' -EOF - -for file in *.tex -do - prefix=${file%.tex} # file name without .tex suffix - [[ $prefix != "all" ]] && echo -e "\\subsection{${prefix//_/\\\\_}} \n \\input{$prefix}" # in subsection replace "_" by "\_" -done - -cat $LIB/post.tex |