Re: [Orgmode] Literal examples and indentation
On Sun, Jul 4, 2010 at 11:41 PM, Juan pech...@computer.org wrote: For ASCII export, the 2 leading spaces are hard-coded in org-ex.el line 2292: (lambda (l) (concat l)) You'll need to tinker inside the code in order to change the indentation. Ok, so the answer of my initial question is no. That's a bit sad because, IMHO, this could a little be smarter than this. For example if the line to indent is an empty one, then don't insert indentation, or if the text is already indented then indent with respect of the current indentation, etc... Bye, -- Francis ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Literal examples and indentation
For ASCII export, the 2 leading spaces are hard-coded in org-ex.el line 2292: (lambda (l) (concatl)) You'll need to tinker inside the code in order to change the indentation. Regards, .j. On Fri, Jul 02, 2010 at 11:22:47PM +0200, Francis Moreau wrote: To ASCII On Thu, Jul 01, 2010 at 02:51:55PM -0300, Juan wrote: How are you 'rendering'? To HTML, PDF, ASCII? On Thu, Jul 01, 2010 at 11:51:39AM +0200, Francis Moreau wrote: When I include literate example like this: #+BEGIN_EXAMPLE Some example from a text file. #+END_EXAMPLE The example is indented with 2 spaces when rendered. Is there any ways to customise the size of the indentation ? ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Literal examples and indentation
Hello, On Thu, Jul 1, 2010 at 7:51 PM, Juan pech...@computer.org wrote: How are you 'rendering'? To HTML, PDF, ASCII? To ASCII -- Francis ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Literal examples and indentation
Hello, When I include literate example like this: #+BEGIN_EXAMPLE Some example from a text file. #+END_EXAMPLE The example is indented with 2 spaces when rendered. Is there any ways to customise the size of the indentation ? Thanks -- Francis ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Literal examples and indentation
Francis, How are you 'rendering'? To HTML, PDF, ASCII? Regards, .j. On Thu, Jul 01, 2010 at 11:51:39AM +0200, Francis Moreau wrote: When I include literate example like this: #+BEGIN_EXAMPLE Some example from a text file. #+END_EXAMPLE The example is indented with 2 spaces when rendered. Is there any ways to customise the size of the indentation ? ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode