From mboxrd@z Thu Jan 1 00:00:00 1970 From: Austin Frank Subject: Re: possible latex export bug Date: Tue, 14 Oct 2008 22:54:53 -0400 Message-ID: References: <91445AC9-0690-4BE1-80FE-D078EBB234A0@uva.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1520789300==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpwXg-0005u2-J7 for emacs-orgmode@gnu.org; Tue, 14 Oct 2008 22:55:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpwXe-0005tq-1T for emacs-orgmode@gnu.org; Tue, 14 Oct 2008 22:55:19 -0400 Received: from [199.232.76.173] (port=36437 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpwXd-0005tn-Rh for emacs-orgmode@gnu.org; Tue, 14 Oct 2008 22:55:17 -0400 Received: from main.gmane.org ([80.91.229.2]:51208 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KpwXd-0005ix-Hj for emacs-orgmode@gnu.org; Tue, 14 Oct 2008 22:55:17 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KpwXY-00026D-3d for emacs-orgmode@gnu.org; Wed, 15 Oct 2008 02:55:12 +0000 Received: from cpe-74-69-93-157.rochester.res.rr.com ([74.69.93.157]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Oct 2008 02:55:12 +0000 Received: from austin.frank by cpe-74-69-93-157.rochester.res.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Oct 2008 02:55:12 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============1520789300== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= On Tue, Oct 14 2008, Carsten Dominik wrote: > Hi Austin, > > please give it another try, I think I have fixed this problem. > > - Carsten Carsten-- Very very close! As far as I can tell, there's just one bug left with the ordering of export operations. The problem is that a line within a #BEGIN/END_LATEX block that starts with a + is exported as belonging to an itemized list. My expectation is that no org formatting should be applied inside a block that's been declared with one of org-additional-option-like-keywords or org-edit-src-region-extra. Bug report follows. Thanks! /au Start emacs with emacs -Q evaluate (require 'org-install) open a new file in org mode, testing.org enter the following content: --8<---------------cut here---------------start------------->8--- * test #+BEGIN_LATEX \begin{verbatim} a <- + 3 \end{verbatim} #+END_LATEX --8<---------------cut here---------------end--------------->8--- execute org-export-as-latex get the following output --8<---------------cut here---------------start------------->8--- % Created 2008-10-14 Tue 22:46 \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{hyperref} \title{testing} \author{Austin Frank} \date{14 October 2008} \begin{document} \maketitle \setcounter{tocdepth}{3} \tableofcontents \section{test} \label{sec-1} \begin{verbatim} a <- \begin{itemize} \item 3 \end{itemize} \end{verbatim} \end{document} --8<---------------cut here---------------end--------------->8--- -- Austin Frank http://aufrank.net GPG Public Key (D7398C2F): http://aufrank.net/personal.asc --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iEYEARECAAYFAkj1W34ACgkQlHMl2/XbR4GXogCgnr0ATmlAdKeBAs5308iyrLwD EIsAoIDbisQ5l6Rr/VaI/R7I7wX6EWEC =K1gS -----END PGP SIGNATURE----- --=-=-=-- --===============1520789300== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1520789300==--