From d91bb5cad66508ec34d77ea60c0a02c79308edef Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 17 Nov 2023 03:02:29 +0000 Subject: CTAN sync 202311170302 --- macros/optex/base/bib-simple.opm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'macros/optex/base/bib-simple.opm') diff --git a/macros/optex/base/bib-simple.opm b/macros/optex/base/bib-simple.opm index e61e94d7e2..c70bb12be7 100644 --- a/macros/optex/base/bib-simple.opm +++ b/macros/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) <2023-04-22>} % loaded on demand by \usebib +\_codedecl \_undefined {BIB style (simple) <2023-09-13>} % loaded on demand by \usebib \_ifx\_optexbibstyle\_undefined \_errmessage {This file can be read by: \_string\usebib/? (simple) bibfiles command only} @@ -39,7 +39,7 @@ \_edef\_tmp{\_ea\_createbibmark\_expanded{\_tmp;\_authlist;,;,;,;}\_fin}\_fi \_bibmark=\_ea{\_tmp}% } -\_def\_createbibmark#1;#2,#3\_fin{#2, #1} +\_def\_createbibmark#1;#2,#3\_fin{#2\_ifx^#1^\_else, #1\_fi} \_def\_preurl{\_hfil\_break} \_def\_Inclause{In:~} @@ -156,6 +156,14 @@ \_bprinta [institution] {*.\ }{}% \_bprintb [url] {\_preurl\_url{##1}. }{}% } +\_sdef{_print:online}{% + \_bprinta [!author] {*.\ }{}% + \_bprintb [title] {{\_em##1}\:\ }{}% + \_bprinta [howpublished] {*.\ }{}% + \_bprinta [institution] {*.\ }{}% + \_bprinta [series] {*.\ }{}% + \_bprintb [url] {\_preurl\_url{##1}. }{\_bibwarning}% +} \_sdef{_print:misc}{% \_bprinta [!author] {*.\ }{}% \_bprintb [title] {{\_em##1}\:\ }{}% -- cgit v1.2.3