Hello, I'm writing a journal article for the AES and using their newest template from 2021 (https://www.aes.org/journal/authors/guidelines/).
I have updated LaTeX (MiKTeX on a Windows 10 machine and using either TeXworks, or TeXstudio) and I get two kinds of errors:
1) is that my bibliography doesn't work - I mean, the hyperlinks in the PDF works, but they don't show up as pretty as they should. This is solvable by adding \RequirePackage[2020-02-02]{latexrelease} at the top. Is there a 'correct' way to solve this issue?
2) is that my equation references looks very bad, see attached picture, and I have found no way to make it look good.
MiKTeX was removed and installed from scratch, but it doesn't solve the problem. MiKTeX is installed as a single-user installation.
A friend (running on Linux Mint) has no problem compiling the document.
With kind regards,
Claus
General ⇒ Errors when referencing equations, etc.
Errors when referencing equations, etc.
- Attachments
-
- LaTeX_errors_1.png (57.82 KiB) Viewed 3326 times
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Errors when referencing equations, etc.
Hi Claus,
Also, it would be great if you would post compilable code (small, reduced,
Stefan
how are they looking, how shall they look?cfuttrup wrote:they don't show up as pretty as they should.
I saw the attachments, but why is it bad, and how shall they look to be good?cfuttrup wrote:is that my equation references looks very bad, see attached picture
Also, it would be great if you would post compilable code (small, reduced,
) because then we can easily test and correct it.Stefan
LaTeX.org admin
Errors when referencing equations, etc.
Hi Stefan
In the attachment on the right side you see the PDF, the bib references says 'green5' and 'green6' but they should say [5] and [6]. The equation reference says red1THE LINKWITZ-RILEY ALIGN-MENTequation0.1.1 ... I think it should simply say equation 1, all the other text is LaTeX internal information, like which section the equation is in (it's also visible in the screen dump).
About the bib-references, it's fixed if I load a previous version of LaTeX.
Below I have attached the error messages collected by TeXstudio. The last one is for the equation previously mentioned.
The errors go away if I run the Required-command with a previous LaTeXrelease, but as said, the equation references still don't look good.
Best regards,
Claus
In the attachment on the right side you see the PDF, the bib references says 'green5' and 'green6' but they should say [5] and [6]. The equation reference says red1THE LINKWITZ-RILEY ALIGN-MENTequation0.1.1 ... I think it should simply say equation 1, all the other text is LaTeX internal information, like which section the equation is in (it's also visible in the screen dump).
About the bib-references, it's fixed if I load a previous version of LaTeX.
Below I have attached the error messages collected by TeXstudio. The last one is for the equation previously mentioned.
The errors go away if I run the Required-command with a previous LaTeXrelease, but as said, the equation references still don't look good.
Best regards,
Claus
- Attachments
-
- LaTeX_errors_2.png (26.43 KiB) Viewed 3314 times
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Errors when referencing equations, etc.
Looks like you have some settings in the preamble (not shown here) where the highlighting of references (probably hyperref) contains coloring (red, green) but in a wrong way so the color names just make it to the text.
Stefan
Stefan
LaTeX.org admin
Errors when referencing equations, etc.
Hi Stefan
Interesting, I will have to study the details of the JAES template. Maybe it's the documentclass definition that I need to work with. Here's the preamble and defining section of the document:
Best regards,
Claus
Interesting, I will have to study the details of the JAES template. Maybe it's the documentclass definition that I need to work with. Here's the preamble and defining section of the document:
Code: Select all
%\RequirePackage[2020-02-02]{latexrelease}
\documentclass[fleqn]{jaes}
% Metadata Information
\jyear{2023}
\jmonth{June}
%\jvol{71}
%\jnum{6}
\usepackage{amsmath}\setlength{\mathindent}{10pt}
\usepackage{bm}
\usepackage{hyperref}
%\usepackage{draftwatermark}
%\SetWatermarkText{DRAFT}
%\SetWatermarkColor[gray]{0.9}
%\SetWatermarkScale{1.4}
\begin{document}
% Page heads
\markboth{CANDY AND FUTTRUP}{LINKWITZ-RILEY ALIGNMENT}
% Title portion
\title{The Linkwitz-Riley Bass Reflex Alignment\thanks{Correspondence should be addressed to: cfuttrup@gmail.com}}
Claus
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Errors when referencing equations, etc.
I downloaded the template, compiled it, it throws many errors.
And yes, it looks broken, see the magenta thing in the output. You should not use it, except if you publish with the JAES, and then you should contact them because the issue is with them.
Stefan
And yes, it looks broken, see the magenta thing in the output. You should not use it, except if you publish with the JAES, and then you should contact them because the issue is with them.
Stefan
LaTeX.org admin
Errors when referencing equations, etc.
I have battled Windows Defender Antivirus and then I still couldn't resolve the above problems, so I have now installed texlive (instead of MiKTeX) but the problem persist. At least now I can execute pdflatex from the command line. Here's a boiled down extract from the log file:
The log file is >1000 lines so this is obviously just an extract of the errors I was able to find (some show up many times and I just copied the first time it shows up).
All 'cite' references are defined in audio.bib. All 'equation' references are defined correctly.
Best regards,
Claus
Code: Select all
LaTeX Font Info: Trying to load font information for OT1+ztmcm on input line
1170.
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <9> not available
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 1170.
! Extra \endgroup.
\document ->\endgroup
\ifx \@unusedoptionlist \@empty \else \@latex@warning@...
l.12 \begin{document}
Things are pretty mixed up, but I think the worst is over.
LaTeX Font Info: Font shape `OT1/phv/bx/n' in size <20> not available
(Font) Font shape `OT1/phv/b/n' tried instead on input line 36.
! Undefined control sequence.
<recently read> \Hy@colorlink
l.37 ... in 1961 \cite{thiele:1971a, thiele:1971b}
! Undefined control sequence.
<recently read> \Hy@colorlink
l.56 Equation \ref{eq:ts}
is a general formulation which was defined by W. J...
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
Non-PDF special ignored!
<special> papersize=8.0625in,10.875in
LaTeX Warning: There were undefined references.
All 'cite' references are defined in audio.bib. All 'equation' references are defined correctly.
Best regards,
Claus
Errors when referencing equations, etc.
It seems my problems are fixed if I run TeXlive in 2020 (Legacy) mode. Whatever that means, but since it's the same story for MiKTeX I wonder if LaTeX is going through a transition phase, where things turn incompatible? ... I am surprised if LaTeX is going through a phase with incompatibilty. Is there someone who knows what is going on and who can explain this to me?
/Claus
/Claus