thomasjo / atom-latex

Compile LaTeX or knitr documents from within Atom
https://atom.io/packages/latex
MIT License
223 stars 42 forks source link

latexmk: Bad command line arguments. Parsing of log files failed. #486

Closed RanSaSK closed 6 years ago

RanSaSK commented 6 years ago

When I try to compile my first tex file, the error message says: latexmk:Bad command line arguments. Parsing of log files failed.

My environment is:

When I run Check Runtime, the messages are like these:

Rscript check failed with code 1 and response of " 'Rscript'( here are some garbage characters) ".

Also, I can run latexmk to compile tex and show me pdf files.

So could you tell me what should I do?

lyx314 commented 6 years ago

You can check if there are unrecognizable characters in your file's path. I had the same problem from Chinese characters in my file's name.

RanSaSK commented 6 years ago
      You can check if there are unrecognizable characters in your file's path.

I had the same problem from Chinese characters in my file's name.

Thank you! Problem solved!