diff options
author | Robert Alessi <alessi@robertalessi.net> | 2019-02-25 20:05:41 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2019-02-25 20:05:41 +0100 |
commit | 7427c70d2f0c790c2792e7126a99861eb6663df9 (patch) | |
tree | c9dcd964ff16c5affa0760cf2f5c57aac35a735b | |
parent | 6e01df833d4597f0ed1626374c966ade890f7b4d (diff) | |
download | icite-7427c70d2f0c790c2792e7126a99861eb6663df9.tar.gz |
defined \@sortedtitle
-rw-r--r-- | icite.dtx | 21 |
1 files changed, 7 insertions, 14 deletions
@@ -279,26 +279,19 @@ Running "make install" installs the files in the local TeX tree. | |||
279 | \def\@usetitle{\@indextitle}% | 279 | \def\@usetitle{\@indextitle}% |
280 | \fi | 280 | \fi |
281 | \ifx\@indexsorttitle\empty | 281 | \ifx\@indexsorttitle\empty |
282 | \def\@sortedtitle{\@usetitle}% | ||
283 | \else | ||
284 | \def\@sortedtitle{{\@indexsorttitle}@\@usetitle}% | ||
285 | \fi | ||
282 | \IfNoValueTF{#1}% | 286 | \IfNoValueTF{#1}% |
283 | {\index{\get@bibentry{#3}{author}!\@usetitle}% | 287 | {\index{\get@bibentry{#3}{author}!\@sortedtitle}% |
284 | \csname #4\endcsname{#3}} | ||
285 | {\IfNoValueTF{#2}% | ||
286 | {\index{\get@bibentry{#3}{author}!\@usetitle!#1}% | ||
287 | \csname #4\endcsname[{#1}]{#3}} | ||
288 | {\index{\get@bibentry{#3}{author}!\@usetitle!#2}% | ||
289 | \csname #4\endcsname[#1][{#2}]{#3}}% | ||
290 | }% | ||
291 | \else% | ||
292 | \IfNoValueTF{#1}% | ||
293 | {\index{\get@bibentry{#3}{author}!{\@indexsorttitle}@\@usetitle}% | ||
294 | \csname #4\endcsname{#3}} | 288 | \csname #4\endcsname{#3}} |
295 | {\IfNoValueTF{#2}% | 289 | {\IfNoValueTF{#2}% |
296 | {\index{\get@bibentry{#3}{author}!{\@indexsorttitle}@\@usetitle!#1}% | 290 | {\index{\get@bibentry{#3}{author}!\@sortedtitle!#1}% |
297 | \csname #4\endcsname[{#1}]{#3}} | 291 | \csname #4\endcsname[{#1}]{#3}} |
298 | {\index{\get@bibentry{#3}{author}!{\@indexsorttitle}@\@usetitle!#2}% | 292 | {\index{\get@bibentry{#3}{author}!\@sortedtitle!#2}% |
299 | \csname #4\endcsname[#1][{#2}]{#3}}% | 293 | \csname #4\endcsname[#1][{#2}]{#3}}% |
300 | }% | 294 | }% |
301 | \fi% | ||
302 | } | 295 | } |
303 | % \end{macrocode} | 296 | % \end{macrocode} |
304 | % \iffalse | 297 | % \iffalse |