diff options
author | Norbert Preining <norbert@preining.info> | 2023-11-17 03:02:29 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-11-17 03:02:29 +0000 |
commit | d91bb5cad66508ec34d77ea60c0a02c79308edef (patch) | |
tree | 69c363099e912a77d55b67d891020bcc1f407d80 /macros/optex/base/bib-iso690.opm | |
parent | e0db3f0709a737e7258fd40a7cbfe9a461ea0756 (diff) |
CTAN sync 202311170302
Diffstat (limited to 'macros/optex/base/bib-iso690.opm')
-rw-r--r-- | macros/optex/base/bib-iso690.opm | 51 |
1 files changed, 29 insertions, 22 deletions
diff --git a/macros/optex/base/bib-iso690.opm b/macros/optex/base/bib-iso690.opm index fcdbd5d48d..5595d65877 100644 --- a/macros/optex/base/bib-iso690.opm +++ b/macros/optex/base/bib-iso690.opm @@ -1,6 +1,6 @@ % This is part of the OpTeX project, see http://petr.olsak.net/optex -\_codedecl \_undefined {BIB style (iso690) <2023-04-22>} % loaded on demand by \usebib +\_codedecl \_undefined {BIB style (iso690) <2023-09-13>} % loaded on demand by \usebib \_ifx\_optexbibstyle\_undefined \_errmessage {This file can be read by: \_string\usebib/? (iso690) bibfiles command only} @@ -116,7 +116,7 @@ \_bibmark=\_ea{\_tmp}% } \_def\_createbibmark #1;#2,#3;#4,#5\_fin{% #1=year #2=LastName #3=FirstName #4=nextAuthor - #2\_ifx^#4^\_else \_Mtext{bib.etal}\_fi, #1% + #2\_ifx^#4^\_else \_Mtext{bib.etal}\_fi \_ifx^#1^\_else, #1\_fi } \_doc ----------------------------- @@ -151,24 +151,10 @@ } \_doc ----------------------------- - Non-standard field names. - \_cod ----------------------------- - -\_CreateField {ednote} -\_CreateField {citedate} -\_CreateField {numbering} -\_CreateField {isbn} -\_CreateField {issn} -\_CreateField {doi} -\_CreateField {url} -\_CreateField {bibmark} - - \_doc ----------------------------- Sorting. \_cod ----------------------------- -\_SortingOrder{name,year}{lfvj} -\_SpecialSort {key} +\_fieldalias {key} {sortedby} \_doc ----------------------------- Supporting macros. @@ -305,9 +291,21 @@ \_bprintb [url] {\_preurl\_url{##1}. }{}% } \_sdef{_print:phdthesis}{\_def\_thesistype{\_Mtext{bib.phdthesis}}\_cs{_print:thesis}} -\_sdef{_print:mastershesis}{\_def\_thesistype{\_Mtext{bib.masthesis}}\_cs{_print:thesis}} +\_sdef{_print:mastersthesis}{\_def\_thesistype{\_Mtext{bib.masthesis}}\_cs{_print:thesis}} \_sdef{_print:bachelorsthesis}{\_def\_thesistype{\_Mtext{bib.bachthesis}}\_cs{_print:thesis}} +\_sdef{_print:online}{% + \_bprintb [!author] {\_doauthor1{##1}\:\ }{}% + \_bprintb [title] {{\_em##1}\_bprintc\_titlepost{\:\ *}\_bprintv[howpublished]{}{\:}\ }% + {\_bibwarning}% + \_bprinta [howpublished] {[*].\ }{}% + \_bprinta [ednote] {\_prepareednote*\_bprintv[citedate]{}{.}\ }{}% + \_bprinta [year] {}{}% + \_bprinta [accessed] {\_docitedate*///\_relax.\ }{\_bibwarning}% + \_bprintb [doi] {\_predoi DOI \_ulink[http://dx.doi.org/##1]{##1}.\ }{}% + \_bprintb [url] {\_preurl\_url{##1}. }{\_bibwarning}% +} + \_sdef{_print:generic}{% \_bprintb [!author] {\_doauthor1{##1}\:\ }{\_bibwarning}% \_bprintb [title] {{\_em##1}\_bprintc\_titlepost{\:\ *}\_bprintv[howpublished]{}{\:}\ }% @@ -784,6 +782,12 @@ There are nearly equivalent entries: `@BACHELORSTHESIS`, `@MASTERSTHESIS` and automatically. The type field is optional in this case. If it is used then it has precedence before the default setting. +\secccc The @ONLINE entry + +It is intended for online publications. + +Fields: author, title(!), howpublished, ednote, publisher, accessed, doi, url(!), note. + \secccc The @MISC entry It is intended for various usage. @@ -835,19 +839,20 @@ yearprint value) is also used in the text-oriented bib-marks when `\nonumcitations` is set. If you have some problems with name sorting, you can use the hidden field -`key`, which is used for sorting instead of the \"Lastname Firstname(s)" -of authors. If the `key` field is unset then the \"Lastname Firstname(s)" +`sortedby` (or `key` field with the same effect). +It can be used for sorting instead of the \"Lastname Firstname(s)" +of the first author. If the `sortedby` field is unset then the \"Lastname Firstname(s)" is used for sorting normally. Example: \begtt author = "Světla Čmejrková", -key = "Czzmejrkova Svetla", +sortedby = "Czzmejrkova Svetla", \endtt This entry is now sorted between C and D. The norm recommends placing the auto-citations at the top of the list of -references. You can do this by setting `key = "@"`, to each entry with your +references. You can do this by setting `sortedby = "@"`, to each entry with your name because the `@` character is sorted before `A`. @@ -928,6 +933,8 @@ Other options in the option field are silently ignored. \_endinput +2023-09-13 ... \_createbibmark: no comma if year is missing +2023-06-23 ... @ONLINE entry introduced 2023-04-22 ... incollection: typo corrected 2023-03-25 ... \_createbibmark introduced 2022-05-10 ... \. -> \:, collision with \oldaccents fixed. |