Skip to content

Commit 079309f

Browse files
authored
Only show authors in Cite, not maintainers (#6162)
1 parent 1377a4e commit 079309f

File tree

2 files changed

+17
-19
lines changed

2 files changed

+17
-19
lines changed

lib/package.gi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2784,7 +2784,7 @@ InstallGlobalFunction( BibEntry, function( arg )
27842784
# <Mark><C>author</C></Mark>
27852785
# <Item>
27862786
# computed from the <C>Persons</C> component of the package,
2787-
# not distinguishing authors and maintainers,
2787+
# just taking authors,
27882788
# keeping the ordering of entries,
27892789
# </Item>
27902790
# <Mark><C>title</C></Mark>
@@ -2846,7 +2846,7 @@ InstallGlobalFunction( BibEntry, function( arg )
28462846
else
28472847
entry:= Concatenation( "<entry id=\"", key, "\"><misc>\n" );
28482848
author:= List( Filtered( pkginfo.Persons,
2849-
person -> person.IsAuthor or person.IsMaintainer ),
2849+
person -> person.IsAuthor ),
28502850
person -> Concatenation(
28512851
" <name>",
28522852
CallFuncList( function(x) if IsBound( x.FirstNames ) then

tst/testinstall/package.tst

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -489,15 +489,15 @@ to cite mockpkg version from this installation
489489

490490
Text:
491491

492-
[AAM18] Author, A., Author, R. and Maintainer, O., mockpkg, A mock package
493-
for use by the GAP test suite, Version 0.1 (2018), GAP package,
492+
[AA18] Author, A. and Author, R., mockpkg, A mock package for use by the GAP
493+
test suite, Version 0.1 (2018), GAP package,
494494
https://mockpkg.gap-system.org/.
495495

496496
HTML:
497497

498498
<p class='BibEntry'>
499-
[<span class='BibKey'>AAM18</span>] <b class='BibAuthor'>Author, A., Author,\
500-
R. and Maintainer, O.</b>,
499+
[<span class='BibKey'>AA18</span>] <b class='BibAuthor'>Author, A. and Autho\
500+
r, R.</b>,
501501
<i class='BibTitle'>mockpkg, A mock package for use by the GAP test suite,
502502
Version 0.1</i>
503503
(<span class='BibYear'>2018</span>)<br />
@@ -512,7 +512,6 @@ BibXML:
512512
<author>
513513
<name><first>Active</first><last>Author</last></name>
514514
<name><first>Retired</first><last>Author</last></name>
515-
<name><first>Only</first><last>Maintainer</last></name>
516515
</author>
517516
<title><C>mockpkg</C>, <C>A mock package for use by the GAP test suite</C>,
518517
<C>V</C>ersion 0.1</title>
@@ -525,7 +524,7 @@ BibXML:
525524
BibTeX:
526525

527526
@misc{ mockpkg,
528-
author = {Author, A. and Author, R. and Maintainer, O.},
527+
author = {Author, A. and Author, R.},
529528
title = {{mockpkg}, {A mock package for use by the GAP test
530529
suite}, {V}ersion 0.1},
531530
month = {Mar},
@@ -534,7 +533,7 @@ BibTeX:
534533
howpublished = {\href {https://mockpkg.gap-system.org/}
535534
{\texttt{https://mockpkg.gap\texttt{\symbol{45}}system.o\
536535
rg/}}},
537-
printedkey = {AAM18}
536+
printedkey = {AA18}
538537
}
539538

540539

@@ -545,15 +544,15 @@ to cite mockpkg version from this installation
545544

546545
Text:
547546

548-
[AAM18] Author, A., Author, R. and Maintainer, O., mockpkg, A mock package
549-
for use by the GAP test suite, Version 0.1 (2018), GAP package,
547+
[AA18] Author, A. and Author, R., mockpkg, A mock package for use by the GAP
548+
test suite, Version 0.1 (2018), GAP package,
550549
https://mockpkg.gap-system.org/.
551550

552551
HTML:
553552

554553
<p class='BibEntry'>
555-
[<span class='BibKey'>AAM18</span>] <b class='BibAuthor'>Author, A., Author,\
556-
R. and Maintainer, O.</b>,
554+
[<span class='BibKey'>AA18</span>] <b class='BibAuthor'>Author, A. and Autho\
555+
r, R.</b>,
557556
<i class='BibTitle'>mockpkg, A mock package for use by the GAP test suite,
558557
Version 0.1</i>
559558
(<span class='BibYear'>2018</span>)<br />
@@ -568,9 +567,8 @@ BibXML:
568567
<author>
569568
<name><first>Active</first><last>Author</last></name>
570569
<name><first>Retired</first><last>Author</last></name>
571-
<name><first>Only</first><last>Maintainer</last></name>
572570
</author>
573-
<title><C>mockpkg</C>, A mock package for use by the GAP test suite,
571+
<title><C>mockpkg</C>, <C>A mock package for use by the GAP test suite</C>,
574572
<C>V</C>ersion 0.1</title>
575573
<howpublished><URL>https://mockpkg.gap-system.org/</URL></howpublished>
576574
<month>Mar</month>
@@ -581,15 +579,15 @@ BibXML:
581579
BibTeX:
582580

583581
@misc{ mockpkg,
584-
author = {Author, A. and Author, R. and Maintainer, O.},
585-
title = {{mockpkg}, A mock package for use by the GAP test
586-
suite, {V}ersion 0.1},
582+
author = {Author, A. and Author, R.},
583+
title = {{mockpkg}, {A mock package for use by the GAP test
584+
suite}, {V}ersion 0.1},
587585
month = {Mar},
588586
year = {2018},
589587
note = {GAP package},
590588
howpublished = {\href {https://mockpkg.gap-system.org/}
591589
{\texttt{https://mockpkg.gap-system.org/}}},
592-
printedkey = {AAM18}
590+
printedkey = {AA18}
593591
}
594592

595593

0 commit comments

Comments
 (0)