I can't write on file 'foo.aux'
I am getting an error when compiling this template with pdflatex -output-directory=./_out thesis.tex
:
! I can't write on file `text/abbreviations.aux'.
@include ...immediate openout @partaux #1.aux
immediate write @partau...
l.187 include{text/abbreviations}
(Press Enter to retry, or Control-D to exit; default file extension is `.tex')
Please type another output file name: ^D
! Emergency stop.
@include ...immediate openout @partaux #1.aux
immediate write @partau...
l.187 include{text/abbreviations}
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on _out/thesis.log.
This is usually the way that I use the -output-directory
option, and I have never had a problem with that usage before, but I must be doing something wrong because the compiling works fine without this option.
File Tree
Result of ls -R
from the project root:
_README.txt _out figures ociamthesis.cls references.bib splitcolor.py text thesis.tex
./_out:
thesis.aux thesis.bcf thesis.lof thesis.mtc thesis.out
thesis.bbl thesis.blg thesis.log thesis.mtc0 thesis.toc
./figures:
beltcrest.pdf sample
./figures/sample:
Gray498.png
./text:
abbreviations.tex abstract.tex acknowledgements.tex appendix-1.tex ch1-intro.tex ch2-litreview.tex
Version
I am on OSX and the manual for pdflatex doesn't show any option -aux_directory
, my version is:
pdfTeX 3.14159265-2.6-1.40.16 (TeX Live 2015)
kpathsea version 6.2.1
Copyright 2015 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.6.17; using libpng 1.6.17
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with xpdf version 3.04
errors output
add a comment |
I am getting an error when compiling this template with pdflatex -output-directory=./_out thesis.tex
:
! I can't write on file `text/abbreviations.aux'.
@include ...immediate openout @partaux #1.aux
immediate write @partau...
l.187 include{text/abbreviations}
(Press Enter to retry, or Control-D to exit; default file extension is `.tex')
Please type another output file name: ^D
! Emergency stop.
@include ...immediate openout @partaux #1.aux
immediate write @partau...
l.187 include{text/abbreviations}
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on _out/thesis.log.
This is usually the way that I use the -output-directory
option, and I have never had a problem with that usage before, but I must be doing something wrong because the compiling works fine without this option.
File Tree
Result of ls -R
from the project root:
_README.txt _out figures ociamthesis.cls references.bib splitcolor.py text thesis.tex
./_out:
thesis.aux thesis.bcf thesis.lof thesis.mtc thesis.out
thesis.bbl thesis.blg thesis.log thesis.mtc0 thesis.toc
./figures:
beltcrest.pdf sample
./figures/sample:
Gray498.png
./text:
abbreviations.tex abstract.tex acknowledgements.tex appendix-1.tex ch1-intro.tex ch2-litreview.tex
Version
I am on OSX and the manual for pdflatex doesn't show any option -aux_directory
, my version is:
pdfTeX 3.14159265-2.6-1.40.16 (TeX Live 2015)
kpathsea version 6.2.1
Copyright 2015 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.6.17; using libpng 1.6.17
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with xpdf version 3.04
errors output
3
I think you'd need (at least) a text subdirectory of_out
but it's always simpler not to use--output-directory
which greatly complicates the processing model and provides no features.
– David Carlisle
Aug 8 '16 at 10:59
You are right, it was just a matter of creating a subfolder_out/text
, sorry for that silly question!
– Sheljohn
Aug 8 '16 at 11:14
add a comment |
I am getting an error when compiling this template with pdflatex -output-directory=./_out thesis.tex
:
! I can't write on file `text/abbreviations.aux'.
@include ...immediate openout @partaux #1.aux
immediate write @partau...
l.187 include{text/abbreviations}
(Press Enter to retry, or Control-D to exit; default file extension is `.tex')
Please type another output file name: ^D
! Emergency stop.
@include ...immediate openout @partaux #1.aux
immediate write @partau...
l.187 include{text/abbreviations}
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on _out/thesis.log.
This is usually the way that I use the -output-directory
option, and I have never had a problem with that usage before, but I must be doing something wrong because the compiling works fine without this option.
File Tree
Result of ls -R
from the project root:
_README.txt _out figures ociamthesis.cls references.bib splitcolor.py text thesis.tex
./_out:
thesis.aux thesis.bcf thesis.lof thesis.mtc thesis.out
thesis.bbl thesis.blg thesis.log thesis.mtc0 thesis.toc
./figures:
beltcrest.pdf sample
./figures/sample:
Gray498.png
./text:
abbreviations.tex abstract.tex acknowledgements.tex appendix-1.tex ch1-intro.tex ch2-litreview.tex
Version
I am on OSX and the manual for pdflatex doesn't show any option -aux_directory
, my version is:
pdfTeX 3.14159265-2.6-1.40.16 (TeX Live 2015)
kpathsea version 6.2.1
Copyright 2015 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.6.17; using libpng 1.6.17
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with xpdf version 3.04
errors output
I am getting an error when compiling this template with pdflatex -output-directory=./_out thesis.tex
:
! I can't write on file `text/abbreviations.aux'.
@include ...immediate openout @partaux #1.aux
immediate write @partau...
l.187 include{text/abbreviations}
(Press Enter to retry, or Control-D to exit; default file extension is `.tex')
Please type another output file name: ^D
! Emergency stop.
@include ...immediate openout @partaux #1.aux
immediate write @partau...
l.187 include{text/abbreviations}
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on _out/thesis.log.
This is usually the way that I use the -output-directory
option, and I have never had a problem with that usage before, but I must be doing something wrong because the compiling works fine without this option.
File Tree
Result of ls -R
from the project root:
_README.txt _out figures ociamthesis.cls references.bib splitcolor.py text thesis.tex
./_out:
thesis.aux thesis.bcf thesis.lof thesis.mtc thesis.out
thesis.bbl thesis.blg thesis.log thesis.mtc0 thesis.toc
./figures:
beltcrest.pdf sample
./figures/sample:
Gray498.png
./text:
abbreviations.tex abstract.tex acknowledgements.tex appendix-1.tex ch1-intro.tex ch2-litreview.tex
Version
I am on OSX and the manual for pdflatex doesn't show any option -aux_directory
, my version is:
pdfTeX 3.14159265-2.6-1.40.16 (TeX Live 2015)
kpathsea version 6.2.1
Copyright 2015 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.6.17; using libpng 1.6.17
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with xpdf version 3.04
errors output
errors output
edited Aug 14 '16 at 8:29
Johannes_B
20.9k351201
20.9k351201
asked Aug 8 '16 at 10:54
SheljohnSheljohn
433418
433418
3
I think you'd need (at least) a text subdirectory of_out
but it's always simpler not to use--output-directory
which greatly complicates the processing model and provides no features.
– David Carlisle
Aug 8 '16 at 10:59
You are right, it was just a matter of creating a subfolder_out/text
, sorry for that silly question!
– Sheljohn
Aug 8 '16 at 11:14
add a comment |
3
I think you'd need (at least) a text subdirectory of_out
but it's always simpler not to use--output-directory
which greatly complicates the processing model and provides no features.
– David Carlisle
Aug 8 '16 at 10:59
You are right, it was just a matter of creating a subfolder_out/text
, sorry for that silly question!
– Sheljohn
Aug 8 '16 at 11:14
3
3
I think you'd need (at least) a text subdirectory of
_out
but it's always simpler not to use --output-directory
which greatly complicates the processing model and provides no features.– David Carlisle
Aug 8 '16 at 10:59
I think you'd need (at least) a text subdirectory of
_out
but it's always simpler not to use --output-directory
which greatly complicates the processing model and provides no features.– David Carlisle
Aug 8 '16 at 10:59
You are right, it was just a matter of creating a subfolder
_out/text
, sorry for that silly question!– Sheljohn
Aug 8 '16 at 11:14
You are right, it was just a matter of creating a subfolder
_out/text
, sorry for that silly question!– Sheljohn
Aug 8 '16 at 11:14
add a comment |
2 Answers
2
active
oldest
votes
@DavidCarlisle proposed a solution in comment of the OP. It seems to be sufficient to create a subdirectory _out/text
for the compilation to succeed.
add a comment |
I had the same issue and solved it by writing a build script that creates subdirectories in my build folder that mirror the subdirectories in my source folder before compiling:
#!/bin/sh
for OUTPUT in $(find src -type d)
do
mkdir dist/$OUTPUT
done
pdflatex -output-directory=./dist ./src/main.tex
This saves you having to manually create subdirectories every time you add one.
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f323820%2fi-cant-write-on-file-foo-aux%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
@DavidCarlisle proposed a solution in comment of the OP. It seems to be sufficient to create a subdirectory _out/text
for the compilation to succeed.
add a comment |
@DavidCarlisle proposed a solution in comment of the OP. It seems to be sufficient to create a subdirectory _out/text
for the compilation to succeed.
add a comment |
@DavidCarlisle proposed a solution in comment of the OP. It seems to be sufficient to create a subdirectory _out/text
for the compilation to succeed.
@DavidCarlisle proposed a solution in comment of the OP. It seems to be sufficient to create a subdirectory _out/text
for the compilation to succeed.
answered Aug 8 '16 at 11:13
SheljohnSheljohn
433418
433418
add a comment |
add a comment |
I had the same issue and solved it by writing a build script that creates subdirectories in my build folder that mirror the subdirectories in my source folder before compiling:
#!/bin/sh
for OUTPUT in $(find src -type d)
do
mkdir dist/$OUTPUT
done
pdflatex -output-directory=./dist ./src/main.tex
This saves you having to manually create subdirectories every time you add one.
New contributor
add a comment |
I had the same issue and solved it by writing a build script that creates subdirectories in my build folder that mirror the subdirectories in my source folder before compiling:
#!/bin/sh
for OUTPUT in $(find src -type d)
do
mkdir dist/$OUTPUT
done
pdflatex -output-directory=./dist ./src/main.tex
This saves you having to manually create subdirectories every time you add one.
New contributor
add a comment |
I had the same issue and solved it by writing a build script that creates subdirectories in my build folder that mirror the subdirectories in my source folder before compiling:
#!/bin/sh
for OUTPUT in $(find src -type d)
do
mkdir dist/$OUTPUT
done
pdflatex -output-directory=./dist ./src/main.tex
This saves you having to manually create subdirectories every time you add one.
New contributor
I had the same issue and solved it by writing a build script that creates subdirectories in my build folder that mirror the subdirectories in my source folder before compiling:
#!/bin/sh
for OUTPUT in $(find src -type d)
do
mkdir dist/$OUTPUT
done
pdflatex -output-directory=./dist ./src/main.tex
This saves you having to manually create subdirectories every time you add one.
New contributor
New contributor
answered 6 mins ago
Kyle MeenehanKyle Meenehan
11
11
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f323820%2fi-cant-write-on-file-foo-aux%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
3
I think you'd need (at least) a text subdirectory of
_out
but it's always simpler not to use--output-directory
which greatly complicates the processing model and provides no features.– David Carlisle
Aug 8 '16 at 10:59
You are right, it was just a matter of creating a subfolder
_out/text
, sorry for that silly question!– Sheljohn
Aug 8 '16 at 11:14