|
Re: Easymacs correction for Texinfo files editing plus question: msg#00004emacs.easymacs.user
Hi Peter, thanks for the new easymacs 1.7! I tested preview-latex and it works well, as for me I would enable it by default (after all, it just adds a voice to the menu for making previews). Anyway, I found the following two little problems: 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)) Of course one has to put Ghostscript in the path. Probably it would be better if tex-mik itself took care of properly setting the "preview-gs-command" option, but it actually doesn't. 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, just the following work-around: - copy the easymacs/auctex/ directory under easymacs/auctex/auctex/ - copy all the xpm icons from easymacs/auctex/auctex/preview/images/ into easymacs/auctex/auctex/images/ - change the following easymacs.el lines: (add-to-list 'load-path (concat easymacs-dir "auctex/auctex/")) (add-to-list 'load-path (concat easymacs-dir "auctex/auctex/preview/")) - copy the file preview-latex.el in the folder easymacs/auctex/ Unfortunately I couldn't understand why this happens, and why this work-around works neither, probably it is related also to the "TeX-lisp-directory" and "TeX-data-directory". This work-around works also if the preview files are moved from easymacs/auctex/auctex/preview/ into easymacs/auctex/preview/ (just change the load-path command). Actually the directory structure created installing (with "make install") the auctex package would be the following: site-lisp/ (4 files: auctex.el, preview-latex.el, subdirs.el, tex-site.el) site-lisp/auctex (auctex files, with all the images site-lisp/auctex/images) site-lisp/preview (preview files, without images directory). Anyway, for the rest it works very well. I also found a solution for the mouse wheel scrolling customization, but I'll tell you another time, when I finish it. 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=..."? Bye, Luca ------------------------------------------------------- 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> |
|---|---|---|
| Previous by Date: | Re: Installing easymacs on OSX: 00004, JC Helary |
|---|---|
| Next by Date: | Re: Easymacs correction for Texinfo files editing plus question: 00004, Peter Heslin |
| Previous by Thread: | Re: Easymacs correction for Texinfo files editing plus questioni: 00004, Peter Heslin |
| Next by Thread: | Re: Easymacs correction for Texinfo files editing plus question: 00004, Peter Heslin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |