[Top][All Lists]

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

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

From: Xavier Garrido
Subject: Re: [O] Exporting C++ code block to html
Date: Sat, 28 Sep 2013 17:53:05 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

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-font-lock-fontify-region-function 'font-lock-default-fontify-region))" --visit 
/tmp/cpp-test.org --funcall org-html-export-to-html

This works for me. I will use it until emacs trunk will become official release. Many thanks to both of you,



reply via email to

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