BibTeX, biblatex and biber ⇒ How to lowercase capitals automatically?
How to lowercase capitals automatically?
I am using the natbib package together with an ecology.bst style file for my references. Some of the older entries in my BiBTeX database (the entries of which were all downloaded from Web of Science) have author, title and journal name in all-capitals. Is there a way to downcase these automatically when I cite them?
Here's an example entry from my database:
@Article{ ISI:A1985ABU3900006,
Author = "GJ BUTLER and GSK WOLKOWICZ",
Title = "{A MATHEMATICAL-MODEL OF THE CHEMOSTAT WITH A GENERAL-CLASS OF FUNCTIONS DESCRIBING NUTRIENT-UPTAKE}",
Journal = "{SIAM JOURNAL ON APPLIED MATHEMATICS}",
Year = "{1985}",
Volume = "{45}",
Number = "{1}",
Pages = "{138--151}",
ISSN = "{0036-1399}",
Unique-ID = "{ISI:A1985ABU3900006}"
}
Thanks!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: How to lowercase capitals automatically?
Re: How to lowercase capitals automatically?
How do I get JabRef to change the case?
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
How to lowercase capitals automatically?
Code: Select all
:%s/\<\(\w\)\(\w*\)\>/\u\1\L\2/g
This will, however, change your cite keys to title case as well. If you want the substitution to occur only on the current line, omit the % sign. You can then run the command per line (a . repeats the last command).
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
How to lowercase capitals automatically?
In JabRef, you can right-click on a field and choose Change Case, then the change to make.daantje wrote:Thanks for your advice, Jospeh.
How do I get JabRef to change the case?
How to lowercase capitals automatically?
Code: Select all
@ARTICLE{ISI:A1985ABU3900006,
author = {GJ BUTLER and GSK WOLKOWICZ},
title = {A MATHEMATICAL-MODEL OF THE CHEMOSTAT WITH A GENERAL-CLASS OF FUNCTIONS
DESCRIBING NUTRIENT-UPTAKE},
journal = {SIAM JOURNAL ON APPLIED MATHEMATICS},
year = {1985},
volume = {45},
pages = {138--151},
number = {1},
issn = {0036-1399},
unique-id = {ISI:A1985ABU3900006}
}
BUTLER, G., and G. WOLKOWICZ. 1985. A MATHEMATICAL-MODEL OF THE CHEMOSTAT WITH A GENERAL-CLASS OF FUNCTIONS DESCRIBING NUTRIENT-UPTAKE. SIAM JOURNAL ON APPLIED
Also, the initials of the authors are improperly abbreviated. There's no way for the computer to know whether it is dealing with initials or a full name, so I guess hand work is inevitable. I'll change case by hand.
Still I would like to know how downcase automatically. I think the ecology.bst has this capability, because my colleague says it has and because the file contains the text "change.case".