Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create out folder if it does not exist #70

Closed
physikerwelt opened this issue Jul 12, 2017 · 2 comments
Closed

Create out folder if it does not exist #70

physikerwelt opened this issue Jul 12, 2017 · 2 comments
Assignees
Labels
enhancement New feature or (non bug related) change to the program. high-priority Critical issues that must be solved ASAP.
Milestone

Comments

@physikerwelt
Copy link

pdflatex -file-line-error -time-statistics -c-style-errors -max-print-line=10000 -interaction=nonstopmode -output-directory=C:/git/tex/out onefile.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/W32TeX) (preloaded format=pdflatex)
 restricted \write18 enabled.
pdflatex: unrecognized option `-time-statistics'
pdflatex: unrecognized option `-c-style-errors'
pdflatex: unrecognized option `-max-print-line=10000'
entering extended mode
./onefile.tex:0: I can't write on file `onefile.log'.
(Press Enter to retry, or Control-Z to exit; default file extension is `.log')
Please type another transcript file name
./onefile.tex:0: Emergency stop
./onefile.tex:0:  ==> Fatal error occurred, no output PDF file produced!

after creating the out folder the error was resolved.

@stenwessel
Copy link
Member

This is especially relevant when the tex source contains statements like \include{path/to/foo}. The compiler wants to create aux file for foo.tex at out/path/to/foo.aux, but will fail when out/path/to does not exist. Only MiKTeX (that I know of) will create these directories automatically, but MacTex for example will not and just fails to compile.

See also discussion in #25 and https://tex.stackexchange.com/questions/64313/pdflatex-xelatex-output-directory-and-subdirectories-when-using-include

@stenwessel stenwessel self-assigned this Jul 12, 2017
@stenwessel stenwessel added enhancement New feature or (non bug related) change to the program. high-priority Critical issues that must be solved ASAP. labels Jul 12, 2017
@physikerwelt
Copy link
Author

Thank you for the link. I did not know that you can configure external tools in intelliJ. For now, I'll use the external tool latexmk, which is quite convenient and has the advantage that I can use the same compile pipeline independent of the GUI.

@stenwessel stenwessel added this to the b0.3 milestone Jul 13, 2017
stenwessel added a commit that referenced this issue Jul 13, 2017
stenwessel added a commit that referenced this issue Jul 14, 2017
# Conflicts:
#	src/nl/rubensten/texifyidea/run/LatexCommandLineState.java
#	src/nl/rubensten/texifyidea/util/TexifyUtil.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or (non bug related) change to the program. high-priority Critical issues that must be solved ASAP.
Projects
None yet
Development

No branches or pull requests

2 participants