Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle id aliases in bibliographies #2097

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/biblio-ids.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@article{TestRef,
ids = { Alias1, Alias2 },
author = "Truely, Yours",
title = "A Rose by Any Other Name",
}
74 changes: 74 additions & 0 deletions tests/bibtex-ids.expected
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
Set paper size 297.6377985 419.5275636
Begin page
Mx 14.8819
My 28.5447
Set font Gentium Plus;10;400;;normal;;;LTR
T 55 85 88 72 79 92 w=27.0264 (Truely)
Mx 41.9083
T 17 w=2.2900 (.)
Mx 46.4132
T 180 w=4.3604 (“)
Mx 50.7735
T 36 w=5.9521 (A)
Mx 58.9405
T 53 82 86 72 w=19.1211 (Rose)
Mx 80.2765
T 69 92 w=10.0098 (by)
Mx 92.5011
T 36 81 92 w=16.4014 (Any)
Mx 111.1174
T 50 87 75 72 85 w=23.5400 (Other)
Mx 136.8723
T 49 68 80 72 w=23.7305 (Name)
Mx 160.6027
T 17 w=2.2900 (.)
Mx 162.8928
T 181 w=4.3604 (”)
Mx 14.8819
My 40.5447
T 55 85 88 72 79 92 w=27.0264 (Truely)
Mx 41.9083
T 17 w=2.2900 (.)
Mx 46.4132
T 180 w=4.3604 (“)
Mx 50.7735
T 36 w=5.9521 (A)
Mx 58.9405
T 53 82 86 72 w=19.1211 (Rose)
Mx 80.2765
T 69 92 w=10.0098 (by)
Mx 92.5011
T 36 81 92 w=16.4014 (Any)
Mx 111.1174
T 50 87 75 72 85 w=23.5400 (Other)
Mx 136.8723
T 49 68 80 72 w=23.7305 (Name)
Mx 160.6027
T 17 w=2.2900 (.)
Mx 162.8928
T 181 w=4.3604 (”)
Mx 14.8819
My 52.5447
T 55 85 88 72 79 92 w=27.0264 (Truely)
Mx 41.9083
T 17 w=2.2900 (.)
Mx 46.4132
T 180 w=4.3604 (“)
Mx 50.7735
T 36 w=5.9521 (A)
Mx 58.9405
T 53 82 86 72 w=19.1211 (Rose)
Mx 80.2765
T 69 92 w=10.0098 (by)
Mx 92.5011
T 36 81 92 w=16.4014 (Any)
Mx 111.1174
T 50 87 75 72 85 w=23.5400 (Other)
Mx 136.8723
T 49 68 80 72 w=23.7305 (Name)
Mx 160.6027
T 17 w=2.2900 (.)
Mx 162.8928
T 181 w=4.3604 (”)
End page
Finish
15 changes: 15 additions & 0 deletions tests/bibtex-ids.sil
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
\begin[papersize=a6]{document}
\neverindent
\nofolios
\use[module=packages.bibtex]
\language[main=en]

\loadbibliography[file=biblio-ids.bib]

\reference{TestRef}

\reference{Alias1}

\reference{Alias2}

\end{document}
Loading