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-texlive/tex/latex/base/ts1cmr.fd) (/usr/share/texmf-texlive/tex/context/base/supp-pdf.mkii [Loading MPS to PDF converter (version 2006.09.02).] ) (/usr/share/texmf-texlive/tex/latex/hyperref/nameref.sty (/usr/share/texmf-texlive/tex/latex/oberdiek/refcount.sty)) (/usr/share/texmf-texlive/tex/latex/wasysym/uwasy.fd) (/usr/share/texmf-texlive/tex/latex/base/ulasy.fd) (/usr/share/texmf-texlive/tex/latex/amsfonts/umsa.fd) (/usr/share/texmf-texlive/tex/latex/amsfonts/umsb.fd) Package natbib Warning: Citation `biswas2008generalized' on page 1 undefined on input line 52. Package natbib Warning: Citation `cai1992length' on page 1 undefined on input l ine 53. (/usr/share/texmf-texlive/tex/latex/base/t1cmtt.fd) LaTeX Warning: Hyper reference `sec-1' on page 1 undefined on input line 76. [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] No file TestSciDocu.bbl. [2] Package natbib Warning: There were undefined citations. (./TestSciDocu.aux) LaTeX Warning: There were undefined references. LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. )pdfTeX warning (dest): name{??} has been referenced but does not exist, repla ced by a fixed one < /usr/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmmi10.pfb> Output written on TestSciDocu.pdf (2 pages, 68665 bytes). Transcript written on TestSciDocu.log. /usr/bin/texi2dvi: 1: cd: can't cd to /home/sanjib/Ubuntu /usr/bin/texi2dvi: Removing /home/sanjib/Ubuntu One/EmacsFilesUO/OrgFilesUO/PhD_IITB/TestSciDocu.t2d ----------------------------- *Sanjib Sikder *Ph.D. Fellow Chemical Engineering IIT Bombay* * On Thu, Sep 27, 2012 at 8:13 AM, 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. > > 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 >> > >