From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: possible latex export bug Date: Wed, 15 Oct 2008 13:06:25 +0200 Message-ID: <62049D77-D6E6-4948-96DD-E329A0A3CDDC@uva.nl> References: <91445AC9-0690-4BE1-80FE-D078EBB234A0@uva.nl> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: multipart/mixed; boundary="===============1433624492==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kq4D1-00015w-ES for emacs-orgmode@gnu.org; Wed, 15 Oct 2008 07:06:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kq4D0-000151-IX for emacs-orgmode@gnu.org; Wed, 15 Oct 2008 07:06:31 -0400 Received: from [199.232.76.173] (port=33833 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kq4D0-00014k-Bi for emacs-orgmode@gnu.org; Wed, 15 Oct 2008 07:06:30 -0400 Received: from ug-out-1314.google.com ([66.249.92.169]:17985) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kq4Cz-00082b-NO for emacs-orgmode@gnu.org; Wed, 15 Oct 2008 07:06:30 -0400 Received: by ug-out-1314.google.com with SMTP id z36so1319312uge.17 for ; Wed, 15 Oct 2008 04:06:28 -0700 (PDT) In-Reply-To: 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: Austin Frank Cc: emacs-orgmode@gnu.org --===============1433624492== Content-Type: multipart/alternative; boundary=Apple-Mail-3-948450081 --Apple-Mail-3-948450081 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi Austin, this is now fixed as well. Thanks for the report. - Carsten On Oct 15, 2008, at 4:54 AM, Austin Frank wrote: > 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 > _______________________________________________ > 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 --Apple-Mail-3-948450081 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi = Austin,

this is now fixed as = well.

Thanks for the = report.

- Carsten

On = Oct 15, 2008, at 4:54 AM, Austin Frank wrote:

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]{inpute= nc}
\usepackage[T1]{fontenc}
\usepackage{hyperref}


\title= {testing}
\author{Austin Frank}
\date{14 October = 2008}

\begin{document}

\maketitle

\setcounter{tocdept= h}{3}
\tableofcontents


\section{test}
\label{sec-1}
\begin{verbatim}
a <-
\begin{itemize}
\item = 3
\end{itemize}

\end{verbatim}


\end{document}
--8&= lt;---------------cut = here---------------end--------------->8---


--
Austin = Frank
http://aufrank.net
GPG = Public Key (D7398C2F): = http://aufrank.net/personal.asc
_______________________________________= ________
Emacs-orgmode mailing list
Remember: use `Reply All' to = send replies to the = list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/em= acs-orgmode

= --Apple-Mail-3-948450081-- --===============1433624492== 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 --===============1433624492==--