Failed Building LaTex (code 12)


Dear community,

I am using Atom 1.25.0 x64 on a Mac OS X 10.12.6
Since, I cannot create pdf files from LaTeX editor.
I am trying to modify this template (still couldn’t load it on my computer)


This is the error I get


Does it work when you do it from the command line directly?


Dear Aerijo,

It did run using
latexmk -lualatex main.tex

with the following warnings:

LaTeX Font Warning: Some font shapes were not available, defaults substituted.

LaTeX Warning: There were undefined references.

Package biblatex Warning: Please (re)run Biber on the file:
(biblatex) main
(biblatex) and rerun LaTeX afterwards.

(\end occurred inside a group at level 1)

semi simple group (level 1) entered at line 181 (\begingroup)

bottom level

20539 words of node memory still in use:
259 hlist, 40 vlist, 72 rule, 86 disc, 64 local_par, 8 math, 730 glue, 55 ke
rn, 112 penalty, 991 glyph, 640 attribute, 77 glue_spec, 640 attribute_list, 1
shape, 1 write, 198 pdf_literal, 152 pdf_colorstack nodes
avail lists: 1:4,2:611,3:404,4:182,5:152,6:3047,7:1146,8:101,9:412,10:14,11:

Output written on main.pdf (3 pages, 82095 bytes).
Transcript written on main.log.
=== TeX engine is ‘LuaTeX’
Latexmk: Non-existent bbl file ‘main.bbl’
No file main.bbl.
Latexmk: Log file says output to ‘main.pdf’
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
lualatex: Command for ‘lualatex’ gave return code 1
Refer to ‘main.log’ for details
Latexmk: Use the -f option to force complete processing,
unless error was exceeding maximum runs of latex/pdflatex.

Why I can not compile with


The error message in Atom says it used the command

latexmk -synctex=1 -interaction=nonstopmode -file-line-error -pdf main

Does runing this manually return an unrecoverable error?

Also, it looks like something is failing in your manual compilation. You get a PDF result at the end though, don’t you?

Finally, which LaTeX package are you using?