Re: [O] Symbol's function definition is void: search

2012-10-05 Thread Suvayu Ali
On Wed, Oct 03, 2012 at 12:04:20PM +0530, Sanjib Sikder wrote:
 Hi,
 
 UPDATE: The same files when I ran and exported on my department computer, it 
 is
 working fine.
 
 Thanks a lot.
 
 Yesterday I was trying on my laptop. Both the machines have latest
 emacs-snapshot and Ubuntu 12.04. Any comment on this will be appreciated.
 

I would check your org configuration and setup.  A binary search through
your configs should be quite helpful.

GL

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] Symbol's function definition is void: search

2012-10-03 Thread Sanjib Sikder
Hi,

Can anybody help me out please ? I still could not export it to pdf.

Thanks.

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

*



On Tue, Oct 2, 2012 at 8:02 PM, Sanjib Sikder sanjibju2...@gmail.comwrote:

 Hi,

 I did what you said but still it is giving the same error,..[undefined
 reference]

 There is one line in the org file


 [[papers:paper2012][paper2012-paper]]
 [[bib:paper2012][paper2012-bib]]
 [[biblist:paper2012][paper2012-biblist]]

 This line is giving the error. If I remove this line from my org file,
 then everything is perfect. While I am trying to export pdf including that
 line, i am getting the error .[undefined reference].

 Thanks a lot.


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

 *



 On Tue, Oct 2, 2012 at 7:55 PM, Bastien b...@altern.org wrote:

 Hi Sanjib,

 Sanjib Sikder sanjibju2...@gmail.com writes:

  or only
 
  (search rtcite: desc)))
 
 
 
  with this
 
(or search rtcite: desc)))

 only this line.

 You get this error because Emacs tries to evaluate

   (search rtcite: desc)

 ... and it cannot, because search is not a function.
 Search here is a variable (a string), hence
 (or search rtcite: desc))) should return something
 sensible.

 HTH,

 --
  Bastien





Re: [O] Symbol's function definition is void: search

2012-10-03 Thread Bastien
Hi Sanjib,

Sanjib Sikder sanjibju2...@gmail.com writes:

 Can anybody help me out please ? I still could not export it to pdf.

It looks like this is a problem of a missing reference, not a problem
with Org.  You need to check the BibTeX references.

-- 
 Bastien



Re: [O] Symbol's function definition is void: search

2012-10-03 Thread Sanjib Sikder
Hi,

I am sure it is not a case of missing reference. The reasons are 1) I have
checked it 2) The reftex shows those references correctly and I can
incorporate the reference from the search in my org file 3) rtcite
successfully links the references and I can jump to those references using
the links made in the document.

So must be there is something needs to be added in the .emacs or there are
some other ways to solve the problem, if it is not some error in orgmode.

I had provided the files and .emacs content in my first mail. If it is
needed, I can send the files.

Thanks.


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

*



On Wed, Oct 3, 2012 at 11:34 AM, Bastien b...@altern.org wrote:

 Hi Sanjib,

 Sanjib Sikder sanjibju2...@gmail.com writes:

  Can anybody help me out please ? I still could not export it to pdf.

 It looks like this is a problem of a missing reference, not a problem
 with Org.  You need to check the BibTeX references.

 --
  Bastien



Re: [O] Symbol's function definition is void: search

2012-10-03 Thread Sanjib Sikder
Hi,

UPDATE: The same files when I ran and exported on my department computer,
it is working fine.

Thanks a lot.

Yesterday I was trying on my laptop. Both the machines have latest
emacs-snapshot and Ubuntu 12.04. Any comment on this will be appreciated.

Thanks again.

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

*



On Wed, Oct 3, 2012 at 11:46 AM, Sanjib Sikder sanjibju2...@gmail.comwrote:

 Hi,

 I am sure it is not a case of missing reference. The reasons are 1) I have
 checked it 2) The reftex shows those references correctly and I can
 incorporate the reference from the search in my org file 3) rtcite
 successfully links the references and I can jump to those references using
 the links made in the document.

 So must be there is something needs to be added in the .emacs or there are
 some other ways to solve the problem, if it is not some error in orgmode.

 I had provided the files and .emacs content in my first mail. If it is
 needed, I can send the files.


 Thanks.


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

 *



 On Wed, Oct 3, 2012 at 11:34 AM, Bastien b...@altern.org wrote:

 Hi Sanjib,

 Sanjib Sikder sanjibju2...@gmail.com writes:

  Can anybody help me out please ? I still could not export it to pdf.

 It looks like this is a problem of a missing reference, not a problem
 with Org.  You need to check the BibTeX references.

 --
  Bastien





Re: [O] Symbol's function definition is void: search

2012-10-02 Thread Bastien
Hi Sanjib,

Sanjib Sikder sanjibju2...@gmail.com writes:

     (cond ((eq format 'latex)
   (if (or (not desc)
   (equal 0 (search rtcite: desc)))
 ^^^ 

Replace this last line with this

 (or search rtcite: desc)))


I did no test this, though, just a wild guess.

HTH,

-- 
 Bastien



Re: [O] Symbol's function definition is void: search

2012-10-02 Thread Sanjib Sikder
Hi,

Shall i replace

(equal 0 (search rtcite: desc)))
  ^^^

or only

 (search rtcite: desc)))



with this

  (or search rtcite: desc)))



I tried with replacing the whole line i.e (equal 0 (search rtcite: desc)))

Now the last error message os gone but during pdf export i get a new error
message
Exporting to pdf... done, with some errors: [undefined reference]

thanks a lot :)


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

*



On Tue, Oct 2, 2012 at 7:21 PM, Bastien b...@altern.org wrote:

  (cond ((eq format 'latex)
(if (or (not desc)
(equal 0 (search rtcite: desc)))
  ^^^

 Replace this last line with this

  (or search rtcite: desc)))


 I did no test this, though, just a wild guess.



Re: [O] Symbol's function definition is void: search

2012-10-02 Thread Bastien
Hi Sanjib,

Sanjib Sikder sanjibju2...@gmail.com writes:

 or only

 (search rtcite: desc)))



 with this

   (or search rtcite: desc)))   

only this line.

You get this error because Emacs tries to evaluate

  (search rtcite: desc)

... and it cannot, because search is not a function.  
Search here is a variable (a string), hence 
(or search rtcite: desc))) should return something
sensible.

HTH,

-- 
 Bastien



Re: [O] Symbol's function definition is void: search

2012-10-02 Thread Sanjib Sikder
Hi,

I did what you said but still it is giving the same error,..[undefined
reference]

There is one line in the org file

[[papers:paper2012][paper2012-paper]]
[[bib:paper2012][paper2012-bib]]
[[biblist:paper2012][paper2012-biblist]]

This line is giving the error. If I remove this line from my org file, then
everything is perfect. While I am trying to export pdf including that line,
i am getting the error .[undefined reference].

Thanks a lot.

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

*



On Tue, Oct 2, 2012 at 7:55 PM, Bastien b...@altern.org wrote:

 Hi Sanjib,

 Sanjib Sikder sanjibju2...@gmail.com writes:

  or only
 
  (search rtcite: desc)))
 
 
 
  with this
 
(or search rtcite: desc)))

 only this line.

 You get this error because Emacs tries to evaluate

   (search rtcite: desc)

 ... and it cannot, because search is not a function.
 Search here is a variable (a string), hence
 (or search rtcite: desc))) should return something
 sensible.

 HTH,

 --
  Bastien