SublimeText / LaTeXTools

LaTeX plugin for Sublime Text
https://latextools.readthedocs.io/
2.01k stars 366 forks source link

Reported as no errors when there are errors #188

Open btracey opened 11 years ago

btracey commented 11 years ago

I tried to compile a document, and it seemed like everything was okay, but there was no pdf produced. It turns out that there was actually an error in the latex compilation, though latextools printed that there was no error. The specific issue is that I had no "\end{document}".

Latextools output: [Compiling /Users/brendan/Documents/aa_Research/Papers/InProgress/Scitech2014/RansuqScitech2014/RansUQScitech2014.tex]

Texification succeeded: no errors!

However, there were warnings in your LaTeX source

/usr/local/texlive/2012/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty: Package epstopdf Warning: No graphics package `graphic{s,x}' loaded.

[Done!]

File to compile:

\documentclass{article}

\usepackage{amsthm} \usepackage{amssymb} \usepackage{amsmath} \usepackage{epstopdf} \usepackage{graphicx} %\usepackage{subfig}

\newcommand{\R}{{\mathbb{R}}} \newcommand{\ath}{{^\text{th}}}

\title{A Data-Driven Framework to Aid in Turbulence Model Development} \author{Brendan Tracey \thanks{PhD Candidate, AIAA Member}, \ Karthik Duraisamy \thanks{Consulting Assistant Professor, AIAA Member}, \ \ Juan J. Alonso \thanks{Associate Professor, AIAA Senior Member}\ {\normalsize\itshape Department of Aeronautics & Astronautics}\ {\normalsize\itshape{Stanford University, Stanford, CA 94305, U.S.A}} }

\begin{document} \maketitle

\begin{abstract} We do stuff \end{abstract}

Subset of log: (/usr/local/texlive/2012/texmf-dist/tex/latex/amsfonts/umsb.fd File: umsb.fd 2009/06/22 v3.00 AMS symbols B )) ! Emergency stop. <*> RansUQScitech2014.tex

*\ (job aborted, no legal \end found)

evandrocoan commented 7 years ago

I think it is fixed with the code on version4 branch. I tested it using this code:

\documentclass{article}

\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{epstopdf}
\usepackage{graphicx}
%\usepackage{subfig}

\newcommand{\R}{{\mathbb{R}}}
\newcommand{\ath}{{^\text{th}}}

\title{A Data-Driven Framework to Aid in Turbulence Model Development}
\author{Brendan Tracey \thanks{PhD Candidate, AIAA Member}, \
Karthik Duraisamy \thanks{Consulting Assistant Professor, AIAA Member}, \
Juan J. Alonso \thanks{Associate Professor, AIAA Senior Member}\
{\normalsize\itshape
Department of Aeronautics & Astronautics}
{\normalsize\itshape{Stanford University, Stanford, CA 94305, U.S.A}}
}

\begin{document}
\maketitle

\begin{abstract}
We do stuff
\end{abstract}

I got this output:

image

``` [Compiling D:\Test\test3.tex] 2017-09-19, 23:52:45 (00:00:03 seconds) Basic Builder: running pdflatex...done. Errors: File: omscmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions LaTeX Font Info: Font shape `OMS/cmr/m/n' in size <8> not available (Font) Font shape `OMS/cmsy/m/n' tried instead on input line 23. test3.tex:23: Missing } inserted TeX STOPPED: fatal errors occurred. Check the TeX log file for details Warnings: D:\User\Documents\latex\texmfs\install\tex\latex\oberdiek\epstopdf-base.sty: Package epstopdf Warning: No graphics package `graphic{s,x}' loaded. (Log parsing issues. Disregard unless something else is wrong.) No bad boxes. [Done in 00:00:03 seconds!] ```