From b85cf13848059e65979813b3a8177b4f696df9f6 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 17 Jun 2012 13:54:15 -0400 Subject: [PATCH] Remove unused asyprocess script (leftover from asyfig framework). --- src/figures/asy/asyprocess | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100755 src/figures/asy/asyprocess diff --git a/src/figures/asy/asyprocess b/src/figures/asy/asyprocess deleted file mode 100755 index 2c159a7..0000000 --- a/src/figures/asy/asyprocess +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash -# -# Process Asymptote files for asyfig inclusion. -# -# usage: asyprocess [LATEX OPTIONS] -- [ASY-FILE] ... -# -# There are also the special options: -# --texinputs=STR the value of which is prepended to the kpsewhich -# default for TEXINPUTS (module search path). -# --pretex=STR the value of which is used for the LaTeX preamble. -LATEX=pdflatex -PRETEX="\documentclass{article}" -LATEX_OPTIONS="" -TEXINPUTS="" - -# process options -while [ "$1" != "--" ] && [ -n "$1" ]; do - if [ "${1:0:12}" == "--texinputs=" ]; then - TEXINPUTS="${1:12}" - elif [ "${1:0:9}" == "--pretex=" ]; then - PRETEX="${1:9}" - else - LATEX_OPTIONS="$LATEX_OPTIONS $1" - fi - shift -done -if [ "$1" == "--" ]; then shift; fi - -for file in $*; do - echo "Process '$file' with '$LATEX_OPTIONS'" - echo "Searching $TEXINPUTS" - TEXINPUTS="$TEXINPUTS:" \ - $LATEX -shell-escape -jobname="${file}-comp" -interaction=batchmode \ - $LATEX_OPTIONS \ - "$PRETEX \usepackage{asyprocess}\ProcessAsy \begin{document}\ShowAsy \end{document}" || exit 1 -done - -exit 0 -- 2.26.2