Skip to content

Commit 286af71

Browse files
committed
fix(biblatex): punctuation after year even without doi/eprint/url field
Need to call \printtext with some nonempty argument such that punctuation is printed after year field even if no doi/eprint/url/... field is present. Signed-off-by: Jonas Dujava <jonas.dujava@gmail.com>
1 parent 07a96e2 commit 286af71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

preamble/references/doi-eprint-url.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
test {\iffieldundef{eprint}} and
2020
test {\iffieldundef{github}} and
2121
test {\iffieldundef{gitlab}}
22-
}{}{\printtext{\par}} % doi+eprint+url are printed on a new line
22+
}{\printtext{\relax}}{\printtext{\par}} % doi+eprint+url are printed on a new line
2323
\footnotesize % make it small, so it (ideally) fits on one line
2424
\raggedright % right-align the text (so that there are no overfull hboxes for long URLs)
2525
\renewcommand{\newunitpunct}{\space} % no periods on this line

0 commit comments

Comments
 (0)