1. typeset -> bibliography Choice->bibTex ->ok
2. typeset -> general setting -> specify locations for my bib datafile
and style file
3. go to the end of the document,(still in body text)-> insert ->
typeset objects -> bibliograph -> I get a gray box marked "[BIBTEX]"
4. insert -> typeset object ->citation -> choose my *.bib specified
in step 2 -> choose the key I wanted to cite, -> check the box labeled
bibliography Entry only - No citation ->choose OK
5. Typeset -> compile ->generate bibliograph
If I put my *.bib file in my own folder, I will get the following
error message:
*************************************
cd C:/swp50/temp/
C:\swp50\TCITeX\web2c\BibTeX.exe C:/swp50/temp/swp0000
This is BibTeX, Version 0.99c (Web2c 7.3.7x)
The top-level auxiliary file: C:/swp50/temp/swp0000.aux
The style file: elsart-harv.bst
White space in argument---line 23 of file C:/swp50/temp/swp0000.aux
: \bibdata{acompat,asset
: pricing2,asset pricing2}
I'm skipping whatever remains of this command
Database file #1: acompat.bib
Warning--I didn't find a database entry for "Heaton95"
(There was 1 error message)
[BibTeX finished]
*************************************************
If I put my *.bib file in the folder generated when installed SWP-
C:\swp50\TCITeX\BibTeX\bib, I got the following error message:
***********************************************
cd C:/swp50/temp/
C:\swp50\TCITeX\web2c\BibTeX.exe C:/swp50/temp/swp0000
This is BibTeX, Version 0.99c (Web2c 7.3.7x)
The top-level auxiliary file: C:/swp50/temp/swp0000.aux
The style file: elsart-harv.bst
White space in argument---line 23 of file C:/swp50/temp/swp0000.aux
: \bibdata{acompat,asset
: pricing2,asset pricing2}
I'm skipping whatever remains of this command
Database file #1: acompat.bib
Warning--I didn't find a database entry for "Heaton95"
(There was 1 error message)
[BibTeX finished]
******************************************************
(acompat.bib is the bib datafile in the fisrt folder in
'C:\swp50\TCITeX\BibTeX\bib'.
How can I let SWP locate my *.bib? Or had I made any mistakes in the 5
steps mentioned above? Any help will be greatly appreciated!
Siqi
your bibtex can't cope with spaces in file names. rename the .bib
file to asset-pricing2 (or something), and change the \bibliography
command, and everything will be ok.
--
Robin (http://www.tex.ac.uk/faq) Fairbairns, Cambridge
White space in argument---line 23 of file C:/swp50/temp/swp0000.aux
: \bibdata{acompat,asset
: pricing2,asset pricing2}
I'm skipping whatever remains of this command
So I guess that
1) you specify a bibtex file whose name contains a whitespace
2) bibtex hates white space in file names
Niether of which I know to be true, but that is where I would start to look.
Johan
Yes. After I delete the white space, it works. Thank you very very much!
Siqi
\begin{rant}
Spaces in filenames and directory names are evil. They make your teeth
fall out, give you spots, cause global warming, nuclear war, etc.
\end{rant}
///Peter
> Ravi wrote:
>
> \begin{rant}
> Spaces in filenames and directory names are evil. They make your teeth
> fall out, give you spots, cause global warming, nuclear war, etc.
> \end{rant}
They are also difficult to avoid on Windows XP, especially for those
forced to use a configuration that has been locked down by "head
office" (government and large companies), so any situation where spaces
are not handled appropriately needs to be reported as a bug.
--
George N. White III <aa...@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia, Canada
indeed. and particularly so in a commercial windows implementation.
never having even seen so much as documentation of truetex (the
implementation underneath scientific workplace, iirc) i don't know if
there are work-arounds that permit the use of gappy file-names. it
wouldn't surprise me if there are; such information ought to be
available from the vendor.