According to amsrdoc.pdf,
when amsrefs treats nonsense.ltb as a database file, it ignores every- thing except for the
\bib
commands.
However, that is not true in this case:
test1.tex
\documentclass{amsart}
\usepackage{hyperref}
\usepackage[lite]{amsrefs}
\usepackage{amsmath,amssymb,latexsym}
\begin{document}
\title{Xyz}
\author{Dale R. Worley}
\email{[email protected]}
\date{\today}
\maketitle
\section{References}
\begin{biblist}[\normalsize]*{labels={alphabetic}}
\bibselect{test2}
\end{biblist}
\end{document}
test2.ltb
\documentclass{amsart}
\usepackage{hyperref}
\usepackage[lite]{amsrefs}
\usepackage{amssymb}
\newcommand{\foobar}{foobar}
\begin{document}
\title{Abc}
\author{Dale R. Worley}
\email{[email protected]}
\date{\today}
\maketitle
\section{Annotated bibliography}
\begin{biblist}[\normalsize]*{labels={alphabetic}}
\bib{Ber1986}{article}{
label = {Ber1986},
author = {Berele, Allan},
title = {A Schensted-type correspondence for the symplectic group},
journal = {J. Combin. Theory},
volume = {Ser. A 43},
date = {1986},
pages = {320--328},
%review = {\MR{***}},
doi = {10.1016/0097-3165(86)90070-1},
eprint = {https://www.sciencedirect.com/science/article/pii/0097316586900701},
note = {https://scholar.google.com/scholar?cluster=11001899118143708236},
}
\bigskip
\foobar. Topics: ***
\bigskip
\end{biblist}
\end{document}
In that case, LaTex objects that \foobar
is an undefined control sequence. However, if I put "%", "xxx", or "\null" in front of the use of \foobar
, LaTeX produces no error message.
What is going on here and how can I get amsrefs to behave as documented?
\bigskip
. I haven't checked to see if this is explicitly documented, but the examples in the user guide show a blank line after every]bib
entry. (This is second nature to most experienced LaTeX users.)