Jean-Marc Lasgouttes wrote:
> Bas> Spaces in citations are not handled well by Latex.  Maybe it is
> Bas> better not to allow spaces in Lyx too.
> 
> I'll have to check this. You mean that \cite{a b} does not work?

I have attached the files:
test.lyx and test.bib

When run they give the following error message:

This is BibTeX, Version 0.99c (Web2C 7.2)
The top-level auxiliary file: test.aux
White space in argument---line 2 of file test.aux
 : \citation{a
 :             b}
I'm skipping whatever remains of this command
The style file: plain.bst
I found no cite keys---while reading file test.aux
Database file #1: test.bib
I was expecting a `,' or a `}'---line 1 of file test.bib
 : @book{a 
 :         b,
I'm skipping whatever remains of this entry
(There were 3 error messages)

Hope it helps,

Bas Spitters
#This file was created by <bass> Thu Sep  2 15:06:09 1999
#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass article
\language default
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset LatexCommand \cite{a b}

\end_inset 


\layout Standard


\begin_inset LatexCommand \BibTeX[plain]{test}

\end_inset 


\the_end
@book{a b,
author=test,
title=test,
year=1999,
}

Reply via email to