Re: [Orgmode] Latex preview - working directory

2010-12-07 Thread Matthew Leifer
One solution would be to put you math definitions into a .sty file instead of a .tex file so that you can use \usepackage{vlstyle} instead of \input. If you put (or symlink) the file in your local texmf path it should work. I do this for my math shortcuts and it works fine with org-mode. To make

[Orgmode] Re: Aquamacs syntax highlighting

2010-11-22 Thread Matthew Leifer
I've been playing with git bisect in order to determine how the error was introduced. Here are the details of the first bad commit: d600831eb70a0c87fca493f1e367193b88844137 is the first bad commit commit d600831eb70a0c87fca493f1e367193b88844137 Author: Carsten Dominik Date: Sat Oct 23 14:43:00

[Orgmode] Aquamacs syntax highlighting

2010-11-22 Thread Matthew Leifer
Hi, I just updated org-mode to the latest version from the git repository (commit: 3785722e9255b552c62e594b73164330404a70a1) and noticed that syntax highlighting is no longer working in Aquamacs Emacs v2.0 (Emacs 23.2.1) on Max OSX 10.6.5. It is still working in the command line version of emacs

Re: [Orgmode] Karl Berry: Re: Nick Dokos: texi2dvi egrep regexp

2010-10-09 Thread Matthew Leifer
Oh dear. As the person who originally suggested using texi2dvi, I feel a little bit responsible for all the trouble it has caused. I wouldn't have thought that such a widely used script would have a bug like this. Anyway, one option would be to include a patched version of texi2dvi in the org di

Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output

2010-10-06 Thread Matthew Leifer
That is odd. texi2dvi should default to using regular latex. You usually have to pass a -p option or use the alias texi2pdf in order to use pdflatex. It might be that you have a LATEX environment variable set. In any case, you can alter this behaviour by setting the LATEX environment variable,

Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output

2010-10-05 Thread Matthew Leifer
Hi, I don't know if you are aware, but there is a utility called texi2dvi that figures out how many times LaTeX, bibtex, etc. need to be run and automatically runs them the correct number of times for you. It also has an option -p that uses pdflatex and generates pdf instead of dvi. In my opinio

Re: [Orgmode] publishing orgmode to a CMS

2010-10-02 Thread Matthew Leifer
Read worg: http://orgmode.org/worg/org-blog-wiki.php On 1 October 2010 22:43, Erik Iverson wrote: > Does anyone have any general advice or comments regarding > the publishing of org-mode documents to a CMS? > > I'm thinking of the case where I have HTML files generated > by Org-mode, and want

[Orgmode] RE: Can't find LaTeX under MAC

2010-09-28 Thread Matthew Leifer
I'm also on a Mac and it worked for me without any configuration. You might need to check whether the TeX settings in your System Preferences are set correctly. TeXLive installs a preference pane which sets the appropriate PATH variables via a GUI so you don't have to do any hacking on your .emac

[Orgmode] Windows installation with msysGit

2010-09-27 Thread Matthew Leifer
I have seen discussions about the difficulties of installing the latest version org-mode on Windows on this list, so I would like to report a way of doing this that I found that allows you to compile org-mode to bytecode with very little hassle. Apologies if this has been posted before, but I thin