Re: A small problem with Alpha and BibTeX 1.1.8

New Message Reply Date view Thread view Subject view Author view

From: Vittorio Coti Zelati (zelati@cds.unina.it)
Date: 8 Mar 01, 00:38 EST


From: Vittorio Coti Zelati <zelati@cds.unina.it>
Subject: Re: A small problem with Alpha and BibTeX 1.1.8

>As you probably know, I inherited Bib mode, and this part of the
>formatting is a legacy from the original author(s).  I don't know the
>rationale for stripping any braces from a field that contains the hash. 
>It could easily be changed -- if anyone has any further information on
>when the braces should or should not be stripped please let me know. 
>My guess is that the line
>
>       [regexp {\#} $value]]
>
>might need more elaboration.

 From the bibtex documentation:


You can now have as a field value (or an @STRING definition) the 
concatenation of several strings. For example if you've defined

@STRING( WGA = " World Gnus Almanac" )

then it's easy to produce nearly-identical title fields for different entries:

@BOOK(almanac-66,
     title = 1966 # WGA,
     .  .  .
@BOOK(almanac-67,
     title = 1967 # WGA,

and so on.  Or, you could have a field like

month = "1~" # jan,

which would come out something like

1~January or 1~Jan.

in the bbl file, depending on how your bibliography style defines the 
jan abbreviation.

You may concatenate as many strings as you like (except that there's 
a limit to the overall length of the resulting field); just be sure 
to put the concatenation character #, surrounded by optional spaces 
or newlines, between each successive pair of strings.


I checked and it seems to me that bibtex mode formats correctly entries like

"New " # WGA (here WGA must be defined by a @STRING command)
"New " # " World Gnus Almanac"

but it fails to format correctly valid entries like

"New \# World Gnus Almanac"

I will try to see if I can find a fix.

ciao

Vittorio Coti Zelati

_______________________________________________
AlphaTcl-users mailing list
AlphaTcl-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/alphatcl-users


New Message Reply Date view Thread view Subject view Author view

This archive was generated by das@users.sourceforge.net with hypermail 2b29 on 31 Mar 01, 11:51 EST