[OS X Emacs] No colored text forr org-publish, htmlize, Aquamacs batch-mode
saptarshi.guha at gmail.com
Sun Apr 26 23:56:32 EDT 2009
Sorry for the very late reply. I tried what you suggested this is make.el
and I run
/Applications/Aquamacs\ Emacs.app/Contents/MacOS/Aquamacs\ Emacs
-batch -l make.el
Yet, i still get the same output.
Thank you for your time
(load "/Users/yanger/Library/Preferences/Aquamacs Emacs/customizations.el")
(load "/Users/yanger/Library/Preferences/Aquamacs Emacs/Preferences.el")
:headline-levels 4 ; Just the default for this project.
;; :auto-index f ; Generate index.org automagically...
;; :index-filename "sitemap.org" ; ... call it sitemap.org ...
;; :index-title "Sitemap"
("X" :components ("X-notes" "X-static"))
(org-publish (assoc "X" org-publish-project-alist))
On Mon, Apr 6, 2009 at 1:36 PM, David Reitter <david.reitter at gmail.com> wrote:
> 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!
More information about the MacOSX-Emacs