diff options
author | Karl Berry <karl@freefriends.org> | 2022-05-17 20:11:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-05-17 20:11:50 +0000 |
commit | aa3471d9cc6e366651884f1d1e883511bb15132a (patch) | |
tree | 2c64bd191bd6d55c4ec54889fce9fc62344b5ac3 /Master/texmf-dist/tex/optex/base/bib-simple.opm | |
parent | 905fbaa9cf31d5e79a8ad885abae9604045ac1ed (diff) |
optex (17may22)
git-svn-id: svn://tug.org/texlive/trunk@63325 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/optex/base/bib-simple.opm')
-rw-r--r-- | Master/texmf-dist/tex/optex/base/bib-simple.opm | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/Master/texmf-dist/tex/optex/base/bib-simple.opm b/Master/texmf-dist/tex/optex/base/bib-simple.opm index ad1fde28bce..fe1730ba67c 100644 --- a/Master/texmf-dist/tex/optex/base/bib-simple.opm +++ b/Master/texmf-dist/tex/optex/base/bib-simple.opm @@ -1,6 +1,6 @@ %% This is part of the OpTeX project, see http://petr.olsak.net/optex -\_codedecl \_undefined {BIB style (simple) <2020-03-10>} % loaded on demand by \usebib +\_codedecl \_undefined {BIB style (simple) <2022-05-10>} % loaded on demand by \usebib \_ifx\_optexbibstyle\_undefined \_errmessage {This file can be read by: \_string\usebib/? (simple) bibfiles command only} @@ -11,7 +11,8 @@ \_def\_maybedot{\_ifnum\_spacefactor=\_sfcode`\.\_relax\_else.\_fi} \_tmpnum=\_sfcode`\. \_advance\_tmpnum by-2 \_sfcode`\.=\_tmpnum \_sfcode`\?=\_tmpnum \_sfcode`\!=\_tmpnum -\_let\.=\_maybedot % prevents from double periods +\_let\:=\_maybedot % prevents from double periods +\_ifx\.\_undefined \_let\.=\_maybedot \_fi % for backward compatibility % Formatting of Author/Editor lists: @@ -53,9 +54,9 @@ \_sdef{_print:END}{% \_bprinta [note] {*.}{}% \_setbibmark -} +} \_sdef{_print:book}{% - \_bprinta [!author] {*\.\ }{\_bibwarning}% + \_bprinta [!author] {*\:\ }{\_bibwarning}% \_bprintb [title] {{\_em##1}.\ }{\_bibwarning}% \_bprinta [edition] {*~\_mtext{bib.edition}.\ }{}% \_bprinta [address] {*: }{\_bibwarning}% @@ -65,7 +66,7 @@ \_bprintb [url] {\_preurl\_url{##1}. }{}% } \_sdef{_print:article}{% - \_bprinta [!author] {*\.\ }{\_bibwarning}% + \_bprinta [!author] {*\:\ }{\_bibwarning}% \_bprinta [title] {*.\ }{\_bibwarning}% \_bprintb [journal] {{\_em##1}.\ }{\_bibwarning}% \_bprinta [year] {*, }{}% @@ -75,7 +76,7 @@ \_bprintb [doi] {DOI~\_ulink[http://dx.doi.org/##1]{##1}.\ }{}% } \_sdef{_print:inbook}{% - \_bprinta [!author] {*\.\ }{\_bibwarning}% + \_bprinta [!author] {*\:\ }{\_bibwarning}% \_bprintb [title] {{\_em##1.}\ }{\_bibwarning}% In:~% \_bprinta [!editor] {*,~eds.\ }{}% @@ -91,7 +92,7 @@ \_slet{_print:inproceedings}{_print:inbook} \_sdef{_print:incolection}{% - \_bprinta [!author] {*\.\ }{\_bibwarning}% + \_bprinta [!author] {*\:\ }{\_bibwarning}% \_bprintb [title] {{\_em##1}.\ }{\_bibwarning}% \_bprinta [crossreff] {In~\_cite[*]. }{% \_bprinta [booktitle] {*. }{\_bibwarning}% @@ -104,8 +105,8 @@ \_bprintb [url] {\_preurl\_url{####1}. }{}}% } \_sdef{_print:conference}{% - \_bprinta [!author] {*\.\ }{\_bibwarning}% - \_bprintb [title] {{\_em##1}\.\ }{\_bibwarning}% + \_bprinta [!author] {*\:\ }{\_bibwarning}% + \_bprintb [title] {{\_em##1}\:\ }{\_bibwarning}% \_bprinta [edition] {*~\_mtext{bib.edition}.\ }{}% \_bprinta [address] {*: }{\_bibwarning}% \_bprinta [publisher] {*, }{\_bibwarning}% @@ -114,8 +115,8 @@ \_bprintb [url] {\_preurl\_url{##1}. }{}% } \_sdef{_print:thesis}{% - \_bprinta [!author] {*\.\ }{\_bibwarning}% - \_bprintb [title] {{\_em##1}\.\ }{\_bibwarning}% + \_bprinta [!author] {*\:\ }{\_bibwarning}% + \_bprintb [title] {{\_em##1}\:\ }{\_bibwarning}% \_bprinta [type] {*,\ }{\_bibwarning}% \_bprinta [school] {*.\ }{}% \_bprinta [address] {*, }{}% @@ -123,32 +124,32 @@ \_bprintb [url] {\_preurl\_url{##1}. }{}% } \_sdef{_print:proceedings}{% - \_bprinta [!author] {*\.\ }{\_bibwarning}% - \_bprintb [title] {{\_em##1}\.\ }{\_bibwarning}% + \_bprinta [!author] {*\:\ }{\_bibwarning}% + \_bprintb [title] {{\_em##1}\:\ }{\_bibwarning}% \_bprinta [publisher] {*.\ }{% \_bprinta [organization] {*.\ }{\_bibwarning}}% } \_sdef{_print:techreport}{% - \_bprinta [!author] {*\.\ }{\_bibwarning}% - \_bprintb [title] {{\_em##1}\.\ }{\_bibwarning}% + \_bprinta [!author] {*\:\ }{\_bibwarning}% + \_bprintb [title] {{\_em##1}\:\ }{\_bibwarning}% \_mtext{bib.techreport}. \_bprinta [institution] {*.\ }{}% } \_sdef{_print:booklet}{% - \_bprinta [!author] {*\.\ }{\_bibwarning}% - \_bprintb [title] {{\_em##1}\.\ }{\_bibwarning}% + \_bprinta [!author] {*\:\ }{\_bibwarning}% + \_bprintb [title] {{\_em##1}\:\ }{\_bibwarning}% \_bprinta [howpublished] {*.\ }{\_bibwarning}% } \_sdef{_print:manual}{% - \_bprinta [!author] {*\.\ }{}% - \_bprintb [title] {{\_em##1}\.\ }{\_bibwarning}% + \_bprinta [!author] {*\:\ }{}% + \_bprintb [title] {{\_em##1}\:\ }{\_bibwarning}% \_bprinta [year] {*.\ }{}% \_bprinta [institution] {*.\ }{}% \_bprintb [url] {\_preurl\_url{##1}. }{}% } \_sdef{_print:misc}{% - \_bprinta [!author] {*\.\ }{}% - \_bprintb [title] {{\_em##1}\.\ }{}% + \_bprinta [!author] {*\:\ }{}% + \_bprintb [title] {{\_em##1}\:\ }{}% \_bprinta [howpublished] {*.\ }{}% \_bprinta [institution] {*.\ }{}% \_bprinta [series] {*.\ }{}% |