TeX - LaTeX Asked by Aashay Sathe on September 8, 2020
I have thesis template which uses the following command to refer to two references at once:
newcommand{Equations}[2]{Equations~eqref{#1} and~eqref{#2}}
newcommand{Sections}[2]{Sections~ref{#1}~and~ref{#2}}
The command seems okay to me. I tried using it in my document with the lines of reference as follows:
**Line 96:** Equations{equation:orthogonalitycondition1, equation:orthogonalitycondition2} show ...
...
**Line 29:** Sections{section:first, section:second} discuss ...
However, it returned errors.
LaTeX Warning: Reference `equation:orthogonalitycondition1, equation:orthogonal
itycondition2' on page 9 undefined on input line 96.
LaTeX Warning: Reference `s' on page 9 undefined on input line 96.
… and the same for line 29
with an error for 'd'
. It basically is considering the first letters of the words following the command as a reference.
I am aware of other commands which can handle such things like cref
. However, I would like to understand why this isn’t working and preferably make this work.
Typesetting: pdflatex-> bibtex-> makeindex-> makeglossaries -> pdflatex (2) -> view
.
Using Miktex with TexMaker on Windows 10.
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP