pdf build fails with BibTeX error
See original GitHub issueAttempting to buld a simple latex
file :
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\title{Introduction to \LaTeX{}}
\author{Author's Name}
\maketitle
\begin{abstract}
The abstract text goes here.
\end{abstract}
\section{Introduction}
Here is the text of your introduction.
\begin{equation}
\label{simple_equation}
\alpha = \sqrt{ \beta }
\end{equation}
\subsection{Subsection Heading Here}
Write your subsection text here.
\begin{figure}
\centering
\includegraphics[width=3.0in]{f1.png}
\caption{Simulation Results}
\label{simulationfigure}
\end{figure}
\section{Conclusion}
Write your conclusion here.
\end{document}
I got this log in the jupyterlab
LaTex error page:
This is BibTeX, Version 0.99d (TeX Live 2015/Debian)
The top-level auxiliary file: test.aux
I found no \citation commands---while reading file test.aux
I found no \bibdata command---while reading file test.aux
I found no \bibstyle command---while reading file test.aux
(There were 3 error messages)
On the server side I had this printed in the shell logs:
[E 22:11:08.462 LabApp] 500 GET /latex/Geoscience_250279/test.tex?1517346661474 (24.60.210.45) 6748.27ms referer=http://localhost.com:8888/lab?
[E 22:11:15.299 LabApp] LaTeX command `bibtex test` errored with code: 2
[E 22:11:15.300 LabApp] {
"Host": "localhost:8888",
"Connection": "keep-alive",
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36",
"Authorization": "token 61a9550d5582b66719ad3d0182eff3f073044bcbc98e175b",
"Content-Type": "application/json",
"Accept": "*/*",
"Referer": "http://localhost.com:8888/lab?",
"Accept-Encoding": "gzip, deflate",
"Accept-Language": "en-US,en;q=0.9,it;q=0.8",
"Cookie": "_xsrf=2|0b5c6cb6|ca94c1b60c2d87a63763bb86543ebd5e|1515963402; username-epinux-com-7777=\"2|1:0|10:1515986637|24:username-epinux-com-7777|44:ZGNmZThiZWRkMTk1NDM1OWEzYmEwZTc1NzU4YmFhYTM=|063e5c9ce720c0d41be769861981f393a24732b7b2fa0bb6b090f05303eeee48\"; G_ENABLED_IDPS=google; username-epinux-com-8888=\"2|1:0|10:1517346668|24:username-epinux-com-8888|44:M2U0NzhhMjBhYjFkNGQ5N2FkYmI0NGU4NjcyNWRmZmQ=|c1016701feba63f47a89022f5470618fec41aede7153c1c731457aae9bea778e\""
}
[E 22:11:15.300 LabApp] 500 GET /latex/Geoscience_250279/test.tex?1517346668437 (24.60.210.45) 6787.85ms referer=http://localhost:8888/lab?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (7 by maintainers)
Top Results From Across the Web
pdftex - Error from bibtex - TeX - LaTeX Stack Exchange
In my home system, I run pdflatex and bibtex to build the pdf and everything is fine. The submission website, requires all source...
Read more >Common Errors in Bibliographies John Owens
Common Errors in Bibliographies John Owens. First: Issues in text: how to cite properly. Citations as words: Huge pet peeve: Using citations as...
Read more >How to find and fix errors reported in generated files - Overleaf
First, try clearing the generated files ... Sometimes, errors in the generated files are left-overs from a previous compile. Even if you had...
Read more >BibTeX, natbib, biblatex: Managing Citations in LaTeX
General Protocols · Clear your document cache. · Ensure that you are running LaTeX, BibTeX or biber, LaTeX, and then PDFLaTeX (or whichever...
Read more >Considerations for TeX Submissions | arXiv e-print repository
You will be required to view the PDF during the submission process ... so examine it carefully; check the end of the log...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OH! i see what’s happening. you have a .bib file in the same directory and we’re using that as a current proxy for you wanting to run bibtex. We’ll need a smarter check for whether someone is using a bibfile in https://github.com/jupyterlab/jupyterlab-latex/blob/b52ffaa8bd460c87491bc9520ea2ef66f6194d40/jupyterlab_latex/__init__.py#L142-L151
We were trying to avoid parsing the file as a first pass… but i think we may need to do so…
@ian-r-rose, does that sound right to you?
I have the same issue. I see the problem had been identified. It shouldn’t be too hard to parse the tex file for any reference to the bib package right? Maybe also parse the included tex files…
This is a really cool addition to Jupyter!