Hi Marius,<div><br></div><div>do you know if latexmk works with XeLatex?</div><div><br></div><div>thanks, and have a nice day</div><div><br></div><div>iliya<br><br><div class="gmail_quote">On Fri, Sep 23, 2011 at 4:28 AM, Hofert  Jan Marius <span dir="ltr"><<a href="mailto:marius.hofert@math.ethz.ch">marius.hofert@math.ethz.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
On 2011-09-23, at 04:10 , Iliya Lefterov wrote:<br>
<br>
> Jack,<br>
><br>
> i totally agree with you. i also think the "save in a register" code you brought in is very, very important and  may be the most useful in this series of emails and comments. one great thing about Emacs (and it is my opinion, other people may disagree...) is the possibility to make it working in a way the user likes it. is it easy to get there...? - i don't think so. BTW, i still don't know if Marius is using Aquamacs to edit and compile LaTex files...? :)<br>

<br>
</div>yes ! (?)<br>
<br>
In order for this thread to become the longest in the history of mailing lists (*lol*), let's continue here... I changed the default to latexmk (for several reasons) on C-c C-c. The only drawback is that on a second (also third, fourth,...) C-c C-c, Aquamacs asks again if it should compile it with latexmk instead of offering to view the document. But I guess it just can't know that latexmk only needs "one run" to finish. If someone knows a solution to that please let me know.<br>

<br>
But I would also like to mention something else: The above approach is not the pdc [= pretty damn coolest]. The real pdc approach (I think) is this: go to a shell/terminal, navigate to the document master.tex (your favorite .tex file, being the master if you have a project). Then type in latexmk -pvc -pdf master.tex<br>

latexmk now "listens". Whenever you save (with CMD + S), the document will be automatically compiled and updated. This has many advantages, for example, you don't have to type in anything except for saving. And: you don't have to use ugly local variables in all of your project files or tricky (see one of my recent posts) master-detection-algorithms...<br>

<br>
Cheers,<br>
<font color="#888888"><br>
Marius<br>
</font><div><div></div><div class="h5"><br>
><br>
> cheers, and have a nice weekend.<br>
><br>
> iliya<br>
><br>
> On Thu, Sep 22, 2011 at 9:42 PM, Jack Repenning <<a href="mailto:jrepenning@collab.net">jrepenning@collab.net</a>> wrote:<br>
> On Sep 22, 2011, at 5:37 PM, Iliya Lefterov wrote:<br>
><br>
>> so what about if at the end of your point 4) you delete the paragraph? are you still interested in going in the meddle of that one as you state in point 1)?<br>
><br>
> Amusingly enough, that actually is a well-formed question in Emacs. If a region is deleted, and either point or mark were inside it, then they're moved to the spot where the deleted region formerly lived. So it's still meaningful to say "the same spot" even though the whole neighborhood around that spot is gone. This same logic applies to the save/restore window configuration code I posted, and I believe it also applies to the "save in a register" code: they're all cases of Emacs' general notion of "markers," and all markers behave this way.<br>

><br>
> It's also true that deleting a region leaves point at the point of deletion -- i.e., the same spot as the old point and mark are mapped to. So you don't need to want to go there, because you're already be there!<br>

><br>
> -==-<br>
> Jack Repenning<br>
> Technologist<br>
> CollabNet Cloud Services<br>
> CollabNet, Inc.<br>
> 8000 Marina Boulevard, Suite 600<br>
> Brisbane, California 94005<br>
> office: <a href="tel:%2B1%20650.228.2562" value="+16502282562">+1 650.228.2562</a><br>
> twitter: <a href="http://twitter.com/jrep" target="_blank">http://twitter.com/jrep</a><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> _____________________________________________________________<br>
> MacOSX-Emacs mailing list<br>
> <a href="mailto:MacOSX-Emacs@email.esm.psu.edu">MacOSX-Emacs@email.esm.psu.edu</a><br>
> <a href="http://email.esm.psu.edu/mailman/listinfo/macosx-emacs" target="_blank">http://email.esm.psu.edu/mailman/listinfo/macosx-emacs</a><br>
> List Archives: <a href="http://dir.gmane.org/gmane.emacs.macintosh.osx" target="_blank">http://dir.gmane.org/gmane.emacs.macintosh.osx</a><br>
><br>
><br>
><br>
><br>
> --<br>
><br>
> Iliya Lefterov, MD, PhD,<br>
> University of Pittsburgh,<br>
> Pittsburgh, PA<br>
> USA<br>
><br>
> <a href="mailto:iliya.lefterov@gmail.com">iliya.lefterov@gmail.com</a><br>
> <a href="mailto:iliyal@pitt.edu">iliyal@pitt.edu</a><br>
><br>
> _____________________________________________________________<br>
> MacOSX-Emacs mailing list<br>
> <a href="mailto:MacOSX-Emacs@email.esm.psu.edu">MacOSX-Emacs@email.esm.psu.edu</a><br>
> <a href="http://email.esm.psu.edu/mailman/listinfo/macosx-emacs" target="_blank">http://email.esm.psu.edu/mailman/listinfo/macosx-emacs</a><br>
> List Archives: <a href="http://dir.gmane.org/gmane.emacs.macintosh.osx" target="_blank">http://dir.gmane.org/gmane.emacs.macintosh.osx</a><br>
<br>
</div></div><div class="im">ETH Zurich<br>
Dr. Marius Hofert<br>
RiskLab, Department of Mathematics<br>
HG E 65.2<br>
Rämistrasse 101<br>
8092 Zurich<br>
Switzerland<br>
<br>
Phone <a href="tel:%2B41%2044%20632%202423" value="+41446322423">+41 44 632 2423</a><br>
<a href="mailto:marius.hofert@math.ethz.ch">marius.hofert@math.ethz.ch</a><br>
<a href="http://www.math.ethz.ch/~hofertj" target="_blank">http://www.math.ethz.ch/~hofertj</a><br>
<br>
_____________________________________________________________<br>
</div><div><div></div><div class="h5">MacOSX-Emacs mailing list<br>
<a href="mailto:MacOSX-Emacs@email.esm.psu.edu">MacOSX-Emacs@email.esm.psu.edu</a><br>
<a href="http://email.esm.psu.edu/mailman/listinfo/macosx-emacs" target="_blank">http://email.esm.psu.edu/mailman/listinfo/macosx-emacs</a><br>
List Archives: <a href="http://dir.gmane.org/gmane.emacs.macintosh.osx" target="_blank">http://dir.gmane.org/gmane.emacs.macintosh.osx</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><font size="1" color="#336666"><br></font></div><div><font face="arial, helvetica, sans-serif" size="1" color="#336666">Iliya Lefterov, MD, PhD,<br>
University of Pittsburgh,<br>Pittsburgh, PA<br>USA</font></div><div><font face="verdana, sans-serif" size="1"><br></font></div><div><font face="verdana, sans-serif" size="1"><a href="mailto:iliya.lefterov@gmail.com" target="_blank">iliya.lefterov@gmail.com</a></font></div>
<div><font face="verdana, sans-serif" size="1"><a href="mailto:iliyal@pitt.edu" target="_blank">iliyal@pitt.edu</a></font></div><br>
</div>