General ⇒ Errors when referencing equations, etc.
Errors when referencing equations, etc.
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
- Attachments
-
- LaTeX_errors_1.png (57.82 KiB) Viewed 4676 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10358
- Joined: Mon Mar 10, 2008 9:44 pm
Errors when referencing equations, etc.
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
Errors when referencing equations, etc.
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 4664 times
- Stefan Kottwitz
- Site Admin
- Posts: 10358
- Joined: Mon Mar 10, 2008 9:44 pm
Errors when referencing equations, etc.
Stefan
Errors when referencing equations, etc.
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: 10358
- Joined: Mon Mar 10, 2008 9:44 pm
Errors when referencing equations, etc.
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
Errors when referencing equations, etc.
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.
/Claus