From: "Thomas S. Dye" <tsd@tsdye.com>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: Org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: customising org-latex-to-pdf-process for bibtex
Date: Mon, 28 Feb 2011 18:31:52 -1000 [thread overview]
Message-ID: <D63C1557-B7CC-4A5B-8021-A2B727015DF3@tsdye.com> (raw)
In-Reply-To: <20110228124536.6d142c10@bhishma.homelinux.net>
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
On Feb 28, 2011, at 10:45 AM, Suvayu Ali wrote:
> Hi Eric,
>
> On Mon, 28 Feb 2011 16:06:06 +0000
> Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
>
>> You could try creating a shell script (such as attached) which
>> invokes
>> both pdflatex and bibtex and tell org to use that command for
>> exporting to pdf instead. Then all the output should come out to the
>> screen.
>>
>> I've tried this and all the output (3 pdflatex and 1 bibtex
>> invocations) comes out into the =*Org PDF Latex Output*= buffer.
>>
>
> Thank you for this nice idea. I tried it, but every time I (without
> the
> -interaction nonstopmode option) the pdflatex process stops at this:
>
>> ! LaTeX Error: Command \iint already defined.
>> Or name \end... illegal, see p.192 of the manual.
>>
>> See the LaTeX manual or LaTeX Companion for explanation.
>> Type H <return> for immediate help.
>> ...
>>
>> l.506 ...d{\iint}{\DOTSI\protect\MultiIntegral{2}}
>>
>> ?
>> ! Emergency stop.
>> ...
>>
>> l.506 ...d{\iint}{\DOTSI\protect\MultiIntegral{2}}
>>
>> ! ==> Fatal error occurred, no output PDF file produced!
>> Transcript written on msthesis.log.
>
> The amsmath package is loaded before this.
>
> In my preamble in the org file I have the following LaTeX options:
>
>> #+LaTeX_HEADER: \usepackage{cancel}
>> #+LaTeX_HEADER: \usepackage{amsmath}
>> #+LaTeX_HEADER: \usepackage{mathtools}
>> #+LaTeX_HEADER: \numberwithin{equation}{section}
>> #+LaTeX_CLASS_OPTIONS: [colorlinks]
>> # #+LaTeX_HEADER: \definecolor{myblue}{rgb}{0.235,0.263,0.867}
>> # #+LaTeX_HEADER: \definecolor{mygreen}{rgb}{0.012,0.467,0.059}
>
> In the tex file this exports to:
>
>> % Created 2011-02-28 Mon 12:34
>> \documentclass[colorlinks]{article}
>> \usepackage[utf8]{inputenc}
>> \usepackage[T1]{fontenc}
>> \usepackage{fixltx2e}
>> \usepackage{graphicx}
>> \usepackage{longtable}
>> \usepackage{float}
>> \usepackage{wrapfig}
>> \usepackage{soul}
>> \usepackage{textcomp}
>> \usepackage{marvosym}
>> \usepackage{wasysym}
>> \usepackage{latexsym}
>> \usepackage{amssymb}
>> \usepackage{hyperref}
>> \tolerance=1000
>> \usepackage{cancel}
>> \usepackage{amsmath}
>> \usepackage{mathtools}
>> \numberwithin{equation}{section}
>> \providecommand{\alert}[1]{\textbf{#1}}
>
> At first I thought its a problem with the mathtools package, but
> removing it doesn't help either.
>
> Is this a problem with my Latex installation? I tried both my
> distribution provided texlive-2007 and texlive-2010 from the CTAN
> archives with the same result. If its a problem with my texlive
> installation, do you have any ideas where I can seek help? I'm rather
> pressed for time.
>
> Thanks a lot for being so patient. :)
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
next prev parent reply other threads:[~2011-03-01 4:32 UTC|newest]
Thread overview: 20+ 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 [this message]
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
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=D63C1557-B7CC-4A5B-8021-A2B727015DF3@tsdye.com \
--to=tsd@tsdye.com \
--cc=emacs-orgmode@gnu.org \
--cc=fatkasuvayu+linux@gmail.com \
/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).