I want to extract, say, the 'pages' field of an '@article' from a BibTeX file, without having to write it explicitly in the TeX file.
Let me illustrate what I mean with an example- Suppose refs.bib contains:
Code: Select all
@article{Rubin1970,
author = "Rubin, Vera C and Ford, W Kent Jr.",
title = "Rotation of the Andromeda Nebula from a Spectroscopic Survey of Emission Regions",
journal = "The Astrophysical Journal",
volume = "159",
pages = "379-403",
year = "1970",
month = "February"
}
... as demonstrated in (\cite{Rubin1970}, pages [color=#FF0000]\getpages[/color]{Rubin1970})...
where the command \getpages represent the one I'm looking for, which should produce the output:
Is it possible to do something like that?... as demonstrated in (1, pages 379-403)...
Thanks,
Gilad.