Latex is stuck with a strange problem, see more information for details.

$ make
pdflatex main.tex This is pdfTeX, Version
3.14159265-2.6-1.40.16 (TeX Live 2015/Debian) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode
(./main.tex LaTeX2e <2016/02/01> Babel <3.9q> and hyphenation patterns
for 81 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document
Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
(./usenix.sty
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/mathptmx.sty))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/epsfig.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)))))
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(./url.sty) (/usr/share/texlive/texmf-dist/tex/latex/psnfss/times.sty)
(/usr/share/texlive/texmf-dist/tex/latex/multirow/multirow.sty)
(/usr/share/texlive/texmf-dist/tex/latex/endnotes/endnotes.sty)
(/usr/share/texlive/texmf-dist/tex/latex/subfigure/subfigure.sty
****
Local config file subfigure.cfg used
**** (/usr/share/texlive/texmf-dist/tex/latex/subfigure/subfigure.cfg))

LaTeX Warning: Unused global option(s):

[times].

No file main.aux.
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1ptm.fd)
(/usr/share/texlive/texmf-dist/tex/context/base/supp-pdf.mkii [Loading MPS to PDF converter (version 2006.09.02).] )
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ifluatex.sty))
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty))
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/etexcmds.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/ot1ztmcm.fd)
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/omlztmcm.fd)
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/omsztmcm.fd)
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/omxztmcm.fd) No file
main.bbl. [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]
(./main.aux) ){/usr/shar
e/texlive/texmf-dist/fonts/enc/dvips/base/8r.enc}</usr/share/texlive/texmf-dist
/fonts/type1/urw/times/utmb8a.pfb></usr/share/texlive/texmf-dist/fonts/type1/ur
w/times/utmr8a.pfb></usr/share/texlive/texmf-dist/fonts/type1/urw/times/utmri8a
.pfb> Output written on main.pdf (1 page, 25727 bytes). Transcript
written on main.log. bibtex main This is BibTeX, Version 0.99d (TeX
Live 2015/Debian) The top-level auxiliary file: main.aux The style
file: latex8.bst I found no \citation commands---while reading file
main.aux Database file #1: main.bib (There was 1 error message)
Makefile:4: recipe for target 'paper' failed make: *** [paper] Error 2

asked Nov 26, 2017 by harryxiyou (5,830 points)

1 Answer

 
Best answer

The problem is solved by: 1, add at least one section in your main.tex; 2, in your added section, at least have one citation, otherwise there will be error "I found no \citation commands---while reading file
main.aux ".

Very stupid problem...

answered Nov 26, 2017 by harryxiyou (5,830 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...