all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Francesco Pizzolante <fpz@missioncriticalit.com>
To: mailing-list-org-mode <emacs-orgmode@gnu.org>
Subject: Re: Export to LaTeX bug
Date: Tue, 14 Dec 2010 17:36:43 +0100	[thread overview]
Message-ID: <AANLkTikLHmU6Lf_nSgs+73K3j0+1tTHR4FeijRcnEQ-F@mail.gmail.com> (raw)
In-Reply-To: <877hfjhqua.fsf@mundaneum.com>

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

      reply	other threads:[~2010-12-14 16:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-09 16:07 Export to LaTeX bug Francesco Pizzolante
2010-12-14 16:36 ` Francesco Pizzolante [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikLHmU6Lf_nSgs+73K3j0+1tTHR4FeijRcnEQ-F@mail.gmail.com \
    --to=fpz@missioncriticalit.com \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.