1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
<head>
<title>UK TeX FAQ -- question label bibprefixsort</title>
</head><body>
<h3>BibTeX sorting and name prefixes</h3>
<p>BibTeX recognises a bewildering array of name prefixes (mostly
those deriving from European language names); it ignores the prefixes
when sorting the bibliography - you want "Ludwig van Beethoven"
sorted under "Beethoven", not under "van". (Lamport made a witty
deliberate mistake with Beethoven's name, in the first edition of his
LaTeX manual.)
<p>However, a recurring issue is the desire to quote Lord Rayleigh's
publications ("Lord" isn't an acceptable prefix), or names from
languages that weren't considered when BibTeX was designed such as
"al-Wakil" (transcribed from the Arabic). What's needed is a
separate "sort key", but BibTeX only allows such a thing in
citations of items that have no author or editor.
<p>The solution is to embed the sort key in the author's name, but to
prevent it from being typeset. Patashnik recommends a command
<code>\</code><code>noopsort</code> (no-output-sortkey), which is defined and used as
follows:
<blockquote>
<pre>
@PREAMBLE{ {\providecommand{\noopsort}[1]{}} }
...
@ARTICLE{Rayleigh1,
AUTHOR = "{\noopsort{Rayleigh}}{Lord Rayleigh}",
...
</pre>
</blockquote>
<p><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=bibprefixsort">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=bibprefixsort</a>
</body>
|