From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Schoepe Subject: Comments break lists when exporting to TeX Date: Tue, 22 May 2012 19:05:30 +0200 Message-ID: <87likkw3hh.fsf@schoepe.localhost> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SWsWt-0002hS-Qv for emacs-orgmode@gnu.org; Tue, 22 May 2012 13:05:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SWsWr-00084a-9U for emacs-orgmode@gnu.org; Tue, 22 May 2012 13:05:51 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:45001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SWsWq-00082s-W8 for emacs-orgmode@gnu.org; Tue, 22 May 2012 13:05:49 -0400 Received: by wibhm14 with SMTP id hm14so2730973wib.12 for ; Tue, 22 May 2012 10:05:42 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Hi, 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. Becomes after exporting to .tex: .. \begin{itemize} \item This is a list element. \end{itemize} \begin{itemize} \item This is another list element. \end{itemize} .. 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. This has the unfortunate side effect of no longer being able to include a source file using #+INCLUDE while preserving its indentation in the resulting PDF (as using #+BEGIN_SRC .. #+END_SRC would). Cheers, Daniel --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJPu8daAAoJEIaTAtce+Z+JrpoP/2qGJWnN+r1tOoeR6bdNeIJL 8CFIMeSajKhiO141O0A2OhB909Q+rJ81c1ri/UJci8/UCgHOqDG08eBxq8yGsJWa 1Afxedu7NvO2Sh3HORhgFugn31zgpf4M235QE8HLjr6vjcbG41imI7ZAabjZTPzr YNIgaJ/LDKJjd21DbYbeEOLtNpRYqac0HXkyXe9nWIAkX7mEqMF0y9GPQrcUlhLW XXhsf28POWy1NqHzqyg96GTJbolPJfqh5Gv8VKxx6C+M7t9YPs34QKfS3Tx9OAmI 236WLdOVDxDtDbohBxEb1KMySo2kZ4AM576Ir7N2RDVgXt6xn6HE+t1eV1arFOAD 6LGoOYsQlOTyZtLv1KnPx/XQ47gIfNYu4mC8qn2d4cLd8ahDk1Zz9lub/80G84UR MvIN604kXBevYAaVn9esxcgs2Lla3vdNibHtXqZIoeqr3Dk/OSOfPefijG98Bp7V zb4rmtXUOS2U5PHdA067j/vIvyGZ/jkK3aYyxqbtOjOteDZ/+whyL4hTNe10E0Pt nRzkwmTlmL4/b7OMV8ECPYfcG7kCqC+XhWZQjCei7SsdDgDpWiUOhbXMKGBVkDkI wlDjW6SvTdXsjjAhteJFH815PHeM6yighV6lLg0FEI6IqlImnj791l/NWendxrrE kgq4hAFr3QbEWLKYJirN =dGvt -----END PGP SIGNATURE----- --=-=-=--