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:
@@ -3,7 +3,7 @@
|
|||||||
# source ~/tex/cdsc_tex/cdsc_tex_aliases.sh
|
# source ~/tex/cdsc_tex/cdsc_tex_aliases.sh
|
||||||
|
|
||||||
if command -v new_tex_document > /dev/null 2>&1; then
|
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_knitr_document='new_tex_document knitr'
|
||||||
alias new_tex_letter='new_tex_document letter'
|
alias new_tex_letter='new_tex_document letter'
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ CURDIR=$(pwd)
|
|||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "Usage: $(basename "$0") <type> <directory>"
|
echo "Usage: $(basename "$0") <type> <directory>"
|
||||||
echo "Types: paper, assignment, knitr, letter"
|
echo "Types: paper, memo, knitr, letter"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -26,10 +26,10 @@ case "$TYPE" in
|
|||||||
TEMPLATE="paper_template"
|
TEMPLATE="paper_template"
|
||||||
EXT="tex"
|
EXT="tex"
|
||||||
;;
|
;;
|
||||||
assignment)
|
memo)
|
||||||
REPO="$HOME/tex/cdsc_tex"
|
REPO="$HOME/tex/cdsc_tex"
|
||||||
BRANCH="master"
|
BRANCH="master"
|
||||||
TEMPLATE="assignment_template"
|
TEMPLATE="memo_template"
|
||||||
EXT="tex"
|
EXT="tex"
|
||||||
;;
|
;;
|
||||||
knitr)
|
knitr)
|
||||||
|
|||||||
Reference in New Issue
Block a user