* Re: Re: customising org-latex-to-pdf-process for bibtex
2011-03-01 8:52 ` Eric S Fraga
@ 2011-03-01 12:33 ` Carsten Dominik
2011-03-01 12:49 ` Eric S Fraga
0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2011-03-01 12:33 UTC (permalink / raw)
To: Eric S Fraga; +Cc: Org-mode mailing list
Hi Eric, Thomas,
is there a problem in the default setup of LaTeX export that needs to be addressed?
- Carsten
On Mar 1, 2011, at 9:52 AM, Eric S Fraga wrote:
> "Thomas S. Dye" <tsd@tsdye.com> writes:
>
>> Aloha Suvayu,
>>
>> I haven't looked into this in depth, but I think your problem might
>> come from loading amssymb and amsmath. LaTeX is complaining that
>> something is already defined; the AMS packages are a prime suspect
>> here. Perhaps you could inhibit amssymb?
>>
>> All the best,
>> Tom
>
> Suvayu,
>
> I think this is indeed the problem. I had this problem a month or so
> ago (search the mailing list!). My solution is to add this to my
> .emacs:
>
> --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---
>
> --
> : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
> : using Org-mode version 7.4 (release_7.4.555.gfcf66)
>
> _______________________________________________
> 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
- Carsten
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re: customising org-latex-to-pdf-process for bibtex
2011-03-01 12:33 ` Carsten Dominik
@ 2011-03-01 12:49 ` Eric S Fraga
0 siblings, 0 replies; 6+ messages in thread
From: Eric S Fraga @ 2011-03-01 12:49 UTC (permalink / raw)
To: Carsten Dominik; +Cc: Org-mode mailing list
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)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re: customising org-latex-to-pdf-process for bibtex
@ 2011-03-01 17:26 Thomas S. Dye
2011-03-01 18:45 ` Nick Dokos
2011-03-01 18:58 ` Carsten Dominik
0 siblings, 2 replies; 6+ messages in thread
From: Thomas S. Dye @ 2011-03-01 17:26 UTC (permalink / raw)
To: carsten.dominik; +Cc: Org-mode mailing list
[-- Attachment #1.1: Type: text/plain, Size: 523 bytes --]
Aloha Carsten,
Does Org-mode use the wasysym package for its integral symbols? If
not, potential clashes with the amsmath package could be avoided by
loading it with the nointegrals option: \loadpackage[nointegrals]
{wasysym}. This is a fairly standard way to load wasysym (which I
should have recalled for Suvayu's recent problem, thanks Eric for
remembering).
All the best,
Tom
> Hi Eric, Thomas,
>
> is there a problem in the default setup of LaTeX export that needs
> to be
> addressed?
>
> - Carsten
[-- Attachment #1.2: Type: text/html, Size: 992 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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] 6+ messages in thread
* Re: Re: customising org-latex-to-pdf-process for bibtex
2011-03-01 17:26 Re: customising org-latex-to-pdf-process for bibtex Thomas S. Dye
@ 2011-03-01 18:45 ` Nick Dokos
2011-03-01 18:58 ` Carsten Dominik
1 sibling, 0 replies; 6+ messages in thread
From: Nick Dokos @ 2011-03-01 18:45 UTC (permalink / raw)
To: Thomas S. Dye; +Cc: nicholas.dokos, Org-mode mailing list, carsten.dominik
Thomas S. Dye <tsd@tsdye.com> wrote:
>
> Does Org-mode use the wasysym package for its integral symbols? If
> not, potential clashes with the amsmath package could be avoided by
> loading it with the nointegrals option: \loadpackage
> [nointegrals]{wasysym}. This is a fairly standard way to load wasysym
> (which I should have recalled for Suvayu's recent problem, thanks Eric
> for remembering).
>
That's very nice - thanks! I believe wasysym was introduced for its misc
symbols, not the integrals - if one needs integrals, then presumably
amsmath is the way to go, so [nointegrals] looks indeed like the right
way to go.
Nick
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re: customising org-latex-to-pdf-process for bibtex
2011-03-01 17:26 Re: customising org-latex-to-pdf-process for bibtex Thomas S. Dye
2011-03-01 18:45 ` Nick Dokos
@ 2011-03-01 18:58 ` Carsten Dominik
2011-03-02 8:13 ` Ulf Stegemann
1 sibling, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2011-03-01 18:58 UTC (permalink / raw)
To: Thomas S. Dye; +Cc: Ulf Stegemann, Org-mode mailing list
On 1.3.2011, at 18:26, Thomas S. Dye wrote:
> Aloha Carsten,
>
> Does Org-mode use the wasysym package for its integral symbols? If not, potential clashes with the amsmath package could be avoided by loading it with the nointegrals option: \loadpackage[nointegrals]{wasysym}. This is a fairly standard way to load wasysym (which I should have recalled for Suvayu's recent problem, thanks Eric for remembering).
Sounds good to me, but this is a question to Ulf Stegemann who
implemented many special characters in Org and who likely has an opinion on this.
- Carsten
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re: customising org-latex-to-pdf-process for bibtex
2011-03-01 18:58 ` Carsten Dominik
@ 2011-03-02 8:13 ` Ulf Stegemann
0 siblings, 0 replies; 6+ messages in thread
From: Ulf Stegemann @ 2011-03-02 8:13 UTC (permalink / raw)
To: emacs-orgmode
Carsten Dominik <carsten.dominik@gmail.com> wrote:
> On 1.3.2011, at 18:26, Thomas S. Dye wrote:
>
>> Does Org-mode use the wasysym package for its integral symbols? If
>> not, potential clashes with the amsmath package could be avoided by
>> loading it with the nointegrals option:
>> \loadpackage[nointegrals]{wasysym}. This is a fairly standard way to
>> load wasysym (which I should have recalled for Suvayu's recent
>> problem, thanks Eric for remembering).
>
> Sounds good to me, but this is a question to Ulf Stegemann who
> implemented many special characters in Org and who likely has an
> opinion on this.
AFAIR, wasysym was introduced because of the smileys it provides. As
none of wasysym's integrals symbols is used by org-entities it's
okay to load the package with the `nointegrals' option.
Ulf
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-03-02 8:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-01 17:26 Re: customising org-latex-to-pdf-process for bibtex Thomas S. Dye
2011-03-01 18:45 ` Nick Dokos
2011-03-01 18:58 ` Carsten Dominik
2011-03-02 8:13 ` Ulf Stegemann
-- strict thread matches above, loose matches on Subject: below --
2011-02-25 23:30 suvayu ali
[not found] ` <4DCBF55A-B3B5-4268-9456-3F2F7651581D@tsdye.com>
2011-02-26 2:10 ` Suvayu Ali
2011-02-28 16:06 ` Eric S Fraga
2011-02-28 20:45 ` Suvayu Ali
2011-03-01 4:31 ` Thomas S. Dye
2011-03-01 8:52 ` Eric S Fraga
2011-03-01 12:33 ` Carsten Dominik
2011-03-01 12:49 ` Eric S Fraga
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).