|
@@ -6,12 +6,9 @@
|
|
|
#+INFOJS_OPT: view:info toc:nil path:http://flintfam.org/org-info.js
|
|
|
#+OPTIONS: toc:nil H:5 ':t *:t todo:nil stat:nil d:nil
|
|
|
#+PROPERTY: header-args :noweb no-export :comments noweb
|
|
|
-#+LATEX_HEADER: \usepackage[margins=0.75in]{geometry}
|
|
|
-#+LATEX_HEADER: \parskip=5pt
|
|
|
-#+LATEX_HEADER: \parindent=0pt
|
|
|
+#+LATEX_HEADER: \usepackage[margin=0.75in]{geometry}
|
|
|
#+LATEX_HEADER: \lstset{texcl=true,breaklines=true,columns=fullflexible,basicstyle=\ttfamily,frame=lines,literate={<=}{$\leq$}1 {>=}{$\geq$}1}
|
|
|
-#+LATEX_CLASS_OPTIONS: [10pt,twoside]
|
|
|
-#+LATEX_HEADER: \pagestyle{headings}
|
|
|
+#+LATEX_CLASS_OPTIONS: [10pt,twoside,paper=letter]
|
|
|
|
|
|
* Export :noexport:
|
|
|
:PROPERTIES:
|
|
@@ -282,7 +279,7 @@ This handles git as needed, by first checking to see if the first argument is ~i
|
|
|
LOCATION=$1
|
|
|
shift
|
|
|
fi
|
|
|
- recins -t Book \
|
|
|
+ TMPDIR=$LIBRARYDIR recins -t Book \
|
|
|
-f Title -v "${TITLE}" \
|
|
|
-f Author -v "${AUTHOR}" \
|
|
|
-f LCCN -v "${LCCN}" \
|
|
@@ -383,13 +380,16 @@ This handles git as needed, by first checking to see if the first argument is ~i
|
|
|
shift
|
|
|
|
|
|
if [[ $FIELD = "Withdrawn" ]] ; then
|
|
|
- recset -e "ID = ${ID}" \
|
|
|
+ TMPDIR=$LIBRARYDIR recset -e "ID = ${ID}" \
|
|
|
-f "Withdrawn" -S "`date +"%a, %d %b %Y %H:%M:%S %z"`" \
|
|
|
${LIBRARYFILE}
|
|
|
+ TMPDIR=$LIBRARYDIR recset -e "ID = ${ID}" \
|
|
|
+ -f "Location" -S "WITHDRAWN" \
|
|
|
+ ${LIBRARYFILE}
|
|
|
else
|
|
|
VALUE=$1
|
|
|
shift
|
|
|
- recset -e "ID = ${ID}" \
|
|
|
+ TMPDIR=$LIBRARYDIR recset -e "ID = ${ID}" \
|
|
|
-f "${FIELD}" -s "${VALUE}" \
|
|
|
${LIBRARYFILE}
|
|
|
fi
|
|
@@ -408,7 +408,7 @@ This handles git as needed, by first checking to see if the first argument is ~i
|
|
|
shift
|
|
|
VALUE=$1
|
|
|
shift
|
|
|
- recset -e "${MATCHEXPRESSION}" \
|
|
|
+ TMPDIR=$LIBRARYDIR recset -e "${MATCHEXPRESSION}" \
|
|
|
-f "${FIELDNAME}" -S "${VALUE}" \
|
|
|
${LIBRARYFILE}
|
|
|
do_git add $(basename ${LIBRARYFILE})
|
|
@@ -440,10 +440,10 @@ This handles git as needed, by first checking to see if the first argument is ~i
|
|
|
NAME=$1
|
|
|
shift
|
|
|
|
|
|
- recset -e "ID = ${ID}" \
|
|
|
+ TMPDIR=$LIBRARYDIR recset -e "ID = ${ID}" \
|
|
|
-f "LoanTo" -S "${NAME}" \
|
|
|
${LIBRARYFILE}
|
|
|
- recset -e "ID = ${ID}" \
|
|
|
+ TMPDIR=$LIBRARYDIR recset -e "ID = ${ID}" \
|
|
|
-f "LoanOn" -S "`date +"%a, %d %b %Y %H:%M:%S %z"`" \
|
|
|
${LIBRARYFILE}
|
|
|
do_git add `basename ${LIBRARYFILE}`
|
|
@@ -459,10 +459,10 @@ This handles git as needed, by first checking to see if the first argument is ~i
|
|
|
ID=$1
|
|
|
shift
|
|
|
|
|
|
- recset -e "ID = ${ID}" \
|
|
|
+ TMPDIR=$LIBRARYDIR recset -e "ID = ${ID}" \
|
|
|
-f "LoanTo" -d \
|
|
|
${LIBRARYFILE}
|
|
|
- recset -e "ID = ${ID}" \
|
|
|
+ TMPDIR=$LIBRARYDIR recset -e "ID = ${ID}" \
|
|
|
-f "LoanOn" -d \
|
|
|
${LIBRARYFILE}
|
|
|
|