From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: [bug] [new exporter] export of inline babel calls confused Date: Thu, 8 Nov 2012 09:45:57 +1030 Message-ID: <87wqxxqa1e.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWEqg-0003EH-Uq for emacs-orgmode@gnu.org; Wed, 07 Nov 2012 18:15:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TWEqf-000669-Tq for emacs-orgmode@gnu.org; Wed, 07 Nov 2012 18:15:54 -0500 Received: from co1ehsobe006.messaging.microsoft.com ([216.32.180.189]:19729 helo=co1outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWEqf-00065v-LV for emacs-orgmode@gnu.org; Wed, 07 Nov 2012 18:15:53 -0500 Received: from mail183-co1 (localhost [127.0.0.1]) by mail183-co1-R.bigfish.com (Postfix) with ESMTP id 2D2B9C400BB for ; Wed, 7 Nov 2012 23:15:51 +0000 (UTC) Received: from CO1EHSMHS011.bigfish.com (unknown [10.243.78.230]) by mail183-co1.bigfish.com (Postfix) with ESMTP id 9A4583A004D for ; Wed, 7 Nov 2012 23:15:49 +0000 (UTC) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: text/x-tex Content-Disposition: attachment; filename="examplebug.tex" % 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} --=-=-= Content-Type: text/org Content-Disposition: attachment; filename="examplebug.org" # -*- 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. --=-=-=--