emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Re: customising org-latex-to-pdf-process for bibtex
Date: Tue, 01 Mar 2011 12:49:40 +0000	[thread overview]
Message-ID: <87d3mbf1jv.fsf@pinto.chemeng.ucl.ac.uk> (raw)
In-Reply-To: <B109C6AB-64E9-4ABB-B9CE-6AA3FA21B19D@gmail.com> (Carsten Dominik's message of "Tue, 1 Mar 2011 13:33:02 +0100")

Carsten Dominik <carsten.dominik@gmail.com> writes:

> Hi Eric,  Thomas,
>
> is there a problem in the default setup of LaTeX export that needs to be addressed?
>
> - Carsten

Not as such in the default.  

The issue arises when one wants to extend the defaults to include the
amsmath package.  This conflicts with the wasysym package included by
default by org.  Both packages define the =\iint= symbol and latex
doesn't allow for such clashes nicely.

The suggested fix is to use this magic (to me) code suggested by
Lawrence Mitchell earlier this year:

--8<---------------cut here---------------start------------->8---
;; to fix problems with amsmath conflicting with wasysym:
;;
;; From: Lawrence Mitchell <wence@gmx.li>
;; Subject: [Orgmode] Re: [bug] latex export ignores org-export-latex-default-packages-alist?
;; To: emacs-orgmode@gnu.org
;; Date: Wed, 26 Jan 2011 16:01:52 +0000
(add-to-list 'org-export-latex-packages-alist '("" "amsmath" t))
(setcar (rassoc '("wasysym" t) org-export-latex-default-packages-alist)	"integrals")
--8<---------------cut here---------------end--------------->8---

modifying, I guess, what is actually loaded from wasysym.  I've not
delved more into this but Lawrence may be able to help here?

Thanks,
eric
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.562.gc895)

  reply	other threads:[~2011-03-01 12:54 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-25 23:30 customising org-latex-to-pdf-process for bibtex suvayu ali
2011-02-26  0:23 ` Eric S Fraga
2011-02-26  2:18   ` Suvayu Ali
2011-02-28  9:23     ` Eric S Fraga
     [not found] ` <4DCBF55A-B3B5-4268-9456-3F2F7651581D@tsdye.com>
2011-02-26  2:10   ` Suvayu Ali
     [not found]     ` <192D7D99-6918-424A-A047-6D6D1C1AF1DA@tsdye.com>
2011-02-26  2:48       ` Suvayu Ali
2011-02-28 16:06     ` Eric S Fraga
2011-02-28 20:45       ` Suvayu Ali
2011-02-28 20:51         ` Suvayu Ali
2011-03-01  8:54           ` Eric S Fraga
2011-03-01  4:31         ` Thomas S. Dye
2011-03-01  8:52           ` Eric S Fraga
2011-03-01 12:26             ` Suvayu Ali
2011-03-01 12:51               ` Eric S Fraga
2011-03-01 18:43                 ` Suvayu Ali
2011-03-01 20:41                   ` Eric S Fraga
2011-03-01 21:32                     ` Suvayu Ali
2011-03-02  6:55                       ` Eric S Fraga
2011-03-01 12:33             ` Carsten Dominik
2011-03-01 12:49               ` Eric S Fraga [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-03-01 17:26 Thomas S. Dye
2011-03-01 18:45 ` Nick Dokos
2011-03-01 18:58 ` Carsten Dominik
2011-03-02  8:13   ` Ulf Stegemann

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87d3mbf1jv.fsf@pinto.chemeng.ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=carsten.dominik@gmail.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 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).