Re: [O] Exporting C++ code block to html

2013-09-28 Thread Xavier Garrido
Hi Eric, Setting this variable manually from the command line with the following fixes this problem for me. emacs --batch --eval "(progn (add-to-list 'load-path \"~/src/org-mode/lisp\") (require 'org) (add-to-list 'load-path \"~/src/org-mode/contrib/lisp\")(require 'htmlize) (setq c-standard

Re: [O] Exporting C++ code block to html

2013-09-28 Thread Achim Gratz
Am 27.09.2013 20:45, schrieb Xavier Garrido: emacs --batch -q --eval '(require (quote org))' --visit test.org \ --funcall org-html-export-to-html I get Loading vc-git... Loading cc-langs... Symbol's function definition is void: nil That's a bug in cc-mode (bug#14325) that has already been fixe

Re: [O] Exporting C++ code block to html

2013-09-28 Thread Eric Schulte
Xavier Garrido writes: > Dear Orgers, > > I face a problem when I want to 'html' export a pretty simple org file : > test.org contains the following lines > > #+BEGIN_SRC c++ > int j= 1; > #+END_SRC > > If I do > emacs --batch -q --eval '(require (quote org))' --visit test.org \ > --funcall org

[O] Exporting C++ code block to html

2013-09-27 Thread Xavier Garrido
Dear Orgers, I face a problem when I want to 'html' export a pretty simple org file : test.org contains the following lines #+BEGIN_SRC c++ int j= 1; #+END_SRC If I do emacs --batch -q --eval '(require (quote org))' --visit test.org \ --funcall org-html-export-to-html I get Loading vc-git.