diff options
-rw-r--r-- | article.jats_publishing | 8 | ||||
-rw-r--r-- | default.biblatex | 10 | ||||
-rw-r--r-- | default.bibtex | 10 | ||||
-rw-r--r-- | default.jats_articleauthoring | 2 | ||||
-rw-r--r-- | default.latex | 30 | ||||
-rw-r--r-- | default.revealjs | 4 |
6 files changed, 46 insertions, 18 deletions
diff --git a/article.jats_publishing b/article.jats_publishing index 4bdb3f2..47fa4ac 100644 --- a/article.jats_publishing +++ b/article.jats_publishing | |||
@@ -30,10 +30,10 @@ $if(journal.abbrev-title)$ | |||
30 | $endif$ | 30 | $endif$ |
31 | </journal-title-group> | 31 | </journal-title-group> |
32 | $if(journal.pissn)$ | 32 | $if(journal.pissn)$ |
33 | <issn pub-type="ppub">$journal.pissn$</issn> | 33 | <issn publication-format="print">$journal.pissn$</issn> |
34 | $endif$ | 34 | $endif$ |
35 | $if(journal.eissn)$ | 35 | $if(journal.eissn)$ |
36 | <issn pub-type="epub">$journal.eissn$</issn> | 36 | <issn publication-format="electronic">$journal.eissn$</issn> |
37 | $endif$ | 37 | $endif$ |
38 | $-- At least one issn element is required; use empty issn as fallback | 38 | $-- At least one issn element is required; use empty issn as fallback |
39 | $if(journal.pissn)$ | 39 | $if(journal.pissn)$ |
@@ -95,6 +95,8 @@ $if(author.surname)$ | |||
95 | <surname>$author.surname$</surname> | 95 | <surname>$author.surname$</surname> |
96 | <given-names>$author.given-names$</given-names> | 96 | <given-names>$author.given-names$</given-names> |
97 | </name> | 97 | </name> |
98 | $elseif(author.name)$ | ||
99 | <string-name>$author.name$</string-name> | ||
98 | $else$ | 100 | $else$ |
99 | <string-name>$author$</string-name> | 101 | <string-name>$author$</string-name> |
100 | $endif$ | 102 | $endif$ |
@@ -128,7 +130,7 @@ $endif$ | |||
128 | </author-notes> | 130 | </author-notes> |
129 | $endif$ | 131 | $endif$ |
130 | $if(date)$ | 132 | $if(date)$ |
131 | <pub-date pub-type="epub"$if(date.iso-8601)$ iso-8601-date="$date.iso-8601$"$endif$> | 133 | <pub-date date-type="$if(date.type)$$date.type$$else$pub$endif$" publication-format="electronic"$if(date.iso-8601)$ iso-8601-date="$date.iso-8601$"$endif$> |
132 | $if(date.day)$ | 134 | $if(date.day)$ |
133 | <day>$date.day$</day> | 135 | <day>$date.day$</day> |
134 | $endif$ | 136 | $endif$ |
diff --git a/default.biblatex b/default.biblatex new file mode 100644 index 0000000..6bf2632 --- /dev/null +++ b/default.biblatex | |||
@@ -0,0 +1,10 @@ | |||
1 | $for(header-includes)$ | ||
2 | $header-includes$ | ||
3 | $endfor$ | ||
4 | $for(include-before)$ | ||
5 | $include-before$ | ||
6 | $endfor$ | ||
7 | $body$ | ||
8 | $for(include-after)$ | ||
9 | $include-after$ | ||
10 | $endfor$ | ||
diff --git a/default.bibtex b/default.bibtex new file mode 100644 index 0000000..6bf2632 --- /dev/null +++ b/default.bibtex | |||
@@ -0,0 +1,10 @@ | |||
1 | $for(header-includes)$ | ||
2 | $header-includes$ | ||
3 | $endfor$ | ||
4 | $for(include-before)$ | ||
5 | $include-before$ | ||
6 | $endfor$ | ||
7 | $body$ | ||
8 | $for(include-after)$ | ||
9 | $include-after$ | ||
10 | $endfor$ | ||
diff --git a/default.jats_articleauthoring b/default.jats_articleauthoring index 94c9295..ef2aed7 100644 --- a/default.jats_articleauthoring +++ b/default.jats_articleauthoring | |||
@@ -28,6 +28,8 @@ $if(author.surname)$ | |||
28 | <surname>$author.surname$</surname> | 28 | <surname>$author.surname$</surname> |
29 | <given-names>$author.given-names$</given-names> | 29 | <given-names>$author.given-names$</given-names> |
30 | </name> | 30 | </name> |
31 | $elseif(author.name)$ | ||
32 | <string-name>$author.name$</string-name> | ||
31 | $else$ | 33 | $else$ |
32 | <string-name>$author$</string-name> | 34 | <string-name>$author$</string-name> |
33 | $endif$ | 35 | $endif$ |
diff --git a/default.latex b/default.latex index c567278..50fad2a 100644 --- a/default.latex +++ b/default.latex | |||
@@ -98,14 +98,14 @@ $endif$ | |||
98 | $if(linestretch)$ | 98 | $if(linestretch)$ |
99 | \usepackage{setspace} | 99 | \usepackage{setspace} |
100 | $endif$ | 100 | $endif$ |
101 | \usepackage{ifxetex,ifluatex} | 101 | \usepackage{iftex} |
102 | \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex | 102 | \ifPDFTeX |
103 | \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc} | 103 | \usepackage[$if(fontenc)$$fontenc$$else$T1$endif$]{fontenc} |
104 | \usepackage[utf8]{inputenc} | 104 | \usepackage[utf8]{inputenc} |
105 | \usepackage{textcomp} % provide euro and other symbols | 105 | \usepackage{textcomp} % provide euro and other symbols |
106 | \else % if luatex or xetex | 106 | \else % if luatex or xetex |
107 | $if(mathspec)$ | 107 | $if(mathspec)$ |
108 | \ifxetex | 108 | \ifXeTeX |
109 | \usepackage{mathspec} | 109 | \usepackage{mathspec} |
110 | \else | 110 | \else |
111 | \usepackage{unicode-math} | 111 | \usepackage{unicode-math} |
@@ -129,7 +129,7 @@ $for(fontfamilies)$ | |||
129 | $endfor$ | 129 | $endfor$ |
130 | $if(mathfont)$ | 130 | $if(mathfont)$ |
131 | $if(mathspec)$ | 131 | $if(mathspec)$ |
132 | \ifxetex | 132 | \ifXeTeX |
133 | \setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$} | 133 | \setmathfont(Digits,Latin,Greek)[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$} |
134 | \else | 134 | \else |
135 | \setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$} | 135 | \setmathfont[$for(mathfontoptions)$$mathfontoptions$$sep$,$endfor$]{$mathfont$} |
@@ -139,18 +139,18 @@ $else$ | |||
139 | $endif$ | 139 | $endif$ |
140 | $endif$ | 140 | $endif$ |
141 | $if(CJKmainfont)$ | 141 | $if(CJKmainfont)$ |
142 | \ifxetex | 142 | \ifXeTeX |
143 | \usepackage{xeCJK} | 143 | \usepackage{xeCJK} |
144 | \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} | 144 | \setCJKmainfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} |
145 | \fi | 145 | \fi |
146 | $endif$ | 146 | $endif$ |
147 | $if(luatexjapresetoptions)$ | 147 | $if(luatexjapresetoptions)$ |
148 | \ifluatex | 148 | \ifLuaTeX |
149 | \usepackage[$for(luatexjapresetoptions)$$luatexjapresetoptions$$sep$,$endfor$]{luatexja-preset} | 149 | \usepackage[$for(luatexjapresetoptions)$$luatexjapresetoptions$$sep$,$endfor$]{luatexja-preset} |
150 | \fi | 150 | \fi |
151 | $endif$ | 151 | $endif$ |
152 | $if(CJKmainfont)$ | 152 | $if(CJKmainfont)$ |
153 | \ifluatex | 153 | \ifLuaTeX |
154 | \usepackage[$for(luatexjafontspecoptions)$$luatexjafontspecoptions$$sep$,$endfor$]{luatexja-fontspec} | 154 | \usepackage[$for(luatexjafontspecoptions)$$luatexjafontspecoptions$$sep$,$endfor$]{luatexja-fontspec} |
155 | \setmainjfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} | 155 | \setmainjfont[$for(CJKoptions)$$CJKoptions$$sep$,$endfor$]{$CJKmainfont$} |
156 | \fi | 156 | \fi |
@@ -219,10 +219,10 @@ $if(keywords)$ | |||
219 | $endif$ | 219 | $endif$ |
220 | $if(colorlinks)$ | 220 | $if(colorlinks)$ |
221 | colorlinks=true, | 221 | colorlinks=true, |
222 | linkcolor=$if(linkcolor)$$linkcolor$$else$Maroon$endif$, | 222 | linkcolor={$if(linkcolor)$$linkcolor$$else$Maroon$endif$}, |
223 | filecolor=$if(filecolor)$$filecolor$$else$Maroon$endif$, | 223 | filecolor={$if(filecolor)$$filecolor$$else$Maroon$endif$}, |
224 | citecolor=$if(citecolor)$$citecolor$$else$Blue$endif$, | 224 | citecolor={$if(citecolor)$$citecolor$$else$Blue$endif$}, |
225 | urlcolor=$if(urlcolor)$$urlcolor$$else$Blue$endif$, | 225 | urlcolor={$if(urlcolor)$$urlcolor$$else$Blue$endif$}, |
226 | $else$ | 226 | $else$ |
227 | hidelinks, | 227 | hidelinks, |
228 | $endif$ | 228 | $endif$ |
@@ -329,7 +329,7 @@ $for(header-includes)$ | |||
329 | $header-includes$ | 329 | $header-includes$ |
330 | $endfor$ | 330 | $endfor$ |
331 | $if(lang)$ | 331 | $if(lang)$ |
332 | \ifxetex | 332 | \ifXeTeX |
333 | % Load polyglossia as late as possible: uses bidi with RTL langages (e.g. Hebrew, Arabic) | 333 | % Load polyglossia as late as possible: uses bidi with RTL langages (e.g. Hebrew, Arabic) |
334 | \usepackage{polyglossia} | 334 | \usepackage{polyglossia} |
335 | \setmainlanguage[$for(polyglossia-lang.options)$$polyglossia-lang.options$$sep$,$endfor$]{$polyglossia-lang.name$} | 335 | \setmainlanguage[$for(polyglossia-lang.options)$$polyglossia-lang.options$$sep$,$endfor$]{$polyglossia-lang.name$} |
@@ -346,15 +346,15 @@ $if(babel-newcommands)$ | |||
346 | $endif$ | 346 | $endif$ |
347 | \fi | 347 | \fi |
348 | $endif$ | 348 | $endif$ |
349 | \ifluatex | 349 | \ifLuaTeX |
350 | \usepackage{selnolig} % disable illegal ligatures | 350 | \usepackage{selnolig} % disable illegal ligatures |
351 | \fi | 351 | \fi |
352 | $if(dir)$ | 352 | $if(dir)$ |
353 | \ifxetex | 353 | \ifXeTeX |
354 | % Load bidi as late as possible as it modifies e.g. graphicx | 354 | % Load bidi as late as possible as it modifies e.g. graphicx |
355 | \usepackage{bidi} | 355 | \usepackage{bidi} |
356 | \fi | 356 | \fi |
357 | \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex | 357 | \ifPDFTeX |
358 | \TeXXeTstate=1 | 358 | \TeXXeTstate=1 |
359 | \newcommand{\RL}[1]{\beginR #1\endR} | 359 | \newcommand{\RL}[1]{\beginR #1\endR} |
360 | \newcommand{\LR}[1]{\beginL #1\endL} | 360 | \newcommand{\LR}[1]{\beginL #1\endL} |
diff --git a/default.revealjs b/default.revealjs index ff88a44..e611e5b 100644 --- a/default.revealjs +++ b/default.revealjs | |||
@@ -82,6 +82,10 @@ $endif$ | |||
82 | // Full list of configuration options available at: | 82 | // Full list of configuration options available at: |
83 | // https://revealjs.com/config/ | 83 | // https://revealjs.com/config/ |
84 | Reveal.initialize({ | 84 | Reveal.initialize({ |
85 | $if(center)$ | ||
86 | // Determines whether slide content should be vertically centered | ||
87 | center: $center$, | ||
88 | $endif$ | ||
85 | $if(controls)$ | 89 | $if(controls)$ |
86 | // Display controls in the bottom right corner | 90 | // Display controls in the bottom right corner |
87 | controls: $controls$, | 91 | controls: $controls$, |