question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The equation numbers do not appear in the PDF preview

See original GitHub issue

In the PDF preview, the equation numbers do not appear.

When the following code is compiled, the PDF preview does not show (1) but (??). However, when the PDF is opened with Acrobat Reader, it shows (1) correctly.

\documentclass{article}
\begin{document}

\begin{eqnarray}
E = mc^2 \label{eq:emc2}
\end{eqnarray}

The equation (\ref{eq:emc2}) is already known.
\end{document}

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
tavincommented, Oct 11, 2020

Thanks @manmoi01 for the solution. For me c.LatexConfig.run_times = 2 was enough. This should really be mentioned in the README.

1reaction
manmoi01commented, Jun 25, 2020

The solution to the problem is to add the line c.LatexConfig.run_times = 3 at the end of the file jupyter_notebook_config.py

Read more comments on GitHub >

github_iconTop Results From Across the Web

No PDF app showing equations properly - Ask Different
No PDF app that I've tried on OS X (Preview.app,Adobe Reader, Skim, PDFPen) can show the equations properly; some symbols are missing ...
Read more >
Equation numbers - Microsoft Community
1. Insert a NBSP(non-breaking space) before inserting Word 2010 equation · 2. Insert equation, and then insert a NBSP after equation and press...
Read more >
Equation numbering with previews in Rmarkdown to pdf?
Pandoc automatically changes your $$ delimiters to LaTeX-style \[ and \] , so if you redefine those, you can get numbered equations.
Read more >
How to fix missing equations in Word 2007 when printing ...
They are left blank in the actual print, despite being correctly shown in the Print Preview. The same happens if I try to...
Read more >
Add mathematical equations in Pages on Mac - Apple Support
Place the equation so it can be moved freely: Click in the corner of the page to make sure nothing is selected. You...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found