emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Daniel Schoepe <daniel@schoepe.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Comments break lists when exporting to TeX
Date: Wed, 23 May 2012 14:21:01 +0200	[thread overview]
Message-ID: <871umbcclu.fsf@gmail.com> (raw)
In-Reply-To: <87likkw3hh.fsf@schoepe.localhost> (Daniel Schoepe's message of "Tue, 22 May 2012 19:05:30 +0200")

Hello,

Daniel Schoepe <daniel@schoepe.org> writes:

> while trying to include a source file in a list element via #+INCLUDE, I
> discovered the following behavior: A comment between two list elements breaks
> the list into two lists when exporting. For example:
>
> * Test
>   - This is a list element.
> # This isn't.
>   - This is another list element.

At the moment you insert text at column 0, the list ends.  You can use
inline comments (i.e. #+ This isn't) instead.

> I think it makes sense for comments to have no effect on this (i.e. it
> should behave the same during export as if it wasn't there), so I
> consider this a bug.

I do not. Export is consistent with in-buffer behaviour. You have
created two lists here, not one, and it has nothing to do with export.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2012-05-23 12:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-22 17:05 Comments break lists when exporting to TeX Daniel Schoepe
2012-05-23 12:21 ` Nicolas Goaziou [this message]
2012-05-23 12:43   ` Daniel Schoepe
2012-05-23 13:51     ` Nicolas Goaziou

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=871umbcclu.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=daniel@schoepe.org \
    --cc=emacs-orgmode@gnu.org \
    /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).