Nishiyama Nobuyuki <nishiy...@target-ent.com> writes:

> Dear org-mode team.
>
> Hi
>
> org-mode is gread major mode in my emacs life.
>
> But, If this org-file is export to HTML, an indent will collapse. 
>
> I wish keep indents...
>

I cannot reproduce it: the two code blocks render identically in my
test. What does the resulting HTML file look like?

Nick

Org-mode version 8.2.3a (release_8.2.3a-195-ge4984e @
/home/nick/elisp/org-mode/lisp/)

> Best regards.
>
>
> test.org
>
> * Sample A
>
> #+BEGIN_SRC C++
>
> #include "Eigen/Core"
>
> // Good layout.
> // The indent is maintained. 
> int main() {
>   Eigen::Matrix3i m;
>   m << 1, 2, 3,
>        4, 5, 6,
>        7, 8, 9;
> }
>
> #+END_SRC
>
> * Sample B
>
> #+BEGIN_SRC C++
>
> #include "Eigen/Core"
>
> // Bad layout.
> // The indent has collapsed. 
> int main() {
>   Eigen::Matrix3i m1;
>   m1 << 1, 2, 3,
>         4, 5, 6,
>         7, 8, 9;
> }
>
> #+END_SRC
>


Reply via email to