emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Export to LaTeX bug
@ 2010-12-09 16:07 Francesco Pizzolante
  2010-12-14 16:36 ` Francesco Pizzolante
  0 siblings, 1 reply; 2+ messages in thread
From: Francesco Pizzolante @ 2010-12-09 16:07 UTC (permalink / raw)
  To: mailing-list-org-mode

Hi,

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-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Export to LaTeX bug
  2010-12-09 16:07 Export to LaTeX bug Francesco Pizzolante
@ 2010-12-14 16:36 ` Francesco Pizzolante
  0 siblings, 0 replies; 2+ messages in thread
From: Francesco Pizzolante @ 2010-12-14 16:36 UTC (permalink / raw)
  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
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-14 16:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-09 16:07 Export to LaTeX bug Francesco Pizzolante
2010-12-14 16:36 ` Francesco Pizzolante

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).