From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: possible latex export bug Date: Tue, 14 Oct 2008 20:46:20 +0200 Message-ID: References: <91445AC9-0690-4BE1-80FE-D078EBB234A0@uva.nl> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: multipart/mixed; boundary="===============1349955511==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kpouf-00004x-Ju for emacs-orgmode@gnu.org; Tue, 14 Oct 2008 14:46:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kpoue-0008Vc-9g for emacs-orgmode@gnu.org; Tue, 14 Oct 2008 14:46:32 -0400 Received: from [199.232.76.173] (port=55984 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kpoud-0008VB-SS for emacs-orgmode@gnu.org; Tue, 14 Oct 2008 14:46:31 -0400 Received: from nf-out-0910.google.com ([64.233.182.184]:18608) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kpouc-000510-OW for emacs-orgmode@gnu.org; Tue, 14 Oct 2008 14:46:31 -0400 Received: by nf-out-0910.google.com with SMTP id c7so1127862nfi.26 for ; Tue, 14 Oct 2008 11:46:24 -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 --===============1349955511== Content-Type: multipart/alternative; boundary=Apple-Mail-2-889644374 --Apple-Mail-2-889644374 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi Austin, please give it another try, I think I have fixed this problem. - Carsten On Oct 13, 2008, at 5:56 AM, Austin Frank wrote: > On Fri, Oct 10 2008, Carsten Dominik wrote: > >> I believe this bug has been fixed recently by Bastien. Could you >> please check and confirm that this is the case? > > Carsten and Bastien-- > > I still get this behavior. To reproduce > > 1. Start emacs with emacs -Q > 2. Evaluate the line > > (require 'org-install) > > 3. Open a new file, tesing.org. Execute M-x org-mode. > 4. Put the following content in testing.org > > --8<---------------cut here---------------start------------->8--- > > * test > #+BEGIN_LATEX > \begin{verbatim} > a <- 3 > \end{verbatim} > #+END_LATEX > --8<---------------cut here---------------end--------------->8--- > > 5. Execute org-export-as-latex by C-c C-e l > 6. Output is > > --8<---------------cut here---------------start------------->8--- > % Created 2008-10-12 Sun 23:43 > \documentclass[11pt,a4paper]{article} > \usepackage[utf8]{inputenc} > \usepackage[T1]{fontenc} > \usepackage{hyperref} > > > \title{testing} > \author{Austin Frank} > \date{12 October 2008} > > \begin{document} > > \maketitle > > \setcounter{tocdepth}{3} > \tableofcontents > > > \section{test} > \label{sec-1} > > \begin{verbatim} > a <- 3 > \end{verbatim} > #+END_LATEX > > > \end{document} > --8<---------------cut here---------------end--------------->8--- > > > I also am seeing that file-local variables at the bottom of the file > are > still exported into the latex. For now I'm assuming that it's the > same > bug, but if the #+END_LATEX bug gets fixed and the other persists, > I'll > file another report :) > > Org-mode version 6.09a > GNU Emacs 23.0.60.1 (powerpc-apple-darwin8.11.0, *Step 9.0) of > 2008-10-12 > > Just to be sure, I also ran > > git diff origin lisp/org-exp.el > git diff origin lisp/org-export.el > > and found no differences between my local copy and the copy in the > origin repository. I think that's the right way to check, but feel > free > to correct me if I'm comparing things incorrectly. > > Thanks, > /au > > -- > 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-2-889644374 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi = Austin,

please give it another try, I think I have = fixed this problem.

- = Carsten

On Oct 13, 2008, at 5:56 AM, Austin = Frank wrote:

On Fri, Oct 10 2008, Carsten Dominik = wrote:

I believe this bug has been = fixed recently by Bastien.  Could you
please check and confirm that this is the = case?

Carsten and Bastien--

I still get this = behavior.  To reproduce

1.  Start emacs with emacs = -Q
2.  Evaluate the line

 (require = 'org-install)

3.  Open a new file, tesing.org.  Execute = M-x org-mode.
4.  Put the following content in = testing.org

--8<---------------cut = here---------------start------------->8---

* = test
#+BEGIN_LATEX
\begin{verbatim}
a <- = 3
\end{verbatim}
#+END_LATEX
--8<---------------cut = here---------------end--------------->8---

5.  Execute = org-export-as-latex by C-c C-e l
6.  Output = is

--8<---------------cut = here---------------start------------->8---
% Created 2008-10-12 Sun = 23:43
\documentclass[11pt,a4paper]{article}
\usepackage[utf8]{inpute= nc}
\usepackage[T1]{fontenc}
\usepackage{hyperref}


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

\begin{document}

\maketitle

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


\section{test}
\label{sec-1}
\begin{verbatim}
a <- = 3
\end{verbatim}
#+END_LATEX


\end{document}
--8<---= ------------cut here---------------end--------------->8---


I = also am seeing that file-local variables at the bottom of the file = are
still exported into the latex.  For now I'm assuming that = it's the same
bug, but if the #+END_LATEX bug gets fixed and the = other persists, I'll
file another report :)

Org-mode version = 6.09a
GNU Emacs 23.0.60.1 (powerpc-apple-darwin8.11.0, *Step 9.0) = of
2008-10-12

Just to be sure, I also ran

 git = diff origin lisp/org-exp.el
 git diff origin = lisp/org-export.el

and found no differences between my local copy = and the copy in the
origin repository.  I think that's the right = way to check, but feel free
to correct me if I'm comparing things = incorrectly.

Thanks,
/au

--
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-2-889644374-- --===============1349955511== 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 --===============1349955511==--