emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: emacs-orgmode@gnu.org
Subject: [bug] [new exporter] export of inline babel calls confused
Date: Thu, 8 Nov 2012 09:45:57 +1030	[thread overview]
Message-ID: <87wqxxqa1e.fsf@ucl.ac.uk> (raw)

[-- Attachment #1: Type: text/plain, Size: 418 bytes --]

Hello,

in trying to see if I could replicate a problem with disappearing src
code blocks, I have run into problems with the new exporter.  The
attached minimal example generates a very strange convoluted latex
output (also attached).

The old exporter doesn't do a perfect job but comes a lot closer!

Thanks,
eric

-- 
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.2.50.1 and Org release_7.9.2-568-gc2ebee

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: examplebug.tex --]
[-- Type: text/x-tex, Size: 979 bytes --]

% Created 2012-11-08 Thu 09:43
\documentclass{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage[integrals]{wasysym}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\usepackage{xcolor}
\usepackage{listings}
\usepackage{amsmath}
\providecommand{\alert}[1]{\textbf{#1}}

\title{examplebug.org}
\author{Eric S Fraga}
\date{\today}
\hypersetup{
  pdfkeywords={},
  pdfsubject={},
  pdfcreator={Emacs Org-mode version 7.9.2}}

\begin{document}

\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}

\section{disappearing source code blocks}
\label{sec-1}

  The following source code block counts the number of files in the current directory.

\begin{verbatim}
   375
\end{verbatim}

  There are =375
= files in the directory.

\end{document}

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: examplebug.org --]
[-- Type: text/org, Size: 407 bytes --]

# -*- org-confirm-babel-evaluate: nil; -*-
#+TITLE:     examplebug.org
#+AUTHOR:    Eric S Fraga

* disappearing source code blocks
  The following source code block counts the number of files in the current directory.

  #+name: t1
  #+begin_src sh :exports results :results output
    # count the number of files in the directory
    ls | wc -l
  #+end_src

  There are call_t1() files in the directory.


             reply	other threads:[~2012-11-07 23:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-07 23:15 Eric S Fraga [this message]
2012-11-07 23:20 ` [bug] [new exporter] export of inline babel calls confused Eric S Fraga
2012-11-09  0:50 ` Nicolas Goaziou
2012-11-25  0:35 ` Nicolas Goaziou

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=87wqxxqa1e.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --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).