Comments (4)
This is a tricky issue. At one level, you can already set the output directory by passing the appropriate option to the tex engine (either in Settings or as a %!TEX
magic comment). This will work. However, the code that parses the log file and displays the PDF file will fail because these files will not, in general, be in the expected location (i.e., in the same dir as the tex source or root file).
The painful issue to deal with is that MikTeX and TeXLive handle this differently. MikTeX offers more granular control--you can tell it to put aux files in one directory and the pdf output file in another. TeXLive, on the other hand, only allows you to say "all generated files go to directory X"---which applies to both PDF and aux files. So, one, you need code that handles both cases separately, which is painful. Second, you can't provide the exact same functionality on MikTeX and TeXLive.
I'm thinking about an alternative approach: introduce a setting or magic comment that points to the log and pdf files, wherever they may be. This is easy to do and cross-platform. Users who want to fiddle with where tex puts generated files are sophisticated enough to understand what such settings would mean.
Happy to entertain alternatives, but so far this is what I could come up with!
from atom-latextools.
I actually like having everything in an alternative out directory. Do I understand correctly that the forward/backward search won't work?
from atom-latextools.
Forward search (or even displaying the PDF) definitely won't. You'll lose any relevant warnings or errors in the console because latextools won't be able to read the log file and the delete temp files functionality will likely do nothing useful. Oddly, backward search may work perfectly, since that mostly depends on a corresponding synctex
file.
from atom-latextools.
too bad - this would be a nice feature to have, because a lot of my collaborators who haven't yet accepted Git will collaboratively work on a latex document on dropbox and we screw up each others compilations.
from atom-latextools.
Related Issues (20)
- Citation autocompletion triggers focus stealing bug.
- -shell-escape is not properly passed HOT 5
- Uncaught TypeError: Cannot read property 'nextElementSibling' of null
- Sumatra PDF viewer cannot be invoked HOT 3
- Expand Abbreviation
- Arch/Manjaro Linux: Issues with xelatex HOT 2
- Extra backslash in autocomplete
- Uncaught TypeError: Cannot read property 'length' of undefined
- Support for \(...\) to wrap math expression
- Uncaught Error: ENOENT: no such file or directory, open 'D:/main.tex' HOT 1
- Cite auto trigger - bibliography inside class file
- Uncaught TypeError: Cannot create property 'reversed' on string '' HOT 12
- when triggered \ref{ or \cite{ it thinks that PATH in \input{PATH} is relative
- atom-latextools package abandoned?
- Uncaught TypeError: Cannot read property 'insertSnippet' of null
- Uncaught Error: ENOENT: no such file or directory, open '~/Learning/Astronomy 夊ćĺŚ/Astronomy_Today...
- Hotkey change error HOT 1
- Double dollar sign
- RAM/swap usage increasing as compiling
- Latex log
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ď¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom-latextools.