diff options
author | Norbert Preining <norbert@preining.info> | 2023-04-20 03:01:20 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-04-20 03:01:20 +0000 |
commit | 4753a39245d0925a73cb20409999377eb9d2fd66 (patch) | |
tree | 2e19e9f381b805bc9ab96da2f6c3e733d7689e09 /macros/latex/contrib/photobook/scripts/make-spreads.sh | |
parent | 10bb4d468226c290e5e87e3fa367dc6fd2dcb84b (diff) |
CTAN sync 202304200301
Diffstat (limited to 'macros/latex/contrib/photobook/scripts/make-spreads.sh')
-rw-r--r-- | macros/latex/contrib/photobook/scripts/make-spreads.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/macros/latex/contrib/photobook/scripts/make-spreads.sh b/macros/latex/contrib/photobook/scripts/make-spreads.sh index 1b10fc56cc..6505e1091f 100644 --- a/macros/latex/contrib/photobook/scripts/make-spreads.sh +++ b/macros/latex/contrib/photobook/scripts/make-spreads.sh @@ -177,38 +177,45 @@ while true ; do -a|--annotate) ANOTATE_IMAGE_PATHS=1 shift + continue ;; -c) $CONFIG="$2" [ -e "$CONFIG" ] \ && source "$CONFIG" shift 2 + continue ;; --templates) TEMPLATE_DIR=$2 shift 2 + continue ;; --single-image-tpl) IMAGE_SPREAD[1]=$2 shift 2 + continue ;; --double-image-tpl) IMAGE_SPREAD[2]=$2 shift 2 + continue ;; --text-spread-tpl) IMAGE_SPREAD[0]=$2 shift 2 + continue ;; --captions) CAPTION_DIR=$2 shift 2 + continue ;; # handle unknown options... -*|--*) - echo "Error: unknown option \"$1\"" + echo "Error: unknown option \"$1\"" >&2 exit ;; |