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

2012-09-19 Thread Bastien
Hi Dmitri, Dmitri Makarov dmak...@gmail.com 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

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

2012-09-19 Thread Achim Gratz
Bastien writes: Dmitri Makarov dmak...@gmail.com 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

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

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

2012-09-14 Thread Dmitri Makarov
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-path

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

2012-09-11 Thread Dmitri Makarov
Hi all, I'm having a problem with offline exports. If I run emacs in --batch mode like this emacs -batch -l ~/.emacs.d/init.el -eval '(org-publish-all)' it doesn't seem to load the packages installed by the ELPA package manager. In particular it doesn't load htmlize package and also loads the