Re: [O] htmlize doesn't work in --batch mode

2012-09-19 Thread Dmitri Makarov
Hi Bastien I actually wrote an ant script that controls the off-line publishing. It's fairly simple, assuming ELPA packages installed in ~/.emacs.d/elpa Another important thing to note is that font-lock-mode is not enabled by default in --batch mode. So I ended up writing an extra .el file that

Re: [O] htmlize doesn't work in --batch mode

2012-09-19 Thread Achim Gratz
Bastien writes: > Dmitri Makarov writes: >> It should be easy to include such a command in a makefile or build.xml and >> automatically locate the latest installation of necessary packages rather >> than explicitly specifying the path. That's what BTEST_POST is there for in the build system, you

Re: [O] htmlize doesn't work in --batch mode

2012-09-19 Thread Bastien
Hi Dmitri, Dmitri Makarov writes: > If anyone interested, it's easy to explicitly load the required ELPA > packages in batch mode. For example, the following command loads htmlize > for publishing org files in batch mode > > emacs --batch -l ~/.emacs.d/init.el --eval "(progn (add-to-list 'load-