Re: [O] Incomplete syntax highlight for C++ code

2012-02-19 Thread Zhiqiu Kong
Hi Eric, Thank you so much for your reply and helpful suggestions. I looked into the source of org-mode but as I am not familiar with elisp, I failed to get it. Then I tried to not load my customized settings and tried org-mode export again. And finally I found out it was due to another .el I load

Re: [O] Incomplete syntax highlight for C++ code

2012-02-18 Thread Eric Schulte
Hi Zhiqiu, First, I would look at the actual text of the exported html code example. It likely contains css code specifying how to fontify many elements of the code block (e.g., on my system your example exports to the following html [1]). You can then add css to your org-mode file specifying wh

[O] Incomplete syntax highlight for C++ code

2012-02-14 Thread Zhiqiu Kong
Hi, I am a new org-mode user and am trying to take notes with it. As I put source code into my codes a lot, I love the integration with htmlize pretty much. However, I found the syntax highlight on exported html file is not as what I see in Emacs. To be more specific, only comments and string lit