Oprava zdrojů s přechodem na csplainnat

closes #5
This commit is contained in:
Emil Miler 2020-05-03 19:01:26 +02:00
parent f36d15a929
commit 28077c8222
4 changed files with 321 additions and 339 deletions

View File

@ -1,21 +1,21 @@
%% File: `plainnat.bst' %% $Id$
%% A modification of `plain.bst' for use with natbib package %% File: `csplainnat.bst' for use with natbib package
%% This is a modification of `plainnat.bst' for Czech references style
%% (According to "CSN ISO 690: Bibliograficke citace. Obsah, forma a struktura").
%% Some modifications are commented, look for the keyword 'CHANGE'
%% For more detailed info use svn repository svn://kraken.pedf.cuni.cz/csplainnat/
%% %%
%% Copyright 1993-2007 Patrick W Daly %% Original plainnat.bst by Patrick W Daly
%% Max-Planck-Institut f\"ur Sonnensystemforschung %% Modifications by David Mudr{\'{a}}k mudrd8mz@uxit.pedf.cuni.cz
%% Max-Planck-Str. 2 %%
%% D-37191 Katlenburg-Lindau %% MAJOR MODIFICATIONS
%% Germany %% * Added "@ONLINE" item type with added "cited" field.
%% E-mail: daly@mps.mpg.de
%% %%
%% This program can be redistributed and/or modified under the terms %% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN %% of the LaTeX Project Public License Distributed from CTAN
%% archives in directory macros/latex/base/lppl.txt; either %% archives in directory macros/latex/base/lppl.txt; either
%% version 1 of the License, or any later version. %% version 1 of the License, or any later version.
%% %%
% Version and source file information:
% \ProvidesFile{natbst.mbs}[2007/11/26 1.93 (PWD)]
%
% BibTeX `plainnat' family % BibTeX `plainnat' family
% version 0.99b for BibTeX versions 0.99a or later, % version 0.99b for BibTeX versions 0.99a or later,
% for LaTeX versions 2.09 and 2e. % for LaTeX versions 2.09 and 2e.
@ -72,6 +72,7 @@ ENTRY
url url
volume volume
year year
cited
} }
{} {}
{ label extra.label sort.label short.list } { label extra.label sort.label short.list }
@ -85,7 +86,7 @@ FUNCTION {init.state.consts}
#3 'after.block := #3 'after.block :=
} }
STRINGS { s t } STRINGS { s t t1 t2 } % CHANGE mudrd8mz 2005-10-12 adding t1, t2
FUNCTION {output.nonnull} FUNCTION {output.nonnull}
{ 's := { 's :=
@ -211,39 +212,37 @@ FUNCTION {emphasize}
if$ if$
} }
FUNCTION {embolden} %% FUNCTION added by AK FUNCTION {capitalize} % CHANGE mudrd8mz 2005-10-12 adding new function
{ duplicate$ empty$ {
duplicate$ empty$
{ pop$ "" } { pop$ "" }
{ "{\bf " swap$ * "}" * } { "{\sc " swap$ * "}" * } %{ "u" change.case$ }
if$ if$
} }
FUNCTION {scshape} %% FUNCTION added by AK
{ duplicate$ empty$
{ pop$ "" }
{ "{\sc " swap$ * "}" * }
if$
}
INTEGERS { nameptr namesleft numnames } INTEGERS { nameptr namesleft numnames }
FUNCTION {format.names} FUNCTION {format.names.full}
{ 's := { 's :=
#1 'nameptr := #1 'nameptr :=
s num.names$ 'numnames := s num.names$ 'numnames :=
numnames 'namesleft := numnames 'namesleft :=
{ namesleft #0 > } { namesleft #0 > }
{ s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := %% {ff~}{vv~}{ll}{, jj} changed to {vv~}{ll}{, jj}{, f.} by AK { s nameptr "{ll}" format.name$ 't1 := % CHANGE mudrd8mz 2005-10-12
t1 capitalize 't1 := % CHANGE mudrd8mz 2005-10-12
s nameptr "{, f.}{~j.}" format.name$ 't2 := % CHANGE mudrd8mz 2005-10-12
t1 t2 * 't :=
nameptr #1 > nameptr #1 >
{ namesleft #1 > { namesleft #1 >
{ ", " * t * } { " -- " * t * } % CHANGE mudrd8mz 2005-10-13 : adding "--"
{ numnames #2 > { numnames #2 >
{ "" * } %% { "," * } changed to { "" * } by AK (on suggestion by MK) { "" * } % CHANGE mudrd8mz 2005-10-12
'skip$ 'skip$
if$ if$
t "others" = t "OTHERS" = % CHANGE mudrd8mz 2005-10-12 because of capitalize
{ " a~kol." * } %% et~al. changed to a~kol. by AK { " et~al." * }
{ " {\rm a} " * t * } %% and changed to {\rm a} by AK { " -- " * t * } % CHANGE mudrd8mz 2005-10-12 : between the last and the one before
if$ if$
} }
if$ if$
@ -256,6 +255,22 @@ FUNCTION {format.names}
while$ while$
} }
FUNCTION {format.names.short} % CHANGE mudrd8mz 2005-10-14 adding more authors version
{ 's :=
s #1 "{ll}" format.name$ 't1 :=
t1 capitalize 't1 :=
s #1 "{, f.}{~j.}" format.name$ 't2 :=
t1 t2 * " et~al." *
}
FUNCTION {format.names}
{ duplicate$
num.names$ #3 >
{format.names.short} % pokud ma citace vice nez 3 autory, uvadi se pouze PRVNI et al.
{format.names.full} % pokud ma citace max 3 autory, uvadi se vsichni
if$
}
FUNCTION {format.key} FUNCTION {format.key}
{ empty$ { empty$
{ key field.or.null } { key field.or.null }
@ -266,17 +281,17 @@ FUNCTION {format.key}
FUNCTION {format.authors} FUNCTION {format.authors}
{ author empty$ { author empty$
{ "" } { "" }
{ author format.names scshape} %% scshape added by AK { author format.names }
if$ if$
} }
FUNCTION {format.editors} FUNCTION {format.editors}
{ editor empty$ { editor empty$
{ "" } { "" }
{ editor format.names scshape %% scshape added by AK { editor format.names
editor num.names$ #1 > editor num.names$ #1 >
{ ", editors" * } { " (Ed.)" * } % CHANGE mudrd8mz 2005-10-12
{ ", editor" * } { " (Ed.)" * }
if$ if$
} }
if$ if$
@ -299,10 +314,12 @@ FUNCTION {format.issn}
FUNCTION {format.url} FUNCTION {format.url}
{ url empty$ { url empty$
{ "" } { "" }
{ new.block "URL \url{" url * "}" * } { new.block "Dostupn{\'{e}}~z: \url{{" url * "}}" * }
if$ if$
} }
FUNCTION {format.doi} FUNCTION {format.doi}
{ doi empty$ { doi empty$
{ "" } { "" }
@ -313,10 +330,11 @@ FUNCTION {format.doi}
FUNCTION {format.title} FUNCTION {format.title}
{ title empty$ { title empty$
{ "" } { "" }
{ title "t" change.case$ } { title }
if$ if$
} }
FUNCTION {format.full.names} FUNCTION {format.full.names}
{'s := {'s :=
#1 'nameptr := #1 'nameptr :=
@ -331,12 +349,12 @@ FUNCTION {format.full.names}
{ ", " * t * } { ", " * t * }
{ {
numnames #2 > numnames #2 >
{ "" * } %% { "," * } changed to { "" * } by AK (on suggestion by MK) { "," * }
'skip$ 'skip$
if$ if$
t "others" = t "others" =
{ " a~kol." * } %% et~al. changed to a~kol. by AK { " et~al." * }
{ " a " * t * } %% and changed to a by AK { ", " * t * } % CHANGE mudrd8mz 2005-10-12
if$ if$
} }
if$ if$
@ -431,7 +449,7 @@ FUNCTION {n.dashify}
FUNCTION {format.date} FUNCTION {format.date}
{ year duplicate$ empty$ { year duplicate$ empty$
{ "empty year in " cite$ * warning$ { "empty year in " cite$ * warning$
pop$ " " } pop$ "" }
'skip$ 'skip$
if$ if$
month empty$ month empty$
@ -443,34 +461,6 @@ FUNCTION {format.date}
extra.label * extra.label *
} }
%%% Non-successful atempt to change the function format.date to produce year in brackets
%FUNCTION {format.date}
%{ year duplicate$ empty$
% { "empty year in " cite$ * warning$
% pop$ " " }
% {
% " (" * year * %% 'skip$ replaced by { "(" * year * } by AK
% }
% if$
% month empty$
% 'skip$
% { month
% " " * swap$ *
% }
% if$
% extra.label * ")" * %% extra.label * changed to extra.label * ")" * by AK
%}
FUNCTION {output.year.check} %% function added by AK
{ year empty$ %% It replaces original format.date on most places below
{ "empty year in " cite$ * warning$ }
{ write$
" (" year * extra.label * ")" *
mid.sentence 'output.state :=
}
if$
}
FUNCTION {format.btitle} FUNCTION {format.btitle}
{ title emphasize { title emphasize
} }
@ -493,10 +483,10 @@ FUNCTION {either.or.check}
FUNCTION {format.bvolume} FUNCTION {format.bvolume}
{ volume empty$ { volume empty$
{ "" } { "" }
{ "volume" volume tie.or.space.connect { "" volume tie.or.space.connect % CHANGE mudrd8mz 2005-10-12 removing "volume"
series empty$ series empty$
'skip$ 'skip$
{ " of " * series emphasize * } { " / " * series emphasize * } % CHANGE mudrd8mz 2005-10-12 "of" --> "/"
if$ if$
"volume and number" number either.or.check "volume and number" number either.or.check
} }
@ -508,13 +498,13 @@ FUNCTION {format.number.series}
{ number empty$ { number empty$
{ series field.or.null } { series field.or.null }
{ output.state mid.sentence = { output.state mid.sentence =
{ "number" } { "{\v{c}}." } % CHANGE mudrd8mz 2005-10-12 "{\v{c}}" instead of "number"
{ "Number" } { "{\v{C}}." }
if$ if$
number tie.or.space.connect number tie.or.space.connect
series empty$ series empty$
{ "there's a number but no series in " cite$ * warning$ } { "there's a number but no series in " cite$ * warning$ }
{ " in " * series * } { " v " * series * } % CHANGE mudrd8mz 2005-10-12 "in" --> "v"
if$ if$
} }
if$ if$
@ -560,8 +550,8 @@ FUNCTION {format.pages}
{ pages empty$ { pages empty$
{ "" } { "" }
{ pages multi.page.check { pages multi.page.check
{ "pages" pages n.dashify tie.or.space.connect } { "s." pages n.dashify tie.or.space.connect } % CHANGE mudrd8mz 2007-03-15: 'pages' -> 's.'
{ "page" pages tie.or.space.connect } { "s." pages tie.or.space.connect } % CHANGE mudrd8mz 2007-03-15: 'pages' -> 's.'
if$ if$
} }
if$ if$
@ -575,10 +565,10 @@ FUNCTION {format.eid}
} }
FUNCTION {format.vol.num.pages} FUNCTION {format.vol.num.pages}
{ volume field.or.null embolden %% embolden added by AK { volume field.or.null
number empty$ number empty$
'skip$ 'skip$
{ "\penalty0 (" number * ")" * * { ", " number * *
volume empty$ volume empty$
{ "there's a number but no volume in " cite$ * warning$ } { "there's a number but no volume in " cite$ * warning$ }
'skip$ 'skip$
@ -589,7 +579,7 @@ FUNCTION {format.vol.num.pages}
'skip$ 'skip$
{ duplicate$ empty$ { duplicate$ empty$
{ pop$ format.pages } { pop$ format.pages }
{ ", \penalty0 " * pages n.dashify * } %% { ":\penalty0 " * pages n.dashify * } changed to { ", \penalty0 " * pages n.dashify * } by AK { ", s.~" * pages n.dashify * }
if$ if$
} }
if$ if$
@ -599,7 +589,7 @@ FUNCTION {format.vol.num.eid}
{ volume field.or.null { volume field.or.null
number empty$ number empty$
'skip$ 'skip$
{ "\penalty0 (" number * ")" * * { "\penalty0, " number * *
volume empty$ volume empty$
{ "there's a number but no volume in " cite$ * warning$ } { "there's a number but no volume in " cite$ * warning$ }
'skip$ 'skip$
@ -620,7 +610,7 @@ FUNCTION {format.chapter.pages}
{ chapter empty$ { chapter empty$
'format.pages 'format.pages
{ type empty$ { type empty$
{ "chapter" } { "" } % CHANGE mudrd8mz 2008-04-08 removing the word "chapter"
{ type "l" change.case$ } { type "l" change.case$ }
if$ if$
chapter tie.or.space.connect chapter tie.or.space.connect
@ -637,7 +627,7 @@ FUNCTION {format.in.ed.booktitle}
{ "" } { "" }
{ editor empty$ { editor empty$
{ "In " booktitle emphasize * } { "In " booktitle emphasize * }
{ "In " format.editors * ", " * booktitle emphasize * } { "In " format.editors * " " * booktitle emphasize * } % CHANGE mudrd8mz 2005-10-12
if$ if$
} }
if$ if$
@ -656,9 +646,7 @@ FUNCTION {empty.misc.check}
FUNCTION {format.thesis.type} FUNCTION {format.thesis.type}
{ type empty$ { type empty$
'skip$ 'skip$
{ pop$ { pop$ type } % CHANGE mudrd8mz 2007-03-15: Do not lowercase the thesis type
type "t" change.case$
}
if$ if$
} }
@ -683,9 +671,9 @@ FUNCTION {format.article.crossref}
{ "In \emph{" journal * "}" * } { "In \emph{" journal * "}" * }
if$ if$
} }
{ "In " } { "In " key * }
if$ if$
" \citet{" * crossref * "}" * " \citep{" * crossref * "}" *
} }
FUNCTION {format.book.crossref} FUNCTION {format.book.crossref}
@ -709,12 +697,12 @@ FUNCTION {format.book.crossref}
{ "\emph{" * series * "}" * } { "\emph{" * series * "}" * }
if$ if$
} }
'skip$ { key * }
if$ if$
} }
'skip$ 'skip$
if$ if$
" \citet{" * crossref * "}" * ", \citet{" * crossref * "}" *
} }
FUNCTION {format.incoll.inproc.crossref} FUNCTION {format.incoll.inproc.crossref}
@ -730,7 +718,7 @@ FUNCTION {format.incoll.inproc.crossref}
{ "In \emph{" booktitle * "}" * } { "In \emph{" booktitle * "}" * }
if$ if$
} }
{ "In " } { "In " key * }
if$ if$
} }
{ "In " } { "In " }
@ -742,19 +730,17 @@ FUNCTION {article}
{ output.bibitem { output.bibitem
format.authors "author" output.check format.authors "author" output.check
author format.key output author format.key output
new.block %% added by AK
%format.date "year" output.check %% added by AK, commented later on
output.year.check %% added by AK as replacement of format.date
new.block new.block
format.title "title" output.check format.title "title" output.check
new.block new.block
crossref missing$ crossref missing$
{ journal emphasize "journal" output.check { journal emphasize "journal" output.check
new.sentence
format.date "year" output.check
eid empty$ eid empty$
{ format.vol.num.pages output } { format.vol.num.pages output }
{ format.vol.num.eid output } { format.vol.num.eid output }
if$ if$
%% format.date "year" output.check %% commented by AK
} }
{ format.article.crossref output.nonnull { format.article.crossref output.nonnull
eid empty$ eid empty$
@ -771,6 +757,33 @@ FUNCTION {article}
fin.entry fin.entry
} }
FUNCTION {online} % CHANGE mudrd8mz 2005-10-12 addign new item type
{ output.bibitem
format.authors output
new.block
format.btitle " [online]" * output
new.sentence
publisher missing$
'skip$
{ publisher output }
if$
year missing$
'skip$
{ format.date "year" output.check }
if$
new.sentence
cited missing$
'skip$
{ "[cit.~" cited * "]" * output }
if$
new.sentence
note output
new.sentence
format.url output
fin.entry
}
FUNCTION {book} FUNCTION {book}
{ output.bibitem { output.bibitem
author empty$ author empty$
@ -784,30 +797,28 @@ FUNCTION {book}
if$ if$
} }
if$ if$
new.block %% added by AK
%format.date "year" output.check %% added by AK, commented later on
output.year.check %% added by AK as replacement of format.date
new.block new.block
format.btitle "title" output.check format.btitle "title" output.check
crossref missing$ crossref missing$
{ format.bvolume output { new.block
new.block format.bvolume output
format.number.series output format.number.series output
new.sentence new.sentence
publisher "publisher" output.check publisher
address output % address "~: " * publisher * % CHANGE mudrd8mz 2005-10-12
"publisher" output.check
} }
{ new.block { new.block
format.book.crossref output.nonnull format.book.crossref output.nonnull
} }
if$ if$
format.edition output format.edition output
%% format.date "year" output.check %% commented by AK format.date "year" output.check
format.isbn output
format.doi output format.doi output
format.url output format.url output
new.block new.block
note output note output
format.isbn output
fin.entry fin.entry
} }
@ -815,20 +826,17 @@ FUNCTION {booklet}
{ output.bibitem { output.bibitem
format.authors output format.authors output
author format.key output author format.key output
new.block %% added by AK
%format.date "year" output.check %% added by AK, commented later on
output.year.check %% added by AK as replacement of format.date
new.block new.block
format.title "title" output.check format.title "title" output.check
howpublished address new.block.checkb howpublished address new.block.checkb
howpublished output howpublished output
address output address output
%format.date output %% commented by AK format.date output
format.isbn output
format.doi output format.doi output
format.url output format.url output
new.block new.block
note output note output
format.isbn output
fin.entry fin.entry
} }
@ -845,9 +853,6 @@ FUNCTION {inbook}
if$ if$
} }
if$ if$
new.block %% added by AK
%format.date "year" output.check %% added by AK, commented later on
output.year.check %% added by AK as replacement of format.date
new.block new.block
format.btitle "title" output.check format.btitle "title" output.check
crossref missing$ crossref missing$
@ -865,12 +870,12 @@ FUNCTION {inbook}
} }
if$ if$
format.edition output format.edition output
%format.date "year" output.check %% commented by AK format.date "year" output.check
format.isbn output
format.doi output format.doi output
format.url output format.url output
new.block new.block
note output note output
format.isbn output
fin.entry fin.entry
} }
@ -878,9 +883,6 @@ FUNCTION {incollection}
{ output.bibitem { output.bibitem
format.authors "author" output.check format.authors "author" output.check
author format.key output author format.key output
new.block %% added by AK
%format.date "year" output.check %% added by AK, commented later on
output.year.check %% added by AK as replacement of format.date
new.block new.block
format.title "title" output.check format.title "title" output.check
new.block new.block
@ -888,21 +890,24 @@ FUNCTION {incollection}
{ format.in.ed.booktitle "booktitle" output.check { format.in.ed.booktitle "booktitle" output.check
format.bvolume output format.bvolume output
format.number.series output format.number.series output
format.chapter.pages output
new.sentence new.sentence
publisher "publisher" output.check address ": " * publisher * % CHANGE mudrd8mz 2005-10-12
address output "publisher" output.check
%publisher "publisher" output.check
%address output
format.edition output format.edition output
%format.date "year" output.check %% commented by AK format.date "year" output.check
new.sentence
format.chapter.pages output
} }
{ format.incoll.inproc.crossref output.nonnull { format.incoll.inproc.crossref output.nonnull
format.chapter.pages output format.chapter.pages output
} }
if$ if$
format.isbn output
format.doi output format.doi output
format.url output format.url output
new.block new.block
format.isbn output
note output note output
fin.entry fin.entry
} }
@ -911,9 +916,6 @@ FUNCTION {inproceedings}
{ output.bibitem { output.bibitem
format.authors "author" output.check format.authors "author" output.check
author format.key output author format.key output
new.block %% added by AK
%format.date "year" output.check %% added by AK, commented later on
output.year.check %% added by AK as replacement of format.date
new.block new.block
format.title "title" output.check format.title "title" output.check
new.block new.block
@ -926,7 +928,7 @@ FUNCTION {inproceedings}
{ organization publisher new.sentence.checkb { organization publisher new.sentence.checkb
organization output organization output
publisher output publisher output
%format.date "year" output.check %% commented by AK format.date "year" output.check
} }
{ address output.nonnull { address output.nonnull
format.date "year" output.check format.date "year" output.check
@ -940,10 +942,10 @@ FUNCTION {inproceedings}
format.pages output format.pages output
} }
if$ if$
format.isbn output
format.doi output format.doi output
format.url output format.url output
new.block new.block
format.isbn output
note output note output
fin.entry fin.entry
} }
@ -954,16 +956,13 @@ FUNCTION {manual}
{ output.bibitem { output.bibitem
format.authors output format.authors output
author format.key output author format.key output
new.block %% added by AK
%format.date "year" output.check %% added by AK, commented later on
output.year.check %% added by AK as replacement of format.date
new.block new.block
format.btitle "title" output.check format.btitle "title" output.check
organization address new.block.checkb organization address new.block.checkb
organization output organization output
address output address output
format.edition output format.edition output
%format.date output %% added by AK format.date output
format.url output format.url output
new.block new.block
note output note output
@ -974,16 +973,13 @@ FUNCTION {mastersthesis}
{ output.bibitem { output.bibitem
format.authors "author" output.check format.authors "author" output.check
author format.key output author format.key output
new.block %% added by AK
%format.date "year" output.check %% added by AK, commented later on
output.year.check %% added by AK as replacement of format.date
new.block new.block
format.title "title" output.check format.title "title" output.check
new.block new.block
"Master's thesis" format.thesis.type output.nonnull "Master's thesis" format.thesis.type output.nonnull
school "school" output.check school "school" output.check
address output address output
%format.date "year" output.check %% added by AK format.date "year" output.check
format.url output format.url output
new.block new.block
note output note output
@ -994,15 +990,11 @@ FUNCTION {misc}
{ output.bibitem { output.bibitem
format.authors output format.authors output
author format.key output author format.key output
new.block %% added by AK
%format.date "year" output.check %% added by AK, commented later on
output.year.check %% added by AK as replacement of format.date
new.block %% added by AK
title howpublished new.block.checkb title howpublished new.block.checkb
format.title output format.title output
howpublished new.block.checka howpublished new.block.checka
howpublished output howpublished output
%format.date output %% commented by AK format.date output
format.issn output format.issn output
format.url output format.url output
new.block new.block
@ -1015,16 +1007,13 @@ FUNCTION {phdthesis}
{ output.bibitem { output.bibitem
format.authors "author" output.check format.authors "author" output.check
author format.key output author format.key output
new.block %% added by AK
%format.date "year" output.check %% added by AK, commented later on
output.year.check %% added by AK as replacement of format.date
new.block new.block
format.btitle "title" output.check format.btitle "title" output.check
new.block new.block
"PhD thesis" format.thesis.type output.nonnull "PhD thesis" format.thesis.type output.nonnull
school "school" output.check school "school" output.check
address output address output
%format.date "year" output.check %% commented by AK format.date "year" output.check
format.url output format.url output
new.block new.block
note output note output
@ -1035,22 +1024,19 @@ FUNCTION {proceedings}
{ output.bibitem { output.bibitem
format.editors output format.editors output
editor format.key output editor format.key output
new.block %% added by AK
%format.date "year" output.check %% added by AK, commented later on
output.year.check %% added by AK as replacement of format.date
new.block new.block
format.btitle "title" output.check format.btitle "title" output.check
format.bvolume output format.bvolume output
format.number.series output format.number.series output
address output address output
%format.date "year" output.check %% commented by AK format.date "year" output.check
new.sentence new.sentence
organization output organization output
publisher output publisher output
format.isbn output
format.doi output format.doi output
format.url output format.url output
new.block new.block
format.isbn output
note output note output
fin.entry fin.entry
} }
@ -1059,16 +1045,13 @@ FUNCTION {techreport}
{ output.bibitem { output.bibitem
format.authors "author" output.check format.authors "author" output.check
author format.key output author format.key output
new.block %% added by AK
%format.date "year" output.check %% added by AK, commented later on
output.year.check %% added by AK as replacement of format.date
new.block new.block
format.title "title" output.check format.title "title" output.check
new.block new.block
format.tr.number output.nonnull format.tr.number output.nonnull
institution "institution" output.check institution "institution" output.check
address output address output
%format.date "year" output.check %% commented by AK format.date "year" output.check
format.url output format.url output
new.block new.block
note output note output
@ -1079,15 +1062,12 @@ FUNCTION {unpublished}
{ output.bibitem { output.bibitem
format.authors "author" output.check format.authors "author" output.check
author format.key output author format.key output
new.block %% added by AK
%format.date "year" output.check %% added by AK, commented later on
output.year.check %% added by AK as replacement of format.date
new.block new.block
format.title "title" output.check format.title "title" output.check
format.url output
new.block new.block
note "note" output.check note "note" output.check
%format.date output %% commented by AK format.date output
format.url output
fin.entry fin.entry
} }
@ -1185,12 +1165,12 @@ FUNCTION {format.lab.names}
s #1 "{vv~}{ll}" format.name$ s #1 "{vv~}{ll}" format.name$
s num.names$ duplicate$ s num.names$ duplicate$
#2 > #2 >
{ pop$ " a~kol." * } %% originally et~al. { pop$ " et~al." * }
{ #2 < { #2 <
'skip$ 'skip$
{ s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
{ " a~kol." * } %% AK change { " et~al." * }
{ " a " * s #2 "{vv~}{ll}" format.name$ * } %% AK change { " -- " * s #2 "{vv~}{ll}" format.name$ * } % CHANGE mudrd8mz 2005-10-12: changed "and"
if$ if$
} }
if$ if$
@ -1413,10 +1393,6 @@ FUNCTION {presort}
if$ if$
" " " "
* *
year field.or.null sortify
*
" "
*
cite$ cite$
* *
#1 entry.max$ substring$ #1 entry.max$ substring$

View File

@ -8,235 +8,241 @@
% =========================================================================== % ===========================================================================
@techreport{rfc7764, @techreport{rfc7764,
author = {Leonard, Sean}, author = "Leonard, Sean",
howpublished = {Internet Requests for Comments}, howpublished = "Internet Requests for Comments",
institution = {Internet Engineering Task Force}, institution = "Internet Engineering Task Force",
issn = {2070-1721}, issn = "2070-1721",
journal = {IETF Documents}, journal = "IETF Documents",
month = {Mar}, month = "Mar",
number = 7764, number = 7764,
organization = {Internet Engineering Task Force}, organization = "Internet Engineering Task Force",
publisher = {Internet Engineering Task Force}, publisher = "Internet Engineering Task Force",
title = {Guidance on Markdown: Design Philosophies, Stability Strategies, and Select Registrations}, title = "Guidance on Markdown: Design Philosophies, Stability Strategies, and Select Registrations",
type = {RFC}, type = "RFC",
url = {https://tools.ietf.org/html/rfc7764}, url = "https://tools.ietf.org/html/rfc7764",
year = {2016} year = "2016"
} }
@misc{slant, @online{slant,
author = {Slant}, author = "Slant",
howpublished = {\url{https://web.archive.org/web/20200210061112/https://www.slant.co/topics/589/~best-markup-languages}}, cited = "2020-02-10",
note = {Cit. 2020-02-10}, title = "What are the best markup languages?",
title = {What are the best markup languages?}, url = "https://web.archive.org/web/20200210061112/https://www.slant.co/topics/589/~best-markup-languages",
year = {2020} year = "2020"
} }
@manual{orgmanual, @manual{orgmanual,
author = {{The Org Mode Developers}}, author = "{The Org Mode Developers}",
publisher = {Network Theory Ltd.}, publisher = "Network Theory Ltd.",
title = {The Org Manual}, title = "The Org Manual",
year = {2020} year = "2020"
} }
@article{environment_for_literate_programming, @article{environment_for_literate_programming,
accepted = {2011-10-03}, accepted = "2011-10-03",
acknowledgement = {}, acknowledgement = "",
author = {Schulte, Eric and Davison, Dan and Dye, Thomas and Dominik, Carsten}, author = "Schulte, Eric and Davison, Dan and Dye, Thomas and Dominik, Carsten",
bibdate = {2011-10-03}, bibdate = "2011-10-03",
coden = {JSSOBK}, coden = "JSSOBK",
day = {25}, day = "25",
issn = {1548-7660}, issn = "1548-7660",
journal = {Journal of Statistical Software}, journal = "Journal of Statistical Software",
keywords = {}, keywords = "",
month = {1}, month = "1",
number = {3}, number = "3",
pages = {1--24}, pages = "1--24",
submitted = {2010-12-22}, submitted = "2010-12-22",
title = {A Multi-Language Computing Environment for Literate Programming and Reproducible Research}, title = "A Multi-Language Computing Environment for Literate Programming and Reproducible Research",
url = {http://www.jstatsoft.org/v46/i03}, url = "http://www.jstatsoft.org/v46/i03",
volume = {46}, volume = "46",
year = {2012} year = "2012"
} }
@misc{pcmag_dynamic, @online{pcmag_dynamic,
author = {{PC{ }Magazine}}, author = "{PC{ }Magazine}",
howpublished = {\url{https://web.archive.org/web/20170117040526/https://www.pcmag.com/encyclopedia/term/42199/dynamic-web-page}}, url = "https://web.archive.org/web/20170117040526/https://www.pcmag.com/encyclopedia/term/42199/dynamic-web-page",
note = {Cit. 2020-02-12}, cited = "2020-02-12",
title = {Definition of: dynamic Web page}, title = "Definition of: dynamic Web page",
year = {2017} year = "2017"
} }
@misc{pcmag_static, @online{pcmag_static,
author = {{PC{ }Magazine}}, author = "{PC{ }Magazine}",
howpublished = {\url{https://web.archive.org/web/20200223095514/https://www.pcmag.com/encyclopedia/term/static-web-page}}, url = "https://web.archive.org/web/20200223095514/https://www.pcmag.com/encyclopedia/term/static-web-page",
note = {Cit. 2020-02-12}, cited = "2020-02-12",
title = {Definition of: static Web page}, title = "Definition of: static Web page",
year = {2020} year = "2020"
} }
@misc{mozttfb, @online{mozttfb,
author = {Hoffman, Billy}, author = "Hoffman, Billy",
date = {2013-09-26}, date = "2013-09-26",
howpublished = {\url{https://web.archive.org/web/20190416124447/https://moz.com/blog/improving-search-rank-by-optimizing-your-time-to-first-byte}}, url = "https://web.archive.org/web/20190416124447/https://moz.com/blog/improving-search-rank-by-optimizing-your-time-to-first-byte",
note = {Cit. 2020-02-12}, cited = "2020-02-12",
title = {Improving Search Rank by Optimizing Your Time to First Byte}, title = "Improving Search Rank by Optimizing Your Time to First Byte",
year = {2013} year = "2013"
} }
@misc{financialtimes, @online{financialtimes,
author = {Chadburn, Matt and Lahav, Gadi}, author = "Chadburn, Matt and Lahav, Gadi",
date = {2016-04-04}, date = "2016-04-04",
howpublished = {\url{https://web.archive.org/web/20180929125709/http://engineroom.ft.com/2016/04/04/a-faster-ft-com/}}, url = "https://web.archive.org/web/20180929125709/http://engineroom.ft.com/2016/04/04/a-faster-ft-com/",
journal = {Financial Times}, journal = "Financial Times",
note = {Cit. 2020-02-15}, cited = "2020-02-15",
title = {How slow websites damage publishers revenue}, title = "How slow websites damage publishers revenue",
year = {2016} year = "2016"
} }
@misc{nolatex, @online{nolatex,
author = {Ol{\v s}{\'a}k, Petr}, author = "Ol{\v s}{\'a}k, Petr",
date = {1997-08-14}, date = "1997-08-14",
howpublished = {\url{http://petr.olsak.net/ftp/olsak/bulletin/nolatex.pdf}}, url = "http://petr.olsak.net/ftp/olsak/bulletin/nolatex.pdf",
title = {Pro{\v c} nerad pou{\v z}{\'\i}v{\'a}m LaTeX}, cited = "2020-03-10",
year = {1997} title = "Pro{\v c} nerad pou{\v z}{\'\i}v{\'a}m LaTeX",
year = "1997"
} }
@misc{daringfireball, @online{daringfireball,
author = {Gruber, John}, author = "Gruber, John",
date = {2004-12-14}, date = "2004-12-14",
howpublished = {\url{https://web.archive.org/web/20200227143926/https://daringfireball.net/projects/markdown/}}, url = "https://web.archive.org/web/20200227143926/https://daringfireball.net/projects/markdown/",
note = {Cit. 2020-02-27}, cited = "2020-02-27",
title = {Markdown}, title = "Markdown",
year = {2004} year = "2004"
} }
@misc{softpedia_generators, @online{softpedia_generators,
author = {Cimpanu, Catalin}, author = "Cimpanu, Catalin",
date = {2015-05-22}, date = "2015-05-22",
howpublished = {\url{https://web.archive.org/web/20200316165614/https://news.softpedia.com/news/How-Static-Site-Generators-Work-482007.shtml}}, url = "https://web.archive.org/web/20200316165614/https://news.softpedia.com/news/How-Static-Site-Generators-Work-482007.shtml",
journal = {Softpedia}, journal = "Softpedia",
note = {Cit. 2020-03-16}, cited = "2020-03-16",
title = {How Static Site Generators Work}, title = "How Static Site Generators Work",
year = {2015} year = "2015"
} }
@misc{commonmark, @online{commonmark,
author = {MacFarlane, John}, author = "MacFarlane, John",
howpublished = {\url{https://spec.commonmark.org/}}, url = "https://spec.commonmark.org/",
note = {Cit. 2020-03-22}, cited = "2020-03-22",
title = {CommonMark Spec}, title = "CommonMark Spec",
year = {2019} year = "2019"
} }
@misc{calomel_optimization, @online{calomel_optimization,
author = {Calomel}, author = "Calomel",
date = {2017-01-01}, date = "2017-01-01",
howpublished = {\url{https://calomel.org/save_web_bandwidth.html}}, url = "https://calomel.org/save_web_bandwidth.html",
note = {Cit. 2020-03-23}, cited = "2020-03-23",
title = {Webserver Optimization and Bandwidth Saving Tips}, title = "Webserver Optimization and Bandwidth Saving Tips",
year = {2017} year = "2017"
} }
@misc{github_formal_markdown_spec, @online{github_formal_markdown_spec,
author = {Mart{\'\i}, Vicent}, author = "Mart{\'\i}, Vicent",
howpublished = {\url{https://github.blog/2017-03-14-a-formal-spec-for-github-markdown/}}, url = "https://github.blog/2017-03-14-a-formal-spec-for-github-markdown/",
note = {Cit. 2020-03-23}, cited = "2020-03-23",
title = {A formal spec for GitHub Flavored Markdown}, title = "A formal spec for GitHub Flavored Markdown",
year = {2017} year = "2017"
} }
@techreport{owasp2017, @techreport{owasp2017,
author = {OWASP}, author = "OWASP",
howpublished = {\url{https://owasp.org/www-pdf-archive/OWASP_Top_10-2017_%28en%29.pdf.pdf}}, url = "https://owasp.org/www-pdf-archive/OWASP_Top_10-2017_(en).pdf.pdf",
institution = {OWASP}, institution = "OWASP",
journal = {OWASP Top Ten}, journal = "OWASP Top Ten",
organization = {OWASP}, organization = "OWASP",
publisher = {OWASP}, publisher = "OWASP",
series = {OWASP Top Ten}, series = "OWASP Top Ten",
title = {OWASP Top Ten 2017}, title = "OWASP Top Ten 2017",
year = {2017} year = "2017"
} }
@misc{cve_wordpress, @online{cve_wordpress,
author = {{CVE{ }Details}}, author = "{CVE{ }Details}",
howpublished = {\url{https://www.cvedetails.com/product/4096/Wordpress-Wordpress.html?vendor_id=2337}}, url = "https://www.cvedetails.com/product/4096/Wordpress-Wordpress.html?vendor_id=2337",
organization = {CVE{ }Details}, cited = "2020-03-29",
title = {Wordpress : Vulnerability Statistics}, organization = "CVE{ }Details",
year = {2020} title = "Wordpress : Vulnerability Statistics",
year = "2020"
} }
@article{thehackernews_wordpress_1, @online{thehackernews_wordpress_1,
author = {Khandelwal, Swati}, author = "Khandelwal, Swati",
date = {2020-02-17}, date = "2020-02-17",
howpublished = {\url{https://thehackernews.com/2020/02/themegrill-wordpress-plugin.html}}, url = "https://thehackernews.com/2020/02/themegrill-wordpress-plugin.html",
journal = {The Hacker News}, cited = "2020-03-29",
title = {Critical Bug in WordPress Theme Plugin Opens 200,000 Sites to Hackers}, journal = "The Hacker News",
year = {2020} title = "Critical Bug in WordPress Theme Plugin Opens 200,000 Sites to Hackers",
year = "2020"
} }
@article{thehackernews_wordpress_2, @online{thehackernews_wordpress_2,
author = {Khandelwal, Swati}, author = "Khandelwal, Swati",
date = {2019-12-13}, date = "2019-12-13",
howpublished = {\url{https://thehackernews.com/2019/12/wordpress-elementor-beaver.html}}, url = "https://thehackernews.com/2019/12/wordpress-elementor-beaver.html",
journal = {The Hacker News}, cited = "2020-03-29",
title = {Flaw in Elementor and Beaver Addons Let Anyone Hack WordPress Sites}, journal = "The Hacker News",
year = {2019} title = "Flaw in Elementor and Beaver Addons Let Anyone Hack WordPress Sites",
year = "2019"
} }
@misc{cve_php, @online{cve_php,
author = {{CVE{ }Details}}, author = "{CVE{ }Details}",
howpublished = {\url{https://www.cvedetails.com/product/4096/Wordpress-Wordpress.html?vendor_id=2337}}, url = "https://www.cvedetails.com/product/4096/Wordpress-Wordpress.html?vendor_id=2337",
organization = {CVE{ }Details}, cited = "2020-03-31",
title = {PHP : Vulnerability Statistics}, organization = "CVE{ }Details",
year = {2020} title = "PHP : Vulnerability Statistics",
year = "2020"
} }
@misc{carsten_dominik, @online{carsten_dominik,
author = {Dominik, Carsten}, author = "Dominik, Carsten",
date = {2008-11-06}, date = "2008-11-06",
howpublished = {\url{https://orgmode.org/worg/org-quotes.html}}, url = "https://orgmode.org/worg/org-quotes.html",
note = {Cit. 2020-04-15}, cited = "2020-04-15",
title = {Technical description in 24 words}, title = "Technical description in 24 words",
year = {2008} year = "2008"
} }
@misc{benchmarks_game, @online{benchmarks_game,
author = {Gouy, Isaac}, author = "Gouy, Isaac",
howpublished = {\url{https://benchmarksgame-team.pages.debian.net/benchmarksgame/which-programs-are-fastest.html}}, url = "https://benchmarksgame-team.pages.debian.net/benchmarksgame/which-programs-are-fastest.html",
title = {The Computer Language Benchmarks Game}, cited = "2020-03-18",
year = {2020} title = "The Computer Language Benchmarks Game",
year = "2020"
} }
@misc{yahoo_optimization, @online{yahoo_optimization,
author = {Yahoo!}, author = "Yahoo!",
howpublished = {\url{https://developer.yahoo.com/performance/rules.html}}, url = "https://developer.yahoo.com/performance/rules.html",
note = {Cit. 2020-04-21}, cited = "2020-04-21",
title = {Best Practices for Speeding Up Your Web Site}, title = "Best Practices for Speeding Up Your Web Site",
year = {2020} year = "2020"
} }
@misc{why_is_git_better_than_x, @online{why_is_git_better_than_x,
author = {Chacon, Scott}, author = "Chacon, Scott",
howpublished = {\url{http://z.github.io/whygitisbetter/}}, url = "http://z.github.io/whygitisbetter/",
note = {Cit. 2020-03-26}, cited = "2020-03-26",
title = {Why Git is Better than X}, title = "Why Git is Better than X",
year = {2009} year = "2009"
} }
@misc{problems_with_structuredtext, @online{problems_with_structuredtext,
author = {Goodger, David}, author = "Goodger, David",
date = {2012-01-03}, date = "2012-01-03",
howpublished = {\url{https://docutils.sourceforge.io/docs/dev/rst/problems.html}}, url = "https://docutils.sourceforge.io/docs/dev/rst/problems.html",
note = {Cit. 2020-05-01}, cited = "2020-05-01",
title = {Problems With StructuredText}, title = "Problems With StructuredText",
year = {2012} year = "2012"
} }
@article{ossanna1977troff, @article{ossanna1977troff,
author = {Ossanna, Joseph F and Kernighan, Brian W}, author = "Ossanna, Joseph F and Kernighan, Brian W",
journal = {Bell Laboratories Computing Science Technical Report}, journal = "Bell Laboratories Computing Science Technical Report",
title = {Troff user{\rq}s manual}, title = "Troff user{\rq}s manual",
volume = {54}, volume = "54",
year = {1977} year = "1977"
} }

View File

@ -9,7 +9,7 @@
%%% a unsrt jsou standardní součástí latexových distribucí. Styl czplainnat %%% a unsrt jsou standardní součástí latexových distribucí. Styl czplainnat
%%% je dodáván s touto šablonou a bibTeX ho hledá v aktuálním adresáři. %%% je dodáván s touto šablonou a bibTeX ho hledá v aktuálním adresáři.
\bibliographystyle{czplainnat} %% Autor (rok) s českými spojkami \bibliographystyle{csplainnat} %% Autor (rok) s českými spojkami
% \bibliographystyle{plainnat} %% Autor (rok) s anglickými spojkami % \bibliographystyle{plainnat} %% Autor (rok) s anglickými spojkami
% \bibliographystyle{unsrt} %% [číslo] % \bibliographystyle{unsrt} %% [číslo]

BIN
prace.pdf

Binary file not shown.