Revision 53f46e24443aa20f922582662b92454256c3cacf (click the page title to view the current version)

root/GW4reports/Templates/Bibliography/biblatex-biber/CiteWithAbbr/latexsrc

Changes from 53f46e24443aa20f922582662b92454256c3cacf to 0d2909af72e8ab7b9fe08f2699f3ed93298da903

%info@http:://golem.fjfi.cvut.cz/wiki/root/GW4reports

\begin{filecontents}{authorjabbryear.dbx}
\ProvidesFile{authorjabbryear.dbx}
\DeclareDatamodelFields[type=field,datatype=literal]{publabbr}
\DeclareDatamodelEntryfields[article]{publabbr}
\DeclareDatamodelFields[type=field,datatype=literal]{abbr}
\DeclareDatamodelEntryfields[article]{abbr}
\end{filecontents}


\usepackage[
backend=biber,
%backend=bibtex,
maxcitenames=1,
uniquelist=false,
defernumbers=false,
%style=authoryear-comp,
style=authoryear,
%style=ieee,
%style=apa,
%citestyle=authoryear,
datamodel=authorjabbryear,
sorting=ynt]{biblatex}

\renewbibmacro*{cite}{%
  \iffieldundef{shorthand}
    {\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}
       {\usebibmacro{cite:label}%
        \setunit{\printdelim{nonameyeardelim}}}
       {
       \printnames{labelname}%
        }%
     \iffieldundef{publabbr}{}{
        \ \printfield{year}
        {\it \printfield{publabbr}}%
        {\bf\ \printfield{volume}} 
        \printfield{pages}
        }
    \iffieldundef{abbr}{}{%
        \ \printfield{year}
        \printfield{abbr}%
         }%
     }
    {\usebibmacro{cite:shorthand}}    }

% vypustit p a pp:    
\DefineBibliographyStrings{english}{%
  page             = {},
  pages            = {},
  andothers = {\mkbibemph{et\addabbrvspace al\adddot}}
  }


% DODELAT et al. italikou, viz třeba https://github.com/plk/biblatex/issues/899


    
\addbibresource{\GW/root/bibtex/golem.bib}
\addbibresource{\GW/root/bibtex/others.bib}

%Cite examples
%\cite{ChlumEPS23}
%\cite[Vpredu,][Vzadu]{ChlumEPS23}
%\hspace*{\fill}\cite[Tunkl,][]{ChlumEPS23} %rightjustify

%See e.g. 
% *file:///locgolem/GW/Presentations/Colleges/INSC.pk/23/Presentations/ScienceAndEducation
% how to cite: https://iopscience.iop.org/article/10.1088/1741-4326/acf1af#nfacf1aff12