From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: Aditya Mandayam <adityams@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: References in Latex
Date: Tue, 26 Jul 2011 04:01:35 +0200 [thread overview]
Message-ID: <CAMXnza1Kg+9KB-4vmO5kF-EpNNqDH30CE+Uq63gvXRFBwJTDnQ@mail.gmail.com> (raw)
In-Reply-To: <CABiTF5OJ-e3TBJHZn6RZ_AWWCkA574W7kr8DuzxkLsQA2QL6bw@mail.gmail.com>
On Tue, Jul 26, 2011 at 3:33 AM, Aditya Mandayam <adityams@gmail.com> wrote:
>> Internal references (using \ref{..}) (e.g. to figures, tables,
>> equations) are shown just fine here. Whereas for external citations
>> (using \cite{..}), it is customary to list them in a bibliography. You
>> need to use the bibtex command to achieve that.
>>
>
> does this mean running bibtex on the tex file again?
>
> incidentally, i used to run rubber with xelatex using the following
> commented line at the top of my tex files:
>
> % rubber: set program xelatex
>
> now, upon looking at the tex file generated by org, i added the above
> line and ran rubber again on the tex file, and the bibliography came
> out just fine.
>
> is this expected? to massage the tex generated by org? or am i seeing
> it wrong and it is assumed that i have a tex file in the first place?
>
You need to customise org-latex-to-pdf-process.
This is what I use:
(setq org-latex-to-pdf-process
'("pdflatex -interaction nonstopmode %b"
"/usr/bin/bibtex %b"
"pdflatex -interaction nonstopmode %b"
"pdflatex -interaction nonstopmode %b"))
--
Suvayu
Open source is the future. It sets us free.
next prev parent reply other threads:[~2011-07-26 2:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-26 0:56 References in Latex Aditya Mandayam
2011-07-26 1:24 ` suvayu ali
2011-07-26 1:33 ` Aditya Mandayam
2011-07-26 2:01 ` suvayu ali [this message]
2011-07-26 2:58 ` Nick Dokos
2011-07-26 10:51 ` Aditya Mandayam
2011-07-26 11:44 ` suvayu ali
2011-07-26 18:15 ` Aditya Mandayam
2011-07-26 18:42 ` Jambunathan K
2011-07-26 18:56 ` Aditya Mandayam
2011-07-26 19:11 ` Christian Moe
2011-07-26 19:45 ` Aditya Mandayam
2011-07-26 19:59 ` suvayu ali
2011-07-26 20:43 ` Aditya Mandayam
2011-07-26 21:24 ` suvayu ali
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=CAMXnza1Kg+9KB-4vmO5kF-EpNNqDH30CE+Uq63gvXRFBwJTDnQ@mail.gmail.com \
--to=fatkasuvayu+linux@gmail.com \
--cc=adityams@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).