Re: [O] Fwd: Citation in org mode does not compile

2012-10-03 Thread Sanjib Sikder
Hi Dokos,

I am sorry for the mistake, but what happened, in my original files, the
references are all correct but when I thought of giving examples in the
email, I did not put correct references.

Anyways, thanks for your valuable input.

-
*Sanjib Sikder
*Ph.D. Fellow
Chemical Engineering
IIT Bombay*

*



On Wed, Oct 3, 2012 at 12:34 PM, Nick Dokos  wrote:

> Sanjib Sikder  wrote:
>
> > HI,
> >
> > (setq org-latex-to-pdf-process '("texi2dvi --pdf --clean --verbose
> --batch %f"))
> >
> > I have incorporated above line in my .emacs file. Now the C-c C-e p is
> not showing the error
> > "Undefined citation" but the problem is still there. In place of
> refrences, I am getting questions
> > marks.
> >
>
> I haven't gone through the whole thread, but I did go back and unpacked
> your files
> from the original message. The problem there was indeed missing references:
> your org file contains
>
> ,
> | hi \citep{biswas2008generalized}
> | hello \citep{cai1992length}
> `
>
>
> which did not match anything in the .bib file you attached to that
> message. When I replaced them with the ones that *did* occur in your bib
> file, like this:
>
> --8<---cut here---start->8---
> hi \citep{ashu1995molecular}
> hello \citep{brush1967}
> --8<---cut here---end--->8---
>
> and I fixed a couple of things at the beginning of the file:
>
> --8<---cut here---start->8---
> # -*- mode: org -*-
> #+TITLE: The Impact of Beer Consumption on Scientific Collaboration
> --8<---cut here---end--->8---
>
> everything worked fine (assuming that you added a call to bibtex
> somewhere, either explicitly or by using texi2dvi, as indicated
> previously).
>
> The mode-setting line *has* to be on the first line: you can't leave
> empty lines before it. The only exception is when the first line is a
> shebang line, something like #! /bin/bash in a shell script: then the
> mode-setting line has to be the second line. Emacs imposes this
> restriction, not org.
>
> There has to be a space after the # on that line: otherwise, it's not
> interpreted as a comment and is included in the export output. That's an
> org restriction.
>
> Specifying the title is good practice, since otherwise the file name
> becomes the title.
>
> Nick
>
>
>


Re: [O] Fwd: Citation in org mode does not compile

2012-10-03 Thread Nick Dokos
Sanjib Sikder  wrote:

> HI,
> 
> (setq org-latex-to-pdf-process '("texi2dvi --pdf --clean --verbose --batch 
> %f"))
> 
> I have incorporated above line in my .emacs file. Now the C-c C-e p is not 
> showing the error
> "Undefined citation" but the problem is still there. In place of refrences, I 
> am getting questions
> marks.
> 

I haven't gone through the whole thread, but I did go back and unpacked your 
files
from the original message. The problem there was indeed missing references:
your org file contains

,
| hi \citep{biswas2008generalized}
| hello \citep{cai1992length}
`


which did not match anything in the .bib file you attached to that
message. When I replaced them with the ones that *did* occur in your bib
file, like this:

--8<---cut here---start->8---
hi \citep{ashu1995molecular}
hello \citep{brush1967}
--8<---cut here---end--->8---

and I fixed a couple of things at the beginning of the file:

--8<---cut here---start->8---
# -*- mode: org -*-
#+TITLE: The Impact of Beer Consumption on Scientific Collaboration
--8<---cut here---end--->8---

everything worked fine (assuming that you added a call to bibtex
somewhere, either explicitly or by using texi2dvi, as indicated
previously).

The mode-setting line *has* to be on the first line: you can't leave
empty lines before it. The only exception is when the first line is a
shebang line, something like #! /bin/bash in a shell script: then the
mode-setting line has to be the second line. Emacs imposes this
restriction, not org.

There has to be a space after the # on that line: otherwise, it's not
interpreted as a comment and is included in the export output. That's an
org restriction.

Specifying the title is good practice, since otherwise the file name
becomes the title.

Nick





Re: [O] Fwd: Citation in org mode does not compile

2012-09-26 Thread Nick Dokos
Yagnesh Raghava Yakkala  wrote:

> Seems problem with texi2dvi, unable to handle spaces in the path
> ("Ubuntu One" has space).I haven't followed the discussion. I am not
> sure why you have texi2dvi in the processes list.

texi2dvi is supposed to take care of things like how many times one
has to call pdflatex, whether to call bibtex etc. It would be the best
solution for this problem, if it didn't have a couple of problems of its
own. Maybe one of these days...

Nick

> I set org-latex-to-pdf-process to the following whenever I want bibtex to
> process the exported document.
> 
> (setq org-latex-to-pdf-process
>   '("pdflatex -interaction nonstopmode %b"
> "/usr/bin/bibtex %b"
> "pdflatex -interaction nonstopmode %b"
> "pdflatex -interaction nonstopmode %b"))
> 




Re: [O] Fwd: Citation in org mode does not compile

2012-09-26 Thread Yagnesh Raghava Yakkala

Hello Sanjib,

Sanjib Sikder  writes:

> HI Yagnesh,
>
> I have tried with 
>
> (setq org-latex-to-pdf-process
> '("pdflatex -interaction nonstopmode %b"
> "/usr/bin/bibtex %b"
> "pdflatex -interaction nonstopmode %b"
> "pdflatex -interaction nonstopmode %b"))
>
> and the problem seems solved.
>
> I can see there are two instances of emacs one is Emacs Snapshot (GTK) and the
> other is Emacs Snapshot (Client). The GTK is properly producing the pdf with
> references.


> What is the difference between clint and GTK? Which on shall I use and when ?

I am not sure what you mean by instance here (from terminal ps command?). 

--8<---cut here---start->8---
okhotsk19:~$ ps aux | grep emacs
Grepping for processes matching emacs...
yagnesh993  1.1  4.8 364704 99604 pts/0S12:59   0:46 emacs
yagnesh   5300  0.1  0.0   4024   596 pts/4S+   14:06   0:00 emacsclient -tc
--8<---cut here---end--->8---

both emacs and emacsclient would/should behave the same way (mostly).

Thanks.,
-- 
ఎందరో మహానుభావులు అందరికి వందనములు
YYR



Re: [O] Fwd: Citation in org mode does not compile

2012-09-26 Thread Sanjib Sikder
HI Yagnesh,

I have tried with

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

and the problem seems solved.

I can see there are two instances of emacs one is Emacs Snapshot (GTK) and
the other is Emacs Snapshot (Client). The GTK is properly producing the pdf
with references.

What is the difference between clint and GTK? Which on shall I use and when
?

Thanks a lot. :)

-
*Sanjib Sikder
*Ph.D. Fellow
Chemical Engineering
IIT Bombay*

*



On Thu, Sep 27, 2012 at 9:16 AM, Yagnesh Raghava Yakkala 
wrote:

>
> Hello Sanjib,
>
> Sanjib Sikder  writes:
>
> > HI,
> >
> > Just now I have found that now I am not even getting the pdf. I am
> pasting the
> > error messages below.
> >
> > /usr/bin/texi2dvi: Processing /home/sanjib/Ubuntu
> > One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.tex ...
> > /usr/bin/texi2dvi: BIBINPUTS='.:/home/sanjib/Ubuntu
> > One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
> > One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
> > /usr/bin/texi2dvi: BSTINPUTS='.:/home/sanjib/Ubuntu
> > One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
> > One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
> > /usr/bin/texi2dvi: DVIPSHEADERS='.:/home/sanjib/Ubuntu
> > One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
> > One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
> > /usr/bin/texi2dvi: INDEXSTYLE='.:/home/sanjib/Ubuntu
> > One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
> > One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
> > /usr/bin/texi2dvi: MFINPUTS='.:/home/sanjib/Ubuntu
> > One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
> > One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
> > /usr/bin/texi2dvi: MPINPUTS='.:/home/sanjib/Ubuntu
> > One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
> > One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
> > /usr/bin/texi2dvi: TEXINPUTS='.:/home/sanjib/Ubuntu
> > One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
> > One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
> > /usr/bin/texi2dvi: TFMFONTS='.:/home/sanjib/Ubuntu
> > One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
> > One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
> > /usr/bin/texi2dvi: cd /home/sanjib/Ubuntu
> > One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.t2d/pdf/build
> > /usr/bin/texi2dvi: Cycle 1 for /home/sanjib/Ubuntu
> > One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.tex
> > /usr/bin/texi2dvi: Running rm -f TestSciDocu.tex
> > /usr/bin/texi2dvi: Running ln -s /home/sanjib/Ubuntu
> > One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.tex
> > /usr/bin/texi2dvi: /usr/bin/texi2dvi: Running pdflatex --file-line-error
> >  > onstopmode' 'This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live
> 2009/Debian)
> > entering extended mode
> > LaTeX2e <2009/09/24>
> > Babel  and hyphenation patterns for english, usenglishmax,
> dumylang,
> > noh
> > yphenation, loaded.
> >
> > (./TestSciDocu.tex (/usr/share/texmf-texlive/tex/latex/base/article.cls
> > Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
> > (/usr/share/texmf-texlive/tex/latex/base/size11.clo))
> > (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
> > (/usr/share/texmf-texlive/tex/latex/base/utf8.def
> > (/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu)
> > (/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu)
> > (/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu)))
> > (/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
> > (/usr/share/texmf-texlive/tex/latex/base/t1enc.def))
> > (/usr/share/texmf-texlive/tex/latex/base/fixltx2e.sty)
> > (/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
> > (/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
> > (/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
> > (/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)
> > (/etc/texmf/tex/latex/config/graphics.cfg)
> > (/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def)))
> > (/usr/share/texmf-texlive/tex/latex/tools/longtable.sty)
> > (/usr/share/texmf-texlive/tex/latex/float/float.sty)
> > (/usr/share/texmf-texlive/tex/latex/wrapfig/wrapfig.sty)
> > (/usr/share/texmf-texlive/tex/latex/soul/soul.sty)
> > (/usr/share/texmf-texlive/tex/latex/base/textcomp.sty
> > (/usr/share/texmf-texlive/tex/latex/base/ts1enc.def
> > (/usr/share/texmf-texlive/tex/latex/base/ts1enc.dfu)))
> > (/usr/share/texmf-texlive/tex/latex/marvosym/marvosym.sty)
> > (/usr/share/texmf-texlive/tex/latex/wasysym/wasysym.sty)
> > (/usr/share/texmf-texlive/tex/latex/base/latexsym.sty)
> > (/usr/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty
> > (/usr/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty))
> > (/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty
> > (/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty)
> > (/usr/share/texmf-texlive/tex/generic/oberdiek/ifvtex.sty)
> > (/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)
> > (/usr/share/te

Re: [O] Fwd: Citation in org mode does not compile

2012-09-26 Thread Yagnesh Raghava Yakkala

Hello Sanjib,

Sanjib Sikder  writes:

> HI,
>
> Just now I have found that now I am not even getting the pdf. I am pasting the
> error messages below.
>
> /usr/bin/texi2dvi: Processing /home/sanjib/Ubuntu
> One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.tex ...
> /usr/bin/texi2dvi: BIBINPUTS='.:/home/sanjib/Ubuntu
> One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
> One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
> /usr/bin/texi2dvi: BSTINPUTS='.:/home/sanjib/Ubuntu
> One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
> One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
> /usr/bin/texi2dvi: DVIPSHEADERS='.:/home/sanjib/Ubuntu
> One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
> One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
> /usr/bin/texi2dvi: INDEXSTYLE='.:/home/sanjib/Ubuntu
> One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
> One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
> /usr/bin/texi2dvi: MFINPUTS='.:/home/sanjib/Ubuntu
> One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
> One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
> /usr/bin/texi2dvi: MPINPUTS='.:/home/sanjib/Ubuntu
> One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
> One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
> /usr/bin/texi2dvi: TEXINPUTS='.:/home/sanjib/Ubuntu
> One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
> One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
> /usr/bin/texi2dvi: TFMFONTS='.:/home/sanjib/Ubuntu
> One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
> One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
> /usr/bin/texi2dvi: cd /home/sanjib/Ubuntu
> One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.t2d/pdf/build
> /usr/bin/texi2dvi: Cycle 1 for /home/sanjib/Ubuntu
> One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.tex
> /usr/bin/texi2dvi: Running rm -f TestSciDocu.tex
> /usr/bin/texi2dvi: Running ln -s /home/sanjib/Ubuntu
> One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.tex
> /usr/bin/texi2dvi: /usr/bin/texi2dvi: Running pdflatex --file-line-error
>  onstopmode' 'This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
> entering extended mode
> LaTeX2e <2009/09/24>
> Babel  and hyphenation patterns for english, usenglishmax, dumylang,
> noh
> yphenation, loaded.
>
> (./TestSciDocu.tex (/usr/share/texmf-texlive/tex/latex/base/article.cls
> Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
> (/usr/share/texmf-texlive/tex/latex/base/size11.clo))
> (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
> (/usr/share/texmf-texlive/tex/latex/base/utf8.def
> (/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu)
> (/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu)
> (/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu)))
> (/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
> (/usr/share/texmf-texlive/tex/latex/base/t1enc.def))
> (/usr/share/texmf-texlive/tex/latex/base/fixltx2e.sty)
> (/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
> (/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
> (/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
> (/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)
> (/etc/texmf/tex/latex/config/graphics.cfg)
> (/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def)))
> (/usr/share/texmf-texlive/tex/latex/tools/longtable.sty)
> (/usr/share/texmf-texlive/tex/latex/float/float.sty)
> (/usr/share/texmf-texlive/tex/latex/wrapfig/wrapfig.sty)
> (/usr/share/texmf-texlive/tex/latex/soul/soul.sty)
> (/usr/share/texmf-texlive/tex/latex/base/textcomp.sty
> (/usr/share/texmf-texlive/tex/latex/base/ts1enc.def
> (/usr/share/texmf-texlive/tex/latex/base/ts1enc.dfu)))
> (/usr/share/texmf-texlive/tex/latex/marvosym/marvosym.sty)
> (/usr/share/texmf-texlive/tex/latex/wasysym/wasysym.sty)
> (/usr/share/texmf-texlive/tex/latex/base/latexsym.sty)
> (/usr/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty
> (/usr/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty))
> (/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty
> (/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty)
> (/usr/share/texmf-texlive/tex/generic/oberdiek/ifvtex.sty)
> (/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)
> (/usr/share/texmf-texlive/tex/latex/oberdiek/hycolor.sty
> (/usr/share/texmf-texlive/tex/latex/oberdiek/xcolor-patch.sty))
> (/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def)
> (/usr/share/texmf-texlive/tex/generic/oberdiek/etexcmds.sty
> (/usr/share/texmf-texlive/tex/generic/oberdiek/infwarerr.sty))
> (/usr/share/texmf-texlive/tex/latex/latexconfig/hyperref.cfg)
> (/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
> (/usr/share/texmf-texlive/tex/generic/oberdiek/kvsetkeys.sty))
> Implicit mode ON; LaTeX internals redefined
> (/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty)
> (/usr/share/texmf-texlive/tex/generic/oberdiek/bitset.sty
> (/usr/share/texmf-texlive/tex/generic/oberdiek/intcalc.sty)
> (/usr/share/texmf-texlive/tex/generic/oberdiek/bigintcalc.sty
> (/usr/share/texmf-texlive/tex/generic/oberdiek/pdftexcmds.sty
> (/usr/share/texmf-texlive/tex/gene

Re: [O] Fwd: Citation in org mode does not compile

2012-09-26 Thread Sanjib Sikder
HI,

Just now I have found that now I am not even getting the pdf. I am pasting
the error messages below.

/usr/bin/texi2dvi: Processing /home/sanjib/Ubuntu
One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.tex ...
/usr/bin/texi2dvi: BIBINPUTS='.:/home/sanjib/Ubuntu
One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
/usr/bin/texi2dvi: BSTINPUTS='.:/home/sanjib/Ubuntu
One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
/usr/bin/texi2dvi: DVIPSHEADERS='.:/home/sanjib/Ubuntu
One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
/usr/bin/texi2dvi: INDEXSTYLE='.:/home/sanjib/Ubuntu
One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
/usr/bin/texi2dvi: MFINPUTS='.:/home/sanjib/Ubuntu
One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
/usr/bin/texi2dvi: MPINPUTS='.:/home/sanjib/Ubuntu
One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
/usr/bin/texi2dvi: TEXINPUTS='.:/home/sanjib/Ubuntu
One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
/usr/bin/texi2dvi: TFMFONTS='.:/home/sanjib/Ubuntu
One/EmacsFilesUO/OrgFilesUO/PhD_IITB:/home/sanjib/Ubuntu
One/EmacsFilesUO/OrgFilesUO/PhD_IITB::'
/usr/bin/texi2dvi: cd /home/sanjib/Ubuntu
One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.t2d/pdf/build
/usr/bin/texi2dvi: Cycle 1 for /home/sanjib/Ubuntu
One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.tex
/usr/bin/texi2dvi: Running rm -f TestSciDocu.tex
/usr/bin/texi2dvi: Running ln -s /home/sanjib/Ubuntu
One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.tex
/usr/bin/texi2dvi: /usr/bin/texi2dvi: Running pdflatex --file-line-error

Babel  and hyphenation patterns for english, usenglishmax, dumylang,
noh
yphenation, loaded.

(./TestSciDocu.tex (/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size11.clo))
(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
(/usr/share/texmf-texlive/tex/latex/base/utf8.def
(/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu)))
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def))
(/usr/share/texmf-texlive/tex/latex/base/fixltx2e.sty)
(/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)
(/etc/texmf/tex/latex/config/graphics.cfg)
(/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def)))
(/usr/share/texmf-texlive/tex/latex/tools/longtable.sty)
(/usr/share/texmf-texlive/tex/latex/float/float.sty)
(/usr/share/texmf-texlive/tex/latex/wrapfig/wrapfig.sty)
(/usr/share/texmf-texlive/tex/latex/soul/soul.sty)
(/usr/share/texmf-texlive/tex/latex/base/textcomp.sty
(/usr/share/texmf-texlive/tex/latex/base/ts1enc.def
(/usr/share/texmf-texlive/tex/latex/base/ts1enc.dfu)))
(/usr/share/texmf-texlive/tex/latex/marvosym/marvosym.sty)
(/usr/share/texmf-texlive/tex/latex/wasysym/wasysym.sty)
(/usr/share/texmf-texlive/tex/latex/base/latexsym.sty)
(/usr/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty
(/usr/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty))
(/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifvtex.sty)
(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf-texlive/tex/latex/oberdiek/hycolor.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/xcolor-patch.sty))
(/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def)
(/usr/share/texmf-texlive/tex/generic/oberdiek/etexcmds.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/infwarerr.sty))
(/usr/share/texmf-texlive/tex/latex/latexconfig/hyperref.cfg)
(/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/kvsetkeys.sty))
Implicit mode ON; LaTeX internals redefined
(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/bitset.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/intcalc.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/bigintcalc.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/pdftexcmds.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifluatex.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ltxcmds.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/atbegshi.sty))
*hyperref using default driver hpdftex*
(/usr/share/texmf-texlive/tex/latex/hyperref/hpdftex.def)
(/usr/share/texmf-texlive/tex/latex/natbib/natbib.sty)
No file TestSciDocu.aux.
(/usr/share/texmf

Re: [O] Fwd: Citation in org mode does not compile

2012-09-26 Thread Sanjib Sikder
HI,

(setq org-latex-to-pdf-process '("texi2dvi --pdf --clean --verbose --batch
%f"))

I have incorporated above line in my .emacs file. Now the C-c C-e p is not
showing the error "Undefined citation" but the problem is still there. In
place of refrences, I am getting questions marks.

Thanks for your response.

-
*Sanjib Sikder
*Ph.D. Fellow
Chemical Engineering
IIT Bombay*

*



On Thu, Sep 27, 2012 at 12:08 AM, Thomas S. Dye  wrote:

> Aloha Sanjib Sikder,
>
> It looks like BibTeX hasn't processed your document.
>
> See the variable org-latex-to-pdf-process. By default I believe it just
> calls pdflatex several times.  You can either insert a call to bibtex,
> or use a script, like this:
>
> (setq org-latex-to-pdf-process '("texi2dvi --pdf --clean --verbose --batch
> %f"))
>
> hth,
> Tom
>
>
> Sanjib Sikder  writes:
>
> > Hi,
> >
> > I tried the whole day trying the instructions through out various web
> pages
> > to have references in scientific document without any success.
> >
> > C-c C-e p produces the pdf file with question mark in place of reference.
> >
> > I have attached four files.
> >
> > BibAbb1.bib is my bibliography file
> > DOTemacs is the .emacs file
> > TestSciDocu.org is the org file for scientific writing
> > TestSciDocu.pdf is the output
> >
> >
> > Please help me in geeting the citation correctly :(
> >
> > I am using emacs-snapshot on Ubuntu 12.04.
> >
> > Thanks
> >
> >
> >
> > -
> > *Sanjib Sikder
> > *Ph.D. Fellow
> > Chemical Engineering
> > IIT Bombay*
> >
> > *
> > Hi,I tried the whole day trying the instructions through out various web
> pages to have references in scientific document without any success.C-c C-e
> p produces the pdf file with question mark in place of reference.
> >
> >
> > I have attached four files.BibAbb1.bib is my bibliography fileDOTemacs
> is the .emacs fileTestSciDocu.org is the org file for scientific
> writingTestSciDocu.pdf is the outputPlease help me in geeting the citation
> correctly :(
> >
> >
> > I am using emacs-snapshot on Ubuntu
> 12.04.Thanks- style="color:rgb(102,102,102)">Sanjib Sikder style="color:rgb(153,153,153)">Ph.D. Fellow
> >
> >
> > Chemical EngineeringIIT Bombay
> >
> >
> >
> >
> >
>
> --
> Thomas S. Dye
> http://www.tsdye.com
>


Re: [O] Fwd: Citation in org mode does not compile

2012-09-26 Thread Thomas S. Dye
Aloha Sanjib Sikder,

It looks like BibTeX hasn't processed your document.

See the variable org-latex-to-pdf-process. By default I believe it just
calls pdflatex several times.  You can either insert a call to bibtex,
or use a script, like this:

(setq org-latex-to-pdf-process '("texi2dvi --pdf --clean --verbose --batch %f"))

hth,
Tom


Sanjib Sikder  writes:

> Hi,
>
> I tried the whole day trying the instructions through out various web pages
> to have references in scientific document without any success.
>
> C-c C-e p produces the pdf file with question mark in place of reference.
>
> I have attached four files.
>
> BibAbb1.bib is my bibliography file
> DOTemacs is the .emacs file
> TestSciDocu.org is the org file for scientific writing
> TestSciDocu.pdf is the output
>
>
> Please help me in geeting the citation correctly :(
>
> I am using emacs-snapshot on Ubuntu 12.04.
>
> Thanks
>
>
>
> -
> *Sanjib Sikder
> *Ph.D. Fellow
> Chemical Engineering
> IIT Bombay*
>
> *
> Hi,I tried the whole day trying the instructions through out various web 
> pages to have references in scientific document without any success.C-c C-e p 
> produces the pdf file with question mark in place of reference.
>
>
> I have attached four files.BibAbb1.bib is my bibliography fileDOTemacs is the 
> .emacs fileTestSciDocu.org is the org file for scientific 
> writingTestSciDocu.pdf is the outputPlease help me in geeting the citation 
> correctly :(
>
>
> I am using emacs-snapshot on Ubuntu 
> 12.04.Thanks- style="color:rgb(102,102,102)">Sanjib Sikder style="color:rgb(153,153,153)">Ph.D. Fellow
>
>
> Chemical EngineeringIIT Bombay
>
>
>
>
>

-- 
Thomas S. Dye
http://www.tsdye.com