Re: [PATCH] fix bug in biblio.c

2002-04-15 Thread Juergen Spitzmueller

Herbert Voss wrote:
 an authorname in a bibtexfile maybe H.\ Voss, to get a
 normal space between the dot and the family name. This
 patch strips these spaces for the view in the citation-gui,
 ahich shows \ Voss (as string) in this case.

I thought BibTeX is using frenchspacing by default, so that kind of spacing 
commands are not needed?
And why do you want to force a normal space after capital letter - dot?

Juergen.



Re: [PATCH] fix bug in biblio.c

2002-04-15 Thread Herbert Voss

On Mon, 15 Apr 2002, Juergen Spitzmueller wrote:

 Herbert Voss wrote:
  an authorname in a bibtexfile maybe H.\ Voss, to get a
  normal space between the dot and the family name. This
  patch strips these spaces for the view in the citation-gui,
  ahich shows \ Voss (as string) in this case.

 I thought BibTeX is using frenchspacing by default, so that kind of spacing
 commands are not needed?
 And why do you want to force a normal space after capital letter - dot?

did I said that it was me, who uses such bibtex entries? ;-)

Herbert




Re: [PATCH] fix bug in biblio.c

2002-04-15 Thread Juergen Spitzmueller

Herbert Voss wrote:
  I thought BibTeX is using frenchspacing by default, so that kind of
  spacing commands are not needed?
  And why do you want to force a normal space after capital letter - dot?

 did I said that it was me, who uses such bibtex entries? ;-)

Of course I wouldn't dare to think so ;-)

Juergen



Re: [PATCH] fix bug in biblio.c

2002-04-15 Thread Juergen Spitzmueller

Herbert Voss wrote:
> an authorname in a bibtexfile maybe "H.\ Voss", to get a
> normal space between the dot and the family name. This
> patch strips these spaces for the view in the citation-gui,
> ahich shows "\ Voss" (as string) in this case.

I thought BibTeX is using frenchspacing by default, so that kind of spacing 
commands are not needed?
And why do you want to force a normal space after capital letter - dot?

Juergen.



Re: [PATCH] fix bug in biblio.c

2002-04-15 Thread Herbert Voss

On Mon, 15 Apr 2002, Juergen Spitzmueller wrote:

> Herbert Voss wrote:
> > an authorname in a bibtexfile maybe "H.\ Voss", to get a
> > normal space between the dot and the family name. This
> > patch strips these spaces for the view in the citation-gui,
> > ahich shows "\ Voss" (as string) in this case.
>
> I thought BibTeX is using frenchspacing by default, so that kind of spacing
> commands are not needed?
> And why do you want to force a normal space after capital letter - dot?

did I said that it was me, who uses such bibtex entries? ;-)

Herbert




Re: [PATCH] fix bug in biblio.c

2002-04-15 Thread Juergen Spitzmueller

Herbert Voss wrote:
> > I thought BibTeX is using frenchspacing by default, so that kind of
> > spacing commands are not needed?
> > And why do you want to force a normal space after capital letter - dot?
>
> did I said that it was me, who uses such bibtex entries? ;-)

Of course I wouldn't dare to think so ;-)

Juergen



[PATCH] fix bug in biblio.c

2002-04-14 Thread Herbert Voss

an authorname in a bibtexfile maybe H.\ Voss, to get a
normal space between the dot and the family name. This
patch strips these spaces for the view in the citation-gui,
ahich shows \ Voss (as string) in this case.

Herbert


-- 
http://www.lyx.org/help/


Index: src/frontends/controllers/ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/ChangeLog,v
retrieving revision 1.159
diff -u -r1.159 ChangeLog
--- src/frontends/controllers/ChangeLog 12 Apr 2002 15:25:11 -  1.159
+++ src/frontends/controllers/ChangeLog 14 Apr 2002 10:02:00 -
@@ -1,3 +1,8 @@
+2002-04-14  Herbert Voss  [EMAIL PROTECTED]
+
+   * biblio.C: fix bug in familyName, when a LaTeX space \x was
+   used in the bibdata
+
 2002-04-11  Herbert Voss  [EMAIL PROTECTED]
 
* ControlGraphics.C: expand browse-string to all available formats
Index: src/frontends/controllers/biblio.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/biblio.C,v
retrieving revision 1.21
diff -u -r1.21 biblio.C
--- src/frontends/controllers/biblio.C  21 Mar 2002 21:21:28 -  1.21
+++ src/frontends/controllers/biblio.C  14 Apr 2002 10:02:00 -
@@ -158,6 +158,9 @@
idx = fname.rfind(.);
if (idx != string::npos)
fname = frontStrip(fname.substr(idx+1));
+   // test if we have a LaTeX Space in front
+   if (fname[0] == '\\')
+   return fname.substr(2);
 
return fname;
 }



[PATCH] fix bug in biblio.c

2002-04-14 Thread Herbert Voss

an authorname in a bibtexfile maybe "H.\ Voss", to get a
normal space between the dot and the family name. This
patch strips these spaces for the view in the citation-gui,
ahich shows "\ Voss" (as string) in this case.

Herbert


-- 
http://www.lyx.org/help/


Index: src/frontends/controllers/ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/ChangeLog,v
retrieving revision 1.159
diff -u -r1.159 ChangeLog
--- src/frontends/controllers/ChangeLog 12 Apr 2002 15:25:11 -  1.159
+++ src/frontends/controllers/ChangeLog 14 Apr 2002 10:02:00 -
@@ -1,3 +1,8 @@
+2002-04-14  Herbert Voss  <[EMAIL PROTECTED]>
+
+   * biblio.C: fix bug in familyName, when a LaTeX space "\x" was
+   used in the bibdata
+
 2002-04-11  Herbert Voss  <[EMAIL PROTECTED]>
 
* ControlGraphics.C: expand "browse-string" to all available formats
Index: src/frontends/controllers/biblio.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/controllers/biblio.C,v
retrieving revision 1.21
diff -u -r1.21 biblio.C
--- src/frontends/controllers/biblio.C  21 Mar 2002 21:21:28 -  1.21
+++ src/frontends/controllers/biblio.C  14 Apr 2002 10:02:00 -
@@ -158,6 +158,9 @@
idx = fname.rfind(".");
if (idx != string::npos)
fname = frontStrip(fname.substr(idx+1));
+   // test if we have a LaTeX Space in front
+   if (fname[0] == '\\')
+   return fname.substr(2);
 
return fname;
 }