Emacs and latex
Posted: April 21st, 2011, 9:08 am
by JTB
Have a couple of questions I hope somebody could help me with:1) When compiling from dvi til pdf: -should I have the graphs in eps or ps-format? Which gives the best quality2) Any suggestions on how to find information/good links about optimizing the "link" between latex-pdf in emacs -what tricks/lines should I add to my emacs file? - how do I compile and show the results in dvi or pdf automatically? (So it behaves like latex editors in Windows for example): My pdf-file pops up automatically in a pdf-viewer or dvi-viewer.
Emacs and latex
Posted: April 21st, 2011, 12:20 pm
by srioae
1. stop using emacs. Kate, Kdevelop, anything but emacs.2. as you get better at latex you'll stop needing to see the pdf every 2 minutes. so don't worry about that. Create a makefile for latex and bibtex and opening .dvi or pdf, a quick google will give you plenty of examples.3. eps
Emacs and latex
Posted: April 23rd, 2011, 8:35 am
by lballabio
QuoteOriginally posted by: srioae1. stop using emacs. Kate, Kdevelop, anything but emacs.The reason being? I'm perfectly happy with it--me and several other thousand people... No, on second thought, I don't want to start yet another war. It's mostly a matter of taste. The smart thing is probably to try both and see what suits you best.JTB: if you just want to produce a PDF, you might consider using pdflatex (which generates PDF directly) instead of going through dvi. With pdflatex, you'll be able to use the microtype package, which results in slightly better typography. With pdflatex, your figures should be in PDF format. If you use latex instead, then it's EPS.Finally, as for the compiling and showing the result: I just keep the PDF open in a viewer that can notice that the PDF has changed and reloads it automatically. Preview on Mac OS X does that, but I'm sure there's viewers that do the same on every other platform. Another alternative is the preview-latex mode in emacs, that compiles and shows you the formulas in the editor window. However, I second srioae's answer--you'll find yourself relying less and less on the viewer as you go on, and just checking it every once in a while.Luigi