[OS X Emacs] No colored text forr org-publish, htmlize, Aquamacs batch-mode
david.reitter at gmail.com
Mon Apr 6 13:36:39 EDT 2009
On Mar 31, 2009, at 3:58 PM, Saptarshi Guha wrote:
> i have some org-files which contain #+BEGIN_SRC R snippets.
> When i execute org-publish via Aquamacs (running as a GUI), i get
> colored output that reflects Aquamacs GUI font-lock mode.
> However, I also sometimes do a batch mode publish
> /Applications/Aquamacs\ Emacs.app/Contents/MacOS/Aquamacs\ Emacs -l
> ~/orgpub.el -batch --eval '(org-publish (assoc "rhipe"
> Though the text is fontified the fonts are those that I would have got
> had my terminal been colorless (though running -nw and R-mode is fully
> e.g <- is underlined.
> Q: How can I force htmlize to use the color-scheme of GUI Aquamacs?
It seems that the customization file isn't loaded when running in
batch mode. You can manually load it like this:
/Applications/Aquamacs\ Emacs.app/Contents/MacOS/Aquamacs\ Emacs -
batch --eval '(progn (load custom-file) .......)'
Hope that helps.
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and
support the Aquamacs Project!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2193 bytes
Desc: not available
More information about the MacOSX-Emacs