falkorlib 0.8.7 → 0.8.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +98 -74
- data/README.md +1 -1
- data/falkorlib.gemspec +21 -24
- data/lib/falkorlib/bootstrap/base.rb +3 -4
- data/lib/falkorlib/bootstrap/ruby.rb +1 -1
- data/lib/falkorlib/cli/new.rb +1 -1
- data/lib/falkorlib/config.rb +6 -5
- data/lib/falkorlib/git/base.rb +1 -1
- data/lib/falkorlib/version.rb +1 -1
- data/spec/falkorlib/git_spec.rb +1 -1
- data/templates/latex/article/_related_works.tex.erb +1 -1
- data/templates/latex/article/biblio.bib.erb +12 -1
- data/templates/latex/article-acm/main.tex.erb +47 -65
- data/templates/latex/article-ieee/main.tex.erb +42 -410
- data/templates/latex/article-llncs/main.tex.erb +30 -18
- data/templates/latex/beamer/main.tex.erb +7 -6
- data/templates/latex/llncs/llncs.cls +49 -39
- data/templates/latex/llncs/{splncs03.bst → splncs04.bst} +40 -11
- metadata +88 -88
@@ -1,4 +1,4 @@
|
|
1
|
-
% LLNCS DOCUMENT CLASS -- version 2.
|
1
|
+
% LLNCS DOCUMENT CLASS -- version 2.21 (12-Jan-2022)
|
2
2
|
% Springer Verlag LaTeX2e support for Lecture Notes in Computer Science
|
3
3
|
%
|
4
4
|
%%
|
@@ -19,7 +19,7 @@
|
|
19
19
|
%% Right brace \} Tilde \~}
|
20
20
|
%%
|
21
21
|
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
|
22
|
-
\ProvidesClass{llncs}[
|
22
|
+
\ProvidesClass{llncs}[2022/01/12 v2.21
|
23
23
|
^^J LaTeX document class for Lecture Notes in Computer Science]
|
24
24
|
% Options
|
25
25
|
\let\if@envcntreset\iffalse
|
@@ -77,40 +77,40 @@
|
|
77
77
|
\fi}
|
78
78
|
%
|
79
79
|
\def\switcht@albion{%
|
80
|
-
\def\abstractname{Abstract.}
|
81
|
-
\def\ackname{Acknowledgement.}
|
82
|
-
\def\andname{and}
|
83
|
-
\def\lastandname{\unskip, and}
|
84
|
-
\def\appendixname{Appendix}
|
85
|
-
\def\chaptername{Chapter}
|
86
|
-
\def\claimname{Claim}
|
87
|
-
\def\conjecturename{Conjecture}
|
88
|
-
\def\contentsname{Table of Contents}
|
89
|
-
\def\corollaryname{Corollary}
|
90
|
-
\def\definitionname{Definition}
|
91
|
-
\def\examplename{Example}
|
92
|
-
\def\exercisename{Exercise}
|
93
|
-
\def\figurename{Fig.}
|
94
|
-
\def\keywordname{{\bf Keywords:}}
|
95
|
-
\def\indexname{Index}
|
96
|
-
\def\lemmaname{Lemma}
|
97
|
-
\def\contriblistname{List of Contributors}
|
98
|
-
\def\listfigurename{List of Figures}
|
99
|
-
\def\listtablename{List of Tables}
|
100
|
-
\def\mailname{{\it Correspondence to\/}:}
|
101
|
-
\def\noteaddname{Note added in proof}
|
102
|
-
\def\notename{Note}
|
103
|
-
\def\partname{Part}
|
104
|
-
\def\problemname{Problem}
|
105
|
-
\def\proofname{Proof}
|
106
|
-
\def\propertyname{Property}
|
107
|
-
\def\propositionname{Proposition}
|
108
|
-
\def\questionname{Question}
|
109
|
-
\def\remarkname{Remark}
|
110
|
-
\def\seename{see}
|
111
|
-
\def\solutionname{Solution}
|
112
|
-
\def\subclassname{{\it Subject Classifications\/}:}
|
113
|
-
\def\tablename{Table}
|
80
|
+
\def\abstractname{Abstract.}
|
81
|
+
\def\ackname{Acknowledgement.}
|
82
|
+
\def\andname{and}
|
83
|
+
\def\lastandname{\unskip, and}
|
84
|
+
\def\appendixname{Appendix}
|
85
|
+
\def\chaptername{Chapter}
|
86
|
+
\def\claimname{Claim}
|
87
|
+
\def\conjecturename{Conjecture}
|
88
|
+
\def\contentsname{Table of Contents}
|
89
|
+
\def\corollaryname{Corollary}
|
90
|
+
\def\definitionname{Definition}
|
91
|
+
\def\examplename{Example}
|
92
|
+
\def\exercisename{Exercise}
|
93
|
+
\def\figurename{Fig.}
|
94
|
+
\def\keywordname{{\bf Keywords:}}
|
95
|
+
\def\indexname{Index}
|
96
|
+
\def\lemmaname{Lemma}
|
97
|
+
\def\contriblistname{List of Contributors}
|
98
|
+
\def\listfigurename{List of Figures}
|
99
|
+
\def\listtablename{List of Tables}
|
100
|
+
\def\mailname{{\it Correspondence to\/}:}
|
101
|
+
\def\noteaddname{Note added in proof}
|
102
|
+
\def\notename{Note}
|
103
|
+
\def\partname{Part}
|
104
|
+
\def\problemname{Problem}
|
105
|
+
\def\proofname{Proof}
|
106
|
+
\def\propertyname{Property}
|
107
|
+
\def\propositionname{Proposition}
|
108
|
+
\def\questionname{Question}
|
109
|
+
\def\remarkname{Remark}
|
110
|
+
\def\seename{see}
|
111
|
+
\def\solutionname{Solution}
|
112
|
+
\def\subclassname{{\it Subject Classifications\/}:}
|
113
|
+
\def\tablename{Table}
|
114
114
|
\def\theoremname{Theorem}}
|
115
115
|
\switcht@albion
|
116
116
|
% Names of theorem like environments are already defined
|
@@ -875,8 +875,10 @@ to0pt{\kern0.55\wd0\vrule height0.45\ht0\hss}\box0}}}}
|
|
875
875
|
\or \ddagger\ddagger \else\@ctrerr\fi}}
|
876
876
|
|
877
877
|
\def\inst#1{\unskip$^{#1}$}
|
878
|
+
\def\orcidID#1{\unskip$^{[#1]}$} % added MR 2018-03-10
|
878
879
|
\def\fnmsep{\unskip$^,$}
|
879
880
|
\def\email#1{{\tt#1}}
|
881
|
+
|
880
882
|
\AtBeginDocument{\@ifundefined{url}{\def\url#1{#1}}{}%
|
881
883
|
\@ifpackageloaded{babel}{%
|
882
884
|
\@ifundefined{extrasenglish}{}{\addto\extrasenglish{\switcht@albion}}%
|
@@ -884,8 +886,12 @@ to0pt{\kern0.55\wd0\vrule height0.45\ht0\hss}\box0}}}}
|
|
884
886
|
\@ifundefined{extrasgerman}{}{\addto\extrasgerman{\switcht@deutsch}}%
|
885
887
|
\@ifundefined{extrasngerman}{}{\addto\extrasngerman{\switcht@deutsch}}%
|
886
888
|
}{\switcht@@therlang}%
|
887
|
-
\providecommand{\keywords}[1]{\
|
889
|
+
\providecommand{\keywords}[1]{\def\and{{\textperiodcentered} }%
|
890
|
+
\par\addvspace\baselineskip
|
888
891
|
\noindent\keywordname\enspace\ignorespaces#1}%
|
892
|
+
\@ifpackageloaded{hyperref}{%
|
893
|
+
\def\doi#1{\href{https://doi.org/\detokenize{#1}}{\url{https://doi.org/#1}}}}{
|
894
|
+
\def\doi#1{https://doi.org/\detokenize{#1}}}
|
889
895
|
}
|
890
896
|
\def\homedir{\~{ }}
|
891
897
|
|
@@ -946,6 +952,8 @@ to0pt{\kern0.55\wd0\vrule height0.45\ht0\hss}\box0}}}}
|
|
946
952
|
%
|
947
953
|
\if!\the\tocauthor!\relax
|
948
954
|
{\def\and{\noexpand\protect\noexpand\and}%
|
955
|
+
\def\inst##1{}% added MR 2017-09-20 to remove inst numbers from the TOC
|
956
|
+
\def\orcidID##1{}% added MR 2017-09-20 to remove ORCID ids from the TOC
|
949
957
|
\protected@xdef\toc@uthor{\@author}}%
|
950
958
|
\else
|
951
959
|
\def\\{\noexpand\protect\noexpand\newline}%
|
@@ -961,7 +969,9 @@ to0pt{\kern0.55\wd0\vrule height0.45\ht0\hss}\box0}}}}
|
|
961
969
|
\else
|
962
970
|
\edef\@author{\the\authorrunning}%
|
963
971
|
\fi
|
964
|
-
\global\setbox\authrun=\hbox{\
|
972
|
+
\global\setbox\authrun=\hbox{\def\inst##1{}% added MR 2017-09-20 to remove inst numbers from the runninghead
|
973
|
+
\def\orcidID##1{}% added MR 2017-09-20 to remove ORCID ids from the runninghead
|
974
|
+
\small\unboldmath\@author\unskip}%
|
965
975
|
\ifdim\wd\authrun>\instindent
|
966
976
|
\typeout{Names of authors too long for running head. Please supply}%
|
967
977
|
\typeout{a shorter form with \string\authorrunning\space prior to
|
@@ -1063,7 +1073,7 @@ to0pt{\kern0.55\wd0\vrule height0.45\ht0\hss}\box0}}}}
|
|
1063
1073
|
\global\@namedef{end#1}{\@endtheorem}}}}
|
1064
1074
|
|
1065
1075
|
\def\@spthm#1#2#3#4{\topsep 7\p@ \@plus2\p@ \@minus4\p@
|
1066
|
-
\refstepcounter{#1}
|
1076
|
+
\refstepcounter{#1}%
|
1067
1077
|
\@ifnextchar[{\@spythm{#1}{#2}{#3}{#4}}{\@spxthm{#1}{#2}{#3}{#4}}}
|
1068
1078
|
|
1069
1079
|
\def\@spxthm#1#2#3#4{\@spbegintheorem{#2}{\csname the#1\endcsname}{#3}{#4}%
|
@@ -1,4 +1,4 @@
|
|
1
|
-
%% BibTeX bibliography style `
|
1
|
+
%% BibTeX bibliography style `splncs04'
|
2
2
|
%%
|
3
3
|
%% BibTeX bibliography style for use with numbered references in
|
4
4
|
%% Springer Verlag's "Lecture Notes in Computer Science" series.
|
@@ -31,6 +31,7 @@
|
|
31
31
|
%% - Used for editors the same name conventions used for authors (see function format.in.ed.booktitle)
|
32
32
|
%% - Removed a \newblock to avoid long spaces between title and "In: ..."
|
33
33
|
%% - Added function titto.space.prefix to add a space instead of "~" after the (removed) "vol." label
|
34
|
+
%% - Added doi
|
34
35
|
%% ================================================================================================
|
35
36
|
%% This was file `titto.bst',
|
36
37
|
%% generated with the docstrip utility.
|
@@ -73,6 +74,7 @@ ENTRY
|
|
73
74
|
author
|
74
75
|
booktitle
|
75
76
|
chapter
|
77
|
+
doi
|
76
78
|
edition
|
77
79
|
editor
|
78
80
|
eid
|
@@ -243,8 +245,15 @@ FUNCTION {field.or.null}
|
|
243
245
|
}
|
244
246
|
FUNCTION {emphasize}
|
245
247
|
{ skip$ }
|
248
|
+
|
249
|
+
FUNCTION {embolden}
|
250
|
+
{ duplicate$ empty$
|
251
|
+
{ pop$ "" }
|
252
|
+
{ "\textbf{" swap$ * "}" * }
|
253
|
+
if$
|
254
|
+
}
|
246
255
|
FUNCTION {tie.or.space.prefix}
|
247
|
-
{ duplicate$ text.length$ #
|
256
|
+
{ duplicate$ text.length$ #5 <
|
248
257
|
{ "~" }
|
249
258
|
{ " " }
|
250
259
|
if$
|
@@ -436,6 +445,14 @@ FUNCTION {format.url}
|
|
436
445
|
if$
|
437
446
|
}
|
438
447
|
|
448
|
+
FUNCTION {format.doi} % added in splncs04.bst
|
449
|
+
{ doi empty$
|
450
|
+
{ "" }
|
451
|
+
{ after.block 'output.state :=
|
452
|
+
"\doi{" doi * "}" * }
|
453
|
+
if$
|
454
|
+
}
|
455
|
+
|
439
456
|
INTEGERS { nameptr namesleft numnames }
|
440
457
|
|
441
458
|
|
@@ -768,17 +785,17 @@ FUNCTION {format.journal.eid}
|
|
768
785
|
if$
|
769
786
|
}
|
770
787
|
FUNCTION {format.vol.num.pages} % this function is used only for journal entries
|
771
|
-
{ volume field.or.null
|
788
|
+
{ volume field.or.null embolden
|
772
789
|
duplicate$ empty$ 'skip$
|
773
790
|
{
|
774
|
-
%
|
775
|
-
|
776
|
-
%
|
777
|
-
%
|
778
|
-
%
|
791
|
+
% bbl.volume swap$ tie.or.space.prefix
|
792
|
+
titto.bbl.volume swap$ titto.space.prefix
|
793
|
+
% rationale for the change above: for journals you don't want "vol." label
|
794
|
+
% hence it does not make sense to attach the journal number to the label when
|
795
|
+
% it is short
|
779
796
|
"volume" bibinfo.check
|
780
797
|
* *
|
781
|
-
|
798
|
+
}
|
782
799
|
if$
|
783
800
|
number "number" bibinfo.check duplicate$ empty$ 'skip$
|
784
801
|
{
|
@@ -1006,6 +1023,7 @@ FUNCTION {article}
|
|
1006
1023
|
}
|
1007
1024
|
if$
|
1008
1025
|
% new.block
|
1026
|
+
format.doi output
|
1009
1027
|
format.url output
|
1010
1028
|
% new.block
|
1011
1029
|
format.note output
|
@@ -1042,6 +1060,7 @@ FUNCTION {book}
|
|
1042
1060
|
format.edition output
|
1043
1061
|
format.date "year" output.check
|
1044
1062
|
% new.block
|
1063
|
+
format.doi output
|
1045
1064
|
format.url output
|
1046
1065
|
% new.block
|
1047
1066
|
format.note output
|
@@ -1058,6 +1077,7 @@ FUNCTION {booklet}
|
|
1058
1077
|
address "address" bibinfo.check output
|
1059
1078
|
format.date output
|
1060
1079
|
% new.block
|
1080
|
+
format.doi output
|
1061
1081
|
format.url output
|
1062
1082
|
% new.block
|
1063
1083
|
format.note output
|
@@ -1098,6 +1118,7 @@ FUNCTION {inbook}
|
|
1098
1118
|
format.edition output
|
1099
1119
|
format.date "year" output.check
|
1100
1120
|
% new.block
|
1121
|
+
format.doi output
|
1101
1122
|
format.url output
|
1102
1123
|
% new.block
|
1103
1124
|
format.note output
|
@@ -1126,6 +1147,7 @@ FUNCTION {incollection}
|
|
1126
1147
|
}
|
1127
1148
|
if$
|
1128
1149
|
% new.block
|
1150
|
+
format.doi output
|
1129
1151
|
format.url output
|
1130
1152
|
% new.block
|
1131
1153
|
format.note output
|
@@ -1158,6 +1180,7 @@ FUNCTION {inproceedings}
|
|
1158
1180
|
}
|
1159
1181
|
if$
|
1160
1182
|
% new.block
|
1183
|
+
format.doi output
|
1161
1184
|
format.url output
|
1162
1185
|
% new.block
|
1163
1186
|
format.note output
|
@@ -1197,6 +1220,7 @@ FUNCTION {manual}
|
|
1197
1220
|
format.edition output
|
1198
1221
|
format.date output
|
1199
1222
|
% new.block
|
1223
|
+
format.doi output
|
1200
1224
|
format.url output
|
1201
1225
|
% new.block
|
1202
1226
|
format.note output
|
@@ -1216,6 +1240,7 @@ FUNCTION {mastersthesis}
|
|
1216
1240
|
address "address" bibinfo.check output
|
1217
1241
|
format.date "year" output.check
|
1218
1242
|
% new.block
|
1243
|
+
format.doi output
|
1219
1244
|
format.url output
|
1220
1245
|
% new.block
|
1221
1246
|
format.note output
|
@@ -1232,6 +1257,7 @@ FUNCTION {misc}
|
|
1232
1257
|
howpublished "howpublished" bibinfo.check output
|
1233
1258
|
format.date output
|
1234
1259
|
% new.block
|
1260
|
+
format.doi output
|
1235
1261
|
format.url output
|
1236
1262
|
% new.block
|
1237
1263
|
format.note output
|
@@ -1251,6 +1277,7 @@ FUNCTION {phdthesis}
|
|
1251
1277
|
address "address" bibinfo.check output
|
1252
1278
|
format.date "year" output.check
|
1253
1279
|
% new.block
|
1280
|
+
format.doi output
|
1254
1281
|
format.url output
|
1255
1282
|
% new.block
|
1256
1283
|
format.note output
|
@@ -1294,6 +1321,7 @@ FUNCTION {proceedings}
|
|
1294
1321
|
if$
|
1295
1322
|
format.date "year" output.check
|
1296
1323
|
% new.block
|
1324
|
+
format.doi output
|
1297
1325
|
format.url output
|
1298
1326
|
% new.block
|
1299
1327
|
format.note output
|
@@ -1313,6 +1341,7 @@ FUNCTION {techreport}
|
|
1313
1341
|
address "address" bibinfo.check output
|
1314
1342
|
format.date "year" output.check
|
1315
1343
|
% new.block
|
1344
|
+
format.doi output
|
1316
1345
|
format.url output
|
1317
1346
|
% new.block
|
1318
1347
|
format.note output
|
@@ -1503,6 +1532,8 @@ FUNCTION {begin.bib}
|
|
1503
1532
|
write$ newline$
|
1504
1533
|
"\providecommand{\urlprefix}{URL }"
|
1505
1534
|
write$ newline$
|
1535
|
+
"\providecommand{\doi}[1]{https://doi.org/#1}"
|
1536
|
+
write$ newline$
|
1506
1537
|
}
|
1507
1538
|
EXECUTE {begin.bib}
|
1508
1539
|
EXECUTE {init.state.consts}
|
@@ -1515,5 +1546,3 @@ EXECUTE {end.bib}
|
|
1515
1546
|
%% End of customized bst file
|
1516
1547
|
%%
|
1517
1548
|
%% End of file `titto.bst'.
|
1518
|
-
|
1519
|
-
|