[texhax] .bib "challenge" (AKA problem..!)
Fabian Scheler
fabian.scheler at gmail.com
Tue Aug 9 09:46:39 CEST 2005
Hi,
what about macros? In one file you define macros containing the full
name and in an other file you define macros containing the abbreviated
names. In the main bibtex-file you refer top these macros instead of
typing the real name of the journal. Within your tex-file you can now
use the file containing the macros with the full or the abbreviated
names.
Ciao, Fabian
On 8/8/05, Spank <tuche at tin.it> wrote:
>
> Enlightened TeX gurus,
>
> I am writing an article, and have a specific bibliographystyle quite close
> to the formatting required. Now here is the problem: in the "journal" field
> of the .bib file I have the full name of the journal for each entry (say,
> "Proceedings of the national academy of sciences"), yet the journal's
> bibliography requires abbreviations to be used (in the example it would be
> "Proc. Nat. Ac.").
>
> To avoid having to re-write the fields of each entry every time I write for
> a journal that uses abbreviations or not, is there a way to create some
> "association list" (intuitively something containing two columns: one with
> the full name - i.e. the target string - and one with the abbreviated name -
> i.e. the string that replaces the target string - ) and some command that
> may look up into the list and apply the changes (i.e. put abbreviations
> instead of full name) at compiling?
>
> Hope this is clear enough..!
>
> Thanks for any help, cheers
>
> Martin
>
>
>
> --------------------------
>
> I became insane, with long intervals of horrible sanity. [E.A. Poe]
>
> Would you tell me, please, which way I ought to go from here? ''That depends
> a good deal on where you want to get to.'' Said the Cat. I don't much care
> where -- Said Alice. Then it doesn't matter which way you go, said the Cat.
> [Lewis Carroll]
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> TeX newsgroup:
> http://groups.google.com/groups?group=comp.text.tex
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management:
> http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
>
>
More information about the texhax
mailing list