Opened 19 years ago

Closed 18 years ago

#2186 closed defect (fixed)

.bst files cannot live in paths with spaces

Reported by: Georg Baum Owned by: poenitz
Priority: high Milestone: 1.4.4
Component: insets Version: 1.4.2
Severity: normal Keywords: patch
Cc: lasgouttes@…, j.spitzmueller@…, ben.bob@…, bewihelm@…, uwestoehr@…, tiefertraum@…

Description

This is a BibTeX limitation. The solution is to copy the .bst files to the temp
dir before running LaTeX, as is done for .bib files, graphics etc.

Attachments (1)

bstwithspace.diff (1.0 KB ) - added by ben.bob@… 19 years ago.
Copy bst file to /tmp to solve the problem.

Download all attachments as: .zip

Change History (16)

by ben.bob@…, 19 years ago

Attachment: bstwithspace.diff added

Copy bst file to /tmp to solve the problem.

comment:1 by Georg Baum, 19 years ago

Keywords: fixedintrunk added

Fixed in 1.5svn

comment:2 by Uwe Stöhr, 19 years ago

Cc: uwestoehr@… added
Keywords: patch added
Milestone: 1.4.2
Version: 1.4.0cvs1.4.0

Georg, could your patch also go into the 1.4 tree?

comment:3 by Georg Baum, 19 years ago

In principal yes, but it is a) Bo's patch, b) you have to ask Jean-Marc and c)
there seems to be a related crash on OS X (see thread "1.5.0svn, Qt2 crash on
typeset" that should be solved IMHO before it goes into 1.4.

comment:4 by lasgouttes, 19 years ago

Milestone: 1.4.21.4.x

comment:5 by Uwe Stöhr, 19 years ago

Cc: lasgouttes@… bpeng@… added
Milestone: 1.4.x1.4.3
Version: 1.4.01.4.2

Bo, JMarc what's the status of this bug concerning LyX 1.4.3?

comment:6 by ben.bob@…, 19 years ago

JMarc, can this go into 1.4.x? This may be the last space-in-path bug ... the
crash on mac was never confirmed.

comment:7 by Georg Baum, 19 years ago

Cc: tiefertraum@… added

comment:8 by Georg Baum, 19 years ago

* #2785 has been marked as a duplicate of this bug. *

comment:9 by lasgouttes, 19 years ago

Milestone: 1.4.31.4.x

comment:10 by Uwe Stöhr, 18 years ago

Milestone: 1.4.x1.4.4

comment:11 by Uwe Stöhr, 18 years ago

blocked: 3082

comment:12 by lasgouttes, 18 years ago

Cc: bennett.helm@… added

Bennett, could you test whether this causes crashes in 1.4 on OSX?

comment:13 by bewihelm@…, 18 years ago

It doesn't crash on OS X, but it doesn't work either: the bibliography is not
found. Here are the bibliography lines from the produced .tex file:

\bibliographystyle{/Users/bennett/Library/texmf/bibtex/bst/jox}
\bibliography{\string"untitled folder/test\string"}

And here is the log file produced when running BibTeX manually:

This is BibTeX, Version 0.99c (Web2C 7.5.6)
The top-level auxiliary file: newfile2.aux
The style file: /Users/bennett/Library/texmf/bibtex/bst/jox.bst
White space in argument---line 20 of file newfile2.aux

: \bibdata{"untitled
: folder/test"}

I'm skipping whatever remains of this command
I found no database files---while reading file newfile2.aux
Warning--I didn't find a database entry for "Ackrill1981Aristotle-the-P"
(There were 2 error messages)

comment:14 by Juergen Spitzmueller, 18 years ago

Cc: j.spitzmueller@… added

It doesn't crash on OS X, but it doesn't work either: the bibliography is not
found. Here are the bibliography lines from the produced .tex file:

Bennett, are you sure this is related to the patch? Actually, you tested a case
where the bibtex (*.bib) file is in a path with spaces, but the patch addresses
a bug where the bibtex style file (*.bst) is in a path with spaces.

comment:15 by lasgouttes, 18 years ago

Keywords: fixedintrunk removed
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.