Minimal Makefile for pdflatex bibtex with output-directory












0















Does someone have a minimal Makefile, that compiles a latex document using




  • pdflatex

  • bibtex

  • pdflatex

  • pdflatex


while putting all ouput files in a special output-directory to avoid cluttering the root-directory?










share|improve this question























  • Why don't you use arara or latexmk?

    – Johannes_B
    Jan 7 at 14:51






  • 1





    As soon as you mention output-directories, you do know that they make things much more complicated? A few extra files are nothing compared to the extra level of stress you have to make all programs find the files you hid away.

    – Johannes_B
    Jan 7 at 14:52











  • I see. Well that is sad. In my case it's really a mess of a gazillion .mtc .aux .blg .maf .lot .nlo etc pp files :-/. I don't know about arara / latexmk

    – mcExchange
    Jan 7 at 14:54






  • 2





    @mcExchange why do the files matter, I just checked and in the directory I use for writing answers for this site there are currently over 2000 aux files, occasionally I rm *.aux and remove them all but mostly I don't bother and they do no harm. If you move the output from tex to another directory, you need to configure everything else to be able to find them and read them back, it's possible but tricky to get right and serves no great purpose.

    – David Carlisle
    Jan 7 at 15:06











  • Yeah, I'll give up. It's taking too much time already. My project is quite large and involves a lot of files therefore keeping an overview would be nice. A subfolder for compilation would be nice.

    – mcExchange
    Jan 7 at 16:08
















0















Does someone have a minimal Makefile, that compiles a latex document using




  • pdflatex

  • bibtex

  • pdflatex

  • pdflatex


while putting all ouput files in a special output-directory to avoid cluttering the root-directory?










share|improve this question























  • Why don't you use arara or latexmk?

    – Johannes_B
    Jan 7 at 14:51






  • 1





    As soon as you mention output-directories, you do know that they make things much more complicated? A few extra files are nothing compared to the extra level of stress you have to make all programs find the files you hid away.

    – Johannes_B
    Jan 7 at 14:52











  • I see. Well that is sad. In my case it's really a mess of a gazillion .mtc .aux .blg .maf .lot .nlo etc pp files :-/. I don't know about arara / latexmk

    – mcExchange
    Jan 7 at 14:54






  • 2





    @mcExchange why do the files matter, I just checked and in the directory I use for writing answers for this site there are currently over 2000 aux files, occasionally I rm *.aux and remove them all but mostly I don't bother and they do no harm. If you move the output from tex to another directory, you need to configure everything else to be able to find them and read them back, it's possible but tricky to get right and serves no great purpose.

    – David Carlisle
    Jan 7 at 15:06











  • Yeah, I'll give up. It's taking too much time already. My project is quite large and involves a lot of files therefore keeping an overview would be nice. A subfolder for compilation would be nice.

    – mcExchange
    Jan 7 at 16:08














0












0








0








Does someone have a minimal Makefile, that compiles a latex document using




  • pdflatex

  • bibtex

  • pdflatex

  • pdflatex


while putting all ouput files in a special output-directory to avoid cluttering the root-directory?










share|improve this question














Does someone have a minimal Makefile, that compiles a latex document using




  • pdflatex

  • bibtex

  • pdflatex

  • pdflatex


while putting all ouput files in a special output-directory to avoid cluttering the root-directory?







bibtex pdftex makefile






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 7 at 14:43









mcExchangemcExchange

1354




1354













  • Why don't you use arara or latexmk?

    – Johannes_B
    Jan 7 at 14:51






  • 1





    As soon as you mention output-directories, you do know that they make things much more complicated? A few extra files are nothing compared to the extra level of stress you have to make all programs find the files you hid away.

    – Johannes_B
    Jan 7 at 14:52











  • I see. Well that is sad. In my case it's really a mess of a gazillion .mtc .aux .blg .maf .lot .nlo etc pp files :-/. I don't know about arara / latexmk

    – mcExchange
    Jan 7 at 14:54






  • 2





    @mcExchange why do the files matter, I just checked and in the directory I use for writing answers for this site there are currently over 2000 aux files, occasionally I rm *.aux and remove them all but mostly I don't bother and they do no harm. If you move the output from tex to another directory, you need to configure everything else to be able to find them and read them back, it's possible but tricky to get right and serves no great purpose.

    – David Carlisle
    Jan 7 at 15:06











  • Yeah, I'll give up. It's taking too much time already. My project is quite large and involves a lot of files therefore keeping an overview would be nice. A subfolder for compilation would be nice.

    – mcExchange
    Jan 7 at 16:08



















  • Why don't you use arara or latexmk?

    – Johannes_B
    Jan 7 at 14:51






  • 1





    As soon as you mention output-directories, you do know that they make things much more complicated? A few extra files are nothing compared to the extra level of stress you have to make all programs find the files you hid away.

    – Johannes_B
    Jan 7 at 14:52











  • I see. Well that is sad. In my case it's really a mess of a gazillion .mtc .aux .blg .maf .lot .nlo etc pp files :-/. I don't know about arara / latexmk

    – mcExchange
    Jan 7 at 14:54






  • 2





    @mcExchange why do the files matter, I just checked and in the directory I use for writing answers for this site there are currently over 2000 aux files, occasionally I rm *.aux and remove them all but mostly I don't bother and they do no harm. If you move the output from tex to another directory, you need to configure everything else to be able to find them and read them back, it's possible but tricky to get right and serves no great purpose.

    – David Carlisle
    Jan 7 at 15:06











  • Yeah, I'll give up. It's taking too much time already. My project is quite large and involves a lot of files therefore keeping an overview would be nice. A subfolder for compilation would be nice.

    – mcExchange
    Jan 7 at 16:08

















Why don't you use arara or latexmk?

– Johannes_B
Jan 7 at 14:51





Why don't you use arara or latexmk?

– Johannes_B
Jan 7 at 14:51




1




1





As soon as you mention output-directories, you do know that they make things much more complicated? A few extra files are nothing compared to the extra level of stress you have to make all programs find the files you hid away.

– Johannes_B
Jan 7 at 14:52





As soon as you mention output-directories, you do know that they make things much more complicated? A few extra files are nothing compared to the extra level of stress you have to make all programs find the files you hid away.

– Johannes_B
Jan 7 at 14:52













I see. Well that is sad. In my case it's really a mess of a gazillion .mtc .aux .blg .maf .lot .nlo etc pp files :-/. I don't know about arara / latexmk

– mcExchange
Jan 7 at 14:54





I see. Well that is sad. In my case it's really a mess of a gazillion .mtc .aux .blg .maf .lot .nlo etc pp files :-/. I don't know about arara / latexmk

– mcExchange
Jan 7 at 14:54




2




2





@mcExchange why do the files matter, I just checked and in the directory I use for writing answers for this site there are currently over 2000 aux files, occasionally I rm *.aux and remove them all but mostly I don't bother and they do no harm. If you move the output from tex to another directory, you need to configure everything else to be able to find them and read them back, it's possible but tricky to get right and serves no great purpose.

– David Carlisle
Jan 7 at 15:06





@mcExchange why do the files matter, I just checked and in the directory I use for writing answers for this site there are currently over 2000 aux files, occasionally I rm *.aux and remove them all but mostly I don't bother and they do no harm. If you move the output from tex to another directory, you need to configure everything else to be able to find them and read them back, it's possible but tricky to get right and serves no great purpose.

– David Carlisle
Jan 7 at 15:06













Yeah, I'll give up. It's taking too much time already. My project is quite large and involves a lot of files therefore keeping an overview would be nice. A subfolder for compilation would be nice.

– mcExchange
Jan 7 at 16:08





Yeah, I'll give up. It's taking too much time already. My project is quite large and involves a lot of files therefore keeping an overview would be nice. A subfolder for compilation would be nice.

– mcExchange
Jan 7 at 16:08










0






active

oldest

votes











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f468980%2fminimal-makefile-for-pdflatex-bibtex-with-output-directory%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f468980%2fminimal-makefile-for-pdflatex-bibtex-with-output-directory%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?