> > Quite often I'm just writing text, left hand emacs, right hand the > > pdf-viewer showing my page. > > > > To compile I'm typing C-C C-S C-C C-C (1. save 2. compile). What about > > an auto-compilation-modus, which saves and compiles every ten or 15 > > seconds? "M-x autocompile 15" => every 15 seconds. > > > > Nowadays most Computers are so fast, it would not disturb whatever > > running in the background. Maybe the module to do that could even stop > > if the last run terminated with an error. > > > > Just an idea. > > You might be more happy with something like latexmk (Perl) or rubber > (Python). At least the former will auto-compile every time a change is > detected, and quite fast! A similar project called latex-daemon exists > for Win. > > For example > ,---- > > | latexmk main.tex --pvc > > `---- > > you could also use the --pdf flag, or add something like the following > to your ~/.latexmk file > > ,---- > > | $pdflatex = 'pdflatex --interaction nonstopmode --synctex=-1 %O %S'; > > `---- > > Whether AUCTeX easily handles a deamon, I simply don't know. > > ?Rasmus >
Dear Rasmus, thank you very much, that does it. Especially the last example for synctex was usefull. The filename latexmk looks for is .latexmkrc in my home-directory (Linux-PC). It contains exactly your example. I start latexmk by typing latexmk -pvc -pdf foo in yakuake. Great! Regards, Alexander > -- > Sent from my Emacs _______________________________________________ auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex
