Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

BibTex in Scientific workplace

1,192 views
Skip to first unread message

Ravi

unread,
Apr 10, 2004, 2:39:40 AM4/10/04
to
I am trying to create biliography for one article. I followed the help
in SWP and do the following:

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

Robin Fairbairns

unread,
Apr 10, 2004, 3:45:47 AM4/10/04
to
ravi...@hotmail.com (Ravi) writes:
>I am trying to create biliography for one article. I followed the help
>in SWP and do the following:
>[...]

>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

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

Johan

unread,
Apr 10, 2004, 3:52:29 AM4/10/04
to
Just looking at your output, and without thinking too hard about this
(like Robin a few hours ago, I am having my night-cap) I see

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

Ravi

unread,
Apr 10, 2004, 2:08:46 PM4/10/04
to
Robin and Johan,

Yes. After I delete the white space, it works. Thank you very very much!

Siqi

Peter Flynn

unread,
Apr 11, 2004, 9:28:57 AM4/11/04
to

\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

George N. White III

unread,
Apr 12, 2004, 8:40:32 AM4/12/04
to
On Sun, 11 Apr 2004, Peter Flynn wrote:

> 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

Robin Fairbairns

unread,
Apr 12, 2004, 10:07:14 AM4/12/04
to
"George N. White III" <aa...@chebucto.ns.ca> writes:
>On Sun, 11 Apr 2004, Peter Flynn 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.

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.

0 new messages