Re: [O] org export of source code indentation issue with 8 spaces

2016-06-06 Thread Dennis van Dok
On 06-06-16 18:16, Charles C. Berry wrote:

> You want `#+BEGIN_SRC sh -i' to preserve indentation. See:
> 
> (info "(org) Literal examples")

Indeed. I was looking at older docementation :-/

Thanks,

Dennis




[O] org export of source code indentation issue with 8 spaces

2016-06-06 Thread Dennis van Dok
Hi,

not sure what is causing this, but whenever I use source blocks
any indentation beyond 8 spaces seem to go wrong.

The most basic example:

#+BEGIN_SRC sh
  this
is
  indented
more and
  more
#+END_SRC

exporting to ASCII gets me

,
| this
|   is
| indented
|   more and
|   more
`

As you can see the last 'more' aligns with the one above in
the output.

Anyone else see this or is it just me?

Thanks,

Dennis
-- 
D.H. van Dok :: System administrator :: www.nikhef.nl/grid ::
Phone +31 20 592 22 28 :: http://www.nikhef.nl/~dennisvd/



Re: [O] bug with LaTeX exporter

2013-06-28 Thread Dennis van Dok
On 28-06-13 04:26, Nick Dokos wrote:
 Rasmus ras...@gmx.us writes:
 
 The old latex exporter was much more finicky about such structure
 violations: I tried 7.7 (and 7.9.4 to see if it was ever changed) and it
 does indeed eat the subsubsection.
 
 To solve your problem: 
  1. see if it works as expected with emacs -q.
  2. upgrade to the current release.

 
 2. is the only option.

I'm going to upgrade now. Thanks for the quick responses!

 
 Thanks for making such an awesome product,

 Org ain't a commodity.

 
 Indeed: it's a state of mind :-)

Thanks for making such an awesome state of mind!

;-)

Dennis




[O] bug with LaTeX exporter

2013-06-27 Thread Dennis van Dok
Hi,

I noticed a bug where a subsubsection without a 'parent' subsection
would migrate up into the previous section to end up under the nearest
subsection.

I tried to make a minimalistic example, but when I export this file to
LaTeX, the entire subsubsection disappears!

This is emacs24 on Debian Wheezy, org-mode version 7.7.

* Bug demonstration

  This short and simple file demonstrates a bug in org-mode with
  exporting to LaTeX.

** First Subsection

   This is a subsection.

* Header

  This is a section, number two in fact.

*** subsubsection

This is odd: the subsubsection is missing it's natural parent: a
subsection. Probably not what the author meant, but certainly this
should not just disappear (which is what happens).

* Another Header

  The third header.


Thanks for making such an awesome product,

Cheers,

Dennis van Dok

-- 
D.H. van Dok :: Software Engineer :: www.nikhef.nl/grid ::
Phone +31 20 592 22 28 :: http://www.nikhef.nl/~dennisvd/