ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Inits without space in bibliography
@ 2011-10-05 10:18 Charles
  2011-10-06 21:48 ` Pontus Lurcock
  0 siblings, 1 reply; 3+ messages in thread
From: Charles @ 2011-10-05 10:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I would like (the journal actually) to remove the spaces between 
initials (C.E. instead of C. E.). in the bibliography.

It seems initials are created during the .bib to .bbl conversion but I 
haven't find anything in the .bst style file. Can you please help ?

Thanks

Charles
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Inits without space in bibliography
  2011-10-05 10:18 Inits without space in bibliography Charles
@ 2011-10-06 21:48 ` Pontus Lurcock
  2011-10-07 16:05   ` Charles
  0 siblings, 1 reply; 3+ messages in thread
From: Pontus Lurcock @ 2011-10-06 21:48 UTC (permalink / raw)
  To: ntg-context

On Wed 05 Oct 2011, Charles wrote:

> I would like (the journal actually) to remove the spaces between  
> initials (C.E. instead of C. E.). in the bibliography.
>
> It seems initials are created during the .bib to .bbl conversion but I  
> haven't find anything in the .bst style file. Can you please help ?

I've looked at doing something similar, but haven't had time to get to
the bottom of it. In my case I'm using the cont-au.bst file. I think
the magic happens in the format.names function, which in turn calls
bibtex's internal format.name$ function. This stuff is documented in
Patashnik's bibtex docs -- see
http://amath.colorado.edu/documentation/LaTeX/reference/faq/bibtex.pdf
section 5 (and especially 5.4) which explains what all the {vv}s and
{ll}s etc. do.

On a quick reading, it looks to me as though changing the line

     s nameptr "{f}" format.name$ add.period$ 't := 

to

     s nameptr "{f{}}" format.name$ add.period$ 't := 

should remove the spacing, but I haven't tested it.

Hope this helps, and good luck!

Pont
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Inits without space in bibliography
  2011-10-06 21:48 ` Pontus Lurcock
@ 2011-10-07 16:05   ` Charles
  0 siblings, 0 replies; 3+ messages in thread
From: Charles @ 2011-10-07 16:05 UTC (permalink / raw)
  To: ntg-context

> On a quick reading, it looks to me as though changing the line
>
>       s nameptr "{f}" format.name$ add.period$ 't :=
>
> to
>
>       s nameptr "{f{}}" format.name$ add.period$ 't :=
>
> should remove the spacing, but I haven't tested it.
>

I don't think it would work as every "field" is separated by a space 
later. But I found here [1] a function to remove the spaces.

Thanks

Charles

[1] ftp://ftp.tex.ac.uk/tex-archive/biblio/bibtex/contrib/doc/btxFAQ.pdf

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-07 16:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-05 10:18 Inits without space in bibliography Charles
2011-10-06 21:48 ` Pontus Lurcock
2011-10-07 16:05   ` Charles

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).