emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Aditya Mandayam <adityams@gmail.com>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org
Subject: Re: References in Latex
Date: Tue, 26 Jul 2011 06:51:35 -0400	[thread overview]
Message-ID: <CABiTF5PjB6FRGZyh0Tev9GRMXDEGtqaBajx0nUd4ERCg+Y-7DQ@mail.gmail.com> (raw)
In-Reply-To: <4423.1311649085@alphaville.dokosmarshall.org>

ok. after reading dye's page and the linked article for xetex:
http://emacs-fu.blogspot.com/2011/04/nice-looking-pdfs-with-org-mode-and.html

i seem to have rubber working.

however, do take a look at the resulting pdf: http://i.imgur.com/YvUKo.png

as you can see, none of the citations after the first citation show up
as sidenotes (i am using the tufte-handout document class).

further, in the section titled "references", only the first citation shows up.

the following is in my .emacs:

(require 'org-latex)
(unless (boundp 'org-export-latex-classes)
(setq org-export-latex-classes nil))
(add-to-list 'org-export-latex-classes
             `("handout"

"\% rubber: set program xelatex
\\documentclass{tufte-handout}
\\usepackage{amsmath}
\\usepackage{graphicx}
\\usepackage{booktabs}
\\usepackage{units}
\\usepackage{multicol}
\\usepackage{fontspec,xltxtra,xunicode}
\\defaultfontfeatures{Mapping=tex-text}
\\setromanfont[Mapping=tex-text]{Bauer Bodoni Std 1 Roman}
"

("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")

))

and

(defun org-mode-reftex-setup ()
(load-library "reftex")
(and (buffer-file-name)
(file-exists-p (buffer-file-name))
(reftex-parse-all))
(define-key org-mode-map (kbd "C-c c") 'reftex-citation)
)
(add-hook 'org-mode-hook 'org-mode-reftex-setup)

(setq org-latex-to-pdf-process
  '("rubber -sd %b")
)

any thoughts?
On Mon, Jul 25, 2011 at 10:58 PM, Nick Dokos <nicholas.dokos@hp.com> wrote:
> Aditya Mandayam <adityams@gmail.com> wrote:
>
>
>> So when exporting from .org to LaTeX-PDF, I would like the references
>> to show up at the bottom. This does not happen currently. Why is it
>> so?
>>
>> PS: Gleaned from
>> http://tincman.wordpress.com/2011/01/04/research-paper-management-with-emacs-org-mode-and-reftex/
>>
>> PPS: I am using the tufte-handout document class. On changing this to
>> the default article class, the references still do not show up.
>>
>
> The first thing to do is to read Tom Dye's excellent LaTeX export
> tutorial:
>
>        http://orgmode.org/worg/org-tutorials/org-latex-export.html
>
> If you still have problems after that, the second thing to do is
> to post here an example of what you are trying to do: a small org
> file, what happens to it on latex export and what you would like
> to happen.
>
> Nick
>

  reply	other threads:[~2011-07-26 10:52 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
2011-07-26  2:58 ` Nick Dokos
2011-07-26 10:51   ` Aditya Mandayam [this message]
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=CABiTF5PjB6FRGZyh0Tev9GRMXDEGtqaBajx0nUd4ERCg+Y-7DQ@mail.gmail.com \
    --to=adityams@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.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).