18
0

new_tex_document, cdsc_tex_aliases.sh: assignment -> memo

Update the script and the alias file to match the rename of
assignment_template to memo_template. The 'assignment' type is
replaced by 'memo' in new_tex_document; the new_tex_assignment
alias becomes new_tex_memo.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-26 12:34:11 -07:00
parent 1e79d8d0f6
commit 0aee418e2a
2 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
# source ~/tex/cdsc_tex/cdsc_tex_aliases.sh
if command -v new_tex_document > /dev/null 2>&1; then
alias new_tex_assignment='new_tex_document assignment'
alias new_tex_memo='new_tex_document memo'
alias new_knitr_document='new_tex_document knitr'
alias new_tex_letter='new_tex_document letter'
fi

View File

@@ -10,7 +10,7 @@ CURDIR=$(pwd)
usage() {
echo "Usage: $(basename "$0") <type> <directory>"
echo "Types: paper, assignment, knitr, letter"
echo "Types: paper, memo, knitr, letter"
exit 1
}
@@ -26,10 +26,10 @@ case "$TYPE" in
TEMPLATE="paper_template"
EXT="tex"
;;
assignment)
memo)
REPO="$HOME/tex/cdsc_tex"
BRANCH="master"
TEMPLATE="assignment_template"
TEMPLATE="memo_template"
EXT="tex"
;;
knitr)