emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Export to LaTeX bug


From: Francesco Pizzolante
Subject: Re: [Orgmode] Export to LaTeX bug
Date: Tue, 14 Dec 2010 17:36:43 +0100

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.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]