diff options
author | Karl Berry <karl@freefriends.org> | 2020-05-05 21:34:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-05-05 21:34:42 +0000 |
commit | afcdce89ed16b482858d47efb97563ad56b9fc4f (patch) | |
tree | 10cc7f60eb635d849e0191f3210beafe586539be /Master/texmf-dist/tex | |
parent | 366e7309baba813b2e970ff84b3300bfa86de2f2 (diff) |
univie-ling (5may20)
git-svn-id: svn://tug.org/texlive/trunk@55035 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
4 files changed, 156 insertions, 47 deletions
diff --git a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-expose.cls b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-expose.cls index b135db0976b..d49c8fff59f 100644 --- a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-expose.cls +++ b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-expose.cls @@ -31,7 +31,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{univie-ling-expose}[2019/05/01 v1.10 Univie Linguistic Exposes (JSp)] +\ProvidesPackage{univie-ling-expose}[2020/05/05 v1.11 Univie Linguistic Exposes (JSp)] \RequirePackage{xkeyval} @@ -41,6 +41,10 @@ \newif\ifrefsp\refsptrue \newif\ifcovington\covingtontrue \newif\ifmicrotype\microtypetrue +\newif\ifpolyglossia\polyglossiafalse +\newif\ifpsfonts\psfontstrue +\newif\ifotffonts\otffontsfalse +\newif\ifnofonts\nofontsfalse % all=<true|false> % Load all packages @@ -61,7 +65,7 @@ }{% \ClassWarning{univie-ling-expose}{unknown 'all' value}% } -\DeclareOptionX{all}{\setkeys{uvt}{all=#1}} +\DeclareOptionX{all}[true]{\setkeys{uvt}{all=#1}} % biblatex=<true|false> % Load biblatex @@ -74,7 +78,7 @@ }{% \ClassWarning{univie-ling-expose}{unknown biblatex value}% } -\DeclareOptionX{biblatex}{\setkeys{uvt}{biblatex=#1}} +\DeclareOptionX{biblatex}[true]{\setkeys{uvt}{biblatex=#1}} % apa=<true|false> % Load APA style @@ -87,7 +91,7 @@ }{% \ClassWarning{univie-ling-paper}{unknown apa value}% } -\DeclareOptionX{apa}{\setkeys{uvt}{apa=#1}} +\DeclareOptionX{apa}[true]{\setkeys{uvt}{apa=#1}} % caption=<true|false> % Load caption @@ -100,7 +104,7 @@ }{% \ClassWarning{univie-ling-expose}{unknown caption value}% } -\DeclareOptionX{caption}{\setkeys{uvt}{caption=#1}} +\DeclareOptionX{caption}[true]{\setkeys{uvt}{caption=#1}} % ref=<true|false> % Load varioref and prettyref @@ -113,7 +117,7 @@ }{% \ClassWarning{univie-ling-expose}{unknown ref value}% } -\DeclareOptionX{ref}{\setkeys{uvt}{ref=#1}} +\DeclareOptionX{ref}[true]{\setkeys{uvt}{ref=#1}} % covington=<true|false> % Load covington @@ -126,7 +130,7 @@ }{% \ClassWarning{univie-ling-expose}{unknown covington value}% } -\DeclareOptionX{covington}{\setkeys{uvt}{covington=#1}} +\DeclareOptionX{covington}[true]{\setkeys{uvt}{covington=#1}} % microtype=<true|false> % Load microtype @@ -139,11 +143,24 @@ }{% \ClassWarning{univie-ling-expose}{unknown microtype value}% } -\DeclareOptionX{microtype}{\setkeys{uvt}{microtype=#1}} +\DeclareOptionX{microtype}[true]{\setkeys{uvt}{microtype=#1}} + +% polyglossia=<true|false> +% Load polyglossia +\define@boolkey+{uvt}{polyglossia}[true]{% + \ifKV@uvt@polyglossia + \polyglossiatrue + \psfontsfalse + \otffontstrue + \nofontsfalse + \else + \polyglossiafalse + \fi +}{% + \ClassWarning{univie-ling-expose}{unknown polyglossia value}% +} +\DeclareOptionX{polyglossia}[true]{\setkeys{uvt}{polyglossia=#1}} -\newif\ifpsfonts\psfontstrue -\newif\ifotffonts\otffontsfalse -\newif\ifnofonts\nofontsfalse % fonts=<ps|otf|none> \define@choicekey*+{uvt}{fonts}[\val\nr]{ps,otf,none}{% \ifcase\nr\relax% ps: use PostScript fonts (classic LaTeX) @@ -160,7 +177,7 @@ \nofontstrue \fi }{% - \PackageWarning{jsdossier}{unknown fonts value '#1'}% + \PackageWarning{univie-ling-paper}{unknown fonts value '#1'}% } \DeclareOptionX{fonts}{\setkeys{uvt}{fonts=#1}} @@ -216,7 +233,6 @@ \ifpsfonts \usepackage[T1]{fontenc} -\usepackage[utf8]{inputenc} % Times \usepackage{mathptmx} @@ -566,6 +582,17 @@ \fi %% ============================================================= +%% POLYGLOSSIA: +%% ============================================================= + +\ifpolyglossia + \ifcaptionp + \RequirePackage{ragged2e} + \fi + \RequirePackage{polyglossia} +\fi + +%% ============================================================= %% BIBLIOGRAPHY: %% ============================================================= diff --git a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-paper.cls b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-paper.cls index c190660feb5..b63e553b589 100644 --- a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-paper.cls +++ b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-paper.cls @@ -31,7 +31,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{univie-ling-paper}[2019/05/01 v1.10 Univie Linguistic Papers (JSp)] +\ProvidesPackage{univie-ling-paper}[2020/05/05 v1.11 Univie Linguistic Papers (JSp)] \RequirePackage{xkeyval} @@ -42,6 +42,10 @@ \newif\ifcovington\covingtontrue \newif\ifmicrotype\microtypetrue \newif\ifmultiauthors\multiauthorsfalse +\newif\ifpolyglossia\polyglossiafalse +\newif\ifpsfonts\psfontstrue +\newif\ifotffonts\otffontsfalse +\newif\ifnofonts\nofontsfalse % all=<true|false> % Load all packages @@ -62,7 +66,7 @@ }{% \ClassWarning{univie-ling-paper}{unknown 'all' value}% } -\DeclareOptionX{all}{\setkeys{uvt}{all=#1}} +\DeclareOptionX{all}[true]{\setkeys{uvt}{all=#1}} % biblatex=<true|false> % Load biblatex @@ -75,7 +79,7 @@ }{% \ClassWarning{univie-ling-paper}{unknown biblatex value}% } -\DeclareOptionX{biblatex}{\setkeys{uvt}{biblatex=#1}} +\DeclareOptionX{biblatex}[true]{\setkeys{uvt}{biblatex=#1}} % apa=<true|false> % Load APA style @@ -88,7 +92,7 @@ }{% \ClassWarning{univie-ling-paper}{unknown apa value}% } -\DeclareOptionX{apa}{\setkeys{uvt}{apa=#1}} +\DeclareOptionX{apa}[true]{\setkeys{uvt}{apa=#1}} % caption=<true|false> % Load caption @@ -101,7 +105,7 @@ }{% \ClassWarning{univie-ling-paper}{unknown caption value}% } -\DeclareOptionX{caption}{\setkeys{uvt}{caption=#1}} +\DeclareOptionX{caption}[true]{\setkeys{uvt}{caption=#1}} % ref=<true|false> % Load varioref and prettyref @@ -114,7 +118,7 @@ }{% \ClassWarning{univie-ling-paper}{unknown ref value}% } -\DeclareOptionX{ref}{\setkeys{uvt}{ref=#1}} +\DeclareOptionX{ref}[true]{\setkeys{uvt}{ref=#1}} % covington=<true|false> % Load covington @@ -127,7 +131,7 @@ }{% \ClassWarning{univie-ling-paper}{unknown covington value}% } -\DeclareOptionX{covington}{\setkeys{uvt}{covington=#1}} +\DeclareOptionX{covington}[true]{\setkeys{uvt}{covington=#1}} % microtype=<true|false> % Load microtype @@ -138,13 +142,26 @@ \microtypefalse \fi }{% - \ClassWarning{univie-ling-thesis}{unknown microtype value}% + \ClassWarning{univie-ling-paper}{unknown microtype value}% +} +\DeclareOptionX{microtype}[true]{\setkeys{uvt}{microtype=#1}} + +% polyglossia=<true|false> +% Load polyglossia +\define@boolkey+{uvt}{polyglossia}[true]{% + \ifKV@uvt@polyglossia + \polyglossiatrue + \psfontsfalse + \otffontstrue + \nofontsfalse + \else + \polyglossiafalse + \fi +}{% + \ClassWarning{univie-ling-paper}{unknown polyglossia value}% } -\DeclareOptionX{microtype}{\setkeys{uvt}{microtype=#1}} +\DeclareOptionX{polyglossia}[true]{\setkeys{uvt}{polyglossia=#1}} -\newif\ifpsfonts\psfontstrue -\newif\ifotffonts\otffontsfalse -\newif\ifnofonts\nofontsfalse % fonts=<ps|otf|none> \define@choicekey*+{uvt}{fonts}[\val\nr]{ps,otf,none}{% \ifcase\nr\relax% ps: use PostScript fonts (classic LaTeX) @@ -161,7 +178,7 @@ \nofontstrue \fi }{% - \PackageWarning{jsdossier}{unknown fonts value '#1'}% + \PackageWarning{univie-ling-paper}{unknown fonts value '#1'}% } \DeclareOptionX{fonts}{\setkeys{uvt}{fonts=#1}} @@ -227,7 +244,6 @@ This includes all drawings, sketches, graphics and internet sources.} \ifpsfonts \usepackage[T1]{fontenc} -\usepackage[utf8]{inputenc} % Palatino \usepackage[osf]{mathpazo} @@ -669,6 +685,17 @@ This includes all drawings, sketches, graphics and internet sources.} \fi %% ============================================================= +%% POLYGLOSSIA: +%% ============================================================= + +\ifpolyglossia + \ifcaptionp + \RequirePackage{ragged2e} + \fi + \RequirePackage{polyglossia} +\fi + +%% ============================================================= %% BIBLIOGRAPHY: %% ============================================================= diff --git a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-thesis.cls b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-thesis.cls index b43242a9ed7..90f2bf95912 100644 --- a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-thesis.cls +++ b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-thesis.cls @@ -31,7 +31,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{univie-ling-thesis}[2019/05/01 v1.10 Univie Linguistic Theses (JSp)] +\ProvidesPackage{univie-ling-thesis}[2020/05/05 v1.11 Univie Linguistic Theses (JSp)] \RequirePackage{xkeyval} @@ -41,6 +41,12 @@ \newif\ifrefsp\refsptrue \newif\ifcovington\covingtontrue \newif\ifmicrotype\microtypetrue +\newif\ifpolyglossia\polyglossiafalse +\newif\ifpsfonts\psfontstrue +\newif\ifotffonts\otffontsfalse +\newif\ifnofonts\nofontsfalse +\newif\iffdegree\fdegreefalse +\newif\ifpdfa\pdfafalse % all=<true|false> % Load all packages @@ -61,7 +67,7 @@ }{% \ClassWarning{univie-ling-thesis}{unknown 'all' value}% } -\DeclareOptionX{all}{\setkeys{uvt}{all=#1}} +\DeclareOptionX{all}[true]{\setkeys{uvt}{all=#1}} % biblatex=<true|false> % Load biblatex @@ -74,7 +80,7 @@ }{% \ClassWarning{univie-ling-thesis}{unknown biblatex value}% } -\DeclareOptionX{biblatex}{\setkeys{uvt}{biblatex=#1}} +\DeclareOptionX{biblatex}[true]{\setkeys{uvt}{biblatex=#1}} % apa=<true|false> % Load APA style @@ -87,7 +93,7 @@ }{% \ClassWarning{univie-ling-paper}{unknown apa value}% } -\DeclareOptionX{apa}{\setkeys{uvt}{apa=#1}} +\DeclareOptionX{apa}[true]{\setkeys{uvt}{apa=#1}} % caption=<true|false> % Load caption @@ -100,7 +106,7 @@ }{% \ClassWarning{univie-ling-thesis}{unknown caption value}% } -\DeclareOptionX{caption}{\setkeys{uvt}{caption=#1}} +\DeclareOptionX{caption}[true]{\setkeys{uvt}{caption=#1}} % ref=<true|false> % Load varioref and prettyref @@ -113,7 +119,7 @@ }{% \ClassWarning{univie-ling-thesis}{unknown ref value}% } -\DeclareOptionX{ref}{\setkeys{uvt}{ref=#1}} +\DeclareOptionX{ref}[true]{\setkeys{uvt}{ref=#1}} % covington=<true|false> % Load covington @@ -126,7 +132,7 @@ }{% \ClassWarning{univie-ling-thesis}{unknown covington value}% } -\DeclareOptionX{covington}{\setkeys{uvt}{covington=#1}} +\DeclareOptionX{covington}[true]{\setkeys{uvt}{covington=#1}} % microtype=<true|false> % Load microtype @@ -139,9 +145,8 @@ }{% \ClassWarning{univie-ling-thesis}{unknown microtype value}% } -\DeclareOptionX{microtype}{\setkeys{uvt}{microtype=#1}} +\DeclareOptionX{microtype}[true]{\setkeys{uvt}{microtype=#1}} -\newif\iffdegree\fdegreefalse % fdegree=<true|false> % Female degree forms \define@boolkey+{uvt}{fdegree}[true]{% @@ -153,11 +158,37 @@ }{% \ClassWarning{univie-ling-thesis}{unknown fdegree value}% } -\DeclareOptionX{fdegree}{\setkeys{uvt}{fdegree=#1}} +\DeclareOptionX{fdegree}[true]{\setkeys{uvt}{fdegree=#1}} + +% polyglossia=<true|false> +% Load polyglossia +\define@boolkey+{uvt}{polyglossia}[true]{% + \ifKV@uvt@polyglossia + \polyglossiatrue + \psfontsfalse + \otffontstrue + \nofontsfalse + \else + \polyglossiafalse + \fi +}{% + \ClassWarning{univie-ling-thesis}{unknown polyglossia value}% +} +\DeclareOptionX{polyglossia}[true]{\setkeys{uvt}{polyglossia=#1}} + +% pdfa=<true|false> +% PDF/A +\define@boolkey+{uvt}{pdfa}[true]{% + \ifKV@uvt@pdfa + \pdfatrue + \else + \pdfafalse + \fi +}{% + \ClassWarning{univie-ling-thesis}{unknown pdfa value}% +} +\DeclareOptionX{pdfa}[true]{\setkeys{uvt}{pdfa=#1}} -\newif\ifpsfonts\psfontstrue -\newif\ifotffonts\otffontsfalse -\newif\ifnofonts\nofontsfalse % fonts=<ps|otf|none> \define@choicekey*+{uvt}{fonts}[\val\nr]{ps,otf,none}{% \ifcase\nr\relax% ps: use PostScript fonts (classic LaTeX) @@ -174,7 +205,7 @@ \nofontstrue \fi }{% - \PackageWarning{jsdossier}{unknown fonts value '#1'}% + \PackageWarning{univie-ling-paper}{unknown fonts value '#1'}% } \DeclareOptionX{fonts}{\setkeys{uvt}{fonts=#1}} @@ -213,7 +244,6 @@ \ifpsfonts \usepackage[T1]{fontenc} -\usepackage[utf8]{inputenc} % Palatino \usepackage[osf]{mathpazo} @@ -622,6 +652,27 @@ ]{caption} \fi + +%% ============================================================= +%% PDF-A: +%% ============================================================= + +\ifpdfa + \RequirePackage[a-1b]{pdfx} + \hypersetup{pdfborder={0 0 0}} +\fi + +%% ============================================================= +%% POLYGLOSSIA: +%% ============================================================= + +\ifpolyglossia + \ifcaptionp + \RequirePackage{ragged2e} + \fi + \RequirePackage{polyglossia} +\fi + %% ============================================================= %% BIBLIOGRAPHY: %% ============================================================= diff --git a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cls b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cls index f24a6c12bf7..1e74546d3c8 100644 --- a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cls +++ b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cls @@ -32,7 +32,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{univie-ling-wlg}[2019/01/21 v1.9 WLG journal layout (JSp)] +\ProvidesPackage{univie-ling-wlg}[2020/05/05 v1.11 WLG journal layout (JSp)] %% ============================================================ @@ -212,8 +212,12 @@ All issues as of 72 (2005) are available online.} \deftranslation[to=German]{applied}{Angewandte Sprachwissenschaft} \deftranslation[to=English]{applied}{Applied Linguistics} -\deftranslation[to=German]{genhist}{Allgemeine und Historische Sprachwissenschaft} +\deftranslation[to=German]{genhist}{Allgemeine Sprachwissenschaft} +\deftranslation[to=German]{general}{Allgemeine Sprachwissenschaft} +\deftranslation[to=German]{hist}{Historische Sprachwissenschaft} \deftranslation[to=English]{genhist}{General and Historical Linguistics} +\deftranslation[to=English]{general}{General Linguistics} +\deftranslation[to=English]{hist}{Historical Linguistics} \deftranslation[to=German]{license}{Dieses Werk unterliegt der Creative-Commons-Lizenz \doclicenseNameRef\\ (Namensnennung -- Nicht kommerziell -- Keine Bearbeitungen)} \deftranslation[to=English]{license}{This work is published under a Creative Commons \doclicenseNameRef\ license\\ @@ -249,9 +253,9 @@ \setlength\parsep{0pt} \setlength{\parskip}{0pt} \item[\textbf{\translate{edboard}:}] - Christian Bendl, - Mi-Cha Flubacher (\translate{applied}),\\ - Stefan Schumacher (\translate{genhist}) + Markus P\"ochtrager (\translate{general}),\\ + Mi-Cha Flubacher, Jonas Hassemer \& Sabine Lehner (\translate{applied}),\\ + Stefan Schumacher (\translate{hist}) %\item[\textbf{\translate{techboard}:}] Markus Rheindorf \item[\textbf{\translate{contact}:}] \href{mailto:wlg@univie.ac.at}{wlg@univie.ac.at} \item[\textbf{Homepage:}] \expandafter\url{\wlgurl} |