From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mikhail Titov" Subject: Re: How to get to work non-interactive publishing? Date: Mon, 21 May 2012 16:09:04 -0500 Message-ID: <00a001cd3795$f4193580$dc4ba080$@us> References: <005401cd349f$a4382600$eca87200$@us> <87r4uhk7df.fsf@gmx.com> <4FB8373D.2030305@gmx.us> <87pq9zbxua.fsf@gmx.com> <008101cd378b$e993c5d0$bcbb5170$@us> <87zk91l80o.fsf@gmx.com> <009a01cd3795$8c04ec00$a40ec400$@us> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SWZqn-0004Y1-Dn for emacs-orgmode@gnu.org; Mon, 21 May 2012 17:09:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SWZql-0003A2-Lp for emacs-orgmode@gnu.org; Mon, 21 May 2012 17:09:08 -0400 Received: from mailout-us.gmx.com ([74.208.5.67]:43766 helo=mailout-us.mail.com) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SWZql-00039s-Dx for emacs-orgmode@gnu.org; Mon, 21 May 2012 17:09:07 -0400 In-Reply-To: <009a01cd3795$8c04ec00$a40ec400$@us> Content-Language: en-us List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: 'Eric Schulte' Cc: emacs-orgmode@gnu.org > -----Original Message----- > From: emacs-orgmode-bounces+mlt=gmx.us@gnu.org [mailto:emacs-orgmode- > bounces+mlt=gmx.us@gnu.org] On Behalf Of Mikhail Titov > Sent: Monday, May 21, 2012 4:06 PM > To: 'Eric Schulte' > Cc: emacs-orgmode@gnu.org > 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. >