logo       

Re: Easymacs correction for Texinfo files editing plus question: msg#00005

emacs.easymacs.user

Subject: Re: Easymacs correction for Texinfo files editing plus question

On Wed, Jan 04, 2006 at 06:20:09PM +0100, Luca Trevisani wrote:
> 1) In order to make preview-latex work under win32 you should add something
> like:
> (when easymacs-w32-system
> (setq-default preview-gs-command "gswin32c")
> (require 'tex-mik))

OK. Done.

> 2) When opening a .tex file with preview-latex active, a new icon should be
> visible in the tool-bar, but it is void. I couldn't find a good solution,

Thanks for the report. I did find a good solution -- it is necessary
to set preview-datadir so that the icons can be found.

At first, I did not want to activate preview-latex by default, because
I thought that it would be necessary to install the Latex .sty files
by hand. But now I see that there is a way to tell preview-latex to
use the .sty files in their original position (in the Easymacs
bundle). I have tested this on my machine, and if this works OK for
others, I will activate review-latex by default.

Would you test this attached easymacs.el file? To avoid confusion
with the modifications you made by hand, take the original
easymacs-1.7.zip file, extract it, insert the new easymacs.el in place
of the old one, and see if preview-latex works.

> Just one question, do you know how to tell emacs to put latex output and
> auxiliary files into a specified directory? (I tried setting the
> tex-directory option but it didn't work). Perhaps, should I change the
> executed commands using for instance
> "latex --output-directory=.... --aux-directory=..."?

I don't know -- that seems to be a MikTeX specific option.

Best,

Peter


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise