From mboxrd@z Thu Jan 1 00:00:00 1970 From: Francesco Pizzolante Subject: Re: Export to LaTeX bug Date: Tue, 14 Dec 2010 17:36:43 +0100 Message-ID: References: <877hfjhqua.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from [140.186.70.92] (port=54349 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSXs9-0001gk-MC for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 11:37:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSXs8-0001Ah-Jo for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 11:37:05 -0500 Received: from mail-vw0-f41.google.com ([209.85.212.41]:35855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSXs8-0001Ab-GR for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 11:37:04 -0500 Received: by vws10 with SMTP id 10so299383vws.0 for ; Tue, 14 Dec 2010 08:37:03 -0800 (PST) In-Reply-To: <877hfjhqua.fsf@mundaneum.com> 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: mailing-list-org-mode Hi, Please ignore this thread. This problem was coming from a bug in my .emacs file. *I* was doing weird things with the org-export-latex-packages-alist variable: (add-to-list 'org-export-latex-packages-alist '(("T1" "fontenc") ("" "fixltx2e") ("" "graphicx") ("" "longtable") ("" "float") ("" "wrapfig") ("" "soul") ("" "t1enc") ("" "textcomp") ("" "marvosym") ("" "wasysym") ("" "latexsym") ("" "amssymb") ("" "hyperref") ("\\tolerance=1000")) t) I'm sorry for the inconvenience. Regards, Francesco > Exporting to LaTeX generates a weird a usepackage line (with fixltx2e). > > Here's a simple example: > > --8<---------------cut here---------------start------------->8--- > #+TITLE: Test export LaTeX > > * This is a simple test > --8<---------------cut here---------------end--------------->8--- > > Look at the 4th line of the resulting export: > > --8<---------------cut here---------------start------------->8--- > % Created 2010-12-09 Thu 17:04 > \documentclass[11pt]{article} > \usepackage[utf8x]{inputenc} > \usepackage[(T1 fontenc)]{( fixltx2e)} > \usepackage{listings} > \usepackage{xcolor} > \providecommand{\alert}[1]{\textbf{#1}} > \begin{document} > > > > \title{Test export \LaTeX{}} > \author{Francesco Pizzolante} > \date{09 December 2010} > \maketitle > > \setcounter{tocdepth}{3} > \tableofcontents > \vspace*{1cm} > > \section{This is a simple test} > \label{sec-1} > > \end{document} > --8<---------------cut here---------------end--------------->8--- > > Thanks, > F. > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > >