diff options
author | Robert Alessi <alessi@robertalessi.net> | 2019-11-28 16:47:49 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2019-11-28 16:47:49 +0100 |
commit | 91b8ce8dc214cfef2ed19b046c66d2e8e1ced720 (patch) | |
tree | 20c23ce17b97da339ba4a1bdc119e85f86e26c46 | |
parent | a9b2bdde84a083408ea7e7887640212d4a597a19 (diff) | |
download | icite-91b8ce8dc214cfef2ed19b046c66d2e8e1ced720.tar.gz |
bugfix: \DTLforeach* iteration needs to be included in a group
-rw-r--r-- | icite.dtx | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -1321,6 +1321,7 @@ Running "make install" installs the files in the local TeX tree. | |||
1321 | \index{\@sortedauthor!\@sortedtitle}% | 1321 | \index{\@sortedauthor!\@sortedtitle}% |
1322 | \fi\fi% | 1322 | \fi\fi% |
1323 | }{% | 1323 | }{% |
1324 | \bgroup% | ||
1324 | \DTLforeach*{icite@indices}{% | 1325 | \DTLforeach*{icite@indices}{% |
1325 | \icite@subtype=subtype,\icite@index=index}{% | 1326 | \icite@subtype=subtype,\icite@index=index}{% |
1326 | \ifx\@subtype\icite@subtype% | 1327 | \ifx\@subtype\icite@subtype% |
@@ -1333,7 +1334,8 @@ Running "make install" installs the files in the local TeX tree. | |||
1333 | \else% | 1334 | \else% |
1334 | \index{\@sortedauthor!\@sortedtitle}% | 1335 | \index{\@sortedauthor!\@sortedtitle}% |
1335 | \fi\fi% | 1336 | \fi\fi% |
1336 | \fi}}% | 1337 | \fi}% |
1338 | \egroup}% | ||
1337 | \ifno@bibengine | 1339 | \ifno@bibengine |
1338 | \ifx\@shorthand\empty% | 1340 | \ifx\@shorthand\empty% |
1339 | \@useauthor\ic@authtitdelim\TitleStyle{\@usetitle}% | 1341 | \@useauthor\ic@authtitdelim\TitleStyle{\@usetitle}% |
@@ -1353,6 +1355,7 @@ Running "make install" installs the files in the local TeX tree. | |||
1353 | \index{\@sortedauthor!\@sortedtitle!#1}% | 1355 | \index{\@sortedauthor!\@sortedtitle!#1}% |
1354 | \fi\fi% | 1356 | \fi\fi% |
1355 | }{% | 1357 | }{% |
1358 | \bgroup% | ||
1356 | \DTLforeach*{icite@indices}{% | 1359 | \DTLforeach*{icite@indices}{% |
1357 | \icite@subtype=subtype,\icite@index=index}{% | 1360 | \icite@subtype=subtype,\icite@index=index}{% |
1358 | \ifx\@subtype\icite@subtype% | 1361 | \ifx\@subtype\icite@subtype% |
@@ -1365,7 +1368,8 @@ Running "make install" installs the files in the local TeX tree. | |||
1365 | \else% | 1368 | \else% |
1366 | \index{\@sortedauthor!\@sortedtitle!#1}% | 1369 | \index{\@sortedauthor!\@sortedtitle!#1}% |
1367 | \fi\fi% | 1370 | \fi\fi% |
1368 | \fi}}% | 1371 | \fi}% |
1372 | \egroup}% | ||
1369 | \ifno@bibengine | 1373 | \ifno@bibengine |
1370 | \ifx\@shorthand\empty% | 1374 | \ifx\@shorthand\empty% |
1371 | \@useauthor\ic@authtitdelim\TitleStyle{\@usetitle}% | 1375 | \@useauthor\ic@authtitdelim\TitleStyle{\@usetitle}% |
@@ -1385,6 +1389,7 @@ Running "make install" installs the files in the local TeX tree. | |||
1385 | \index{\@sortedauthor!\@sortedtitle!#2}% | 1389 | \index{\@sortedauthor!\@sortedtitle!#2}% |
1386 | \fi\fi% | 1390 | \fi\fi% |
1387 | }{% | 1391 | }{% |
1392 | \bgroup% | ||
1388 | \DTLforeach*{icite@indices}{% | 1393 | \DTLforeach*{icite@indices}{% |
1389 | \icite@subtype=subtype,\icite@index=index}{% | 1394 | \icite@subtype=subtype,\icite@index=index}{% |
1390 | \ifx\@subtype\icite@subtype% | 1395 | \ifx\@subtype\icite@subtype% |
@@ -1397,7 +1402,8 @@ Running "make install" installs the files in the local TeX tree. | |||
1397 | \else% | 1402 | \else% |
1398 | \index{\@sortedauthor!\@sortedtitle!#2}% | 1403 | \index{\@sortedauthor!\@sortedtitle!#2}% |
1399 | \fi\fi% | 1404 | \fi\fi% |
1400 | \fi}}% | 1405 | \fi}% |
1406 | \egroup}% | ||
1401 | \ifno@bibengine | 1407 | \ifno@bibengine |
1402 | \ifx\@shorthand\empty% | 1408 | \ifx\@shorthand\empty% |
1403 | #1 \@useauthor\ic@authtitdelim\TitleStyle{\@usetitle}% | 1409 | #1 \@useauthor\ic@authtitdelim\TitleStyle{\@usetitle}% |