From 7b39bb9bdca64219ec0587b25112c02369e9dbed Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Sat, 24 Dec 2022 21:11:59 +0300 Subject: [PATCH 1/3] =?UTF-8?q?=D0=97=D0=B0=D0=BF=D1=80=D0=B5=D1=82=20?= =?UTF-8?q?=D0=B2=D1=8B=D1=85=D0=BE=D0=B4=D0=B0=20=D0=BD=D0=B0=20=D0=BF?= =?UTF-8?q?=D0=BE=D0=BB=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/wiki.latex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/wiki.latex b/templates/wiki.latex index cf45b08..e0d4643 100644 --- a/templates/wiki.latex +++ b/templates/wiki.latex @@ -58,7 +58,8 @@ $for(beameroption)$ \setbeameroption{$beameroption$} $endfor$ % Prevent slide breaks in the middle of a paragraph -\widowpenalties 1 10000 +\widowpenalty10000 +\clubpenalty10000 \raggedbottom $if(section-titles)$ \setbeamertemplate{part page}{ From 2c77311e6cf3a5574f263e4b9994b1db8a68d001 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Sat, 24 Dec 2022 21:17:41 +0300 Subject: [PATCH 2/3] =?UTF-8?q?=D0=A8=D1=80=D0=B8=D1=84=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/wiki.latex | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/wiki.latex b/templates/wiki.latex index e0d4643..606a83c 100644 --- a/templates/wiki.latex +++ b/templates/wiki.latex @@ -130,15 +130,17 @@ $endif$ $if(mainfont)$ \setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$} $else$ - \setmainfont[Scale=1.0]{Georgia} + \setmainfont[Scale=1.0]{PT Serif} $endif$ $if(sansfont)$ \setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$} +$else$ + \setmainfont[Scale=1.0]{PT Sans} $endif$ $if(monofont)$ \setmonofont[$for(monofontoptions)$$monofontoptions$$sep$,$endfor$]{$monofont$} $else$ - \setmonofont[Scale=0.75]{Pragmata Pro} + \setmonofont[Scale=0.75]{Iosevka Prog} $endif$ $for(fontfamilies)$ \newfontfamily{$fontfamilies.name$}[$for(fontfamilies.options)$$fontfamilies.options$$sep$,$endfor$]{$fontfamilies.font$} From d35e81068151a8b04bbc0ccd44572b7db6687635 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Sat, 24 Dec 2022 21:18:08 +0300 Subject: [PATCH 3/3] =?UTF-8?q?=D0=AF=D0=B7=D1=8B=D0=BA=20PDF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/wiki.latex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/wiki.latex b/templates/wiki.latex index 606a83c..414a8c5 100644 --- a/templates/wiki.latex +++ b/templates/wiki.latex @@ -233,6 +233,9 @@ $endif$ $if(author-meta)$ pdfauthor={$author-meta$}, $endif$ +$if(lang)$ + pdflang={$lang$}, +$endif$ $if(subject)$ pdfsubject={$subject$}, $endif$