emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to get to work non-interactive publishing?


From: Mikhail Titov
Subject: Re: [O] How to get to work non-interactive publishing?
Date: Mon, 21 May 2012 16:09:04 -0500

> -----Original Message-----
> From: address@hidden [mailto:emacs-orgmode-
> address@hidden On Behalf Of Mikhail Titov
> Sent: Monday, May 21, 2012 4:06 PM
> To: 'Eric Schulte'
> Cc: address@hidden
> Subject: Re: [O] How to get to work non-interactive publishing?
> 
> ...
>
> > The library used to colorize source code relies on the actual Emacs
> > colorization mechanisms, which aren't available in batch mode.  The best
> > solution in this case is to save your colorized CSS information into a
> > .css file with `org-export-htmlize-generate-css', and then use that file
> > in all of your exports by setting `org-export-htmlize-output-type' to
> > 'css.  This way your fontification will be consistent across batch or
> > regular export.
> 
> Thank you for the explanation!
> 
> Also I just noticed [1]. For now, I can just use -nw and (kill-emacs) after
> publishing is done and deal with CSS fine tuning later.

Did not read careful enough about crontab. I'll go CSS way.

> 
> [1] http://stackoverflow.com/questions/3591337/emacs-htmlize-in-batch-mode
> 
> M.
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]