From: Juergen Spitzmueller Date: Tue, 27 Feb 2024 04:40:57 +0000 (+0100) Subject: Consider bookauthor in preview X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ead6eb8944eaadedaf1d449d7c2a5543f98e0915;p=features.git Consider bookauthor in preview Hence, also support the inbook type --- diff --git a/lib/layouts/stdciteformats.inc b/lib/layouts/stdciteformats.inc index 7a48a7bd25..d88218d76b 100644 --- a/lib/layouts/stdciteformats.inc +++ b/lib/layouts/stdciteformats.inc @@ -49,6 +49,8 @@ CiteFormat default !makeed {%ifmultiple:editor%[[%B_edstext%]][[%B_edtext%]]} # author or editor, as fullnames, following the schemes above !authoredit {%fullnames:author%[[%fullnames:author%, ]][[{%fullnames:editor%[[%fullnames:editor%, %!makeed%, ]]}]]} + # by author or editor, as fullnames, following the schemes above + !byauthoredit {%fullbynames:bookauthor%[[%fullbynames:bookauthor%, ]][[{%fullbynames:editor%[[%fullbynames:editor%, %!makeed%, ]]}]]} # "vol. 1, no. !volnum {%volume%[[ %B_voltext% %volume%, {%number%[[%B_numtext% %number%]]}]]} !fulltitle %title%{%subtitle%[[: %subtitle%]]} @@ -63,7 +65,7 @@ CiteFormat default # # Entry types. Note that final punctuation will be added later, if needed. # - !insomething %fullnames:author%, %!quotetitle%, %B_in%{%fullbynames:editor%[[ %fullbynames:editor%, %!makeed%,]]} {!!}%!fullbooktitle%{!!}%!volnum%{%edition%[[ %edition%]]} (%!locpub%%year%)%!pages%{%note%[[. %note%]]} + !insomething %fullnames:author%, %!quotetitle%, %B_in% %!byauthoredit% {!!}%!fullbooktitle%{!!}%!volnum%{%edition%[[ %edition%]]} (%!locpub%%year%)%!pages%{%note%[[. %note%]]} article %fullnames:author%, %!quotetitle%, %!emphjournal% {%volume%[[ %volume%{%number%[[, %number%]]}]]} (%year%)%!pages%{%note%[[. %note%]]} @@ -72,6 +74,7 @@ CiteFormat default collection %!booklike% proceedings %!booklike% + inbook %!insomething% incollection %!insomething% inproceedings %!insomething%