diff options
-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 |