emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Juan <Pechiar@computer.org>
To: Francis Moreau <francis.moro@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Literal examples and indentation
Date: Sun, 4 Jul 2010 18:41:07 -0300	[thread overview]
Message-ID: <20100704214107.GD5569@soloJazz.com> (raw)
In-Reply-To: <AANLkTilwWBdBBuPwqV0sVFbp5SbBOOq_WarbgdyVzcsW@mail.gmail.com> <20100701175155.GB5569@soloJazz.com>

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.

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 ?

  parent reply	other threads:[~2010-07-04 21:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-01  9:51 Literal examples and indentation Francis Moreau
2010-07-01 17:51 ` Juan
2010-07-02 21:22   ` Francis Moreau
2010-07-04 21:41   ` Juan [this message]
2010-07-06 11:46     ` Francis Moreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100704214107.GD5569@soloJazz.com \
    --to=pechiar@computer.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=francis.moro@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).