emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* References in Latex
@ 2011-07-26  0:56 Aditya Mandayam
  2011-07-26  1:24 ` suvayu ali
  2011-07-26  2:58 ` Nick Dokos
  0 siblings, 2 replies; 15+ messages in thread
From: Aditya Mandayam @ 2011-07-26  0:56 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

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.

A

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: References in Latex
  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:58 ` Nick Dokos
  1 sibling, 1 reply; 15+ messages in thread
From: suvayu ali @ 2011-07-26  1:24 UTC (permalink / raw)
  To: Aditya Mandayam; +Cc: emacs-orgmode

Hi Aditya,

On Tue, Jul 26, 2011 at 2:56 AM, Aditya Mandayam <adityams@gmail.com> wrote:
> Hello,
>
> 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?
>

When you say references, do you mean references within the document or
citations to external sources? And when you say bottom, do you mean at
the end of the document or as a footnote?

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.

> PS: Gleaned from
> http://tincman.wordpress.com/2011/01/04/research-paper-management-with-emacs-org-mode-and-reftex/
>

That article is rather old. Everything might not work as described.

> A
>
>

Hope my comments help.

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: References in Latex
  2011-07-26  1:24 ` suvayu ali
@ 2011-07-26  1:33   ` Aditya Mandayam
  2011-07-26  2:01     ` suvayu ali
  0 siblings, 1 reply; 15+ messages in thread
From: Aditya Mandayam @ 2011-07-26  1:33 UTC (permalink / raw)
  To: suvayu ali; +Cc: emacs-orgmode

On Mon, Jul 25, 2011 at 9:24 PM, suvayu ali <fatkasuvayu+linux@gmail.com> wrote:
> Hi Aditya,
>
> On Tue, Jul 26, 2011 at 2:56 AM, Aditya Mandayam <adityams@gmail.com> wrote:
>> Hello,
>>
>> 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?
>>
>
> When you say references, do you mean references within the document or
> citations to external sources? And when you say bottom, do you mean at
> the end of the document or as a footnote?
>
I mean citations to external sources (papers, web pages etc) at the
end of the document.

> 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?

>> PS: Gleaned from
>> http://tincman.wordpress.com/2011/01/04/research-paper-management-with-emacs-org-mode-and-reftex/
>>
>
> That article is rather old. Everything might not work as described.
>
>> A
>>
>>
>
> Hope my comments help.
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: References in Latex
  2011-07-26  1:33   ` Aditya Mandayam
@ 2011-07-26  2:01     ` suvayu ali
  0 siblings, 0 replies; 15+ messages in thread
From: suvayu ali @ 2011-07-26  2:01 UTC (permalink / raw)
  To: Aditya Mandayam; +Cc: emacs-orgmode

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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: References in Latex
  2011-07-26  0:56 References in Latex Aditya Mandayam
  2011-07-26  1:24 ` suvayu ali
@ 2011-07-26  2:58 ` Nick Dokos
  2011-07-26 10:51   ` Aditya Mandayam
  1 sibling, 1 reply; 15+ messages in thread
From: Nick Dokos @ 2011-07-26  2:58 UTC (permalink / raw)
  To: Aditya Mandayam; +Cc: nicholas.dokos, emacs-orgmode

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: References in Latex
  2011-07-26  2:58 ` Nick Dokos
@ 2011-07-26 10:51   ` Aditya Mandayam
  2011-07-26 11:44     ` suvayu ali
  0 siblings, 1 reply; 15+ messages in thread
From: Aditya Mandayam @ 2011-07-26 10:51 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs-orgmode

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
>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: References in Latex
  2011-07-26 10:51   ` Aditya Mandayam
@ 2011-07-26 11:44     ` suvayu ali
  2011-07-26 18:15       ` Aditya Mandayam
  0 siblings, 1 reply; 15+ messages in thread
From: suvayu ali @ 2011-07-26 11:44 UTC (permalink / raw)
  To: Aditya Mandayam; +Cc: nicholas.dokos, emacs-orgmode

Hi Aditya,

On Tue, Jul 26, 2011 at 12:51 PM, Aditya Mandayam <adityams@gmail.com> wrote:
> as you can see, none of the citations after the first citation show up
> as sidenotes (i am using the tufte-handout document class).
>

Without looking at the original org file or the exported tex file it
is difficult for us to know what you are expecting. As Nick mentioned
earlier, if things don't work please provide us with a _minimal_
example org file which others can use to test on a minimal org setup.
"Help us help you" is the guiding phrase here. :)

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: References in Latex
  2011-07-26 11:44     ` suvayu ali
@ 2011-07-26 18:15       ` Aditya Mandayam
  2011-07-26 18:42         ` Jambunathan K
  2011-07-26 19:59         ` suvayu ali
  0 siblings, 2 replies; 15+ messages in thread
From: Aditya Mandayam @ 2011-07-26 18:15 UTC (permalink / raw)
  To: suvayu ali; +Cc: nicholas.dokos, emacs-orgmode

indeed. here are the files:

the .org file: http://pastebin.com/xjLFncFW

the relevant parts of my .emacs: http://pastebin.com/c4cPM6fQ

do let me know,

thank you

-a

On Tue, Jul 26, 2011 at 7:44 AM, suvayu ali <fatkasuvayu+linux@gmail.com> wrote:
> Hi Aditya,
>
> On Tue, Jul 26, 2011 at 12:51 PM, Aditya Mandayam <adityams@gmail.com> wrote:
>> as you can see, none of the citations after the first citation show up
>> as sidenotes (i am using the tufte-handout document class).
>>
>
> Without looking at the original org file or the exported tex file it
> is difficult for us to know what you are expecting. As Nick mentioned
> earlier, if things don't work please provide us with a _minimal_
> example org file which others can use to test on a minimal org setup.
> "Help us help you" is the guiding phrase here. :)
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: References in Latex
  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:59         ` suvayu ali
  1 sibling, 1 reply; 15+ messages in thread
From: Jambunathan K @ 2011-07-26 18:42 UTC (permalink / raw)
  To: Aditya Mandayam; +Cc: emacs-orgmode


[OT]

Aditya

,----
| I encourage you to post auxiliary files for reproducing the bug right
| within the mail. The advantage is that the message would remain archived
| in it's entirety forever and the whole context is available for future
| references. 
| 
| Posting all the relevant files inline or as attachment has the following
| other advantages:
| 
| 1. less taxing on the owner of the bug
| 2. quicker response or even a resolution
| 
| ps: I don't mean to hijack this thread. Posting this as a
| lurker/moderator on this list
| 
`----

Jambunathan K.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: References in Latex
  2011-07-26 18:42         ` Jambunathan K
@ 2011-07-26 18:56           ` Aditya Mandayam
  2011-07-26 19:11             ` Christian Moe
  0 siblings, 1 reply; 15+ messages in thread
From: Aditya Mandayam @ 2011-07-26 18:56 UTC (permalink / raw)
  To: Jambunathan K; +Cc: emacs-orgmode

i see. apologies.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
here is my .org file in question:

The Shrewdness of Apes
#+AUTHOR: Aditya Zalewski-Mandayam
#+LaTeX_CLASS: handout
#+OPTIONS: toc:nil timestamp:nil num:f

* Introduction
The photographic act consists of three principal parts. They are varied.

** The Technique

** The Apparatus

** The Spectrum
   Here the term spectrum is as first used by Barthes\cite{barthes1994camera}.

   Photography is a brutal act. The vocabulary surrounding a
photograph is violent. There are shutters & filters & bellows;
aberrations & distortions; solarizers, polarizers, sensitizers;
developers, fixers, stoppers; these, in conjunction with those other
progeny of the industrial revolution, are used to shoot subjects, to
capture them.

A dark-room is simply that: a camera oscura. It is at once terrifying
& purposeful in its intent. Film & paper, once exposed to the tyranny
of that lies without, may not lie naked again until they have been
rehabilitated, until they have recovered to a state where they are
deemed meaningful\cite{tagg2009disciplinary}. This process of
selection is exquisite in its sadism; we now have machines that make
light of these macabre methods.

The earliest kind of photograph is the blink. A blink is a
preventative mechanism. One blinks to see better. One blinks to
lubricate. A blink is also a pause. It is when Man first noticed the
images formed on the inside of his eyelids, at once black & orange,
shape-shifting & electric, that the seeds of photography were sown.

The sneeze came next. Now we had a sound to emulate: the
shutter\cite{tagg1988burden}.

The Eye is King. The Mind is his Queen. They have no children.

We now live within that panoply of apparati the mechanical Eye has
birthed: chortles, sniffles, chuckles, giggles; cracks, queefs, farts,
wheezes; yawns\cite{barthes1978image}, moans, grimaces, frissons;
burps & belches, whispers & snores.

\bibliography{apes}
\bibliographystyle{plainnat}

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
here are the relevant lines from my .emacs:

(require 'org-install)
(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}")

))

(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")
)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

thank you,

adi

On Tue, Jul 26, 2011 at 2:42 PM, Jambunathan K <kjambunathan@gmail.com> wrote:
>
> [OT]
>
> Aditya
>
> ,----
> | I encourage you to post auxiliary files for reproducing the bug right
> | within the mail. The advantage is that the message would remain archived
> | in it's entirety forever and the whole context is available for future
> | references.
> |
> | Posting all the relevant files inline or as attachment has the following
> | other advantages:
> |
> | 1. less taxing on the owner of the bug
> | 2. quicker response or even a resolution
> |
> | ps: I don't mean to hijack this thread. Posting this as a
> | lurker/moderator on this list
> |
> `----
>
> Jambunathan K.
>
>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: References in Latex
  2011-07-26 18:56           ` Aditya Mandayam
@ 2011-07-26 19:11             ` Christian Moe
  2011-07-26 19:45               ` Aditya Mandayam
  0 siblings, 1 reply; 15+ messages in thread
From: Christian Moe @ 2011-07-26 19:11 UTC (permalink / raw)
  To: Aditya Mandayam; +Cc: emacs-orgmode, Jambunathan K

Add space before \cite?

Yours,
Christian

On 7/26/11 8:56 PM, Aditya Mandayam wrote:
> i see. apologies.
>
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> here is my .org file in question:
>
> The Shrewdness of Apes
> #+AUTHOR: Aditya Zalewski-Mandayam
> #+LaTeX_CLASS: handout
> #+OPTIONS: toc:nil timestamp:nil num:f
>
> * Introduction
> The photographic act consists of three principal parts. They are varied.
>
> ** The Technique
>
> ** The Apparatus
>
> ** The Spectrum
>     Here the term spectrum is as first used by Barthes\cite{barthes1994camera}.
>
>     Photography is a brutal act. The vocabulary surrounding a
> photograph is violent. There are shutters&  filters&  bellows;
> aberrations&  distortions; solarizers, polarizers, sensitizers;
> developers, fixers, stoppers; these, in conjunction with those other
> progeny of the industrial revolution, are used to shoot subjects, to
> capture them.
>
> A dark-room is simply that: a camera oscura. It is at once terrifying
> &  purposeful in its intent. Film&  paper, once exposed to the tyranny
> of that lies without, may not lie naked again until they have been
> rehabilitated, until they have recovered to a state where they are
> deemed meaningful\cite{tagg2009disciplinary}. This process of
> selection is exquisite in its sadism; we now have machines that make
> light of these macabre methods.
>
> The earliest kind of photograph is the blink. A blink is a
> preventative mechanism. One blinks to see better. One blinks to
> lubricate. A blink is also a pause. It is when Man first noticed the
> images formed on the inside of his eyelids, at once black&  orange,
> shape-shifting&  electric, that the seeds of photography were sown.
>
> The sneeze came next. Now we had a sound to emulate: the
> shutter\cite{tagg1988burden}.
>
> The Eye is King. The Mind is his Queen. They have no children.
>
> We now live within that panoply of apparati the mechanical Eye has
> birthed: chortles, sniffles, chuckles, giggles; cracks, queefs, farts,
> wheezes; yawns\cite{barthes1978image}, moans, grimaces, frissons;
> burps&  belches, whispers&  snores.
>
> \bibliography{apes}
> \bibliographystyle{plainnat}
>
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> here are the relevant lines from my .emacs:
>
> (require 'org-install)
> (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}")
>
> ))
>
> (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")
> )
>
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>
> thank you,
>
> adi
>
> On Tue, Jul 26, 2011 at 2:42 PM, Jambunathan K<kjambunathan@gmail.com>  wrote:
>>
>> [OT]
>>
>> Aditya
>>
>> ,----
>> | I encourage you to post auxiliary files for reproducing the bug right
>> | within the mail. The advantage is that the message would remain archived
>> | in it's entirety forever and the whole context is available for future
>> | references.
>> |
>> | Posting all the relevant files inline or as attachment has the following
>> | other advantages:
>> |
>> | 1. less taxing on the owner of the bug
>> | 2. quicker response or even a resolution
>> |
>> | ps: I don't mean to hijack this thread. Posting this as a
>> | lurker/moderator on this list
>> |
>> `----
>>
>> Jambunathan K.
>>
>>
>
>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: References in Latex
  2011-07-26 19:11             ` Christian Moe
@ 2011-07-26 19:45               ` Aditya Mandayam
  0 siblings, 0 replies; 15+ messages in thread
From: Aditya Mandayam @ 2011-07-26 19:45 UTC (permalink / raw)
  To: mail; +Cc: emacs-orgmode, Jambunathan K

nope, doesn't work.

On Tue, Jul 26, 2011 at 3:11 PM, Christian Moe <mail@christianmoe.com> wrote:
> Add space before \cite?
>
> Yours,
> Christian
>
> On 7/26/11 8:56 PM, Aditya Mandayam wrote:
>>
>> i see. apologies.
>>
>>
>> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>> here is my .org file in question:
>>
>> The Shrewdness of Apes
>> #+AUTHOR: Aditya Zalewski-Mandayam
>> #+LaTeX_CLASS: handout
>> #+OPTIONS: toc:nil timestamp:nil num:f
>>
>> * Introduction
>> The photographic act consists of three principal parts. They are varied.
>>
>> ** The Technique
>>
>> ** The Apparatus
>>
>> ** The Spectrum
>>    Here the term spectrum is as first used by
>> Barthes\cite{barthes1994camera}.
>>
>>    Photography is a brutal act. The vocabulary surrounding a
>> photograph is violent. There are shutters&  filters&  bellows;
>> aberrations&  distortions; solarizers, polarizers, sensitizers;
>> developers, fixers, stoppers; these, in conjunction with those other
>> progeny of the industrial revolution, are used to shoot subjects, to
>> capture them.
>>
>> A dark-room is simply that: a camera oscura. It is at once terrifying
>> &  purposeful in its intent. Film&  paper, once exposed to the tyranny
>> of that lies without, may not lie naked again until they have been
>> rehabilitated, until they have recovered to a state where they are
>> deemed meaningful\cite{tagg2009disciplinary}. This process of
>> selection is exquisite in its sadism; we now have machines that make
>> light of these macabre methods.
>>
>> The earliest kind of photograph is the blink. A blink is a
>> preventative mechanism. One blinks to see better. One blinks to
>> lubricate. A blink is also a pause. It is when Man first noticed the
>> images formed on the inside of his eyelids, at once black&  orange,
>> shape-shifting&  electric, that the seeds of photography were sown.
>>
>> The sneeze came next. Now we had a sound to emulate: the
>> shutter\cite{tagg1988burden}.
>>
>> The Eye is King. The Mind is his Queen. They have no children.
>>
>> We now live within that panoply of apparati the mechanical Eye has
>> birthed: chortles, sniffles, chuckles, giggles; cracks, queefs, farts,
>> wheezes; yawns\cite{barthes1978image}, moans, grimaces, frissons;
>> burps&  belches, whispers&  snores.
>>
>> \bibliography{apes}
>> \bibliographystyle{plainnat}
>>
>>
>> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>> here are the relevant lines from my .emacs:
>>
>> (require 'org-install)
>> (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}")
>>
>> ))
>>
>> (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")
>> )
>>
>>
>> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>>
>> thank you,
>>
>> adi
>>
>> On Tue, Jul 26, 2011 at 2:42 PM, Jambunathan K<kjambunathan@gmail.com>
>>  wrote:
>>>
>>> [OT]
>>>
>>> Aditya
>>>
>>> ,----
>>> | I encourage you to post auxiliary files for reproducing the bug right
>>> | within the mail. The advantage is that the message would remain
>>> archived
>>> | in it's entirety forever and the whole context is available for future
>>> | references.
>>> |
>>> | Posting all the relevant files inline or as attachment has the
>>> following
>>> | other advantages:
>>> |
>>> | 1. less taxing on the owner of the bug
>>> | 2. quicker response or even a resolution
>>> |
>>> | ps: I don't mean to hijack this thread. Posting this as a
>>> | lurker/moderator on this list
>>> |
>>> `----
>>>
>>> Jambunathan K.
>>>
>>>
>>
>>
>
>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: References in Latex
  2011-07-26 18:15       ` Aditya Mandayam
  2011-07-26 18:42         ` Jambunathan K
@ 2011-07-26 19:59         ` suvayu ali
  2011-07-26 20:43           ` Aditya Mandayam
  1 sibling, 1 reply; 15+ messages in thread
From: suvayu ali @ 2011-07-26 19:59 UTC (permalink / raw)
  To: Aditya Mandayam; +Cc: nicholas.dokos, emacs-orgmode

On Tue, Jul 26, 2011 at 8:15 PM, Aditya Mandayam <adityams@gmail.com> wrote:
> indeed. here are the files:
>

I think you forgot the .bib file?

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: References in Latex
  2011-07-26 19:59         ` suvayu ali
@ 2011-07-26 20:43           ` Aditya Mandayam
  2011-07-26 21:24             ` suvayu ali
  0 siblings, 1 reply; 15+ messages in thread
From: Aditya Mandayam @ 2011-07-26 20:43 UTC (permalink / raw)
  To: suvayu ali; +Cc: nicholas.dokos, emacs-orgmode

here you go:

@book{barthes1994camera,
  title={Camera lucida: Reflections on photography},
  author={Barthes, R.},
  year={1994},
  publisher={Hill and Wang}
}

@book{barthes1978image,
  title={Image, music, text},
  author={Barthes, R. and Heath, S.},
  year={1978},
  publisher={Hill \& Wang}
}

@book{tagg1988burden,
  title={The burden of representation: Essays on photographies and histories},
  author={Tagg, J.},
  year={1988},
  publisher={Univ Of Minnesota Press}
}

@book{tagg2009disciplinary,
  title={The disciplinary frame: photographic truths and the capture
of meaning},
  author={Tagg, J.},
  year={2009},
  publisher={Univ Of Minnesota Press}
}

@article{giannino2006gerrit,
  title={Gerrit Dou: Seventeenth-Century Artistic Identity and Modes
of Self-Referentiality in Self-Portraiture and Scenes of Everyday
Life},
  author={Giannino, D.},
  year={2006}
}

@article{alphen2011portrait,
  title={The portrait's dispersal: concepts of representation and
subjectivity in contemporary portraiture},
  author={Alphen, E.J.},
  year={2011},
  publisher={La Fabrica}
}

@article{manningfunction,
  title={The Function of Mirrors and Reflection in Seventeenth-Century
Painting},
  author={Manning, D.}
}

@article{walker2005mirrors,
  title={Mirrors and shadows: The digital Aestheticisation of Oneself},
  author={Walker, J.},
  year={2005},
  publisher={IT University, Copenhagen}
}

@article{steiner1987postmodernist,
  title={Postmodernist Portraits},
  author={Steiner, W.},
  journal={Art Journal},
  volume={46},
  number={3},
  pages={173--177},
  year={1987},
  publisher={JSTOR}
}

@article{latto1996turning,
  title={Turning the other cheek: Profile direction in self-portraiture},
  author={Latto, R.},
  journal={Empirical Studies of the Arts},
  volume={14},
  number={1},
  pages={89--98},
  year={1996},
  publisher={BAYWOOD PUBLISHING COMPANY, INC.}
}

@article{robb2008self,
  title={The Self as Subject and Sculpture},
  author={Robb, C.},
  year={2008},
  publisher={Monash University}
}

@article{schapper2003cubism,
  title={CUBISM AND ORGANIZATIONAL ANALYSIS: REVISITING REPRESENTATION
IN THE AGE OF THE KNOWLEDGE ECONOMY},
  author={Schapper, J. and Cox, J.W. and de Cieri, H.},
  year={2003}
}

@article{loewenberg1999reflections,
  title={Reflections on Self-Portraiture in Photography},
  author={Loewenberg, I.},
  journal={Feminist Studies},
  volume={25},
  number={2},
  pages={399--408},
  year={1999},
  publisher={JSTOR}
}

@article{mrazself,
  title={SELF-PORTRAITURE BY WOMEN PHOTOGRAPHERS: AREFLECTION OF THE
ARTIST, SOCIETY \&THE FEMINIST MOVEMENT},
  author={Mraz, J. and Costa, K.N.}
}

@article{fei2007ballad,
  title={THE BALLAD OF NAN GOLDIN: SUBVERSION OF GENDER AND PHOTOGRAPHY},
  author={Fei, J.J.},
  journal={History},
  year={2007}
}

@article{tudorgive,
  title={‘Give me that glass, and therein will I read’: Women, Mirrors
and Authenticity in Renaissance Portraiture},
  author={Tudor, F.}
}

@article{flusser1986photograph,
  title={The Photograph as Post-Industrial Object: An Essay on the
Ontological Standing of Photographs},
  author={Flusser, V.},
  journal={Leonardo},
  pages={329--332},
  year={1986},
  publisher={JSTOR}
}

@article{metz1985photography,
  title={Photography and fetish},
  author={Metz, C.},
  journal={October},
  volume={34},
  pages={81--90},
  year={1985},
  publisher={JSTOR}
}

@article{metz1974impression,
  title={On the Impression of Reality in the Cinema},
  author={Metz, C.},
  journal={Film Language: A Semiotics of the Cinema},
  year={1974}
}

@article{metz40problems,
  title={Problems of Denotation in the Fiction Film},
  author={Metz, C.},
  journal={Narrative, Apparatus, Ideology: A Film Theory Reader},
  volume={40}
}

@book{flusser2000towards,
  title={Towards a philosophy of photography},
  author={Flusser, V.},
  year={2000},
  publisher={Reaktion Books}
}

@book{sontag1976imagination,
  title={The imagination of disaster},
  author={Sontag, S. and Rose, M.},
  year={1976},
  publisher={Prentice Hall}
}

@book{sontag1977photography,
  title={On photography},
  author={Sontag, S.},
  year={1977},
  publisher={Picador}
}

@article{benjamin1972short,
  title={A short history of photography},
  author={Benjamin, W.},
  journal={Screen},
  volume={13},
  number={1},
  pages={5},
  year={1972},
  publisher={John Logie Baird Centre}
}

@article{benjamin1969paris,
  title={Paris: capital of the nineteenth century},
  author={Benjamin, W.},
  journal={Perspecta},
  pages={165--172},
  year={1969},
  publisher={JSTOR}
}

@article{berger1972ways,
  title={Ways of seeing},
  author={Berger, J. and others},
  journal={London and Harmondsworth},
  year={1972}
}

@article{clark1994gross,
  title={Gross David with the Swoln Cheek: An Essay on Self-Portraiture},
  author={Clark, TJ},
  journal={Rediscovering History: Culture, Politics, and the Psyche,
ed. Michael S. Roth (Stanford, Calif., 1994)},
  pages={243--307}
}

@book{bourdieu1996photography,
  title={Photography: A middle-brow art},
  author={Bourdieu, P. and Whiteside, S.},
  year={1996},
  publisher={Stanford Univ Pr}
}

@book{lefèvre2007inside,
  title={Inside the Camera Obscura: Optics and Art Under the Spell of
the Projected Image},
  author={Lef{\`e}vre, W. and Max-Planck-Institut fur Wissenschaftsgeschichte},
  year={2007},
  publisher={Max-Planck Institute for the History of Science}
}

@article{solomon1986legs,
  title={The Legs of the Countess},
  author={Solomon-Godeau, A.},
  journal={October},
  pages={65--108},
  year={1986},
  publisher={JSTOR}
}

@book{renner2000pinhole,
  title={Pinhole photography: rediscovering a historic technique},
  author={Renner, E.},
  year={2000},
  publisher={Focal Pr}
}

@book{mitchell1994reconfigured,
  title={The reconfigured eye: Visual truth in the post-photographic era},
  author={Mitchell, W.J.},
  year={1994},
  publisher={The MIT Press}
}

@article{jones2002eternal,
  title={The “Eternal Return”: Self-Portrait Photography as a
Technology of Embodiment},
  author={Jones, A.},
  journal={Signs},
  volume={27},
  number={4},
  pages={947--978},
  year={2002},
  publisher={JSTOR}
}

@book{bürgin1982thinking,
  title={Thinking photography},
  author={B{\\"u}rgin, V.},
  year={1982},
  publisher={London: Macmillan}
}

On Tue, Jul 26, 2011 at 3:59 PM, suvayu ali <fatkasuvayu+linux@gmail.com> wrote:
> On Tue, Jul 26, 2011 at 8:15 PM, Aditya Mandayam <adityams@gmail.com> wrote:
>> indeed. here are the files:
>>
>
> I think you forgot the .bib file?
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: References in Latex
  2011-07-26 20:43           ` Aditya Mandayam
@ 2011-07-26 21:24             ` suvayu ali
  0 siblings, 0 replies; 15+ messages in thread
From: suvayu ali @ 2011-07-26 21:24 UTC (permalink / raw)
  To: Aditya Mandayam; +Cc: nicholas.dokos, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 962 bytes --]

Hello Aditya,

I had some start-up problems as I don't use xelatex or fool around with
fonts[1] much. But after I got around those, I think the problem is with
rubber. It doesn't run bibtex at all (or at least not properly). I could
successfully build a pdf by calling xelatex and bibex explicitly. From
what you described in the earlier emails, I think the pdf looks just
like you expected (attached). I would encourage you to find out how to
properly ask rubber to run bibtex to get this to work.

This is what worked for me:

(setq org-latex-to-pdf-process
      '("xelatex -interaction nonstopmode %b"
	"/usr/bin/bibtex %b"
	"xelatex -interaction nonstopmode %b"
	"xelatex -interaction nonstopmode %b")
      )

Hope this helps.

PS: Nice class, I might use it sometime in the future. ;)

Footnotes:

[1] I had to comment out this line "\setromanfont[Mapping=tex-text]
    {Bauer Bodoni Std 1 Roman}"

-- 
Suvayu

Open source is the future. It sets us free.

[-- Attachment #2: bibtest.pdf --]
[-- Type: application/pdf, Size: 32193 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-07-26 21:25 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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).