Closed dkalaxdk closed 3 years ago
Can you open up the dev console and check if you have any errors there? IIRC it should log errors if it fails to parse the file.
It just builds the master (As that is the one I am in) (Does not build from the toolchain I've shown.)
` C:\Users\Alexander N\AppData\Local\atom\app-1.54.0\resources\app.asar\src\text-editor-element.js:357 [Deprecation] document.registerElement is deprecated and will be removed in M80, around February 2020. Please use window.customElements.define instead. See https://www.chromestatus.com/features/4642138092470272 and https://developers.google.com/web/updates/2019/07/web-components-time-to-upgrade for more details.
(anonymous) @ C:\Users\Alexander N\AppData\Local\atom\app-1.54.0\resources\app.asar\src\text-editor-element.js:357
There you go -- your JSON
has errors..
manager.coffee:43 SyntaxError: Unexpected token m in JSON at position 16
at JSON.parse ()
at Manager.module.exports.Manager.loadLocalCfg (manager.coffee:38)
at Manager.module.exports.Manager.getDocandExt (manager.coffee:57)
at Manager.module.exports.Manager.findMain (manager.coffee:80)
at Builder.module.exports.Builder.build (builder.coffee:12)
at HTMLElement.click (panel.js:111)
Are you sure you want your file as \master.tex
?
-- If you really need the \
in your json, you will have to escape it.
-- In your case, you should just set root to "master.tex"
Try copy pasting this
{
"root" : "master.tex",
"toolchain" : "pdflatex -synctex=1 -interaction=nonstopmode -file-line-error -pdf %DOC",
"latex_ext": [".tikz", ".Rnw"]
}
I have defined my .latexcfg as:
And put it in the root folder. File structure:
But none of the configs from the .latexcfg seems to be used, nor does atom-latex seem to find it when compiling, and it keeps compiling from master.tex