summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-17 21:47:27 +0000
committerKarl Berry <karl@freefriends.org>2022-02-17 21:47:27 +0000
commitad59fa4275f36a12c72af4b1f5bd6aa06b522101 (patch)
treeceb10d59fdf3cfa6bb95500ab2b61b35a278c687 /Master/texmf-dist/tex/xelatex
parent736fd624a41b983a5190e2bcfbc1fb779bdab35a (diff)
langsci (17feb22)
git-svn-id: svn://tug.org/texlive/trunk@62061 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex')
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-affiliations.sty61
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-basic.sty21
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-forest-setup.sty396
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-gb4e.sty2
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-de.tex637
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-fr.tex51
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-pt.tex2
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-universal.tex3
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-lgr.sty2
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-linguex.sty441
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-optional.sty40
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-plots.sty67
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-pod.sty104
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-series.def135
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-tbls.sty10
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-tikz.sty25
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-tobi.sty7
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-unified.bbx38
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-unified.cbx7
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-unified.dbx6
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langscibook.cls377
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/tbls-book.eps84
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/tbls-bulb.eps86
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/tbls-glass.eps82
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/tbls-law.eps92
25 files changed, 468 insertions, 2308 deletions
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-affiliations.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-affiliations.sty
index 0f08eed2e6f..edc044ec635 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-affiliations.sty
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-affiliations.sty
@@ -44,9 +44,10 @@
%% ------------------------------------------------------------------------------
+
\RequirePackage{xparse}
\ProvidesExplPackage {langsci-affiliations}
-{2021-02-17} {1.0.1}
+{2021-11-30} {1.0.4}
{A LaTeX3 package to collect and order authors and affiliations}
\NewDocumentCommand{\ResolveAffiliations}{ O{} +m }
@@ -57,6 +58,14 @@
\group_end:
}
+\NewExpandableDocumentCommand{\CountAuthorsFromAffiliations}{ O{} +m }
+ {%
+ \group_begin:
+ \keys_set:nn { affiliations } { #1 }%
+ \exp_args:No \affiliations_count_authors:n { #2 }%
+ \group_end:
+ }
+
\NewDocumentCommand{\SetupAffiliations}{ m }
{%
\keys_set:nn { affiliations } { #1 }
@@ -111,9 +120,12 @@
\cs_generate_variant:Nn \prop_put:Nnn { Nxx }
\cs_generate_variant:Nn \prop_put:Nnn { Nnx }
+\cs_generate_variant:Nn \seq_set_split:Nnn { NVV }
\cs_generate_variant:Nn \seq_set_split:Nnn { NVn }
+\cs_generate_variant:Nn \tl_replace_all:Nnn { NnV }
\clist_new:N \l__affiliations_tmpa_clist
\int_new:N \l__affiliations_tmpa_int
+\int_new:N \g__affiliations_num_authors_int
\prop_new:N \l__affiliations_tmpa_prop
\seq_new:N \l__affiliations_affiliations_seq
\seq_new:N \l__affiliations_authors_seq
@@ -122,6 +134,7 @@
\seq_new:N \l__affiliations_tmpb_seq
\tl_new:N \l__affiliations_tmpa_tl
\tl_new:N \l__affiliations_tmpb_tl
+\tl_new:N \l__affiliations_tmpc_tl
\prop_new:N \l__affiliations_output_prop
\prop_new:N \l__affiliations_affiliations_prop
\prop_const_from_keyval:Nn \l__affiliations_icons_prop
@@ -189,7 +202,7 @@
}
{none} { }
}
- ##1 ~
+ \tl_rescan:nn {} {##1} ~
}
}
\cs_new:Npn \__affiliations_return_afil_text:n #1
@@ -243,9 +256,13 @@
\cs_new:Npn \affiliations_resolve:n #1
{
- \seq_set_split:NVn \l__affiliations_names_seq
+ \tl_set:Nn \l__affiliations_tmpc_tl { #1 }
+ \tl_replace_all:NnV \l__affiliations_tmpc_tl
+ { \and }
+ \l__affiliations_input_names_sep_tl
+ \seq_set_split:NVV \l__affiliations_names_seq
\l__affiliations_input_names_sep_tl
- { #1 }
+ \l__affiliations_tmpc_tl
\seq_map_inline:Nn \l__affiliations_names_seq
{
\seq_clear_new:N \l__affiliations_names_tmp_seq
@@ -271,17 +288,25 @@
\group_end:
}
{
+ \seq_clear:N \l__affiliations_tmpa_seq
\prop_map_inline:Nn \l__affiliations_tmpa_prop
{
- \__affiliations_output_authors_font:
- \tl_rescan:nn {} {##1}\\[0.5ex]
- \group_begin:
- \__affiliations_output_affiliation_font:
- \tl_rescan:nn {} {##2}
- \group_end:
- \medskip\\
+ \seq_put_right:Nx \l__affiliations_tmpa_seq
+ {
+ \group_begin:
+ \exp_not:N \__affiliations_output_authors_font:
+ \tl_rescan:nn {} {##1}\\[0.5ex]
+ \group_end:
+ \group_begin:
+ \exp_not:N \__affiliations_output_affiliation_font:
+ \tl_rescan:nn {} {##2}
+ \group_end:
+ }
}
- \vspace*{-\baselineskip-\medskipamount}
+ \seq_use:Nnnn \l__affiliations_tmpa_seq
+ {\l__affiliations_separator_between_two_tl}
+ {\l__affiliations_separator_between_mult_tl}
+ {\l__affiliations_separator_between_last_two_tl}
}
}
{
@@ -300,6 +325,18 @@
\group_end:
}
}
+\cs_new:Npn \affiliations_count_authors:n #1
+ {
+ \tl_set:Nn \l__affiliations_tmpc_tl { #1 }
+ \tl_replace_all:NnV \l__affiliations_tmpc_tl
+ { \and }
+ \l__affiliations_input_names_sep_tl
+ \seq_set_split:NVV \l__affiliations_names_seq
+ \l__affiliations_input_names_sep_tl
+ \l__affiliations_tmpc_tl
+ \int_gset:Nn \g__affiliations_num_authors_int
+ { \seq_count:N \l__affiliations_names_seq }
+ }
%%
%%
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-basic.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-basic.sty
index 5f1e3477b2a..0887c74c171 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-basic.sty
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-basic.sty
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% File: langsci-basic.sty
%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2016-01-16 16:47:43 UTC
+%% Date: 2022-02-16 16:47:43 UTC
%% Purpose: This file contains essential macros and is included
%% into langscibook.cls
%% Language: LaTeX
@@ -9,21 +9,4 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\providecommand{\ob}{{\upshape [}} %opening bracket
-\providecommand{\cb}{{\upshape ]}} %closing bracket
-\providecommand{\op}{{\upshape (}} %opening paren
-\providecommand{\cp}{{\upshape )}} %closing paren
-\providecommand{\db}{\hphantom{[}} %dummy space for [ in IMT line
-
-% old font commands
-\renewcommand{\it}{\itshape}
-\renewcommand{\bf}{\bfseries}
-\renewcommand{\sc}{\scshape}
-\renewcommand{\rm}{\upshape}
-
-
-% Default commands for loaded graphics
-\renewcommand{\includespinelogo}{\includegraphics{langsci_spinelogo_nocolor}}
-\renewcommand{\includestoragelogo}{\includegraphics[width=5cm]{storagelogo}}
-\renewcommand{\includepublisherlogo}{\includegraphics{langsci_logo_nocolor}}
-\renewcommand{\includechapterfooterlogo}{\includegraphics{langsci_spinelogo_nocolor}}
+% The content of this file has been moved to langsci-branding.sty and langsci-optional.sty
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-forest-setup.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-forest-setup.sty
deleted file mode 100644
index 07af8fc9109..00000000000
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-forest-setup.sty
+++ /dev/null
@@ -1,396 +0,0 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% File: langsci-forest-setup.sty
-%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2016-01-16 16:47:43 UTC
-%% Purpose: This file contains optional styles and settings for the
-%% forest package. This version is for 2.0.
-%% Language: LaTeX
-%% Licence:
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-
-% texlive 2015 is broken (in comparison to texlive 2013)
-% a workaround is to use a different pgf driver.
-% See email from Akira Kakuto to Stefan Müller 15.01.2016
-
-% Do we need this for 2017?
-% We seem to be better off without it 31.10.2017
-%deceive the driver
-%\def\pdftexversion{140}
-%use the old driver for dvipdfm
-%\def\pgfsysdriver{pgfsys-dvipdfm.def}
-
-% http://en.wikibooks.org/wiki/LaTeX/Linguistics#Syntactic_trees
-\usepackage{tikz-dependency}
-
-% dangerous, use at own risk
-%\usetikzlibrary{tikzmark} % saves positions in tikz pictures, allows to connect arbitrary text
-
-
-% http://tex.stackexchange.com/questions/256280/drawing-complex-dependency-diagrams-with-tikz-forest
-\usetikzlibrary{arrows.meta}
-
-\tikzset{deparrow/.style={-Latex}}%,blue}}
-
-
-% externalization works with package memoize
-\usepackage[linguistics]{forest}
-%\usepackage{morewrites}
-
-
-
-% specification for all trees, "default preamble" appends to existing specification.
-% The version with apostrophe replaces it.
-\forestset{default preamble'={
- for tree={align=center,parent anchor=south, child anchor=north,anchor=north,base=bottom},
-% anchor=north was introduced to get alignments of AVMs right.
-% used to be anchor=north but this fails on trees in \ea \z examples, St. Mü. 02.05.2020 or may be not
-%
-% This would align trees to the baseline. We do not want this for TAG
-% where several trees have to be aligned with respect to their center.
-% before drawing tree={
-% sort by=y,
-% for min={tree}{baseline}
-% }
- }}
-
-
-\forestset{
- declare dimen={child anchor yshift}{0pt},
- adjust childrens child anchors/.style={
- if n children>=2{
- before packing={
- tempdima/.max={max_y}{children},
- for children={
- child anchor yshift=tempdima()-max_y()
- },
- }
- }{}
- },
- default preamble={
- for tree={
- edge path'={(!u.parent anchor)--([yshift=\forestoption{child anchor yshift}].child anchor)},
- adjust childrens child anchors
- }
- },
-}
-
-
-
-% http://www.texample.net/tikz/examples/borrowers-and-lenders/
-\usetikzlibrary{arrows} %,positioning}
-\tikzset{
- %Define standard arrow tip
- >=stealth'}
-
-
-
-%% \forestset{
-%% sn edges/.style={for tree={parent anchor=south, child anchor=north,align=center,base=bottom,where n children=0{tier=word}{}}},
-%% background tree/.style={for tree={text opacity=0.2,draw opacity=0.2,edge={draw opacity=0.2}}}
-%% }
-
-
-
-% The following code fixes the size of triangles for examples with translations. The specification
-% ",delay=with translation" at the leaves is important to make this work.
-% http://tex.stackexchange.com/questions/167978/smaller-roofs-for-forest/205311#205311
-\forestset{
- with translation/.style={
- l sep=0,inner xsep=0,
- append translation/.expanded/.wrap pgfmath arg={\gettranslation{##1}}{content},
- content/.expanded/.wrap pgfmath arg={\gettext{##1}}{content},
- },
- append translation/.style={
- if={strequal("#1","")}{}{
- append={[#1,no edge,inner xsep=0,inner ysep=0,outer ysep=0,
- tier=gloss, % does not work for TAG trees since the words are not aligned at the baseline
- l=\baselineskip + 0.2ex,
- ]}
- }
- }
-}
-
-\forestset{
- with unaligned translation/.style={
- l sep=0,inner xsep=0,
- append unaligned translation/.expanded/.wrap pgfmath arg={\gettranslation{##1}}{content},
- content/.expanded/.wrap pgfmath arg={\gettext{##1}}{content},
- },
- append unaligned translation/.style={
- if={strequal("#1","")}{}{
- append={[#1,no edge,inner xsep=0,inner ysep=0,outer ysep=0,
- %tier=gloss, % does not work for TAG trees since the words are not aligned at the baseline
- l=\baselineskip + 0.2ex,
- ]}
- }
- }
-}
-
-
-\def\gettext#1{\gettextA#1;;\endget}
-\def\gettextA#1;#2;{\removesep#1;}
-\def\gettranslation#1{\gettranslationA#1;;\endget}
-\def\gettranslationA#1;#2;{\removesep#2;}
-\def\removesep#1;#2\endget{#1}
-
-% copy of the above for TAG
-\forestset{
- with translation TAG/.style={
- l sep=0,inner xsep=0,
- append translation TAG/.expanded/.wrap pgfmath arg={\gettranslation{##1}}{content},
- content/.expanded/.wrap pgfmath arg={\gettext{##1}}{content},
- },
- append translation TAG/.style={
- if={strequal("#1","")}{}{
- append={[#1,no edge,inner xsep=0,inner ysep=0,outer ysep=0,
- %tier=gloss, % does not work for TAG trees since the words are not aligned at the baseline
- l=\baselineskip + 0.2ex,
- ]}
- }
- }
-}
-
-
-% a specific style that specifies the word tier: all nodes that do not have any children
-% to do: make this style default and change all other figures explicitely as is described here:
-% http://tex.stackexchange.com/questions/167983/getting-rid-of-a-default-where-specification
-\forestset{
-sm edges/.style={for tree={parent anchor=south, child anchor=north,base=top}, % changed base=bottom
- % to top since we have NP and AVM nodes and the NP has to start
- % right away at the same hight as the AVM St. Mü. 18.10.2017
- where n children=0{tier=word,delay=with translation}{} %,delay=with translation
- },
-sm edges without translation/.style={for tree={parent anchor=south, child anchor=north,base=bottom},
- where n children=0{tier=word}{}
- },
-word tier/.style={where n children=0{tier=word}{}
- },
-%
-% dependency grammar trees, projective trees only, I guess. St. Mü. 29.09.2014
-dg edges/.style={for tree={parent anchor=south, child anchor=north,align=center,base=bottom},
- where n children=0{tier=word,edge=dotted,calign with current edge,delay=with translation}{}
- },
-%
-% Adjunct edges as suggested by Engels, 1977
-% http://tex.stackexchange.com/questions/204770/defining-a-special-edge-style-for-connecting-nodes-in-forest/204819#204819
-dg adjunct/.style={edge path={\noexpand\path[\forestoption{edge}]
-(!u.parent anchor)--(.child anchor)-- +(0,#1)\forestoption{edge label};}},
-%
-dg adjunct/.default=6pt,
-%
-% for Tesniere-style translations
-dg transfer/.style={edge path={\noexpand\path[\forestoption{edge}, rounded corners=3pt]
- % the line downwards
- (!u.parent anchor)-- +($(0,-l)-(0,4pt)$)-- +($(12pt,-l)-(0,4pt)$)
- % the horizontal line
- ($(!p.north west)+(0,l)-(0,20pt)$)--($(.north east)+(0,l)-(0,20pt)$)\forestoption{edge label};},!p.edge'={}},
-% for Tesniere-style junctions
-dg junction/.style={no edge, tikz+={\draw (!p.east)--(!.west) (.east)--(!n.west);} },
-%
-%
-%
-% http://tex.stackexchange.com/questions/256280/drawing-complex-dependency-diagrams-with-tikz-forest/256300#256300
-% in the tree draw the highest nodes of the inheritance network. For lower nodes insert empty nodes
-% "[]". These will be filled by the same word and the numbers will be provided with bars according
-% to remoteness from the word level.
-%
-% So cool! Thanks Sašo Živanović
-%
-% modified to cope with multiple occurances of the same word (the, the1, the2)
-%
- wg/.style={
- for tree={
- no edge,
- draw,
- outer ysep=1pt,
- },
- delay={
- copy label,
- for tree={nameN/.option=content},
- },
- for tree={content format={\strut\forestoption{content}}},
- where n children={0}{
- tier=word,
- }{},
- },
- copy label/.style={
- for children={
- if content={}{
- % content/.pgfmath={content("!u")},
- content/.option=!u.content, % faster
- calign with current,
- edge={draw,{-Triangle[open,reversed]}},
- copy label,
- % !u.content/.pgfmath={content},
- !u.content/.option=content, % faster
- !u.content+=',
- }{
- copy label,
- }
- }
- },
- % 1. This is not effective if there's many clashes.
- % 2. Register tempcounta must be free to use.
- nameN/.style={
- if nodewalk valid={name=#1}{
- tempcounta=2,
- @nameN=#1,
- }{
- name=#1,
- },
- },
- @nameN/.style={
- while nodewalk valid={name/.process=Rw1{tempcounta}{#1##1}}{
- tempcounta+=1,
- },
- name/.process=Rw1{tempcounta}{#1##1},
- },
-%
-%
-% TAG
-% http://tex.stackexchange.com/questions/207459/getting-old-school-trees-with-forest
-% fit -> fit=band causes all nodes to have nothing below them
-tag/.style={for tree={parent anchor=south, child anchor=north,align=center,base=top,fit=rectangle},
- where n children=0{delay=with translation TAG}{},
-% the following breaks the alignments in sets
- begin draw/.code={\begin{tikzpicture}[baseline=(current bounding box.center)]}
-},
-%
-% like the tag style, but without fit rectangle
-no word baseline/.style={for tree={parent anchor=south, child anchor=north,align=center,base=top},
- where n children=0{delay=with translation}{}},
-%
-% a style that creates an arrow pointing to the substitution node from a tree top node encoded as daughter
-substitution/.style={edge={<-,dashed},l+=\baselineskip},
-%
-%
-% auxiliary nodes without node label
-%empty nodes/.style={
-% delay={where content={}{shape=coordinate,for parent={for children={anchor=north}}}{}}}
-}
-
-
-
-% Manual page 52
-%% \forestset{
-%% nice empty nodes/.style={
-%% for tree={calign=fixed edge angles},
-%% delay={where content={}{shape=coordinate,for parent={for children={anchor=north}}}{}}
-%% }}
-
-
-% forest 2.0
-\forestset{
- empty nodes/.style={
- delay={where content={}{shape=coordinate,for siblings={anchor=north}}{}}
- }
- }
-
-\forestset{
- % Easy extra edges
- edge to'/.style 2 args={
- tikz+={\path[#2](#1.parent anchor)--(.child anchor);}
- },
- edge to/.style={
- edge to'/.expanded={\unexpanded{#1}}{\forestoption{edge}},
- },
- edge from'/.style 2 args={
- tikz+={\path[#2](.parent anchor)--(#1.child anchor);}
- },
- edge from/.style={
- edge from'/.process=_O{#1}{#1.edge},
- },
- % Identify two (adjacent, vertically aligned) nodes
- forget@node@boundary/.code={%
- \forestolet{positive@edge@#1}\relax
- \forestolet{negative@edge@#1}\relax
- },
- identify/.style={
- phantom,
- temptoksa/.option=#1.name,
- before typesetting nodes/.process=Rw1{temptoksa}{
- content/.option=##1.content,
- content format/.option=##1.content format,
- node format/.option=##1.node format,
- },
- for parent/.process=Ow1{n}{
- after packing node={
- for ##1={
- ignore,ignore edge,forget@node@boundary/.option=grow,
- },
- },
- },
- for nodewalk/.process=Rw1Ow1{temptoksa}{name=##1}{!u.name}{edge to={##1}},
- },
- % Uniformly spread any sequence of nodes
- spread/.style n args=4{
- % #1 = coordinate (x,y,s,l)
- % #2 = nodewalk to spread
- % #3 = relative node name of the node with the final coordinate
- % #4 = final coordinate shift
- for nodewalk={
- tempcounta'=-1,
- #2,
- tempdima/.pgfmath={(#1("#3")+#4-#1(""))/tempcounta()}
- }{tempcounta'+=1},
- tempdimb'=0pt,
- for nodewalk={#2}{
- #1'+/.register=tempdimb,
- tempdimb'+/.register=tempdima,
- },
- },
-}
-
-% The old type hierarchy style
-\forestset{
-typehierarchy/.style={for tree={parent anchor=south, child
-% old version:
-% anchor=north,align=center,base=top,font=\itshape,fit=rectangle}},
-% to get parallel lines:
- anchor=north,align=center,base=top,font=\itshape,calign=fixed angles}},
-% if there are instances as leaves in the hiarchy
-instance/.style={edge=dotted}
-}
-
-% Type hierarchy (Saso 2020)
-\forestset{
- type hierarchy/.style={
- for tree={
- anchor=base,
-%anchor=north,
- content format={\noexpand\type{\unexpanded{#1}\forestoption{content}}},
- },
- },
- partition/.style={
- content format={\noexpand\textsc{\forestoption{content}}},
- draw,
- },
- instance/.style={
- gray,edge={gray,dashed}
- },
- % if all leaves in the hierarchy are instances, we can declare this as follows:
- % nodes which do not have children (n children=0) are drawn in gray and edges leading to them are dashed
- instances/.style={
- for tree={
- s sep=0,
- if n children=0{
- gray,
- edge={dashed,gray},
- }{},
- }},
-}
-
-% AVM helper
-\forestset{
- avm/.style={
- content format={%
- \noexpand\avmoptions{#1}%
- \noexpand\begin{avm}%
- \forestoption{content}%
- \noexpand\end{avm}%
- },
- },
-}
-
-
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-gb4e.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-gb4e.sty
index b16072ddff1..d5d81439d48 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-gb4e.sty
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-gb4e.sty
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% File: langsci-gb4e.sty
%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2016-01-16 16:47:43 UTC
+%% Date: 2022-02-16 16:47:43 UTC
%% Purpose: This file contains an adapted version of the gb4e package
%% for typetting linguistic examples. It also includes
%% adapted versions of the cgloss and jambox packages
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-de.tex b/Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-de.tex
deleted file mode 100644
index 141c69c481c..00000000000
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-de.tex
+++ /dev/null
@@ -1,637 +0,0 @@
-\hyphenation{%
-Aar-au
-ab-ge-kürzt
-ab-ge-lei-tet
-Ab-lei-ten
-ab-zu-lei-ten
-a-dä-qua-ter
-A-djek-tiv-fle-xi-on
-Ad-res-sa-ten
-Adri-ano
-affri-ca-te
-affri-ca-tes
-Ak-ku-sa-tiv
-A-le-man-ni-schen
-all-ge-mein-ste
-Alt-hoch-deutsch
-Alt-hoch-deut-sche
-Alt-hoch-deut-schen
-A-na-lo-gi-en
-A-na-ly-se
-a-na-ly-siert
-an-ge-nom-men
-an-nä-hernd
-An-satz
-an-setzt
-An-tje
-an-zu-füh-ren
-Ar-bei-ten
-Ar-ti-ku-la-tion
-Auf-tre-ten
-auf-wach-sen
-auf-weist
-Aus-blei-chung
-aus-ei-nan-der-ge-hal-ten
-aus-fal-len
-aus-führ-lich
-aus-führ-li-che
-Aus-gleich
-Aus-gleichs-me-cha-nis-men
-Aus-gleichs-ten-denz
-Aus-gleichs-ten-den-zen
-aus-lau-ten-de
-aus-schließ-lich
-Aus-schnitt
-Bän-de
-ba-sie-end
-Be-deu-tungs-as-pekt
-Be-deu-tungs-as-pekt-en
-be-dingt
-be-ding-te
-Bei-spiel
-Bei-spie-le
-bei-spiels-wei-se
-bei-spiels-wei-se
-Be-lebt-heit
-Be-lebt-heits-hie-rar-chie
-be-nö-tigt
-be-ob-ach-ten
-be-ob-ach-tet
-Be-ob-ach-tung
-Be-reich
-Be-rei-che
-Be-reichs
-be-reits
-Be-rich-ti-gun-gen
-bern-deut-sches
-be-schäf-tigt
-Be-schrän-kung
-Be-schränk-ung-en
-be-schreibt
-Be-schrei-bung
-be-schrie-ben
-bes-ser
-be-steht
-be-stimmt
-be-stimm-te
-be-stimm-ten
-be-stimm-ter
-Be-tont-heit
-be-trach-tet
-be-tref-fend
-Be-völ-ke-rungs-dich-te
-Be-völ-ke-rungs-grö-ße
-be-zie-hen
-be-züg-lich
-Blö-cke
-Blö-cken
-Bo-den-see-a-le-man-nisch
-bräuch-te
-bün-dig
-Cha-rak-te-ri-sti-ka
-Cha-rak-te-ris-ti-ka
-Char-les
-com-ple-ments
-con-straint
-da-für
-Dam-mel
-da-ran
-da-von
-da-zu
-de-fi-nie-ren
-de-fi-niert
-De-mon-stra-tiv-pro-no-men
-De-mon-stra-tiv-pro-no-mens
-des-sen
-des-we-gen
-De-ter-mi-nie-rer
-De-ter-mi-nie-rer-ka-te-go-rie-en
-De-ter-mi-nie-rern
-deut-sche
-deut-schen
-di-a-chron
-di-a-chrone
-di-a-chro-ner
-Di-a-lekt-grup-pe
-die-nen
-dient
-die-sel-be
-die-sem
-die-sen
-die-ser
-Die-wald
-Diph-thon-gie-rung
-Dis-kurs-kon-text
-Dis-kurs-teil-neh-mer
-Dis-kurs-teil-neh-mers
-Dis-kurs-ver-lauf
-Dis-kurs-ver-läu-fe
-Di-stinkt-heit
-durch-aus
-Durch-schnitt-li-che
-durch-schnitt-li-chen
-Durch-schnitts-wer-te
-durch-zu-füh-ren
-Dy-na-mi-ken
-dy-na-mi-sche
-Ei-gen-schaf-ten
-ei-nem
-ei-ner
-ein-fa-cher
-ein-ge-gan-gen
-ein-ge-stie-gen
-ein-ge-teilt
-ein-heit-li-ches
-Ein-tei-lung
-E-le-men-te
-E-li-sa-beth-tal
-el-säs-si-scher
-ent-hält
-ent-spre-chen
-ent-we-der
-ent-wi-ckeln
-er-klä-ren
-er-klärt
-Er-klär-ung
-er-mög-li-chen
-er-rei-chen
-er-scheint
-ers-ten
-Ers-tens
-er-wei-tert
-Eu-ro-pe
-e-ven-tu-el-le
-exem-pla-risch
-Fak-to-ren
-fal-len
-feh-len-de
-fest-hal-ten
-fin-det
-Fin-kel
-Fle-xi-on
-Fle-xi-ons-ka-te-go-ri-en
-Fle-xi-ons-klas-se
-Fle-xi-ons-klas-sen
-Fle-xi-ons-mor-pho-lo-gie
-Fle-xi-ons-pa-ra-dig-ma
-Fle-xi-ons-suf-fix
-Fle-xi-ons-sys-stem
-Fol-ge
-folg-lich
-Folg-lich
-folgt
-Frank-reichs
-fran-zö-sisch
-fran-zö-si-schen
-Frei-burg
-Fri-bourg
-früh-neu-hoch-deut-sche
-fünf-tens
-Funk-ti-ons-glei-chung
-Gebiet
-Ge-brauchs-un-ter-schied
-ge-folgt
-ge-fragt
-ge-ge-ben
-Ge-gen-teil
-ge-gen-über
-ge-gen-ü-ber-ge-stellt
-ge-glie-dert
-ge-hö-ren
-ge-macht
-Ge-mein-de
-ge-mein-sa-men
-ge-meint
-ge-nannt
-ge-nann-ten
-ge-nau-er
-ge-ne-ra-ti-ven
-ge-ne-rell
-Ge-ni-tiv
-Ge-ni-tivs
-Ge-nus
-Ge-nus-syn-kre-tis-men
-ge-o-gra-fisch
-ge-o-gra-fi-sche
-ge-prüft
-ge-ra-de
-ge-rings-te
-ger-ma-ni-schen
-Ge-samt-kom-ple-xi-tät
-Ge-schlecht
-ge-spei-chert
-Ge-sprächs-part-ner
-Ge-sprächs-part-ners
-Ge-sprächs-teil-neh-mer
-ge-spro-chen
-ge-spro-che-nen
-ge-wor-fen
-ge-zählt
-ge-zeigt
-gleich
-glei-cher
-Gleich-zei-tig
-gram-ma-ti-ka-li-sier-ten
-Gram-ma-ti-ka-li-sie-rung
-Grenz-wert
-gro-ße
-grund-sätz-lich
-grund-sätz-li-che
-Gruy-ter
-Gur-mels
-ha-ben
-han-delt
-Haupt-ar-gu-ment
-Hebrä-isch
-Hebrä-ische
-Hebrä-ischen
-He-ran-ge-hens-wei-sen
-her-zu-lei-ten
-he-te-ro-ge-nen
-hier
-hie-rar-chi-schen
-hier-hin
-hie-si-gen
-hin-ge-wie-sen
-his-to-risch
-his-to-rische
-Hoch-a-le-man-nisch
-hoch-ale-man-ni-sche
-Hoch-ale-man-ni-sche
-Hoch-a-le-man-ni-schen
-hoch-deut-sche
-Höchst-a-le-man-nisch
-höchst-a-le-man-ni-sche
-höchst-ale-man-ni-schen
-Höchst-ale-man-ni-schen
-hö-he-re
-hö-he-rem
-hö-he-ren
-hö-he-rer
-Ho-mo-ge-ni-tät
-Hö-rer
-Hot-zen-kö-cher-le
-Hu-zen-bach
-Iko-ni-zi-tät
-in-for-ma-ti-ons-the-o-re-ti-sches
-in-for-mel-le
-In-no-va-ti-ons-ra-te
-In-no-va-ti-vi-tät
-ins-be-son-de-re
-in-te-res-sant
-in-te-res-san-ter-wei-se
-In-te-res-ses
-in-te-res-sier-ten
-In-ter-ro-ga-tiv-pro-no-men
-In-ter-ro-ga-tiv-pro-no-mens
-i-so-liert
-i-so-lier-te
-i-so-lier-ten
-Jahr-hun-dert
-je-der
-je-ner
-je-weils
-Jid-disch
-Jid-disch-en
-Jung-gram-ma-ti-kern
-Kai-ser-stuhl
-Ka-pi-tel
-Ka-pi-teln
-Ka-pi-tels
-Karl-Ham-pus
-Ka-sus-mar-kie-rung
-Ka-te-go-rie
-Ka-te-go-ri-en
-Ka-te-go-ri-sie-rung
-kei-nem
-Kir-chen-sla-vi-schen
-klein-ste
-ko-diert
-kom-ple-xer
-Kom-ple-xi-fi-zie-rung
-Kom-ple-xi-tät
-Kom-ple-xi-täts-aus-gleich
-Kom-pri-mie-rung
-kon-kre-ten
-kon-kre-ter
-kon-kur-rie-ren
-kon-kur-riert
-konn-te
-Kon-sti-tu-en-ten-struk-tur
-kons-ti-tu-tio-nel-ler
-Kon-tak-te
-Kon-takt-spra-chen
-ko-o-pe-ra-ti-ven
-kor-pus-ba-sier-te
-Kürsch-ner
-lang-sa-mer
-Laut-qua-li-tät
-leicht
-Letz-te-re
-Le-xems
-Lexi-kon
-lie-gen
-lin-gu-is-ti-schen
-Li-te-ra-tur-hebrä-isch-en
-Mann-heim
-mar-kiert
-Mar-kie-rung
-Mas-ku-lin
-ma-xi-mal
-Me-cha-nis-men
-meh-re-ren
-Mehr-spra-chig-keit
-mesch-li-chen
-Mess-me-tho-de
-Mess-me-tho-den
-Me-tho-de
-Me-tho-den
-Mi-ni-ma-lis-mus
-mit-ei-nan-der
-Mit-tel-hoch-deutsch
-Mit-tel-hoch-deut-sche
-Mit-tel-hoch-deut-schen
-Mit-tel-sil-ben-zen-tra-li-sier-ung
-Mo-bi-li-tät
-Mo-dell
-mo-del-liert
-mo-der-nen
-Mo-di-fi-ka-ti-on
-Mo-du-le
-mög-li-che
-mög-li-chen
-mög-li-cher
-mög-lichst
-Mo-ment
-Mon-go-lisch
-Mo-no-fle-xi-on
-mor-pho-lo-gisch
-mor-pho-lo-gi-sche
-mor-pho-lo-gi-schen
-mor-pho-syn-tak-ti-sche
-mor-pho-syn-tak-ti-schen
-mo-vier-ten
-mul-ti-lin-gu-a-len
-Mund-art
-münd-lich
-müs-sen
-nach-ge-wie-sen
-na-sa-lier-ten
-ne-ben
-Ne-ben-sil-be
-Ne-ben-sil-ben-schwä-chung
-Netz-werk
-Netz-wer-ken
-Neu-e-run-gen
-Neu-trum
-Nie-der-a-le-man-nisch
-nie-der-a-le-man-ni-schen
-nie-dri-ge-ren
-Nie-mey-er
-No-mi-nal-fle-xi-on
-No-mi-nal-phra-se
-No-mi-na-tiv
-o-ben
-Ober-fläch-en-ab-fol-ge
-O-ber-rhein-a-le-man-nisch
-o-ber-rhein-a-le-man-ni-sche
-O-ber-rhein-a-le-man-ni-schen
-öko-no-mi-scher
-on-to-lo-gi-sche
-O-pa-zi-tät
-o-pe-ra-ti-o-na-li-siert
-Ope-ra-ti-o-na-li-sie-rung
-or-ga-ni-siert
-or-na-men-ta-le
-Ost-jid-disch-en
-Pa-ra-dig-ma
-Pa-ra-dig-men
-Par-ti-zip
-Pe-ri-phra-sen
-pe-ri-phras-ti-scher
-Per-so-nal-pro-no-men
-Pe-tri-feld
-Phä-no-me-ne
-phi-lo-so-phi-schen
-pho-no-lo-gisch
-pho-no-lo-gi-sche
-pho-no-lo-gi-schen
-plä-diert
-Po-si-tions-mög-lich-keit
-Po-si-tions-mög-lich-keit-en
-pos-se-si-ven
-Pos-ses-siv-pro-no-men
-Pos-ses-siv-pro-no-mens
-prag-ma-ti-sch-en
-prak-ti-schen
-prä-sen-tiert
-prä-zi-se
-Pri-mär
-Pri-mär-
-Pri-mär-um-laut
-prin-zi-pi-el-len
-Pro-zes-se
-Qua-li-tät
-Qua-li-täts-un-ter-schie-de
-re-a-li-sie-ren-de
-re-a-li-sie-rung
-Re-a-li-sie-rungs-re-geln
-Rechts-att-ri-bu-te
-Re-dun-dan-zen
-re-gel-mä-ßi-gen
-Re-geln
-re-la-ti-ver
-Rhein-ebe-ne
-Rot-weil
-Schlach-ter
-schließ-lich
-Schwä-bisch
-schwä-bi-sche
-Schwä-bi-sche
-schwä-bi-schen
-schwa-che
-Schwarz-wald
-Schwei-zer
-Schwer-punkt
-Se-kun-där-um-laut
-Sen-se-be-zirk
-Se-quen-zier-ungs-be-schrän-kung-en
-Se-ria-li-sier-ungs-be-schrän-kung-en
-Sim-pli-fi-zie-rung
-so-wie
-so-wohl
-so-zio-lin-gu-is-ti-schen
-Spen-cer
-Spe-zi-al-fäl-le
-spe-zi-fisch-sten
-spe-zi-fi-ziert
-Spra-che
-Spra-chen
-Sprach-ge-mein-schaft
-Sprach-ge-mein-schaf-ten
-Sprach-ge-schich-te
-Sprach-imi-ta-tio-nen
-Sprach-in-sel
-Sprach-kon-takts
-Sprach-wan-del
-Sprach-wissenschaftlers
-sprach-wis-sen-schaft-li-cher
-Sprech-akt-opera-tor
-Sprech-akt-opera-tor-en
-Sprech-er-be-kennt-nis
-Stamm-for-men
-Stamm-mo-di-fi-ka-ti-on
-Stan-dar-di-sie-rungs-pro-zess
-Standard-Ost-jid-disch
-Stan-dard-spra-che
-stär-ker
-steht
-stel-len
-stell-ver-tre-tend
-Step-pe
-steu-ert
-struk-tu-rel-le
-struk-tu-rel-ler
-Stutt-gar-ter
-Sub-stan-tiv
-Sub-stan-tiv-
-sued-oes-tli-chen
-Sum-me
-Süß-kram
-Syn-kre-tis-men
-Syn-kre-tis-mus
-Syn-kre-tis-mus-paa-res
-syn-tak-ti-schen
-syn-tak-ti-scher
-syn-te-thi-schen
-Sys-tem
-sy-ste-ma-tisch
-sys-te-ma-ti-sche
-sys-te-ma-ti-schem
-Sys-te-ma-ti-sie-rungs-ar-beit
-Szcze-pa-niak
-Ta-bel-le
-Ta-bel-len
-täg-li-chen
-Ta-xo-no-mie
-ta-xo-no-mi-sche
-Teil-a-na-ly-sen
-Teil-dis-zi-pli-nen
-the-o-re-ti-sche
-The-o-rie-bil-dung
-trenn-te
-Ü-ber-gang
-ü-ber-neh-men-den
-Ü-ber-set-zung
-Ü-ber-spe-zi-fi-ka-ti-on
-um-lau-ten
-un-ab-hän-gig
-un-be-stimm-te
-un-be-stimm-ten
-un-ga-ri-schen
-un-ge-fähr
-U-ni-fi-ka-tion
-Un-ter-ka-pi-teln
-un-ter-schie-den
-un-ter-schied-li-che
-un-ter-schied-li-chem
-un-ter-schied-li-chen
-un-ter-schied-li-cher
-Un-ter-spe-zi-fi-ka-tion
-Un-ter-stüt-zung
-un-ter-such-ten
-Un-ter-su-chungs-ge-biet
-Ur-in-do-ger-ma-ni-sche
-Ut-rum
-Va-ri-a-ti-on
-Ver-all-ge-mei-ner-ung
-ver-an-schau-licht
-Verb-cluster
-Ver-bin-dung-en
-Verb-kette
-Verb-ketten
-Verb-kom-plex
-Verb-partikel
-Verb-par-ti-kel
-Verb-partikeln
-Verb-par-ti-keln
-Verb-phra-se
-Verb-zweit-stel-lung
-Ver-deut-li-chung
-ver-ein-fach-te
-Ver-gleich
-Ver-gleich-bar-keit
-Ver-glei-che
-Ver-gleichs
-ver-gleichs-wei-se
-Ver-laufs-mus-ter
-ver-letzt
-ver-or-ten
-ver-schie-de-ne
-ver-schie-de-nen
-ver-schie-den-en
-ver-schie-de-ner
-ver-stan-den
-Ver-tei-lung
-ver-tre-te
-Ver-tre-ters
-ver-wand-te
-Ver-wen-dungs-un-ter-schied
-Ver-wen-dungs-un-ter-schiede
-ver-wer-fen
-Ver-zer-ren
-Vis-per-ter-mi-nen
-VO-Grund-wort-stel-lung
-vo-ka-lisch
-voll-stän-di-ges
-von-ei-nan-der
-Vor-be-rei-tung
-vor-ge-stellt
-vor-han-den
-vor-kom-men
-vor-kommt
-Vor-schlä-ge
-wahr-neh-mungs-psy-cho-lo-gi-scher
-wei-sen
-wei-ten
-wei-ter
-Wei-te-ren
-wel-che
-wel-chen
-we-ni-ger
-we-sent-lich
-we-sent-lich-en
-wes-halb
-west-jid-disch
-West-jid-disch-Projekt
-West-mittel-deutsch
-wich-tig
-wie-der-ho-len
-Will-kop
-wis-sen-schafts-ge-schicht-li-chen
-wo-durch
-Wohl-ge-formt-heit
-Wort-ar-ten
-Wör-ter
-wur-de
-wür-de
-Wur-zel
-Wur-zel-al-ter-na-ti-o-nen
-Wur-zeln
-Zel-len
-Zu-falls-prin-zip
-zu-ge-wie-sen
-Zu-ge-zo-ge-nen
-zugrunde-lie-gen-de
-zu-rück-er-o-bert
-zu-sam-men-fal-len
-Zu-sam-men-ge-fasst
-zu-sam-men-ge-nom-men
-Zu-sam-men-hang
-zu-sätz-lich
-Zu-schrei-bung
-Zu-stand
-zu-tref-fen
-zwei-tens
-zwi-schen
-} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-fr.tex b/Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-fr.tex
deleted file mode 100644
index 357584f5000..00000000000
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-fr.tex
+++ /dev/null
@@ -1,51 +0,0 @@
-\hyphenation{%
-ac-cep-ta-ble
-affri-ca-te
-affri-ca-tes
-a-na-lyse
-ap-pa-rais-sent %check the hyphenation
-au-xi-liaire
-clus-ter
-clus-ters
-com-pa-ra-tive
-com-pa-ra-tives
-com-ple-ments
-con-si-dé-ré
-cons-truc-tion
-cons-truc-tions
-con-texte
-con-textes
-con-tras-tif
-con-ven-tion-nelles
-deu-xième %check the hyphenation
-E-di-tu-ra
-en-tre-tien-nent
-en-vi-sa-gé
-é-ven-tua-li-té
-e-xem-ple
-e-xem-ples
-Fien-go
-Gar-dent
-Han-ka-mer
-in-fi-ni-tif
-in-ter-pré-ta-tion
-in-ter-ro-ga-ti-ves
-Ka-ze-nin
-Ken-ne-dy
-ma-té-riel
-moin-dre
-par-ti-cu-lier
-per-met-tant
-prin-tre
-pseu-do-cons-ti-tuants
-pseu-do-gap-ping
-quel-ques
-re-cons-truc-tion
-ren-tre-ra
-Schlan-gen
-sous-ca-té-go-ri-sa-tion
-su-bor-don-nants
-suf-fi-sam-ment
-sui-vant
-syn-ta-xique
-} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-pt.tex b/Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-pt.tex
deleted file mode 100644
index 93e96e0ab8c..00000000000
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-pt.tex
+++ /dev/null
@@ -1,2 +0,0 @@
-\hyphenation{%
-} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-universal.tex b/Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-universal.tex
deleted file mode 100644
index 0dd4e3d7056..00000000000
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-universal.tex
+++ /dev/null
@@ -1,3 +0,0 @@
-\hyphenation{%
-Choms-ky
-} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-lgr.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-lgr.sty
index fe9d744d1f7..25710fed5bd 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-lgr.sty
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-lgr.sty
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% File: langsci-lgr.sty
%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2021-04-09 11:11:11 UTC
+%% Date: 2022-02-16 16:47:43 UTC
%% Purpose: This file contains shortcuts for the Leipzig Glossing
%% Rules.
%% Language: LaTeX
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-linguex.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-linguex.sty
deleted file mode 100644
index ebab548c0b3..00000000000
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-linguex.sty
+++ /dev/null
@@ -1,441 +0,0 @@
-%% Copyright 1996-2013 by Wolfgang Sternefeld
-%% This program can be redistributed and/or modified under the terms
-%% of the LaTeX Project Public License Distributed from CTAN
-%% archives in directory macros/latex/base/lppl.txt; either
-%% version 1 of the License, or any later version.
-%% linguex.sty version 3.3, revised 2000/12/22, compatability with
-%% lucida fonts: Defaults defined \AtBeginDocument
-%% linguex.sty version 3.4, revised 2001/04/30, corrected vspacing for
-%% \ex. embedded in \a.
-%% linguex.sty version 3.5, revised 2002/01/26, corrected hspacing for
-%% \alignSubEx
-%% linguex.sty version 3.6, revised 2008/03/20, \lessthanten,
-%% \lessthanhundred, and \lessthanthousand redefined due to problems
-%% with kerning in fonts
-%% linguex.sty version 3.7, revised 2008/06/30, \lessthanten,
-%% \lessthanhundred, and \lessthanthousand redefined due to problems
-%% with kerning in fonts
-%% linguex.sty version 3.7a, revised 2009/09/02, replaced hard-coded
-%% example format with \theExNo
-%% linguex.sty version 4.0 replaces hard-coded brackets with
-%% predefined commands
-%% linguex.sty version 4.1 replaces \refstepcounter by \stepcounter
-%% for internal counters
-%% linguex.sty version 4.2 replaces \rm by \textrm in definition of
-%% \stripoffbr; undoes the change in version 4.0 from .66\baselineskip to
-%% \Extopsep; renews definition of \label AtBeginDocument
-%% linguex.sty version 4.3 removes code that caused problems with beamer; adds
-%% a \ProvidesPackage line to keep track of versions better
-%% Author: Wolfgang.Sternefeld@uni-tuebingen.de
-%% status: maintained
-%% filedate May 28th 2013
-
-%% This is a modified version for the use with langsci-gb4e. It is part of the Language Science Press LaTeX packages for producing books.
-%% Modifications done by Felix Kopecky <kopeckyf@hu-berlin.de> on 14 Feb 2017:
-%% \ex -> \Lsciex
-%% \exi -> Lsciexi
-
-\ProvidesPackage{langsci-linguex}[2017/02/14 adapted to work in the LangSci class]
-\RequirePackage{xspace,cgloss4e}
-%%%%%%%%%%%%%%%%%%% FOOTNOTES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% to let \ex. know whether or not it is in a footnote
-\newif\if@noftnote\@noftnotetrue
-\let\predefinedfootnotetext=\@footnotetext
-\long\def\@footnotetext#1{\@noftnotefalse\predefinedfootnotetext{#1}%
- \@noftnotetrue}
-%
-%%%%%%%%%%%%%%% COUNTERS FOR LABELLING %%%%%%%%%%%%%%%%%%%%%%%%%%%
-\@ifundefined{chapter}{\newcounter{ExNo}}{\newcounter{ExNo}[chapter]}
-\newcounter{SubExNo}[\if@noftnote ExNo\else FnExNo\fi]
-\newcounter{SubSubExNo}[SubExNo]
-\newcounter{FnExNo}[footnote]
-\newcounter{ABC}
-\newcommand{\ExLBr}{(}%added in version 4.0
-\newcommand{\ExRBr}{)}%added in version 4.0
-\newcommand{\FnExLBr}{(}%added in version 4.0
-\newcommand{\FnExRBr}{)}%added in version 4.0
-\newcommand{\theExLBr}{(}%added in version 4.0
-\newcommand{\theExRBr}{)}%added in version 4.0
-\newcommand{\theFnExLBr}{(}%added in version 4.0
-\newcommand{\theFnExRBr}{)}%added in version 4.0
-\renewcommand{\theExNo}{\theExLBr\arabic{ExNo}\theExRBr}%modified in version 4.0
-\renewcommand{\theFnExNo}{\theFnExLBr\roman{FnExNo}\theFnExRBr}%removed in version 4.0
-\newcommand{\firstrefdash}{}
-\newcommand{\secondrefdash}{-}
-\newcommand{\SubExLBr}{}
-\newcommand{\SubExRBr}{.}
-\newcommand{\SubSubExLBr}{(}
-\newcommand{\SubSubExRBr}{)}
-\newcommand{\Exarabic}{\arabic}%added in version 4.0
-\newcommand{\Exalph}{\alph}%added in version 4.0
-\newcommand{\Exroman}{\roman}%added in version 4.0
-% Modification in version 4.0: hard wired brackets replaced by
-% commands defined above:
-\renewcommand{\theSubExNo}{\hbox{\if@noftnote\theExLBr\Exarabic{ExNo}\firstrefdash
- \Exalph{SubExNo}\theExRBr\else
-\theFnExLBr\Exroman{FnExNo}\firstrefdash\Exalph{SubExNo}\theFnExRBr\fi}}
-\renewcommand{\theSubSubExNo}{%
- \hbox{\if@noftnote\theExLBr\Exarabic{ExNo}\firstrefdash\Exalph{SubExNo}\secondrefdash
- \Exroman{SubSubExNo}\theExRBr%
- \else\theFnExLBr\Exroman{FnExNo}\firstrefdash
- \Exalph{SubExNo}\secondrefdash\Exarabic{SubSubExNo}\theFnExRBr\fi}}%
-%
-%%%%%%%%%%%%%% LENGTHS FOR SPACING %%%%%%%%%%%%%%%%%%%%%%%%%%
-\newlength{\currentlabel}
-\newlength{\lessthanten}
-\newlength{\lessthanhundred}
-\newlength{\lessthanthousand}
-\newlength{\@Exleftmargin}
-\newlength{\Exlabelwidth}
-\newlength{\Extopsep}
-\newlength{\Exindent}
-\newlength{\SubExleftmargin}
-\newlength{\SubSubExleftmargin}
-\newlength{\Exlabelsep}
-\newlength{\alignSubExnegindent}
-\newlength{\Exredux}
-\newif\ifalignSubEx
-\newcommand{\resetExdefaults}{%
- \setlength{\Exlabelsep}{1.3em}%
- \setlength{\Extopsep}{.66\baselineskip}%
- \setlength{\SubSubExleftmargin}{2.4em}%
- \setlength{\SubExleftmargin}{2em}%
- \setlength{\Exindent}{0pt}%
- \setlength{\Exlabelwidth}{4em}%
- \setlength{\alignSubExnegindent}{\Exlabelsep}%
- \ifalignSubEx\addtolength{\Exlabelsep}{.7em}%
- \addtolength{\alignSubExnegindent}{.7em}\fi
- \setlength{\Exredux}{-\baselineskip}%
- }
-\AtBeginDocument{\resetExdefaults}
-%%%
-\newlength\digitwidth%added-3.7
-\newlength\mindigitwidth%added-3.7
-\newcommand{\minimalwidth}[1]{\settowidth{\digitwidth}{#1}%added-3.7
-\ifdim\digitwidth<\mindigitwidth\mindigitwidth\digitwidth\fi}%added-3.7
-%
-%%%%%%%%%%%%%%%%%%% DEFINITION OF \Lsciex. %%%%%%%%%%%%%%%%%%%%%%%%%%
-\newif\ifembedded
-\newif\ifExWarning
-\newcounter{ExDepth}
-\newcounter{TempExDepth}\setcounter{TempExDepth}{0}
-\def\trivex.#1\par{\ifdim\lastskip=.66\baselineskip\vspace{\Exredux}\fi
- \begin{list}{}{\leftmargin\z@%
- \labelwidth\z@\labelsep\z@\partopsep\z@\topsep\Extopsep}%
- \item{}#1%
- \stepcounter{ExDepth}\ExEnd}%refstepcounter replaced
-\def\Lsciex.#1\par{%
- \ifnum\theExDepth>0 \setcounter{TempExDepth}{\theExDepth}%
- \setcounter{ExDepth}{0}
- \embeddedtrue\fi
- \ifembedded\else
- \ifdim\lastskip=.66\baselineskip\vspace{\Exredux}\fi
- \fi
- \stepcounter{ExDepth}%%refstepcounter replaced
- \my@ifnextchar[{\OptArgEx}{\ifindex\expandafter\lookforwords\fi
- \NormalEx\testforgramm}%
- #1%
- \addtocounter{ExDepth}{\theTempExDepth}\setcounter{TempExDepth}{0}%
- \embeddedfalse\global\ExWarningfalse\ExEnd}
-\newcommand{\NormalEx}{\ifExWarning
- \PackageWarning{linguex}{Check example numbering (screwed up?),
- check number of empty lines at end of examples.
- Detected}\fi\ExWarningtrue
- \if@noftnote\refstepcounter{ExNo}%
- \Exformat[\ExLBr\Exarabic{ExNo}\ExRBr]%
- \else
- \refstepcounter{FnExNo}\Exformat[\FnExLBr\Exroman{FnExNo}\FnExRBr]%
- \fi}
-\def\OptArgEx[#1]{\Exformat[#1]\expandafter\testforgramm\ifindex\expandafter
- \lookforwords\fi}
-\def\philarge{4\mindigitwidth}
-\def\philmiddle{3\mindigitwidth}
-\def\philsmall{2\mindigitwidth}
-%%%%%%%%%%%%%%%
-\newcommand{\phlabelwidth}[1]{%
- \renewcommand{\philarge}{#1}%
- \renewcommand{\philmiddle}{#1}%
- \renewcommand{\philsmall}{#1}}
-\newcommand{\phlabeldefault}{%
- \renewcommand{\philarge}{4\mindigitwidth}%
- \renewcommand{\philmiddle}{3\mindigitwidth}%
- \renewcommand{\philsmall}{2\mindigitwidth}}
-\newcommand{\ExEnd}{%
- \ifnum\theExDepth=0\global\unembeddedfalse\else%
- \end{list}\addtocounter{ExDepth}{-1}\ExEnd\fi}
-\newcommand{\listdecl}{\parsep\z@\itemsep\z@\partopsep\z@\labelsep\z@%
- \@Exleftmargin\z@%
- \settowidth{\digitwidth}{0}\mindigitwidth\digitwidth%modified-3.7
- \minimalwidth{1}%modified-3.7
- \minimalwidth{2}%
- \minimalwidth{3}%
- \minimalwidth{4}%
- \minimalwidth{5}%
- \minimalwidth{6}%
- \minimalwidth{7}%
- \minimalwidth{8}%
- \minimalwidth{9}%
- \settowidth{\lessthanthousand}{\ExLBr\hbox to \philarge{}\ExRBr}%modified-3.7,4.0
- \ifdim\currentlabel<\lessthanthousand\leftmargin\Exlabelsep
- \ifdim\lessthanthousand<\Exlabelwidth\Exlabelwidth\Exlabelsep%
- \settowidth{\lessthanten}{\ExLBr\hbox
- to \philsmall{}\ExRBr}%modified-3.7
- \settowidth{\lessthanhundred}{\ExLBr\hbox to
- \philmiddle{}\ExRBr}%modified-3.7
- \ifdim\currentlabel<\lessthanten\leftmargin\lessthanten%
- \else
- \ifdim\currentlabel<\lessthanhundred\leftmargin\lessthanhundred%
- \else
- \ifdim\currentlabel<\lessthanthousand\leftmargin\lessthanthousand%
- \fi\fi\fi\fi
- \else
- \Exlabelwidth\z@
- \fi%
- \@Exleftmargin\Exlabelwidth
- \labelwidth\leftmargin
- \ifembedded\relax\else
- \addtolength{\Exlabelwidth}{\Exindent}
- \fi
- \addtolength{\leftmargin}{\Exlabelwidth}%
- \addtolength{\labelwidth}{\@Exleftmargin}%
-}
-\def\Exformat[#1]{%
- \settowidth{\currentlabel}{#1}%
- \begin{list}{\makebox[\labelwidth][l]{#1}}{%
- \setlength{\leftmargin}{\currentlabel}%
- \listdecl%
- \if@noftnote\relax\else\addtolength{\topsep}{-.5\topsep}\fi
- \ifembedded\topsep=.3\Extopsep\else\topsep=\Extopsep\fi
- }%
- \ifindex\firstwordtrue\fi\item{}}
-%
-%%%%%%%% the `[' of OPTIONAL ARGUMENTS must immediately follow \Lsciex. %%%%%%
-%%%% redefinition of \@ifnextchar that does NOT ignore spaces %%%%%%%%%%%
-\def\my@ifnextchar#1#2#3{\let\reserved@d=#1%
- \def\reserved@a{#2}\def\reserved@b{#3}%
- \futurelet\@let@token\my@ifnch}
-\def\my@ifnch{\ifx\@let@token\@sptoken%
- % \let\reserved@c\@xifnch
- \let\reserved@c\reserved@b%
- \else
- \ifx\@let@token\reserved@d%
- \let\reserved@c\reserved@a%
- \else
- \let\reserved@c\reserved@b%
- \fi\fi
- \reserved@c}% cf. definition of \@ifnextchar in latex2e.ltx %%
-%
-%%%%%%%%%%%%%% PROCESSING OF GRAMMATICALITY JUDGMENTS %%%%%%%%%%%%%
-\newtoks\CollectTokens
-\newcommand\AddInfo[1]{\expandafter\expandafter\expandafter
- \CollectTokens\expandafter{%
- \the\CollectTokens#1}}
-\def\testforgramm{\GTest{}{\printGramm}}
-\def\printGramm{\makebox[0pt][r]{\normalfont\the\CollectTokens}\ignorespaces}
-\def\GTest#1#2{%
- \def\TestForGramm{\CollectTokens={}%
- \@ifnextchar *{\AddInfo{*}\@firstoftwo\recTestForGramm}{%
- \@ifnextchar ?{\AddInfo{\char63}\@firstoftwo\recTestForGramm}{%
- \@ifnextchar \#{\AddInfo{\#}\@firstoftwo\recTestForGramm}{%
- \@ifnextchar \%{\AddInfo{\%}\@firstoftwo\recTestForGramm}%
- {#1}}}}}%
- \def\recTestForGramm{\@ifnextchar *{\AddInfo{*}\@firstoftwo%
- \recTestForGramm}{%
- \@ifnextchar ?{\AddInfo{\char63}\@firstoftwo\recTestForGramm}{%
- \@ifnextchar \#{\AddInfo{\#}\@firstoftwo\recTestForGramm}{%
- \@ifnextchar \%{\AddInfo{\%}\@firstoftwo\recTestForGramm}%
- {#2}}}}}%
- \TestForGramm}
-%
-%%%%%%%%%%%%%%%% SUBLISTS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newif\ifunembedded
-\newcommand{\SubExlabel}{\SubExLBr\Exalph{SubExNo}\SubExRBr}
-\def\a.{\ifindex\firstwordtrue\fi
- \ifnum\theExDepth=0 \unembeddedtrue
- \trivex.\fi
- \stepcounter{ExDepth}%refstepcounter replaced
- \begin{list}{\makebox[\labelwidth][l]{%
- \ifnum\theExDepth=1 \SubExLBr\Exalph{ABC}\SubExRBr%
- \else
- \ifnum\theExDepth=2 %
- \ifdim\currentlabel<\lessthanthousand%
- \ifalignSubEx
- \llap{\hbox to \alignSubExnegindent{\ifunembedded%
- \SubExLBr\Exalph{SubExNo}\SubExRBr
- \else\SubExlabel\fi\hss}}%
- \else\SubExlabel\fi%
- \else\ifunembedded%
- \SubSubExLBr\Exroman{SubExNo}\SubSubExRBr
- \else\SubExlabel\fi\fi
- \else
- \ifnum\theExDepth=3 %
- \if@noftnote%\ifunembedded\mbox{$\bullet$!}\else
- \SubSubExLBr\Exroman{SubSubExNo}\SubSubExRBr
- %\fi
- \else\Exarabic{SubSubExNo}\SubSubExRBr\fi
- \fi\fi\fi}}%
- {\labelsep\z@
- \ifnum\theExDepth=2\topsep .3\Extopsep\else\topsep 0pt\fi
- \parsep\z@\itemsep\z@
- \ifnum\theExDepth=1 %
- \usecounter{ABC}%
- \settowidth{\currentlabel}{\ExLBr\Exarabic{ExNo}\ExRBr}%
- \listdecl%
- \else
- \ifnum\theExDepth=2 %
- \usecounter{SubExNo}%
- \ifalignSubEx\ifdim\currentlabel<\lessthanthousand%
- \leftmargin\z@\else\leftmargin=\SubExleftmargin\fi%
- \else\leftmargin=\SubExleftmargin\fi%
- \else
- \ifnum\theExDepth=3 \usecounter{SubSubExNo}\fi
- \leftmargin=\SubSubExleftmargin%
- \fi
- \labelwidth=\leftmargin%
- \fi}%
- \ifnum\theExDepth=1 \setlength{\Exlabelwidth}{4em}\fi%
- %previous line added 2000/12/22
- \b.}
-%
-%%%%%%%%%%%%%%%%% ITEMS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\newExitem[#1]{\ifnum\theExDepth=2 %
- \ifdim\currentlabel<\lessthanthousand%
- \ifalignSubEx
- \item[\llap{\hbox to \alignSubExnegindent{#1\hfill}}]%
- \else
- \item[#1\hfill]\fi
- \else\item[#1\hfill]%
- \fi
- \else\item[#1\hfill]%
- \fi\testforgramm}
-\let\oldb=\b
-\DeclareRobustCommand{\b}{\@ifnextchar.{\newb}{\oldb}}
-\def\newb.{\ifindex\firstwordtrue\fi
- \my@ifnextchar[{\newExitem}{\item\testforgramm}}
-\let\oldc=\c
-\DeclareRobustCommand{\c}{\@ifnextchar.{\b}{\oldc}}
-\let\oldd=\d
-\DeclareRobustCommand{\d}{\@ifnextchar.{\b}{\oldd}}
-\let\e=\b
-\let\f=\b
-\def\Lsciz.{\end{list}\addtocounter{ExDepth}{-1}}
-%
-%%%%%%%%%%%%%%%%%%%% INDEXED BRACKETS %%%%%%%%%%%%%%%%%%%%%%%%
-\newif\ifindex
-\newif\iffirstword
-\def\I#1#2 {#1\labelBr#2 }
-\def\Lsciexi.#1\par{\indextrue\Lsciex.#1 | blabla | \indexfalse\par}
-\def\ai.#1 \par{\indextrue
- \a.#1 | blabla |
- \par
- \indexfalse}
-\def\finish|#1|{\ExEnd}
-\newcommand{\testGrAndBr}{\GTest{}{\printGramm\checkforbr}}
-\def\doaword#1 {%
- \iffirstword\firstwordfalse\expandafter\testGrAndBr\fi%
- #1
- \ifgloss\expandafter\checkforbrorstar\else
- \expandafter\lookforwords\fi}
-\newcommand{\checkforbrorstar}{\GTest{\checkforbr}{\printGramm\checkforbr}}
-\newcommand{\lookforwords}{\@ifnextchar]{\firstwordfalse\@aber}%
- {\@ifnextchar[{\firstwordfalse\@aber}%
- {\@ifnextchar|{\firstwordfalse\finish}{\doaword}}}}
-\def\labelBr#1 {\mbox{$\hspace{.05em}_{\mbox{\scriptsize\rm#1}}$} }
-\newcommand{\jetzt}{\my@ifnextchar[{\@aber}{\my@ifnextchar]{\@aber}%
- {\@schnell}}}
-\def\@aber#1#2 {#1\jetzt#2 }
-\def\@schnell#1 {\labelBr#1 \lookforwords}
-\newcommand{\checkforbr}{\@ifnextchar[{\recurseonbr}%
- {\@ifnextchar]{\recurseonbr}{}}}
-\newcommand{\recurseonbr}{\my@ifnextchar[{\stripoffbr}%
- {\my@ifnextchar]{\stripoffbr}{\labelBr}}}
-\def\stripoffbr#1#2 {\textrm{#1}\recurseonbr#2 }%\rm changed to \textrm
-%
-%%%%%%%%%%%%%%%%%%%% GLOSSES %%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newif\ifgloss
-%%% modification of cgloss4e %%%%
-\def\getwords(#1,#2)#3 #4\\% #1=linebox, #2=\each, #3=1st word, #4=remainder
- {\setbox#1=\vbox{\hbox{#2\strut\ifindex\expandafter\checkforbr\fi#3 }%
- \unvbox#1}%
- \def\more{#4}%
- \ifx\more\empty\let\more=\donewords
- \else\let\more=\getwords
- \fi
- \more(#1,#2)#4\\%
- }
-\def\gl@stop{{\hskip -\glossglue}\unhbox\gline\end{flushleft}%
- \global\glossfalse%
- \ifindex\expandafter\lookforwords\fi {} }
-%%%
-\newcommand{\newgll}{\glosstrue\GTest{\gll}{\gll\printGramm}}
-\def\exg.{\my@ifnextchar[{\newglossex}{\Lsciex.\newgll}}
-\def\newglossex[#1]{\Lsciex.[#1]\newgll}
-\def\ag.{\my@ifnextchar[{\newglossa}{\a.\newgll}}
-\def\newglossa[#1]{\a.[#1]\newgll}
-\def\newglossitem[#1]{\ifalignSubEx%\ifdim\currentlabel<\lessthanthousand%
- \item[\llap{\hbox to \alignSubExnegindent{#1\hfill}}]%
- \else
- \item[#1\hfill]%
- \fi
-\newgll}
-\def\bg.{\my@ifnextchar[{\newglossitem}{\item\newgll}}
-\def\cg.{\bg.}
-\def\dg.{\bg.}
-% \def\eg.{\bg.}
-% \def\fg.{\bg.}
-%
-%%%%%%%%%%%%%%%%%%%% GLOSSES WITH INDEXED BRACKETS %%%%%%%%%%%%
-\def\exig.{\my@ifnextchar[{\newglossexi}{\Lsciexi.\newgll}}
-\def\newglossexi[#1]{\Lsciexi.[#1]\newgll}
-\let\exgi=\exig
-\def\aig.{\my@ifnextchar[{\newglossai}{\ai.\newgll}}
-\def\newglossai[#1]{\ai.[#1]\newgll}
-\let\agi=\aig
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CROSS REFERENCES %%%%%%%%%%%%%%
-\newcounter{tmpaEx}
-\newif\ifNoFnRef
-\newcommand{\Next}{\if@noftnote\NoFnReftrue\else\NoFnReffalse\fi
- \copyExNo\stepcounter{tmpaEx}\printExNo}%refstepcounter replaced
-\newcommand{\NNext}{\if@noftnote\NoFnReftrue\else\NoFnReffalse\fi
- \copyExNo\addtocounter{tmpaEx}{2}\printExNo}
-\newcommand{\TextNext}{\NoFnReftrue\copyExNo\stepcounter{tmpaEx}\printExNo}%refstepcounter replaced
-\newcommand{\Last}{\if@noftnote\NoFnReftrue\else
- \ifnum\Exarabic{FnExNo}=0 \NoFnReftrue\else\NoFnReffalse\fi
- \fi
- \copyExNo\printExNo}
-\newcommand{\LLast}{\if@noftnote\NoFnReftrue\copyExNo%
- \addtocounter{tmpaEx}{-1}%
- \else
- \ifnum\Exarabic{FnExNo}=0 \NoFnReftrue\copyExNo%
- \addtocounter{tmpaEx}{-1}%
- \else
- \ifnum\Exarabic{FnExNo}=1 \NoFnReftrue\copyExNo%
- \else
- \NoFnReffalse\copyExNo\addtocounter{tmpaEx}{-1}%
- \fi\fi\fi
- \printExNo}
-\newcommand{\copyExNo}{\strut\ifNoFnRef\setcounter{tmpaEx}{\value{ExNo}}%
- \def\thetmpaEx{\Exarabic{tmpaEx}}%
- \else
- \setcounter{tmpaEx}{\value{FnExNo}}\def\thetmpaEx{\Exroman{tmpaEx}}%
- \fi}
-\def\complexExNo[#1]{\hbox{\if@noftnote\theExLBr\else\theFnExLBr\fi%
- \thetmpaEx\firstrefdash#1\if@noftnote\theExRBr
- \else\theFnExRBr\fi}}%hard wired bracket changed to \theExBr in version 4.0
-\newcommand{\printExNo}{\@ifnextchar[{\complexExNo}{%
- \if@noftnote\theExLBr\else\theFnExLBr\fi\thetmpaEx%
- \if@noftnote\theExRBr\else\theFnExRBr\fi\xspace}}%hard
- %wired bracket changed to \theExBr in version 4.0
-%%%%%%%%%%%%%%%%%%%%%%%%%%% compatibility with beamer class %%%%%%%%%%%%%%%%%%%%%%%%%%
-% This code has now been commented out in v 4.2 since it now causes problems with beamer
-% The original problem it solved was probably a beamer issue, not a linguex issue.
-% Users with old versions of beamer may need this code so let's leave it in the source for the moment
-%
-%
-%\@ifundefined{usetheme}{}{\AtBeginDocument{\def\label#1{\strut%strut added to definition
-%\@bsphack
-% \protected@write\@auxout{}%
-% {\string\newlabel{#1}{{\@currentlabel}{\thepage}}}%
-%\@esphack}}}
-%%%%%%%%%%%%%%%%%%%%%%%%%%% END %%%%%%%%%%%%%%%%%%%%%%%%%%
-\endinput
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-optional.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-optional.sty
index 4edfa8672c4..17e9f0df598 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-optional.sty
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-optional.sty
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% File: langsci-optional.sty
%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2016-01-16 16:47:43 UTC
+%% Date: 2022-02-16 16:47:43 UTC
%% Purpose: This file contains useful, but not essential,
%% macros for books using langscibook.cls
%% Language: LaTeX
@@ -351,3 +351,41 @@
\newcommand{\glottocodes}[1]{}
\newcommand{\keywords}[1]{}
+
+\providecommand{\ob}{{\upshape [}} %opening bracket
+\providecommand{\cb}{{\upshape ]}} %closing bracket
+\providecommand{\op}{{\upshape (}} %opening paren
+\providecommand{\cp}{{\upshape )}} %closing paren
+\providecommand{\db}{\hphantom{[}} %dummy space for [ in IMT line
+
+% old font commands
+\renewcommand{\it}{\itshape}
+\renewcommand{\bf}{\bfseries}
+\renewcommand{\sc}{\scshape}
+\renewcommand{\rm}{\upshape}
+
+% Shortcuts to langsci-affiliation styles
+% These commands allow switching between two frequently used output styles
+% for authors and affiliations:
+% The first command does not produce any superscripted indexes for affiliations.
+% Authors are output in their own line (not grouped in one line), with their
+% affiliations following in the line directly below their names.
+\NewDocumentCommand{\AffiliationsWithoutIndexing}{}
+ {%
+ \SetupAffiliations{output in groups = false,
+ separator between two = {\bigskip\\},
+ separator between multiple = {\bigskip\\},
+ separator between final two = {\bigskip\\}
+ }
+ }
+% This commands reverts to the standards in langsci-affiliations: authors are
+% grouped in one line, with indexes pointing to their affiliations. Affiliations
+% are resolved in the line below.
+\NewDocumentCommand{\AffiliationsWithIndexing}{}
+ {%
+ \SetupAffiliations{output in groups = true,
+ separator between two = {~\&~},
+ separator between multiple = {,~},
+ separator between final two = {~\&~}
+ }
+ }
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-plots.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-plots.sty
deleted file mode 100644
index f8f73128af7..00000000000
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-plots.sty
+++ /dev/null
@@ -1,67 +0,0 @@
-\newcommand{\barplot}[5][]{%
- \begin{tikzpicture}
- \begin{axis}[
- xlabel={#2},
- ylabel={#3},
- axis lines*=left,
- width = \textwidth,
- height = .3\textheight,
- nodes near coords,
- xtick=data,
- x tick label style={},
- ymin=0,
- symbolic x coords={#4},#1 %any additional parameters for the axis can be given in the optional argument
- ]
- \addplot+[ybar,lsRichGreen!80!black,fill=lsRichGreen] plot coordinates {
- #5
- };
- \end{axis}
- \end{tikzpicture}
-}
-
-
-
-\usepackage{pgfmath,pgfplotstable}
-\newcommand{\langsciplot}[2]{%% experimental
- \pgfplotstablegetcolsof{#1.csv}
- \pgfmathsetmacro{\langscicsvlength}{\pgfplotsretval-1}
- \begin{tikzpicture}[trim axis right,trim axis left]
- \begin{axis}[
- xtick=data,
- axis lines*=left,
- nodes near coords,
- ymin=0,
- width=\textwidth,
- #2
- ]
- \foreach \i in {0,...,\langscicsvlength} {
- \addplot[
- /pgf/number format/read comma as period
- ] table [x index={0},y index={\i}] {#1.csv};
- }
- \end{axis}
- \end{tikzpicture}
-}
-
-\colorlet{tmnlpone}{lsDarkBlue}
-\colorlet{tmnlptwo}{lsMidDarkBlue}
-\colorlet{tmnlpthree}{lsMidBlue}
-\colorlet{tmnlpfour}{lsLightBlue}
-
-\colorlet{sidlone}{lsDarkGreenTwo}
-\colorlet{sidltwo}{lsRichGreen}
-\colorlet{sidlthree}{lsMidGreen}
-\colorlet{sidlfour}{lsSoftGreen}
-
-\colorlet{lvone}{lsDarkWine}
-\colorlet{lvtwo}{lsMidWine}
-\colorlet{lvthree}{lsLightWine}
-\colorlet{lvfour}{lsRed}
-
-\colorlet{silpone}{lsRed}
-\colorlet{silptwo}{lsDarkOrange}
-\colorlet{silpthree}{lsMidOrange}
-\colorlet{silpfour}{lsLightOrange}
-
-
-
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-pod.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-pod.sty
deleted file mode 100644
index a5855d411b5..00000000000
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-pod.sty
+++ /dev/null
@@ -1,104 +0,0 @@
-\newcommand{\csgeometry}{
- \setlength{\bleed}{3.175mm}
- \setlength{\seitenbreite}{169.9mm}
- \setlength{\seitenhoehe}{244.1mm}
- \setlength{\totalwidth}{\spinewidth+\seitenbreite+\seitenbreite+\bleed+\bleed}
- \setlength{\totalheight}{\seitenhoehe+\bleed+\bleed}
- \usepackage[paperheight=\totalheight, paperwidth=\totalwidth]{geometry}
- \hyphenpenalty 750
-}
-
-\newcommand{\bodscgeometry}{
- \newlength{\totalspine}
- \setlength{\seitenbreite}{170mm}
- \setlength{\seitenhoehe}{240mm} % For BOD: Softcover, papier 80g/m², weiß, Papier 17x24cm
- \setlength{\bleed}{5mm}
- \setlength{\totalspine}{\spinewidth}
- \setlength{\totalwidth}{\spinewidth+\seitenbreite+\seitenbreite+\bleed+\bleed}
- \setlength{\totalheight}{\seitenhoehe+\bleed+\bleed}
- \usepackage[paperheight=\totalheight, paperwidth=\totalwidth]{geometry}
- \hyphenpenalty 750
-}
-
-\newcommand{\bodhcgeometry}{
- \newlength{\bodfold}
- \newlength{\totalspine}
- \setlength{\bodfold}{8mm}
- \setlength{\seitenbreite}{192mm}
- \setlength{\seitenhoehe}{280mm} % For BOD: Hardcover, Runder Rücken, Kaschiert, papier 80g/m², weiß, Papier 17x24cm
- \setlength{\totalspine}{\spinewidth}
- \setlength{\totalwidth}{\spinewidth+\seitenbreite+\seitenbreite}
- \setlength{\totalheight}{\seitenhoehe}
- \usepackage[paperheight=\totalheight, paperwidth=\totalwidth]{geometry}
- \hyphenpenalty 750
-}
-
-
-% Content creation for the spine. Including Logo, author, title, and volume number on spine.
-\newcommand{\podspine}{
- \renewcommand{\newlineCover}{}
- \renewcommand{\and}{, }
- \renewcommand{\lastand}{ \& }
- \node [above = 0mm of CoverSpine.south, anchor=base] (lspcls_spinelogo) {\color{\lsSeriesColor}\includespinelogo};
- \node [below = 0mm of CoverSpine.north, anchor=north] (lspcls_splinenumber) {\color{\lsSeriesColor}
- {\parbox{.47cm}{
- \centering
- \sffamily
- \huge
- \lsSeriesNumber
- }}
- };
-
- \node [font=\fontsize{18pt}{14pt}\selectfont, above left = 15mm and 4mm of lspcls_spinelogo.north, rotate=270] (lspcls_spinetitle) {\color{\lsSeriesColor} \lsSpineAuthorFont{\lsSpineAuthor\xspace\lsEditorSuffix} \hspace{13mm} \lsSpineTitleFont{\lsSpineTitle}};
- \renewcommand{\newlineCover}{\\}
-}
-
-\newcommand{\bodHCcover}{
- \begin{titlepage}
- \thispagestyle{empty}
- \coversetup
- \begin{tikzpicture}[remember picture, overlay,bg/.style={outer sep=0}]
- \covergeometry{24.2mm}{23.1cm}{15.5cm}
- \podspine
- \frontcovertoptext{140mm}{51pt} % Due to different cover sizes, the text size was adjusted so that the difference in line breaks would be minimal between hard and softcover books.
- \coverbottomtext
- \newcommand{\lsISBNcover}{\lsISBNhardcover}
- \backcover{137mm}
- \end{tikzpicture}
- %exit the document right here
- \end{titlepage}
-}
-
-
-\newcommand{\bodSCcover}{
- \begin{titlepage}
- \thispagestyle{empty}
- \coversetup
- \begin{tikzpicture}[remember picture, overlay,bg/.style={outer sep=0}]
- \covergeometry{13.75mm}{23.1cm}{15.5cm}
- \podspine
- \frontcovertoptext{140mm}{51pt} % Due to different cover sizes, the text size was adjusted so that the difference in line breaks would be minimal between hard and softcover books.
- \coverbottomtext
- \newcommand{\lsISBNcover}{\lsISBNsoftcover}
- \backcover{137mm}
- \end{tikzpicture}
- %exit the document right here
- \end{titlepage}
- }
-
-\newcommand{\amazonKindleCover}{
- \begin{titlepage}
- \thispagestyle{empty}
- \coversetup
- \begin{tikzpicture}[remember picture, overlay,bg/.style={outer sep=0}]
- \covergeometry{10.675mm}{22.5cm}{15.5cm}
- \podspine
- \frontcovertoptext{140mm}{52pt} % Due to different cover sizes, the text size was adjusted so that the difference in line breaks would be minimal between hard and softcover books.
- \coverbottomtext
- \newcommand{\lsISBNcover}{ }
- \backcover{140mm}
- \end{tikzpicture}
- %exit the document right here
- \end{titlepage}
- \end{document}
- }
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-series.def b/Master/texmf-dist/tex/xelatex/langsci/langsci-series.def
index 77d7997311f..22ce8e61371 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-series.def
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-series.def
@@ -10,7 +10,7 @@
\newcommand{\cam}{cam}
\newcommand{\cib}{cib}
\newcommand{\cfls}{cfls} %Conceptual Foundation of the Language Sciences
-\newcommand{\cgl}{cgl} %SIDL-CGL
+\newcommand{\cogl}{cogl} %SIDL-CoGL
\newcommand{\classics}{classics}
\newcommand{\cmle}{cmle} %Computational Models of Language Evolution
\newcommand{\eotms}{eotms}
@@ -22,6 +22,7 @@
\newcommand{\mi}{mi}
\newcommand{\nc}{nc} %Niger Congo
\newcommand{\ogs}{ogs} %Open Generative Syntax
+\newcommand{\ogl}{ogl} % Open Germanic Linguistics
\newcommand{\osl}{osl} %Open Slavic Linguistics
\newcommand{\pmwe}{pmwe} %Phraseology and Multi-Word Expressions
\newcommand{\rcg}{rcg} %
@@ -56,6 +57,7 @@
\item Friesen, Dianne. A grammar of Moloko.
\item Ali, Mark, Scott Grimm \& Adams Bodomo. A dictionary and grammatical sketch of Dagaare.
\end{enumerate}
+ \item Namyalo, Saudah, Alena Witzlack-Makarevich, Anatole Kiriggwajjo, Amos Atuhairwe, Zarina Molochieva, Ruth Gimbo Mukama \& Margaret Zellers. A dictionary and grammatical sketch of Ruruuli-Lunyala.
}
\fi
\ifx\lsSeries\calseries %\cal is already taken as a command
@@ -80,6 +82,8 @@
\item Kandybowicz, Jason, Travis Major \& Harold Torrence (eds.). African linguistics on the prairie: Selected papers from the 45th Annual Conference on African Linguistics.
\item Clem, Emily, Peter Jenks \& Hannah Sande (eds.). Theory and description in African Linguistics: Selected papers from the 47th Annual Conference on African Linguistics.
\item Lotven, Samson, Silvina Bongiovanni, Phillip Weirich, Robert Botne \& Samuel Gyasi Obeng (eds.). African linguistics across the disciplines: Selected papers from the 48th Annual Conference on African Linguistics.
+ \item Sibanda, Galen, Deo Ngonyani, Jonathan Choti \& Ann Biersteker (eds.). Descriptive and theoretical approaches to African linguistics: Selected papers from the 49th Annual Conference on African Linguistics.
+ \item Akinlabi, Akinbiyi, Lee Bickmore, Michael Cahill, Michael Diercks, Laura J. Downing, James Essegbey, Katie Franich, Laura McPherson \& Sharon Rose (eds.). Celebrating 50 years of ACAL: Selected papers from the 50th Annual Conference on African Linguistics.
\end{enumerate}
}
\fi
@@ -102,8 +106,8 @@
\begin{enumerate}
\item Lucas, Christopher \& Stefano Manfredi (eds.). Arabic and contact-induced change.
\item Pinto, Jorge \& Nélia Alexandre (eds.). Multilingualism and third language acquisition: Learning and teaching trends.
- % % \item Hamikov.
- % % \item Sánchez Moreano, Santiago \& Élodie Blestel. Prácticas lingüísticas heterogéneas: Nuevas perspectivas para el estudio del español en contacto con lenguas amerindias.
+ \item Hakimov, Nikolay. Explaining Russian-German code-mixing: A usage-based approach.
+ \item Sánchez Moreano, Santiago \& Élodie Blestel. Prácticas lingüísticas heterogéneas: Nuevas perspectivas para el estudio del español en contacto con lenguas amerindias.
\end{enumerate}
}
\fi
@@ -111,7 +115,8 @@
\ifx\lsSeries\cib
\newcommand{\lsSeriesTitle}{Current Issues in Bilingualism}
\newcommand{\lsSeriesColor}{lsLightGreen}
-% \renewcommand{\lsISSN}{}
+ \renewcommand{\lsISSNelectronic}{2747-9927}
+ \renewcommand{\lsISSNprint}{2747-9919}
\renewcommand{\lsSeriesText}{
{\large Current Issues in Bilingualism}
@@ -176,7 +181,6 @@
\end{minipage}
\bigskip
- \bigskip
In this series:
@@ -185,14 +189,18 @@
\item Müller, Stefan. {A lexicalist account of argument structure: Template-based phrasal LFG approaches and a lexical HPSG alternative}.
\item Schmidtke-Bode, Karsten, Natalia Levshina, Susanne Maria Michaelis \& Ilja A. Seržant (eds.). Explanation in typology: Diachronic sources, functional motivations and the nature of the evidence.
\item Morley, Rebecca L. Sound structure and sound change: A modeling approach.
- \item Asoulin, Eran. Language and scientific explanation: Where does semantics fit in?
+ \item Asoulin, Eran. Language and scientific explanation: Where does semantics fit in?
+ \item Boeckx, Cedric. Reflections on language evolution: From minimalism to pluralism.
+ \item Archangeli, Diana \& Douglas Pulleyblank. Emergent phonology.
\end{enumerate}
}
\fi
-\ifx\lsSeries\cgl
+\ifx\lsSeries\cogl
\newcommand{\lsSeriesTitle}{Comprehensive Grammar Library}
\newcommand{\lsSeriesColor}{lsNightBlue}
+ \renewcommand{\lsISSNelectronic}{2749-7798}
+ \renewcommand{\lsISSNprint}{2748-971X}
\renewcommand{\lsSeriesText}{
{\large Comprehensive Grammar Library}
@@ -204,6 +212,8 @@
\begin{enumerate}
\item Jacques, Guillaume. A grammar of Japhug.
+ \item Grimm, Nadine. A grammar of Gyeli.
+ \item Maurer-Cecchini, Philippe. A grammar of Tuatschin: A Sursilvan Romansh dialect.
\end{enumerate}
@@ -285,8 +295,8 @@
\bigskip
- Chief Editor: Stefan Müller \\
- Consulting Editors: Berthold Crysmann, Laura Kallmeyer
+ Chief Editor: Stefan Müller\\
+ Consulting Editors: Berthold Crysmann, Ana R. Luís
\bigskip
@@ -299,7 +309,10 @@
\item Bonami, Olivier, Gilles Boyé, Georgette Dal, Hélène Giraudo \& Fiammetta Namer. The lexeme in descriptive and theoretical morphology.
\item Guzmán Naranjo, Matías. Analogical classification in formal grammar.
\item Flick, Johanna. Die Entwicklung des Definitartikels im Althochdeutschen: Eine kognitiv-linguistische Korpusuntersuchung.
+ \item Crysmann, Berthold \& Manfred Sailer (eds.). One-to-many relations in morphology, syntax, and semantics.
\item Zinova, Yulia. Russian verbal prefixation: A frame semantic analysis.
+ \item Müller, Stefan, Anne Abeillé, Robert D. Borsley \& Jean-Pierre Koenig. Head-Driven Phrase Structure Grammar: The handbook.
+ \item Diewald, Gabriele \& Katja Politt (eds.). Paradigms regained: Theoretical and empirical arguments for the reassessment of the notion of paradigm.
\end{enumerate}
}
\fi
@@ -317,9 +330,10 @@
\bigskip
- Editor: Gabriele Pallotti\\
- Associate editors:
- Amanda Edmonds, Université de Montpellier;
+ Editor:
+ Amanda Edmonds, Université Côte d'Azur\smallskip\\
+ Associate editors:\\
+ Gabriele Pallotti, University of Modena and Reggio Emilia\\
Ineke Vedder, University of Amsterdam
\bigskip
@@ -329,8 +343,9 @@
\begin{enumerate}
\item Pérez Vidal, Carmen, Sonia López-Serrano, Jennifer Ament \& Dakota J. Thomas-Wilhelm (eds.). Learning context effects: Study abroad, formal instruction and international immersion classrooms
\item Saturno, Jacopo. Utterance structure in initial L2 acquisition.
- \item Bardel, Camilla \& Laura Sánchez (eds.). Third language acquisition: Age, proficiency and multilingualism.
- \item Edmonds, Amanda, Pascale Leclercq \& Aarnes Gudmestad (eds.), Interpreting language-learning data.
+ \item Bardel, Camilla \& Laura Sánchez (eds.). Third language acquisition: Age, proficiency and multilingualism.
+ \item Edmonds, Amanda, Pascale Leclercq \& Aarnes Gudmestad (eds.), Interpreting language-learning data.
+ \item Berthele, Raphael \& Isabelle Udry (eds.). Individual differences in early instructed language learning: The role of language aptitude, cognition, and motivation.
\end{enumerate}
}
\fi
@@ -356,7 +371,9 @@
\item McElvenny, James (ed.). Form and formalism in linguistics.
\item Van Rooy, Raf. Greece’s labyrinth of language: A study in the early modern discovery of dialect diversity.
\item Aussant, Émilie \& Jean-Michel Fortis. Historical journey in a linguistic archipelago: Case studies on concepts, fields, and commitments.
+ \item McElvenny, James \& Ploder, Andrea. Holisms of communication: The early history of audio-visual sequence analysis.
\end{enumerate}
+ \item Anderson, Stephen R. Phonology in the Twentieth Century : Second edition, revised and expanded.
}
\fi
@@ -405,9 +422,10 @@
\begin{enumerate}
\item Côté, Marie-Hélène, Remco Knooihuizen and John Nerbonne (eds.). The future of dialects.
\item Schäfer, Lea. Sprachliche Imitation: Jiddisch in der deutschsprachigen Literatur (18.–20. Jahrhundert).
- Press.
\item Juskan, Martin. Sound change, priming, salience: Producing and perceiving variation in Liverpool English.
\item Dellert, Johannes. Information-theoretic causal inference of lexical flow.
+ \item Zimmer, Christian (ed.). German(ic) in language contact: Grammatical and sociolinguistic dynamics.
+ \item Tahmasebi, Nina, Lars Borin, Adam Jatowt, Yang Xu and Simon Hengchen (eds.). Computational approaches to semantic change.
\end{enumerate}
}
\fi
@@ -459,12 +477,38 @@
\begin{enumerate}
\item Watters, John R. (ed.). East Benue-Congo: Nouns, pronouns, and verbs.
\item Pozdniakov, Konstantin. The numeral system of Proto-Niger-Congo: A step-by-step reconstruction.
+ \item Pozdniakov, Konstantin. Proto-Fula–Sereer: Lexicon, morphophonology, and noun classes.
\end{enumerate}
}
\fi
+\ifx\lsSeries\ogl
+ \newcommand{\lsSeriesTitle}{Open Germanic Linguistics}
+ \newcommand{\lsSeriesColor}{lsMidDarkBlue}
+ \renewcommand{\lsISSNelectronic}{ISSN 2750-557X} %online
+ \renewcommand{\lsISSNprint}{2750-5588} %Print
+ \renewcommand{\lsSeriesText}{
+ {\large Open Germanic Linguistics
+
+ \bigskip
+
+ Editors:
+ Michael T. Putnam,
+ B. Richard Page,
+ Laura Catharine Smith
+
+ \bigskip
+
+ In this series:
+
+ \begin{enumerate}
+ \item Lemke, Robin. Experimental investigations on the syntax and usage of fragments.
+ \end{enumerate}
+ }
+ }
+\fi
\ifx\lsSeries\ogs
\newcommand{\lsSeriesTitle}{Open Generative Syntax}
\newcommand{\lsSeriesColor}{lsDarkGreenOne}
@@ -497,6 +541,7 @@
\item Bárány, András, Theresa Biberauer, Jamie Douglas \& Sten Vikner (eds.). Syntactic architecture and its consequences I: Syntax inside the grammar.
\item Bárány, András, Theresa Biberauer, Jamie Douglas \& Sten Vikner (eds.). Syntactic architecture and its consequences II: Between syntax and morphology.
\item Bárány, András, Theresa Biberauer, Jamie Douglas \& Sten Vikner (eds.). Syntactic architecture and its consequences III: Inside syntax.
+ \item Laszakovits, Sabine \& Zheng Shen (eds.). The size of things I: Structure building.
\end{enumerate}
}
\fi
@@ -524,9 +569,11 @@
\item Lenertová, Denisa, Roland Meyer, Radek Šimík \& Luka Szucsich (Eds.). Advances in formal Slavic linguistics 2016.
\item Wiland, Bartosz. The spell-out algorithm and lexicalization patterns: Slavic verbs and complementizers.
\item Marušič, Franc, Petra Mišmaš \& Rok Žaucer (eds.). Advances in formal Slavic linguistics 2017.
-
+ \item Blümel, Andreas, Jovana Gajić, Ljudmila Geist, Uwe Junghanns \& Hagen Pitsch (eds.). Advances in formal Slavic linguistics 2018.
+ \item Dočekal, Mojmír \& Marcin Wągiel (eds.). Formal approaches to number in Slavic and beyond.
+ \item Wągiel, Marcin. Subatomic quantification.
+ \item Kolaković, Zrinka, Edyta Jurkiewicz-Rohrbacher, Björn Hansen, Dušica Filipović Đurđević \& Nataša Fritz. Clitics in the wild: Empirical studies on the microvariation of the pronominal, reflexive and verbal clitics in Bosnian, Croatian and Serbian.
\end{enumerate}
-
}
\fi
\ifx\lsSeries\pmwe
@@ -538,7 +585,7 @@
\bigskip
- \textbf{Series editors}\\
+ Series editors:
Agata Savary (University of Tours, Blois, France),
Manfred Sailer (Goethe University Frankfurt a.\,M., Germany),
Yannick Parmentier (University of Lorraine, France),
@@ -554,21 +601,30 @@
\item Stella Markantonatou, Carlos Ramisch, Agata Savary \& Veronika Vincze (eds.). Multiword expressions at length and in depth: Extended papers from the MWE 2017 workshop.
\item Yannick Parmentier \& Jakub Waszczuk (eds.). Representation and parsing of multiword expressions: Current trends.
\item Schulte im Walde, Sabine \& Eva Smolka (eds.). The role of constituents in multiword expressions: An interdisciplinary, cross-lingual perspective.
-
+ \item Trklja, Aleksandar \& Łukasz Grabowski (eds.). Formulaic language: Theories and methods.
\end{enumerate}
-
-
-
}
\fi
\ifx\lsSeries\rcg
\newcommand{\lsSeriesTitle}{Research on Comparative Grammar}
\newcommand{\lsSeriesColor}{lsDarkOrange}
- \renewcommand{\lsISSNelectronic}{ } %online
- \renewcommand{\lsISSNprint}{} %Print
+ \renewcommand{\lsISSNelectronic}{2749-781X} %online
+ \renewcommand{\lsISSNprint}{2749-7801} %Print
\renewcommand{\lsSeriesText}{
{\large Research on Comparative Grammar }
- }
+
+ \bigskip
+
+ \textbf{Series editor}\\
+ Martin Haspelmath (Max Planck Institute for Evolutionary Anthropology)
+
+
+ In this series:
+
+ \begin{enumerate}
+ \item Bahrt, Nicklas N. Voice syncretism.
+ \end{enumerate}
+ }
\fi
\ifx\lsSeries\scl
\newcommand{\lsSeriesTitle}{Studies in Caribbean Languages}
@@ -609,16 +665,9 @@
\bigskip
- In this series:
-
+ In this series (see the complete series history at \url{https://langsci-press.org/catalog/series/sidl}):
-
-
-
- \begin{multicols}{2}
- \footnotesize
-
- \begin{enumerate}
+ \lsSeriesHistoryWheel{
\item Handschuh, Corinna. A typology of marked-S languages.
\item Rießler, Michael. Adjective attribution.
\item Klamer, Marian (ed.). The Alor-Pantar languages: History and typology.
@@ -643,15 +692,15 @@
\item Döhler, Christian. A grammar of Komnzo.
\item Yakpo, Kofi. A Grammar of Pichi.
\item Guérin Valérie (ed.). Bridging constructions.
- \item Aguilar-Guevara, Ana, Julia Pozas Loyo \& Violeta Vázquez-Rojas Maldonado *eds.). Definiteness across languages.
+ \item Aguilar-Guevara, Ana, Julia Pozas Loyo \& Violeta Vázquez-Rojas Maldonado (eds.). Definiteness across languages.
\item Di Garbo, Francesca, Bruno Olsson \& Bernhard Wälchli (eds.). Grammatical gender and linguistic complexity: Volume I: General issues and specific studies.
\item Di Garbo, Francesca, Bruno Olsson \& Bernhard Wälchli (eds.). Grammatical gender and linguistic complexity: Volume II: World-wide comparative studies.
\item Unterladstetter, Volker. Multi-verb constructions in Eastern Indonesia.
\item Edwards, Owen. Metathesis and unmetathesis in Amarasi.
\item Bergqvist, Henrik \& Seppo Kittilä (eds). Evidentiality, egophoricity, and engagement.
\item Floyd, Simeon, Giovanni Rossi \& N. J. Enfield (eds.). Getting others to do things: A pragmatic typology of recruitments.
- \end{enumerate}
- \end{multicols}
+ \item Enke, Dankmar W., Larry M. Hyman, Johanna Nichols, Guido Seiler \& Thilo Weber (eds.). Language change for the worse.
+ }
}
\fi
@@ -760,12 +809,14 @@
Editors: Oliver Czulo (Universität Leipzig),
Silvia Hansen-Schirra (Johannes Gutenberg-Universität Mainz),
- Reinhard Rapp (Johannes Gutenberg-Universität Mainz)
+ Reinhard Rapp (Hochschule Magdeburg-Stendal),
+ Mario Bisiada (Universitat Pompeu Fabra)
\bigskip
- In this series:
- \begin{enumerate}\itemsep=0pt
+ In this series (see the complete series history at \url{https://langsci-press.org/catalog/series/tmnlp}):
+
+ \lsSeriesHistoryWheel[12]{
\item Fantinuoli, Claudio \& Federico Zanettin (eds.). New directions in corpus-based translation studies.
\item Hansen-Schirra, Silvia \& Sambor Grucza (eds.). Eyetracking and Applied Linguistics.
\item Neumann, Stella, Oliver Čulo \& Silvia Hansen-Schirra (eds.). Annotation, exploitation and evaluation of parallel corpora: TC3\,I.
@@ -781,7 +832,9 @@
\item Vandevoorde, Lore. Semantic differences in translation.
\item Bisiada, Mario (ed.). Empirical studies in translation and discourse.
\item Tra\&Co Group (ed.). Translation, interpreting, cognition: The way out of the box.
- \end{enumerate}
+ \item Nitzke, Jean \& Silvia Hansen-Schirra. A short guide to post-editing.
+ \item Hoberg, Felix. Informationsintegration in mehrsprachigen Textchats: Der Skype Translator im Sprachenpaar Katalanisch-Deutsch.
+ }
}
\fi
\ifx\lsSeries\tpd
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-tbls.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-tbls.sty
index c7badb20b18..6b2c2c04bd2 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-tbls.sty
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-tbls.sty
@@ -34,7 +34,7 @@
\DeclareTColorBox{tblslineshorizontal}{m O{0.8mm} O{\lsSeriesColor}}
{
graphical environment = tikzpicture,
- title = #1,
+ title = {#1},
boxsep = 0pt,
toptitle = 5mm,
top = 5mm,
@@ -47,7 +47,7 @@
\DeclareTColorBox{tblsfilled}{m O{black!12}}
{
graphical environment = tikzpicture,
- title = #1,
+ title = {#1},
boxsep = 0pt,
toptitle = 5mm,
top = 5mm,
@@ -61,7 +61,7 @@
\DeclareTColorBox{tblsframed}{m O{0.8mm} O{\lsSeriesColor}}
{
graphical environment = tikzpicture,
- title = #1,
+ title = {#1},
boxsep = 0pt,
toptitle = 5mm,
top = 5mm,
@@ -75,7 +75,7 @@
{
skin = enhanced,
graphical environment = tikzpicture,
- title = #1,
+ title = {#1},
boxsep = 0pt,
toptitle = 10mm,
top = 5mm,
@@ -104,7 +104,7 @@
\DeclareTColorBox{tblsframedsymbol}{m O{\lsSeriesColor} O{0.8mm} m}
{
graphical environment = tikzpicture,
- title = #1,
+ title = {#1},
boxsep = 0pt,
toptitle = 10mm,
top = 5mm,
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-tikz.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-tikz.sty
deleted file mode 100644
index 96bcd052110..00000000000
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-tikz.sty
+++ /dev/null
@@ -1,25 +0,0 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%%% Experimental feature for pointing out moving things. %%%%
-%%%% Buggy? Write to: kopeckyf@hu-berlin.de %%%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usetikzlibrary{arrows,arrows.meta}
-\newcounter{lsConnectTempGroup}
-\NewDocumentCommand\ConnectTail{m O{\thelsConnectTempGroup}}{%read: mandatory arg #1, optional argument #2 with the current group counter as its default value.
- \edef\lsConnectTempPosition{#2}%\edef expands the argument, which means reading the current value of the counter.
- {\tikz[remember picture,
- anchor=base, baseline,
- inner xsep=0pt,
- inner ysep=-.5ex]\node (ConnectTempTail\lsConnectTempPosition) {\strut{}#1};}%\strut for baseline
-}
-\NewDocumentCommand\ConnectHead{s O{1ex} m O{\thelsConnectTempGroup}}{%read: star #1, optional argument (distance of arrow from text= std. one x-height), mand. arg. (node text), optional argument #2, the group specifier
- \edef\lsConnectTempPosition{#4}%
- \stepcounter{lsConnectTempGroup}%We have a match, let's update the group counter
- {\tikz[remember picture,
- anchor=base, baseline,
- inner xsep=0pt,
- inner ysep=-.5ex] \node (ConnectTempHead\lsConnectTempPosition) {\strut{}#3};%
- \tikz[remember picture] \draw[% we have a tail and a head, let's bring them together
- \IfBooleanTF#1{{Triangle[]}-}{-{Triangle[]}},% Check if the starred version is used. The starred version is right->left, the normal version left->right
- overlay] (ConnectTempTail\lsConnectTempPosition.south) -- ++(0,-#2) -| (ConnectTempHead\lsConnectTempPosition.south);
- }%
-} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-tobi.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-tobi.sty
deleted file mode 100644
index 00bed2b2e8d..00000000000
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-tobi.sty
+++ /dev/null
@@ -1,7 +0,0 @@
-\newcommand{\tobi}[3][0]{\parbox{0cm}{\raisebox{.8em}[0cm]{\hspace{#1mm}#3}}#2}
-
-\renewcommand{\H}[2][0]{\tobi[#1]{#2}{\textsc{h}}} %put H above letter
-\renewcommand{\L}[2][0]{\tobi[#1]{#2}{\textsc{l}}} %put L above letter
-\newcommand{\E}[2][0]{\tobi[#1]{#2}{\textsc{!}}} %put ! above letter (_E_xclamation)
-\renewcommand{\P}[2][0]{\tobi[#1]{#2}{\textsc{\%}}} %put % above letter (_P_ercentage)
-\renewcommand{\S}[2][0]{\tobi[#1]{#2}{\textsc{*}}} %put * above letter (_S_tar)
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-unified.bbx b/Master/texmf-dist/tex/xelatex/langsci/langsci-unified.bbx
index 576cf1d2865..6872c4fe03b 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-unified.bbx
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-unified.bbx
@@ -1,6 +1,6 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% File: langscibook.cls
%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2019-03-06 13:12 UTC
+%% Date: 2022-02-16 13:12 UTC
%% Purpose: An implementation of the Unified Style Sheet for Linguistics bibliographies (https://www.linguisticsociety.org/resource/unified-style-sheet)
%% This work is based on the styles provided by Semantics \& Pragmatics
%% Language: LaTeX
@@ -144,14 +144,37 @@
}
}
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Various bibmacros used in producing the bibliography
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%% Thanks to moeve, https://tex.stackexchange.com/a/402702,
+%% One case added by Stefan Müller
+\renewbibmacro*{citeindex}{%
+ \ifciteindex
+ {\iffieldequalstr{labelnamesource}{shortauthor}
+ {\ifnameundef{indexauthor}
+ {\indexnames{author}}
+ {\indexnames{indexauthor}}}
+ {\iffieldequalstr{labelnamesource}{author}
+ {\ifnameundef{indexauthor}
+ {\indexnames{author}}
+ {\indexnames{indexauthor}}}
+ {\iffieldequalstr{labelnamesource}{shorteditor}
+ {\ifnameundef{indexeditor}
+ {\indexnames{editor}}
+ {\indexnames{indexeditor}}}
+ {\iffieldequalstr{labelnamesource}{editor}
+ {\ifnameundef{indexeditor}
+ {\indexnames{editor}}
+ {\indexnames{indexeditor}}}}
+ {\indexnames{labelname}}}}}
+ {}}
\newbibmacro*{date+extradate}{%
\iffieldundef{labelyear}
{}
- {\printtext{\printlabeldateextra}}}% Took out the parentheses around the year
+ {\printtext{\printlabeldateextra}}}% Took out the parentheses around the year
\renewbibmacro*{author}{%
\ifboolexpr{
@@ -520,14 +543,14 @@
\usebibmacro{byeditor+others}%
\newunit\newblock
\printfield{edition}%
- \newunit
+ \setunit{\addcomma\space}
\iffieldundef{maintitle}
{\printfield{volume}%
\printfield{part}}
{}%
- \newunit
+ \setunit{\addcomma\space}
\printfield{volumes}%
- \setunit{\addspace}% crucial difference from standard.bbx: space and then (Series + number)
+ \setunit{\addspace}%
\usebibmacro{series+number}%
\newunit\newblock
\printfield{note}%
@@ -728,3 +751,4 @@
\DeclareFieldFormat{postnote}{#1}% display pages without page prefix (p., pp.)
\DeclareBibliographyAlias{inbook}{incollection}% see https://github.com/semprag/biblatex-sp-unified/issues/35
\DeclareFieldFormat[techreport,report,misc]{titlecase}{\MakeSentenceCase*{#1}}% techreport/report and misc are not genuinely supported by biblatex-sp-unified
+\AtBeginBibliography{\sloppy}
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-unified.cbx b/Master/texmf-dist/tex/xelatex/langsci/langsci-unified.cbx
index 2d569fc575a..d0a00977525 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-unified.cbx
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-unified.cbx
@@ -1,6 +1,6 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% File: langscibook.cls
%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2019-03-06 13:12 UTC
+%% Date: 2022-02-16 13:12 UTC
%% Purpose: An implementation of the Unified Style Sheet for Linguistics bibliographies (https://www.linguisticsociety.org/resource/unified-style-sheet).
%% This work is based on the styles provided by Semantics \& Pragmatics
%% Language: LaTeX
@@ -410,12 +410,13 @@
{}
{}
-%% changes of citestyle (cbx) (FIXME: documentation missing)
+% These commands govern the punctuation between parts of citations, such as
+% between author and year, year and pages, or multiple citations.
\renewcommand*{\nameyeardelim}{\addspace}
\renewcommand*{\postnotedelim}{\addcolon\space}
\DeclareFieldFormat{postnote}{#1}
\DeclareFieldFormat{multipostnote}{#1}
-\renewcommand{\multicitedelim}{\addsemicolon\space}%
+\renewcommand{\multicitedelim}{\addcomma\space}%
\renewcommand{\compcitedelim}{\multicitedelim}
\endinput
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-unified.dbx b/Master/texmf-dist/tex/xelatex/langsci/langsci-unified.dbx
new file mode 100644
index 00000000000..4af639c1e50
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-unified.dbx
@@ -0,0 +1,6 @@
+\DeclareDatamodelFields[type=list, datatype=name]
+ {%
+ indexauthor,
+ indexeditor
+ }
+\DeclareDatamodelEntryfields{indexauthor,indexeditor}
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langscibook.cls b/Master/texmf-dist/tex/xelatex/langsci/langscibook.cls
index 3f051f1fcd5..c9f356d2d44 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langscibook.cls
+++ b/Master/texmf-dist/tex/xelatex/langsci/langscibook.cls
@@ -1,6 +1,7 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% File: langscibook.cls
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% File: langscibook.cls
%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2021-03-17 18:00 CET
+%% Date: 2022-02-08 14:00 CET
%% Purpose: This file defines the basic document class
%% for books published with Language Science Press.
%% Language: LaTeX
@@ -14,7 +15,7 @@
%% version 2005/12/01 or later.
%%% This work has the LPPL maintenance status `maintained'.
%%% The Current Maintainer of this work is Sebastian Nordhoff.
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Structure of this file:
% \- Early load packages
% \- Default values of variables
@@ -45,18 +46,21 @@
% \- Hyperref
% \- Edited volumes (Collection)
% \- Localisation
-% \_ Miscellaneous
+% \- Miscellaneous
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{langscibook}[2021/03/17 Language Science Press]
+\ProvidesClass{langscibook}[2022/02/08 Language Science Press]
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Early load packages
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage[]{silence}
\WarningsOff[hyperref]
\WarningsOff[microtype]
+\WarningFilter{latex}{Command \mark} %markboth/markright
+\WarningFilter{scrbook}{\float@addtolist}
+\WarningFilter{biblatex}{Macro 'date+extradate}
\WarningFilter{microtype}{Unknown slot}
\WarningFilter{scrbook}{package incompatibility}
\WarningFilter{todonotes}{The length}
@@ -85,7 +89,7 @@
\newcommand{\lsBookDOI}{??}
\newcommand{\lsChapterDOI}{??}
\newcommand{\lsID}{000}
-\newcommand{\lsURL}{http://langsci-press.org/catalog/book/\lsID}
+\newcommand{\lsURL}{redefine \ lsURL}
\newcommand{\lsSeries}{eotms}
\newcommand{\lsOutput}{book}
\newcommand{\lsBookLanguage}{english}
@@ -121,7 +125,7 @@
\newcommand{\includestoragelogo}{~}
\newcommand{\includepublisherlogo}{~}
\newcommand{\includechapterfooterlogo}{~}
-
+\newcommand{\lsLicenseInformation}[1]{~}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Conditionals
@@ -145,6 +149,8 @@
\newbool{oldstylenumbers}
\newbool{tblseight}%for chinesefonts in tbls series page
\newbool{lsISBNTwoDigitAddon}
+\newbool{lsFloatCounterWithoutChapter}
+ \booltrue{lsFloatCounterWithoutChapter}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Option handling
@@ -201,6 +207,7 @@
}
\DeclareVoidOption{uniformtopskip}{\booltrue{uniformtopskip}}
\DeclareVoidOption{oldstylenumbers}{\booltrue{oldstylenumbers}}
+\DeclareVoidOption{classicfloatnumbers}{\boolfalse{lsFloatCounterWithoutChapter}}
\DeclareVoidOption{chinesefont}{
\AtEndPreamble{
@@ -296,13 +303,6 @@
% Class
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\lsChapterPrefixString}{}
-% this conditional cannot be put
-% directly into the LoadClass, so we compute the value and store it in a command
-\ifbool{collection}
- {\renewcommand{\lsChapterPrefixString}{chapterprefix=true,}}
- {\ifbool{paper}{\renewcommand{\lsChapterPrefixString}{chapterprefix=true,}}{}}
-
\LoadClass[
fontsize=\lsFontsize,% default is 11pt
@@ -311,10 +311,21 @@
toc=bibliography,
index=totoc,
headings=optiontohead,
- \lsChapterPrefixString,
footnotes=multiple
]{scrbook}
+\ifbool{collection}
+ {% In collected volumes, write "Chapter n" instead of "n" in the header
+ \KOMAoptions{chapterprefix=true}
+ }
+ {
+ \ifbool{paper}
+ {% The same is applied to papers.
+ \KOMAoptions{chapterprefix=true}
+ }
+ {}
+ }
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Packages
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -375,33 +386,42 @@
\end{pgfonlayer}
}
- % Generates the content of the back cover
- % Argument 1: Text width, corresponding to Argument 1 of \frontcovertoptext
- \newcommand{\backcover}[1]{%
- \node [ font=\lsBackTitleFont,
- right,
- below right = 10mm and 7.5mm of CoverColouredRectangleBack.north west,
- text width=#1
- ] (lspcls_backtitle) {\color{white}\raggedright\lsBackTitle\par};
- \node [ font=\lsBackBodyFont,
- below = 10mm of lspcls_backtitle,
- text width=#1,
- align=justify
- ] {\color{white}\parindent=15pt\lsBackBody};
- \node [ above left = 10mm and 7.5mm of CoverColouredRectangleBack.south east ] {%
- \colorbox{white}{%
- \ifbool{lsISBNTwoDigitAddon}{%
- \begin{pspicture}(0,0)(5.25,1in)
- \psbarcode[transx=.4,transy=.3]{\lsISBNcover\ \lsISBNhardcoverTwoDigitAddon}{includetext guardwhitespace height=.7}{isbn}
- \end{pspicture}%
- }{%
- \begin{pspicture}(0,0)(4.15,1in)
- \psbarcode[transx=.4,transy=.3]{\lsISBNcover}{includetext height=.7}{isbn}%
- \end{pspicture}%
- }%
- }%
- };
- }
+ % Generates the content of the back cover. The starred variant \backcover*
+ % does not print the ISBN on the back. By default, we use \backcover if
+ % we are in a cover generation mode, and backcover* otherwise.
+ % Mandatory argument: Text width, corresponding to Argument 1 of \frontcovertoptext
+ \NewDocumentCommand \backcover {s m}
+ {%
+ \node [ font=\lsBackTitleFont,
+ right,
+ below right = 10mm and 7.5mm of CoverColouredRectangleBack.north west,
+ text width=#2
+ ] (lspcls_backtitle) {\color{white}\raggedright\lsBackTitle\par};
+ \node [ font=\lsBackBodyFont,
+ below = 10mm of lspcls_backtitle,
+ text width=#2,
+ align=justify
+ ] {\color{white}\parindent=15pt\lsBackBody};
+ \node [ above left = 10mm and 7.5mm of CoverColouredRectangleBack.south east ] {%
+ \IfBooleanF {#1}
+ {%
+ \colorbox{white}{%
+ \ifbool{lsISBNTwoDigitAddon}{%
+ \begin{pspicture}(0,0)(5.25,1in)
+ \psbarcode[transx=.4,transy=.3]
+ {\lsISBNcover\ \lsISBNhardcoverTwoDigitAddon}
+ {includetext guardwhitespace height=.7}{isbn}
+ \end{pspicture}%
+ }{%
+ \begin{pspicture}(0,0)(4.15,1in)
+ \psbarcode[transx=.4,transy=.3]
+ {\lsISBNcover}
+ {includetext height=.7}{isbn}%
+ \end{pspicture}%
+ }%
+ }%
+ }};
+ }
% Generates the content on the front cover, including title, author, subtitle. See below for remaining commands
% Argument 1: Text width on the front cover. Input: 12.34mm
@@ -572,7 +592,7 @@
%% this is possible for a complete series only.
\ifx\lsSeries\sidl
%\def\exfont{\normalsize\itshape}
- \providecommand{\eachwordone}{\itshape} % only \gll
+ \let\eachwordone=\itshape % only \gll
\let\oldtable\table % footnotes in tables without horizontal line
\let\endoldtable\endtable
@@ -580,13 +600,20 @@
\fi
\ifx\lsSeries\pmwe
- \providecommand{\eachwordone}{\normalfont}
+ \let\eachwordone=\normalfont
\fi
\ifx\lsSeries\nc
- \providecommand{\eachwordone}{\itshape}
+ \let\eachwordone=\itshape
+ \fi
+
+ \ifx\lsSeries\cogl
+ \let\eachwordone=\itshape
+ \fi
+
+ \ifx\lsSeries\eotms
+ \renewcommand{\sectref}[1]{Section~\ref{#1}}
\fi
-
} %% \AtBeginDocument
}{} %notbool paper
@@ -879,6 +906,15 @@
\newcommand{\lsCoverFontColor}{white}
\newcommand{\lsCoverBlockColor}{\lsSeriesColor}
+\ExplSyntaxOn
+\NewDocumentCommand{\lsDetermineMultiauthors}{}
+ {%
+ \int_compare:nNnTF
+ {\g__affiliations_num_authors_int} > {1}
+ {\booltrue{multiauthors}} {\boolfalse{multiauthors}}
+ }
+\ExplSyntaxOff
+
\newcommand{\lsEditorPrefix}{}
\newcommand{\lsEditorSuffix}{}
\ifbool{collection}{
@@ -887,9 +923,9 @@
\renewcommand{\newlineSpine}{}
\renewcommand{\lsEditorPrefix}{{\Large Edited by\\}}
\renewcommand{\lsEditorSuffix}{(ed.)}
- \ifbool{multiauthors}{
- \renewcommand{\lsEditorSuffix}{(eds.)}
- }{}
+ \CountAuthorsFromAffiliations{\@author}
+ \lsDetermineMultiauthors{}
+ \ifbool{multiauthors}{\renewcommand{\lsEditorSuffix}{(eds.)}}{}
} %end AtBeginDocument
}{} %end collection
@@ -954,7 +990,7 @@
minimum height=225mm
] (CoverColouredRectangleBack) {};
\end{pgfonlayer}
- \backcover{137mm}
+ \ifbool{cover}{\backcover{137mm}}{\backcover*{137mm}}
\end{tikzpicture}
\ifcsname tikz@library@external@loaded\endcsname\tikzexternalenable\fi
}
@@ -976,6 +1012,50 @@
\renewcommand{\tblseight}{{\cn 语法理论: 从转换语法到基于约束的理论}}
}{}
+
+\ExplSyntaxOn
+% A command to output a limited number of items on the series history page.
+% This is useful in case there are too many items in a series history.
+% The number of maximum items are passed to the first, optional argument
+% to the command. Its default is 15.
+\NewDocumentCommand{\lsSeriesHistoryWheel}{O{15} m}
+ {%
+ \begin{enumerate}
+ \langsci_wheel:nn {#1} {#2}
+ \end{enumerate}
+ }
+
+% Setup of data
+\seq_new:N \langsci_wheel_seq
+\int_new:N \langsci_wheel_loop_count_int
+\int_new:N \langsci_wheel_output_difference_int
+\tl_new:N \langsci__wheel_wastebin_tl
+\cs_new:Npn \langsci_wheel:nn #1#2
+ {
+ % Let's split the input at each \item. From the result, remove the
+ % first item, which will be empty.
+ \seq_set_split:Nnn \langsci_wheel_seq {\item} {#2}
+ \seq_pop_left:NNTF \langsci_wheel_seq \langsci__wheel_wastebin_tl {} {}
+ % The offset is calculated by (length of input - maximum output)
+ \int_set:Nn \langsci_wheel_output_difference_int
+ {
+ \seq_count:N \langsci_wheel_seq - #1
+ }
+ % An integer used for counting inside the loop.
+ \int_zero:N \langsci_wheel_loop_count_int
+ % Loop over the input and determine, for each item, whether to output
+ % it. The item is output when its number is greater than the difference
+ % between actual length and maximum.
+ \seq_map_inline:Nn \langsci_wheel_seq
+ {
+ \int_incr:N \langsci_wheel_loop_count_int
+ \int_compare:nNnTF
+ \langsci_wheel_loop_count_int > \langsci_wheel_output_difference_int
+ {\item[\int_use:N \langsci_wheel_loop_count_int.] ##1}
+ {}
+ }
+ }
+\ExplSyntaxOff
\newcommand{\lsSeriesHistory}{
\color{black}
@@ -1045,6 +1125,9 @@
{%
\AtBeginDocument
{%
+ \bgroup
+ \renewcommand{\newlineCover}{}
+ \renewcommand{\newlineSpine}{}
\newwrite\metadatafile
\immediate\openout\metadatafile=langscitmp.bib
\immediate\write\metadatafile{%
@@ -1063,6 +1146,7 @@
}
}
\immediate\closeout\metadatafile
+ \egroup
\addbibresource{langscitmp.bib}
}
}
@@ -1077,17 +1161,13 @@
\newcommand{\lsImpressumExtra}{}%for legal notes required for revised theses ("... in fulfillment of ... ")
\newcommand{\publisherstreetaddress}
- {%
- Language Science Press\\
- xHain\\
- Grünberger Str. 16\\
- 10243 Berlin, Germany
- }
+ {redefine \textbackslash publisherstreetaddress}
-\newcommand{\publisherurl}{\href{http://langsci-press.org}{langsci-press.org}}
-\newcommand{\storageinstitution}{FU Berlin}
-\newcommand{\githubtext}{Source code available from \href{https://www.github.com/langsci/\lsID}{www.github.com/langsci/\lsID}}
-\newcommand{\paperhivetext}{Collaborative~reading:~\href{https://paperhive.org/documents/remote?type=langsci&id=\lsID}{paperhive.org/documents/remote?type=langsci\&id=\lsID}}
+\newcommand{\publisherurl}{redefine \textbackslash publisherurl}
+
+\newcommand{\storageinstitution}{redefine \textbackslash storageinstitution}
+\newcommand{\githubtext}{~}
+\newcommand{\paperhivetext}{~}
\newcommand{\lsImpressum}{%
\thispagestyle{empty}
@@ -1109,35 +1189,20 @@ This title can be downloaded at:\\
\newcommand{\ccby}{CC-BY}
\newcommand{\ccbynd}{CC-BY-ND}
-
+\newcommand{\ccbysa}{CC-BY-SA}
\ifx\lsCopyright\ccby
Published under the Creative Commons Attribution 4.0 Licence (CC BY 4.0):
-http://creativecommons.org/licenses/by/4.0/
-\IfFileExists{./ccby.pdf}{
- \includegraphics[height=.75em]{ccby.pdf}
- }{🅭🅯}
+http://creativecommons.org/licenses/by/4.0/ \lsLicenseInformation{ccby}
\fi
-
-
\ifx\lsCopyright\ccbynd
Published under the Creative Commons Attribution-NoDerivatives 4.0 Licence (CC BY-ND 4.0):
-http://creativecommons.org/licenses/by-nd/4.0
-\IfFileExists{./ccbynd.pdf}{
- \includegraphics[height=.75em]{ccbynd.pdf}
- }{🅭🅯⊜}
+http://creativecommons.org/licenses/by-nd/4.0/ \lsLicenseInformation{ccbynd}
\fi
-
\ifx\lsCopyright\ccbysa
Published under the Creative Commons Attribution-ShareAlike 4.0 Licence (CC BY-SA 4.0):
-http://creativecommons.org/licenses/by-sa/4.0/
-\IfFileExists{./ccbysa.pdf}{
- \includegraphics[height=.75em]{ccbysa.pdf}
- }{🅭🅯🄎}
+http://creativecommons.org/licenses/by-sa/4.0/ \lsLicenseInformation{ccbysa}
\fi
-
-
-
{\lsImpressumExtra}
\ifx\lsSeries\sidl
@@ -1238,7 +1303,6 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
% is, or will remain, accurate or appropriate.
}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Dedication
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1309,6 +1373,47 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
%% needed for hyperref
\def\toclevel@subsubsubsection{4}
+% Commands for Sections in Appendices:
+% Use as \appendixsection and \appendixsubsection.
+% Further commands for lower levels can be defined following this pattern.
+\DeclareNewSectionCommand
+ [
+ counterwithin = chapter,
+ afterskip = 2.3ex plus .2ex,
+ beforeskip = -3.5ex plus -1ex minus -.2ex,
+ indent = 0pt,
+ font = \usekomafont{section},
+ level = 1,
+ tocindent = 1.5em,
+ toclevel = 1,
+ tocnumwidth = 2.3em,
+ tocstyle = section,
+ style = section
+ ]
+ {appendixsection}
+
+\renewcommand*\theappendixsection{\Alph{appendixsection}}
+\renewcommand*{\appendixsectionformat}
+ {\appendixname~\theappendixsection\autodot\enskip}
+\renewcommand*{\appendixsectionmarkformat}
+ {\appendixname~\theappendixsection\autodot\enskip}
+
+\DeclareNewSectionCommand
+ [
+ counterwithin = appendixsection,
+ beforeskip=-10pt,
+ afterskip=1sp,
+ indent = 0pt,
+ font = \usekomafont{subsection},
+ level = 2,
+ tocindent = 3.8em,
+ toclevel = 2,
+ tocnumwidth = 3.2em,
+ tocstyle = section,
+ style = section
+ ]
+ {appendixsubsection}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Epigrams
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1377,7 +1482,7 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
%% languages
\newcommand{\lsBookLanguageEnglish}{english}
\newcommand{\lsBookLanguageFrench}{french}
-% \newcommand{\lsBookLanguageSpanish}{spanish}
+\newcommand{\lsBookLanguageSpanish}{spanish}
\newcommand{\lsBookLanguagePortuguese}{portuguese}
\newcommand{\lsBookLanguageGerman}{german}
\newcommand{\lsBookLanguageChinese}{chinese}
@@ -1395,10 +1500,10 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
\usepackage[ngerman,main=\lsBookLanguage]{babel}
\addto\extrasfrench{\languageshorthands{german}\useshorthands{"}}
\fi
-% \ifx\lsBookLanguage\lsBookLanguageSpanish
-% \usepackage[ngerman,main=\lsBookLanguage]{babel}
-% \addto\extrasspanish{\languageshorthands{german}\useshorthands{"}}
-% \fi
+ \ifx\lsBookLanguage\lsBookLanguageSpanish
+ \usepackage[ngerman,main=\lsBookLanguage,es-minimal]{babel}
+ \addto\extrasspanish{\languageshorthands{german}\useshorthands{"}}
+ \fi
\ifx\lsBookLanguage\lsBookLanguageGerman
\usepackage[ngerman]{babel}
\fi
@@ -1407,7 +1512,11 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
\addto\extrasportuges{\languageshorthands{german}\useshorthands{"}}
\fi
}{%else babelshorthands
- \usepackage[\lsBookLanguage]{babel}
+ \ifx\lsBookLanguage\lsBookLanguageSpanish
+ %the Spanish option does not work out of the box
+ \usepackage[\lsBookLanguage,es-minimal]{babel}
+ \else
+ \usepackage[\lsBookLanguage]{babel}
}
\fi%Close language=chinese
}{}
@@ -1420,8 +1529,6 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
\usepackage[
natbib=true,
style=langsci-unified,
- citestyle=langsci-unified,
- datamodel=langsci, % add authauthor and autheditor as possible fields to bibtex entries
%refsection=chapter,
maxbibnames=99,
uniquename=false,
@@ -1437,32 +1544,11 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
}{}
]{biblatex}
-% If the user provided a shortauthor in the bibtex entry, we use the authentic author (as with the
-% authorindex package) if it is defined, otherwise we use the author.
-% This gets F/T as shorthand right and puts the guys in the index.
-
-\renewbibmacro*{citeindex}{%
- \ifciteindex
- {\iffieldequalstr{labelnamesource}{shortauthor} % If biblatex uses shortauthor as the label of a bibitem
- {\ifnameundef{authauthor} % we check whether there is something in authauthor
- {\indexnames{author}} % if not, we use author
- {\indexnames{authauthor}}} % if yes, we use authauthor
- {\iffieldequalstr{labelnamesource}{author} % if biblatex uses author we similarly test for
- % authauthor and use this field
- {\ifnameundef{authauthor}% if defined use authauthor
- {\indexnames{author}}
- {\indexnames{authauthor}}} % if defined use this field
- {\iffieldequalstr{labelnamesource}{shorteditor} % same for editor
- {\ifnameundef{autheditor}
- {\indexnames{editor}}
- {\indexnames{autheditor}}}
- {\indexnames{labelname}}}}} % as a fallback we index on whatever biblatex used.
- {}}
-
%% DOIs are handled after hyperref.
\defbibheading{references}{\chapter{References}\sloppy}
+\defbibheading{english}{\chapter{References}\sloppy}
\defbibheading{french}{\chapter{Références bibliographiques}\sloppy}
-% \defbibheading{spanish}{\chapter{Referencias bibliográficas}\sloppy}
+\defbibheading{spanish}{\chapter{Referencias bibliográficas}\sloppy}
\defbibheading{german}{\chapter{Literaturverzeichnis}\sloppy}
\defbibheading{portuguese}{\chapter{Referências}\sloppy}
\defbibheading{chinese}{\chapter{参考文献}\sloppy}
@@ -1513,7 +1599,6 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
\usepackage{setspace}
\usepackage{caption}
-% \captionsetup{labelfont=bf}
\captionsetup{font={stretch=.8,small},width=.8\textwidth}
\setcapindent{0pt}
@@ -1577,7 +1662,7 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
\parindent\z@
\parskip\z@ \@plus .3\p@\relax
\let\item\@idxitem
- \providecommand*\seealso[2]{\emph{see also} ##1}
+ \providecommand*\seealso[2]{\emph{\lsSeeAlsoTerm{}} ##1}
}{%
\if@restonecol
\onecolumn
@@ -1725,6 +1810,7 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
\providecommand{\partref}[1]{Part~\ref{#1}}
\providecommand{\tabref}[1]{Table~\ref{#1}}
\providecommand{\figref}[1]{Figure~\ref{#1}}
+\providecommand{\lsSeeAlsoTerm}{see also}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Collection (edited volume):
@@ -1769,17 +1855,22 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
\renewcommand{\@pnumwidth}{1.5em} % width of page numbers
\ifbool{collectiontoclong}{}{\setcounter{tocdepth}{0}}
\DeclareTOCStyleEntry%Settings for parts in the TOC of collected volumes
- [
+ [
pagenumberbox={\csname @gobble\endcsname},
raggedentrytext=true,
linefill={\hfill}
- ]{tocline}{part}
+ ]{tocline}{part}
\usepackage{chngcntr}
\counterwithin{figure}{chapter}
\counterwithin{table}{chapter}
+ \ifbool{lsFloatCounterWithoutChapter}{
+ \renewcommand{\thefigure}{\arabic{figure}}
+ \renewcommand{\thetable}{\arabic{table}}
+ \renewcommand{\theequation}{\arabic{equation}}
+ }{}
- \NewDocumentCommand{\includepaper}{m}{
+ \NewDocumentCommand{\includepaper}{m}{%
\bgroup
\renewcommand{\newlineCover}{\\}
\renewcommand{\documentclass}[2][]{}%
@@ -1805,13 +1896,14 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
\renewcommand{\newlineSpine}{}
\renewcommand{\newlineTOC}{}
%% write bib entry to file
- \immediate\write\tempfile{@incollection{#1,author={\@author},title={{\expandonce{\titleTemp}}},booktitle={{\expandonce{\lsCollectionTitle}}},editor={\lsCollectionEditor},publisher={Language Science Press.},Address={Berlin},year={\lsYear},pages={\lsCollectionPaperFirstPage --\lsCollectionPaperLastPage},doi={\lsChapterDOI},keywords={withinvolume}}}
- \immediate\write\tempfile{@incollection{#1footer,author={\@author},title={{\expandonce{\titleTemp}}},booktitle={{\expandonce{\lsCollectionTitle}}},editor={\lsCollectionEditor},publisher={Language Science Press.},Address={Berlin},year={\lsYear},pages={\lsCollectionPaperFirstPage --\lsCollectionPaperLastPage},doi={\lsChapterDOI},options={dataonly=true}}}
+ \immediate\write\tempfile{@incollection{#1,author={\authorToBib},title={{\expandonce{\titleTemp}}},booktitle={{\expandonce{\lsCollectionTitle}}},editor={\lsCollectionEditor},publisher={Language Science Press.},Address={Berlin},year={\lsYear},pages={\lsCollectionPaperFirstPage --\lsCollectionPaperLastPage},doi={\lsChapterDOI},keywords={withinvolume}}}
+ \immediate\write\tempfile{@incollection{#1footer,author={\authorToBib},title={{\expandonce{\titleTemp}}},booktitle={{\expandonce{\lsCollectionTitle}}},editor={\lsCollectionEditor},publisher={Language Science Press.},Address={Berlin},year={\lsYear},pages={\lsCollectionPaperFirstPage --\lsCollectionPaperLastPage},doi={\lsChapterDOI},options={dataonly=true}}}
}
\newcommand{\titleToHead}{}
\newcommand{\titleTemp}{}
\newcommand{\titleToToC}{}
+\newcommand{\authorToBib}{}
\newcommand{\lsCollectionPaperHeaderTitle}{%
\renewcommand{\newlineCover}{}
@@ -1827,7 +1919,10 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
\renewcommand{\titleTemp}{##2}
\renewcommand{\titleToToC}{##3}
}
- \renewcommand{\author}[1]{\renewcommand{\@author}{##1}}
+ \RenewDocumentCommand{\author}{O{##2} m}{
+ \renewcommand{\authorToBib}{##1}
+ \renewcommand{\@author}{##2}
+ }
\renewcommand*{\thesection}{\arabic{section}}
\RedeclareSectionCommand
[afterskip=1.15\baselineskip plus .1\baselineskip minus .167\baselineskip]
@@ -1881,11 +1976,7 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
\includechapterfooterlogo}%
% \hspace{0.8em}%
\hfill%
- \parbox[b]{.87\textwidth}{\linespread{0.8}\lsChapterFooterSize\normalfont\lsCollectionPaperCitationText
- \IfFileExists{./ccby.pdf}{
- \includegraphics[height=.75em]{ccby.pdf}
- }{🅭🅯}
- }
+ \parbox[b]{.87\textwidth}{\linespread{0.8}\lsChapterFooterSize\normalfont\lsCollectionPaperCitationText \lsLicenseInformation{ccby}}
}
\ifbool{paper}{
@@ -1931,20 +2022,23 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
\renewcommand{\partref}[1]{Partie~\ref{#1}}
\renewcommand{\tabref}[1]{Tableau~\ref{#1}}
\renewcommand{\figref}[1]{Figure~\ref{#1}}
+ \renewcommand{\lsSeeAlsoTerm}{voir aussi}
\fi
-% \ifx\lsBookLanguage\lsBookLanguageSpanish
-% \renewcommand{\chapref}[1]{Capítulo~\ref{#1}}
-% \renewcommand{\partref}[1]{Parte~\ref{#1}}
-% \renewcommand{\tabref}[1]{Tabla~\ref{#1}}
-% \renewcommand{\figref}[1]{Figura~\ref{#1}}
-% \fi
+\ifx\lsBookLanguage\lsBookLanguageSpanish
+ \renewcommand{\chapref}[1]{Capítulo~\ref{#1}}
+ \renewcommand{\partref}[1]{Parte~\ref{#1}}
+ \renewcommand{\tabref}[1]{Tabla~\ref{#1}}
+ \renewcommand{\figref}[1]{Figura~\ref{#1}}
+ \renewcommand{\lsSeeAlsoTerm}{véase también}
+\fi
\ifx\lsBookLanguage\lsBookLanguageGerman
\renewcommand{\chapref}[1]{Kapitel~\ref{#1}}
\renewcommand{\partref}[1]{Teil~\ref{#1}}
\renewcommand{\tabref}[1]{Tabelle~\ref{#1}}
\renewcommand{\figref}[1]{Abbildung~\ref{#1}}
+ \renewcommand{\lsSeeAlsoTerm}{siehe auch}
\fi
\ifx\lsBookLanguage\lsBookLanguagePortuguese
@@ -1952,6 +2046,7 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
\renewcommand{\partref}[1]{Parte~\ref{#1}}
\renewcommand{\tabref}[1]{Tabela~\ref{#1}}
\renewcommand{\figref}[1]{Figura~\ref{#1}}
+ \renewcommand{\lsSeeAlsoTerm}{ver tambem}
\fi
\ifx\lsBookLanguage\lsBookLanguageChinese
@@ -2007,16 +2102,16 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
}{}
\fi
-% \ifx\lsBookLanguage\lsBookLanguageSpanish
-% \renewcommand{\lsIndexTitle}{Índices}
-% \renewcommand{\lsNameIndexTitle}{Índice nominal}
-% \renewcommand{\lsSubjectIndexTitle}{Índice temático}
-% \renewcommand{\lsLanguageIndexTitle}{Índice de idiomas}
-% \renewcommand{\lsPrefaceTitle}{Prefacio}
-% \renewcommand{\lsAcknowledgementTitle}{Agradecimientos}
-% \renewcommand{\lsAbbreviationsTitle}{Abreviaciones}
-% \renewcommand{\lsReferencesTitle}{spanish}
-% \fi
+\ifx\lsBookLanguage\lsBookLanguageSpanish
+ \renewcommand{\lsIndexTitle}{Índices}
+ \renewcommand{\lsNameIndexTitle}{Índice nominal}
+ \renewcommand{\lsSubjectIndexTitle}{Índice temático}
+ \renewcommand{\lsLanguageIndexTitle}{Índice de idiomas}
+ \renewcommand{\lsPrefaceTitle}{Prefacio}
+ \renewcommand{\lsAcknowledgementTitle}{Agradecimientos}
+ \renewcommand{\lsAbbreviationsTitle}{Abreviaciones}
+ \renewcommand{\lsReferencesTitle}{spanish}
+\fi
\ifx\lsBookLanguage\lsBookLanguageGerman
\renewcommand{\lsIndexTitle}{Register}
diff --git a/Master/texmf-dist/tex/xelatex/langsci/tbls-book.eps b/Master/texmf-dist/tex/xelatex/langsci/tbls-book.eps
deleted file mode 100644
index 12018281714..00000000000
--- a/Master/texmf-dist/tex/xelatex/langsci/tbls-book.eps
+++ /dev/null
@@ -1,84 +0,0 @@
-%!PS-Adobe-3.0 EPSF-3.0
-%%Creator: cairo 1.14.0 (http://cairographics.org)
-%%CreationDate: Tue Aug 9 12:10:45 2016
-%%Pages: 1
-%%DocumentData: Clean7Bit
-%%LanguageLevel: 2
-%%BoundingBox: 0 -1 27 27
-%%EndComments
-%%BeginProlog
-save
-50 dict begin
-/q { gsave } bind def
-/Q { grestore } bind def
-/cm { 6 array astore concat } bind def
-/w { setlinewidth } bind def
-/J { setlinecap } bind def
-/j { setlinejoin } bind def
-/M { setmiterlimit } bind def
-/d { setdash } bind def
-/m { moveto } bind def
-/l { lineto } bind def
-/c { curveto } bind def
-/h { closepath } bind def
-/re { exch dup neg 3 1 roll 5 3 roll moveto 0 rlineto
- 0 exch rlineto 0 rlineto closepath } bind def
-/S { stroke } bind def
-/f { fill } bind def
-/f* { eofill } bind def
-/n { newpath } bind def
-/W { clip } bind def
-/W* { eoclip } bind def
-/BT { } bind def
-/ET { } bind def
-/pdfmark where { pop globaldict /?pdfmark /exec load put }
- { globaldict begin /?pdfmark /pop load def /pdfmark
- /cleartomark load def end } ifelse
-/BDC { mark 3 1 roll /BDC pdfmark } bind def
-/EMC { mark /EMC pdfmark } bind def
-/cairo_store_point { /cairo_point_y exch def /cairo_point_x exch def } def
-/Tj { show currentpoint cairo_store_point } bind def
-/TJ {
- {
- dup
- type /stringtype eq
- { show } { -0.001 mul 0 cairo_font_matrix dtransform rmoveto } ifelse
- } forall
- currentpoint cairo_store_point
-} bind def
-/cairo_selectfont { cairo_font_matrix aload pop pop pop 0 0 6 array astore
- cairo_font exch selectfont cairo_point_x cairo_point_y moveto } bind def
-/Tf { pop /cairo_font exch def /cairo_font_matrix where
- { pop cairo_selectfont } if } bind def
-/Td { matrix translate cairo_font_matrix matrix concatmatrix dup
- /cairo_font_matrix exch def dup 4 get exch 5 get cairo_store_point
- /cairo_font where { pop cairo_selectfont } if } bind def
-/Tm { 2 copy 8 2 roll 6 array astore /cairo_font_matrix exch def
- cairo_store_point /cairo_font where { pop cairo_selectfont } if } bind def
-/g { setgray } bind def
-/rg { setrgbcolor } bind def
-/d1 { setcachedevice } bind def
-%%EndProlog
-%%BeginSetup
-%%EndSetup
-%%Page: 1 1
-%%BeginPageSetup
-%%PageBoundingBox: 0 -1 27 27
-%%EndPageSetup
-q 0 -1 27 28 rectclip q
-1 g
-0 26.346 26.344 -26.344 re f
-0.768627 0.776471 0.768627 rg
-13.172 4.463 m 10.766 7.15 5.723 8.486 4.102 8.486 c 3.109 8.486 l 3.109
- 21.885 l 4.102 21.885 l 7.219 21.885 10.867 20.525 13.172 18.568 c 15.477
- 20.525 19.125 21.885 22.246 21.885 c 23.234 21.885 l 23.234 8.486 l 22.246
- 8.486 l 20.621 8.486 15.82 7.279 13.172 4.463 c 14.164 16.764 m 14.164
-7.842 l 16.402 9.264 19.281 10.193 21.254 10.447 c 21.254 19.803 l 18.691
- 19.541 15.848 18.334 14.164 16.764 c 5.09 10.447 m 7.066 10.193 9.941 9.264
- 12.184 7.842 c 12.184 16.764 l 10.496 18.334 7.652 19.541 5.09 19.803 c
- 5.09 10.447 l f
-Q Q
-showpage
-%%Trailer
-end restore
-%%EOF
diff --git a/Master/texmf-dist/tex/xelatex/langsci/tbls-bulb.eps b/Master/texmf-dist/tex/xelatex/langsci/tbls-bulb.eps
deleted file mode 100644
index a1c21d719ca..00000000000
--- a/Master/texmf-dist/tex/xelatex/langsci/tbls-bulb.eps
+++ /dev/null
@@ -1,86 +0,0 @@
-%!PS-Adobe-3.0 EPSF-3.0
-%%Creator: cairo 1.14.0 (http://cairographics.org)
-%%CreationDate: Tue Aug 9 12:11:40 2016
-%%Pages: 1
-%%DocumentData: Clean7Bit
-%%LanguageLevel: 2
-%%BoundingBox: 0 -1 27 27
-%%EndComments
-%%BeginProlog
-save
-50 dict begin
-/q { gsave } bind def
-/Q { grestore } bind def
-/cm { 6 array astore concat } bind def
-/w { setlinewidth } bind def
-/J { setlinecap } bind def
-/j { setlinejoin } bind def
-/M { setmiterlimit } bind def
-/d { setdash } bind def
-/m { moveto } bind def
-/l { lineto } bind def
-/c { curveto } bind def
-/h { closepath } bind def
-/re { exch dup neg 3 1 roll 5 3 roll moveto 0 rlineto
- 0 exch rlineto 0 rlineto closepath } bind def
-/S { stroke } bind def
-/f { fill } bind def
-/f* { eofill } bind def
-/n { newpath } bind def
-/W { clip } bind def
-/W* { eoclip } bind def
-/BT { } bind def
-/ET { } bind def
-/pdfmark where { pop globaldict /?pdfmark /exec load put }
- { globaldict begin /?pdfmark /pop load def /pdfmark
- /cleartomark load def end } ifelse
-/BDC { mark 3 1 roll /BDC pdfmark } bind def
-/EMC { mark /EMC pdfmark } bind def
-/cairo_store_point { /cairo_point_y exch def /cairo_point_x exch def } def
-/Tj { show currentpoint cairo_store_point } bind def
-/TJ {
- {
- dup
- type /stringtype eq
- { show } { -0.001 mul 0 cairo_font_matrix dtransform rmoveto } ifelse
- } forall
- currentpoint cairo_store_point
-} bind def
-/cairo_selectfont { cairo_font_matrix aload pop pop pop 0 0 6 array astore
- cairo_font exch selectfont cairo_point_x cairo_point_y moveto } bind def
-/Tf { pop /cairo_font exch def /cairo_font_matrix where
- { pop cairo_selectfont } if } bind def
-/Td { matrix translate cairo_font_matrix matrix concatmatrix dup
- /cairo_font_matrix exch def dup 4 get exch 5 get cairo_store_point
- /cairo_font where { pop cairo_selectfont } if } bind def
-/Tm { 2 copy 8 2 roll 6 array astore /cairo_font_matrix exch def
- cairo_store_point /cairo_font where { pop cairo_selectfont } if } bind def
-/g { setgray } bind def
-/rg { setrgbcolor } bind def
-/d1 { setcachedevice } bind def
-%%EndProlog
-%%BeginSetup
-%%EndSetup
-%%Page: 1 1
-%%BeginPageSetup
-%%PageBoundingBox: 0 -1 27 27
-%%EndPageSetup
-q 0 -1 27 28 rectclip q
-1 g
-0 26.347 26.344 -26.348 re f
-0.772549 0.772549 0.776471 rg
-10.016 3.698 m 10.016 3.12 10.488 2.647 11.066 2.647 c 15.277 2.647 l 15.859
- 2.647 16.332 3.12 16.332 3.698 c 16.332 4.749 l 10.016 4.749 l h
-13.172 23.702 m 9.109 23.702 5.805 20.393 5.805 16.331 c 5.805 13.827 7.055
- 11.628 8.965 10.288 c 8.965 7.909 l 8.965 7.331 9.434 6.854 10.016 6.854
- c 16.332 6.854 l 16.91 6.854 17.387 7.331 17.387 7.909 c 17.387 10.288
-l 19.289 11.628 20.543 13.827 20.543 16.331 c 20.543 20.393 17.234 23.702
- 13.172 23.702 c 16.172 12.014 m 15.277 11.382 l 15.277 8.96 l 11.066 8.96
- l 11.066 11.382 l 10.172 12.014 l 8.75 13.003 7.91 14.616 7.91 16.331 c
- 7.91 19.237 10.266 21.597 13.172 21.597 c 16.078 21.597 18.438 19.237 18.438
- 16.331 c 18.438 14.616 17.594 13.003 16.172 12.014 c f
-Q Q
-showpage
-%%Trailer
-end restore
-%%EOF
diff --git a/Master/texmf-dist/tex/xelatex/langsci/tbls-glass.eps b/Master/texmf-dist/tex/xelatex/langsci/tbls-glass.eps
deleted file mode 100644
index 60e261f12ec..00000000000
--- a/Master/texmf-dist/tex/xelatex/langsci/tbls-glass.eps
+++ /dev/null
@@ -1,82 +0,0 @@
-%!PS-Adobe-3.0 EPSF-3.0
-%%Creator: cairo 1.14.0 (http://cairographics.org)
-%%CreationDate: Tue Aug 9 12:12:48 2016
-%%Pages: 1
-%%DocumentData: Clean7Bit
-%%LanguageLevel: 2
-%%BoundingBox: 4 3 25 25
-%%EndComments
-%%BeginProlog
-save
-50 dict begin
-/q { gsave } bind def
-/Q { grestore } bind def
-/cm { 6 array astore concat } bind def
-/w { setlinewidth } bind def
-/J { setlinecap } bind def
-/j { setlinejoin } bind def
-/M { setmiterlimit } bind def
-/d { setdash } bind def
-/m { moveto } bind def
-/l { lineto } bind def
-/c { curveto } bind def
-/h { closepath } bind def
-/re { exch dup neg 3 1 roll 5 3 roll moveto 0 rlineto
- 0 exch rlineto 0 rlineto closepath } bind def
-/S { stroke } bind def
-/f { fill } bind def
-/f* { eofill } bind def
-/n { newpath } bind def
-/W { clip } bind def
-/W* { eoclip } bind def
-/BT { } bind def
-/ET { } bind def
-/pdfmark where { pop globaldict /?pdfmark /exec load put }
- { globaldict begin /?pdfmark /pop load def /pdfmark
- /cleartomark load def end } ifelse
-/BDC { mark 3 1 roll /BDC pdfmark } bind def
-/EMC { mark /EMC pdfmark } bind def
-/cairo_store_point { /cairo_point_y exch def /cairo_point_x exch def } def
-/Tj { show currentpoint cairo_store_point } bind def
-/TJ {
- {
- dup
- type /stringtype eq
- { show } { -0.001 mul 0 cairo_font_matrix dtransform rmoveto } ifelse
- } forall
- currentpoint cairo_store_point
-} bind def
-/cairo_selectfont { cairo_font_matrix aload pop pop pop 0 0 6 array astore
- cairo_font exch selectfont cairo_point_x cairo_point_y moveto } bind def
-/Tf { pop /cairo_font exch def /cairo_font_matrix where
- { pop cairo_selectfont } if } bind def
-/Td { matrix translate cairo_font_matrix matrix concatmatrix dup
- /cairo_font_matrix exch def dup 4 get exch 5 get cairo_store_point
- /cairo_font where { pop cairo_selectfont } if } bind def
-/Tm { 2 copy 8 2 roll 6 array astore /cairo_font_matrix exch def
- cairo_store_point /cairo_font where { pop cairo_selectfont } if } bind def
-/g { setgray } bind def
-/rg { setrgbcolor } bind def
-/d1 { setcachedevice } bind def
-%%EndProlog
-%%BeginSetup
-%%EndSetup
-%%Page: 1 1
-%%BeginPageSetup
-%%PageBoundingBox: 4 3 25 25
-%%EndPageSetup
-q 4 3 21 22 rectclip q
-0.772549 0.772549 0.776471 rg
-18.434 11.604 m 17.539 11.604 l 17.219 11.909 l 18.332 13.213 19 14.901
- 19 16.733 c 19 20.827 15.699 24.147 11.629 24.147 c 7.555 24.147 4.254
-20.827 4.254 16.733 c 4.254 12.643 7.555 9.323 11.629 9.323 c 13.453 9.323
- 15.133 9.995 16.426 11.116 c 16.73 10.795 l 16.73 9.893 l 22.406 4.205
-l 24.098 5.905 l h
-11.629 11.604 m 8.801 11.604 6.523 13.897 6.523 16.733 c 6.523 19.573 8.801
- 21.866 11.629 21.866 c 14.453 21.866 16.73 19.573 16.73 16.733 c 16.73
-13.897 14.453 11.604 11.629 11.604 c f
-Q Q
-showpage
-%%Trailer
-end restore
-%%EOF
diff --git a/Master/texmf-dist/tex/xelatex/langsci/tbls-law.eps b/Master/texmf-dist/tex/xelatex/langsci/tbls-law.eps
deleted file mode 100644
index 1839c34886d..00000000000
--- a/Master/texmf-dist/tex/xelatex/langsci/tbls-law.eps
+++ /dev/null
@@ -1,92 +0,0 @@
-%!PS-Adobe-3.0 EPSF-3.0
-%%Creator: cairo 1.14.0 (http://cairographics.org)
-%%CreationDate: Tue Aug 9 12:13:39 2016
-%%Pages: 1
-%%DocumentData: Clean7Bit
-%%LanguageLevel: 2
-%%BoundingBox: 1 0 28 28
-%%EndComments
-%%BeginProlog
-save
-50 dict begin
-/q { gsave } bind def
-/Q { grestore } bind def
-/cm { 6 array astore concat } bind def
-/w { setlinewidth } bind def
-/J { setlinecap } bind def
-/j { setlinejoin } bind def
-/M { setmiterlimit } bind def
-/d { setdash } bind def
-/m { moveto } bind def
-/l { lineto } bind def
-/c { curveto } bind def
-/h { closepath } bind def
-/re { exch dup neg 3 1 roll 5 3 roll moveto 0 rlineto
- 0 exch rlineto 0 rlineto closepath } bind def
-/S { stroke } bind def
-/f { fill } bind def
-/f* { eofill } bind def
-/n { newpath } bind def
-/W { clip } bind def
-/W* { eoclip } bind def
-/BT { } bind def
-/ET { } bind def
-/pdfmark where { pop globaldict /?pdfmark /exec load put }
- { globaldict begin /?pdfmark /pop load def /pdfmark
- /cleartomark load def end } ifelse
-/BDC { mark 3 1 roll /BDC pdfmark } bind def
-/EMC { mark /EMC pdfmark } bind def
-/cairo_store_point { /cairo_point_y exch def /cairo_point_x exch def } def
-/Tj { show currentpoint cairo_store_point } bind def
-/TJ {
- {
- dup
- type /stringtype eq
- { show } { -0.001 mul 0 cairo_font_matrix dtransform rmoveto } ifelse
- } forall
- currentpoint cairo_store_point
-} bind def
-/cairo_selectfont { cairo_font_matrix aload pop pop pop 0 0 6 array astore
- cairo_font exch selectfont cairo_point_x cairo_point_y moveto } bind def
-/Tf { pop /cairo_font exch def /cairo_font_matrix where
- { pop cairo_selectfont } if } bind def
-/Td { matrix translate cairo_font_matrix matrix concatmatrix dup
- /cairo_font_matrix exch def dup 4 get exch 5 get cairo_store_point
- /cairo_font where { pop cairo_selectfont } if } bind def
-/Tm { 2 copy 8 2 roll 6 array astore /cairo_font_matrix exch def
- cairo_store_point /cairo_font where { pop cairo_selectfont } if } bind def
-/g { setgray } bind def
-/rg { setrgbcolor } bind def
-/d1 { setcachedevice } bind def
-%%EndProlog
-%%BeginSetup
-%%EndSetup
-%%Page: 1 1
-%%BeginPageSetup
-%%PageBoundingBox: 1 0 28 28
-%%EndPageSetup
-q 1 0 27 28 rectclip q
-1 g
-1 27.346 26.348 -26.344 re f
-0.772549 0.772549 0.776471 rg
-18.832 14.413 m 18.832 16.647 17.66 18.01 15.508 18.651 c 13.871 19.127
- l 12.793 19.448 12.117 20.038 12.117 20.971 c 12.117 22.088 12.863 22.725
- 14.176 22.725 c 15.367 22.725 16.188 22.225 16.281 20.995 c 18.574 20.995
- l 18.504 23.182 16.938 24.752 14.176 24.752 c 11.414 24.752 9.824 23.022
- 9.824 20.905 c 9.824 19.241 10.641 18.401 11.789 17.854 c 10.715 17.33
-9.52 16.077 9.52 14.299 c 9.52 12.045 10.664 10.702 12.816 10.065 c 14.453
- 9.588 l 15.742 9.198 16.281 8.401 16.281 7.58 c 16.281 6.401 15.484 5.67
- 14.152 5.67 c 12.844 5.67 12.047 6.354 11.953 7.467 c 9.613 7.467 l 9.707
- 4.807 11.859 3.6 14.152 3.6 c 16.516 3.6 18.621 5.057 18.621 7.651 c 18.621
- 9.358 17.73 10.362 16.562 10.862 c 17.613 11.385 18.832 12.639 18.832 14.413
- c 16.492 14.346 m 16.492 13.436 16.188 12.936 15.812 12.549 c 15.414 12.139
- 14.875 11.909 14.176 11.909 c 13.473 11.909 12.91 12.139 12.516 12.549
-c 12.141 12.936 11.859 13.459 11.859 14.346 c 11.859 15.213 12.094 15.737
- 12.516 16.166 c 12.91 16.577 13.473 16.803 14.176 16.803 c 14.875 16.803
- 15.391 16.553 15.812 16.166 c 16.281 15.737 16.492 15.166 16.492 14.346
- c f
-Q Q
-showpage
-%%Trailer
-end restore
-%%EOF