emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Austin Frank <austin.frank@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: possible latex export bug
Date: Tue, 14 Oct 2008 22:54:53 -0400	[thread overview]
Message-ID: <m04p3emute.fsf@gmail.com> (raw)
In-Reply-To: B558BEE5-CF77-4405-AD10-C5D6329DCFE1@uva.nl


[-- Attachment #1.1: Type: text/plain, Size: 1621 bytes --]

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

[-- Attachment #1.2: Type: application/pgp-signature, Size: 193 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

  reply	other threads:[~2008-10-15  2:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-02  9:15 possible latex export bug Austin Frank
2008-10-02 15:07 ` Manish
2008-10-10 21:13 ` Carsten Dominik
2008-10-13  3:56   ` Austin Frank
2008-10-14 18:46     ` Carsten Dominik
2008-10-15  2:54       ` Austin Frank [this message]
2008-10-15 11:06         ` Carsten Dominik

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=m04p3emute.fsf@gmail.com \
    --to=austin.frank@gmail.com \
    --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).