General ⇒ latex output files in a different directory to input files?
-
- Posts: 3
- Joined: Sat Jan 03, 2009 1:25 am
latex output files in a different directory to input files?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
latex output files in a different directory to input files?
Code: Select all
$ mkdir output
$ cd output
$ latex ../mylatexfile.tex
-
- Posts: 3
- Joined: Sat Jan 03, 2009 1:25 am
Re: latex output files in a different directory to input files?
I problably din't expalain myelf well enough (sorry). What I want to do is to use a program called "dropbox" to back up my tex input files.
https://www.getdropbox.com/tour#1
It allows me work from several different computers, home, work, etc.
It works by synchronising files put into a certain folder, where the changes to the file are stored on a web site and then the files on each computer are updated automatically. So what I really would like is to keep the "input files" *.tex and *.pdf (and anything else) in one folder, and have the latex produced files *.pdf, *.aux, */log (some of which are ALSO input files) in a different folder tso these are not updated every time I latex the file.
After some searching in comp.text.tex I found the following:
pdflatex -output-directory=C:\pdfout -aux-directory=C:\temp foo.tex
althogh i haven't tested this yet, this looks like what I want (i think) except that I don't want to use command line, i want to have it all happen transparently withing the editors that i use. S o just need to see if I can coax both texniccenter and texshop to do this automatically.
Glenn
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
latex output files in a different directory to input files?
Code: Select all
%& -output-directory=C:/pdfout -aux-directory=C:/temp
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10