summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/langsci
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-04-29 22:35:31 +0000
committerKarl Berry <karl@freefriends.org>2018-04-29 22:35:31 +0000
commit81e0ea0aefd06549bf9156ae575029f14f852154 (patch)
tree9cab4962f14e100b6cfdde5e7e72f2e93748db30 /Master/texmf-dist/tex/xelatex/langsci
parentc76f355c3545fe41d7bb10f49f35c133f6fa8fcb (diff)
langsci (27apr18)
git-svn-id: svn://tug.org/texlive/trunk@47487 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/langsci')
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/biblatex-langsci-unified.bbx419
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-authoryear-comp.cbx137
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-avm.sty184
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-basic.sty42
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-bidi.sty4
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-cgloss.sty27
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-forest-setup.sty44
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-gb4e.sty40
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-glyphs.sty15
-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-jambox.sty93
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-lgr.sty88
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-linguex.sty92
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-optional.sty82
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-subparts.sty3
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-tbls.sty74
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langsci-tobi.sty7
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/langscibook.cls1117
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/tbls-alarm.pdf121
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/tbls-book.pdf110
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/tbls-bulb.pdf116
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/tbls-bulbon.pdf137
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/tbls-code.pdf126
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/tbls-explore.pdf106
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/tbls-glass.pdf104
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/tbls-glass2.pdf68
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/tbls-law.pdf119
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/tbls-more.pdf118
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/tbls-pencil.pdf103
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/tbls-people.pdf117
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/tbls-r.pdf122
-rw-r--r--Master/texmf-dist/tex/xelatex/langsci/tbls-receipt.pdf131
35 files changed, 4004 insertions, 755 deletions
diff --git a/Master/texmf-dist/tex/xelatex/langsci/biblatex-langsci-unified.bbx b/Master/texmf-dist/tex/xelatex/langsci/biblatex-langsci-unified.bbx
index df93cc833bf..2ff2f4c8006 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/biblatex-langsci-unified.bbx
+++ b/Master/texmf-dist/tex/xelatex/langsci/biblatex-langsci-unified.bbx
@@ -1,16 +1,36 @@
-% Modified by LSP, Thu Jul 31 22:36:02 CEST 2014
-% Modified further, Mo Sep 26 12:29:00 CEST 2016
-\ProvidesFile{sp-biblatex.bbx}
+\ProvidesFile{biblatex-sp-unified.bbx}
% NB: The Unified Style Sheet wants abbreviated "ed(s)", "edn". But using the abbreviate option also abbreviates the names of months. But then dateabbrev=false restores the long names of months
% biblatex has a "useprefix" option, which makes "von" count for alphabetization; the Unified Stylesheet does not want that, so it is important that this option be disabled (even if an author tries to set it to true)
+% For backward compatibility: choose labeldate or labeldateparts depending on the biblatex version
+\@ifpackagelater{biblatex}{2016/09/09}
+{%
+ \ExecuteBibliographyOptions{labeldateparts} % as of biblatex 3.5 (2016/09/10)
+}
+{%
+ \ExecuteBibliographyOptions{labeldate}
+ \def\printlabeldateextra{\printdateextralabel}
+}%
+
\ExecuteBibliographyOptions{sorting=nyt,abbreviate,dateabbrev=false,useprefix=false}
% biblatex by default calls biblatex.def, we add to this authoryear.bbx, which in turn loads standard.bbx. So, sp-biblatex.bbx is built on top of those styles; once authoryear.bbx is loaded, we tell it not to put in dashes for repeated authors (in accordance with the Unified Stylesheet)
\RequireBibliographyStyle{authoryear}
-\ExecuteBibliographyOptions{dashed=false}
+\ExecuteBibliographyOptions{dashed=false,isbn=false,eprint=false}
+
+% If an @article entry contains Issuetitle and Editor information, we might
+% not want to print it. The Unified Style Sheet does not offer explicit
+% guidelines on this, but they don't have any examples where either of these
+% pieces of information are actually printed. Therefore, we can offer an option
+% for the user to decide whether to print it. The default will be not to print
+% it since the Unified Style Sheet does not have examples where this information
+% is printed. The user can print it by setting `issueandeditor=true` as a package
+% option when biblatex is called.
+\newtoggle{issueandeditor}
+\DeclareBibliographyOption{issueandeditor}[false]{%
+ \settoggle{issueandeditor}{#1}}
% Formatting directives for name lists
% ------------------------------------------------------------------
@@ -23,7 +43,11 @@
% The macros here get 4 arguments passed to them. They are: #1 last name, #2 first name, #3 von, #4 Jr.
-\renewbibmacro*{name:last}[4]{%
+% In biblatex v3.3 and onwards, the name formatting has changed in a big way. See for example: http://tex.stackexchange.com/questions/299036/biblatex-3-3-name-formatting, https://github.com/plk/biblatex/issues/372, and http://www.texdev.net/2016/03/13/biblatex-a-new-syntax-for-declarenameformat/. The name formats in biblatex.def are not called first-last etc. anymore but given-family etc. And while there are safeguard legacy aliases (\DeclareNameAlias{first-last}{given-family}, for example), the new formats then use macros like \usebibmacro{name:family-given}, which of course our old redefinitions didn't adjust. So, for newer biblatex, we need to do new versions of \renewbibmacro{name:...}.
+
+%% Redefinitions of name:last and name:last-first for old biblatex
+
+\renewbibmacro*{name:last}[4]{%
\usebibmacro{name:delim}{#3#1}%
\usebibmacro{name:hook}{#3#1}%
\ifblank{#3}
@@ -33,17 +57,40 @@
{\mkbibnameprefix{#3}\isdot}%
\ifpunctmark{'}{}{\bibnamedelimc}}%
\mkbibnamelast{#1}}%
-
-\renewbibmacro*{name:last-first}[4]{%
+
+\renewbibmacro*{name:last-first}[4]{%
\usebibmacro{name:delim}{#3#1}%
\usebibmacro{name:hook}{#3#1}%
\ifblank{#3}{}{%
- \mkbibnameprefix{#3}\isdot%
+ \mkbibnameprefix{#3}\isdot%
\ifpunctmark{'}{}{\bibnamedelimc}}%
\mkbibnamelast{#1}\isdot
\ifblank{#2}{}{\addcomma\bibnamedelimd\mkbibnamefirst{#2}\isdot}%
\ifblank{#4}{}{\addcomma\bibnamedelimd\mkbibnameaffix{#4}\isdot}}
+%% Redefinitions of name:family and name:family-given for new biblatex
+
+\renewbibmacro*{name:family}[4]{%
+ \usebibmacro{name:delim}{#3#1}%
+ \usebibmacro{name:hook}{#3#1}%
+ \ifdefvoid{#3}
+ {}
+ {\ifcapital
+ {\mkbibnameprefix{\MakeCapital{#3}}\isdot}
+ {\mkbibnameprefix{#3}\isdot}%
+ \ifprefchar{}{\bibnamedelimc}}%
+ \mkbibnamefamily{#1}\isdot}%
+
+\renewbibmacro*{name:family-given}[4]{%
+ \usebibmacro{name:delim}{#3#1}%
+ \usebibmacro{name:hook}{#3#1}%
+ \ifdefvoid{#3}{}{%
+ \mkbibnameprefix{#3}\isdot
+ \ifprefchar{}{\bibnamedelimc}}%
+ \mkbibnamefamily{#1}\isdot
+ \ifdefvoid{#2}{}{\revsdnamepunct\bibnamedelimd\mkbibnamegiven{#2}\isdot}%
+ \ifdefvoid{#4}{}{\addcomma\bibnamedelimd\mkbibnamesuffix{#4}\isdot}}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Various bibmacros used in producing the bibliography
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -51,8 +98,7 @@
\renewbibmacro*{date+extrayear}{%
\iffieldundef{labelyear}
{}
- {\printtext{\printdatelabel}}{\printfield{extrayear}}
- }% Took out the parentheses around the year
+ {\printtext{\printlabeldateextra}}}% Took out the parentheses around the year
\renewbibmacro*{author}{%
\ifboolexpr{
@@ -110,7 +156,7 @@
not test {\ifnameundef{translator}}
}
{\usebibmacro{bbx:dashcheck}
- ts {\bibnamedash}
+ {\bibnamedash}
{\printnames{translator}%
\setunit{\addcomma\space}%
\usebibmacro{bbx:savehash}}%
@@ -130,6 +176,72 @@
\setunit{\subtitlepunct}%
\printfield{journalsubtitle}}}}
+\newbibmacro*{journal+issuetitle+editor}{%
+ \usebibmacro{journal}%
+ \setunit*{\addspace}%
+ \iffieldundef{series}
+ {}
+ {\newunit
+ \printfield{series}%
+ \setunit{\addspace}}%
+ \usebibmacro{volume+number+eid}%
+ \iftoggle{issueandeditor}
+ {\setunit{\addspace}%
+ \usebibmacro{issue+date}%
+ \setunit{\addcolon\space}%
+ \usebibmacro{issue}
+ % The following three lines were originally not included inside of
+ % the journal+issuetitle bibmacro. They have been moved inside of
+ % this macro in order to allow them to be controlled by the toggle
+ % `issuetitle` that is defined at the top of this style file.
+ \newunit
+ \usebibmacro{byeditor+others}%
+ \newunit}
+ {}%
+ \newunit}
+
+% The next three bib macros are for printing the maintitle and booktitle fields
+% of an @inproceedings entry with an ISSN as an article in accordance with the
+% unified style sheet guidelines.
+% 1. maintitle
+\newbibmacro*{unified:proc-as-article:maintitle}{%
+ \ifboolexpr{
+ test {\iffieldundef{maintitle}}
+ and
+ test {\iffieldundef{mainsubtitle}}
+ }
+ {}
+ {\printtext{%
+ \printfield[maintitle]{maintitle}%
+ \setunit{\subtitlepunct}%
+ \printfield[maintitle]{mainsubtitle}}%
+ \newunit}%
+ \printfield{maintitleaddon}}
+
+% 2. booktitle
+\newbibmacro*{unified:proc-as-article:booktitle}{%
+ \ifboolexpr{
+ test {\iffieldundef{booktitle}}
+ and
+ test {\iffieldundef{booksubtitle}}
+ }
+ {}
+ {\printtext{%
+ \printfield[booktitle]{booktitle}%
+ \setunit{\subtitlepunct}%
+ \printfield[booktitle]{booksubtitle}}%
+ \newunit}%
+ \printfield{booktitleaddon}}
+
+% 3. maintitle+booktitle
+\newbibmacro*{unified:proc-as-article:maintitle+booktitle}{%
+ \iffieldundef{maintitle}
+ {}
+ {\usebibmacro{unified:proc-as-article:maintitle}%
+ \newunit\newblock}
+ \usebibmacro{unified:proc-as-article:booktitle}%
+ \setunit{\addspace}}
+
\renewbibmacro*{volume+number+eid}{%
\printfield{volume}%
% \setunit*{\adddot}%
@@ -137,8 +249,17 @@
\setunit{\addcomma\space}%
\printfield{eid}}
+% This is for printing the volume field of a proceedings with an ISSN as an article
+% in accordance with the unified style sheet guidelines. It depends on the declared
+% field format below.
+\newbibmacro*{unified:proc-as-article:volume+number+eid}{%
+ \printfield[volume:unified:proc-as-article]{volume}%
+ \printfield[parens]{number}%
+ \setunit{\addcomma\space}%
+ \printfield{eid}}
+
% Because of the weird format "3 May, 2007" specified in the Unified Stylesheet for URL access dates, we need a special way to format the urldate
-
+
\newcommand{\mkbibdateunified}[3]{% Year-Month-Day as input --> xx Month, Year
\iffieldundef{#3}
{}
@@ -156,13 +277,13 @@
{,}%
\space\stripzeros{\thefield{#1}}}%
}%
- }%
+ }%
\renewbibmacro*{url+urldate}{%
\printfield{url}%
\iffieldundef{urlyear}%
- {}%
- {\setunit*{\addspace}%
+ {}%
+ {\setunit*{\addspace}%
\printtext[parens]{\mkbibdateunified{urlyear}{urlmonth}{urlday}}}%
}
@@ -233,40 +354,48 @@
% This gets rid of the Oxford comma in name lists and uses the ampersand rather than "and":
-\renewcommand*{\finalnamedelim}{\addspace\&\addspace}
-\renewcommand*{\finallistdelim}{\addspace\&\addspace}
+\renewcommand*{\finalnamedelim}{\addspace\&\addspace}
+\renewcommand*{\finallistdelim}{\addspace\&\addspace}
% no colon after "In" in incollection entries (overriding biblatex.def):
-\renewcommand{\intitlepunct}{\addspace}
+\renewcommand{\intitlepunct}{\addspace}
\renewcommand{\subtitlepunct}{\addcolon\space}
\renewcommand*{\bibpagespunct}{\newunitpunct} % No comma before pages, just the usual new unit period
\DefineBibliographyStrings{english}{%
edition = {edn\adddot},
+ phdthesis = {dissertation},
}
% basically everything is in sentence case, other than journals and book series (recurring titles)
-\DeclareFieldFormat[article,periodical,book,thesis,incollection,unpublished,inproceedings]{titlecase}{\MakeSentenceCase*{#1}}%
+\DeclareFieldFormat[article,book,collection,incollection,inproceedings,thesis,unpublished]{titlecase}{\MakeSentenceCase*{#1}}%
% No quotes around titles
-\DeclareFieldFormat[article,periodical,inbook,incollection,inproceedings,patent,thesis,unpublished]{title}{#1}
+\DeclareFieldFormat[article,inbook,incollection,inproceedings,patent,thesis,unpublished]{title}{#1}
% Just like book titles, thesis titles are in italics
\DeclareFieldFormat[thesis]{title}{\mkbibemph{#1}}
\DeclareFieldFormat{pages}{#1} % no pp. prefix, took \mkpageprefix out [kvf]
-\DeclareFieldFormat{doi}{\doi{#1}}
+\DeclareFieldFormat{doi}{%
+ \ifhyperref
+ {\href{https://doi.org/#1}{\nolinkurl{https://doi.org/#1}}}
+ {\nolinkurl{https://doi.org/#1}}}
\DeclareFieldFormat{url}{\url{#1}}
+% This is for printing the volume field of a proceedings with an ISSN as an article
+% in accordance with the unified style sheet guidelines
+\DeclareFieldFormat{volume:unified:proc-as-article}{#1}
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The bibliography drivers, specifying the formats of each type of entry in the bibliography
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% First, the entry types used in the Unified Test Bibliography. Could rely on standard.bbx for all others as a fallback.
-% For the article type, the only departure from standard.bbx is that
+% For the article type, the only departure from standard.bbx is that
% we don't use a literal "In: " before the journal title; other formatting
% departures are done in the format specs and bibmacros
@@ -285,11 +414,9 @@
\newunit\newblock
\printfield{version}%
\newunit\newblock
-% \usebibmacro{in:}% We don't use "In: " before journal titles
- \usebibmacro{journal+issuetitle}%
- \newunit
- \usebibmacro{byeditor+others}%
- \newunit\newblock% \newblock ensures period before pages
+% \usebibmacro{in:}% We don't use "In: " before journal titles
+ \usebibmacro{journal+issuetitle+editor}%
+ \newblock% \newblock ensures period before pages
\usebibmacro{note+pages}%
\newunit\newblock
\iftoggle{bbx:isbn}
@@ -308,44 +435,6 @@
{}%
\usebibmacro{finentry}}
-\DeclareBibliographyDriver{periodical}{%
-\usebibmacro{bibindex}%
-\usebibmacro{begentry}%
-\usebibmacro{author/editor+others/translator+others}%
-\setunit{\labelnamepunct}\newblock
-\usebibmacro{title}%
-\newunit
-\printlist{language}%
-\newunit\newblock
-\usebibmacro{byauthor}%
-\newunit\newblock
-\usebibmacro{bytranslator+others}%
-\newunit\newblock
-\printfield{version}%
-\newunit\newblock
-% \usebibmacro{in:}% We don't use "In: " before journal titles
-\usebibmacro{journal+issuetitle}%
-\newunit
-\usebibmacro{byeditor+others}%
-\newunit\newblock% \newblock ensures period before pages
-\usebibmacro{note+pages}%
-\newunit\newblock
-\iftoggle{bbx:isbn}
-{\printfield{issn}}
-{}%
-\newunit\newblock
-\usebibmacro{doi+eprint+url}%
-\newunit\newblock
-\usebibmacro{addendum+pubstate}%
-\setunit{\bibpagerefpunct}\newblock
-\usebibmacro{pageref}%
-\newunit\newblock
-\iftoggle{bbx:related}
-{\usebibmacro{related:init}%
-\usebibmacro{related}}
-{}%
-\usebibmacro{finentry}}
-
\DeclareBibliographyDriver{book}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
@@ -373,60 +462,10 @@
\printfield{note}%
\newunit\newblock
\usebibmacro{publisher+location+date}%
- % \newunit\newblock commented by LSP
- % \usebibmacro{chapter+pages}%
- % \newunit
- % \printfield{pagetotal}%
- \newunit\newblock
- \iftoggle{bbx:isbn}
- {\printfield{isbn}}
- {}%
- \newunit\newblock
- \usebibmacro{doi+eprint+url}%
- \newunit\newblock
- \usebibmacro{addendum+pubstate}%
- \setunit{\bibpagerefpunct}\newblock
- \usebibmacro{pageref}%
\newunit\newblock
- \iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
- {}%
- \usebibmacro{finentry}}
-
- \DeclareBibliographyDriver{incollection}{%
- \usebibmacro{bibindex}%
- \usebibmacro{begentry}%
- \usebibmacro{author/translator+others}%
- \setunit{\labelnamepunct}\newblock
- \usebibmacro{title}%
- \newunit
- \printlist{language}%
- \newunit\newblock
- \usebibmacro{byauthor}%
- \newunit\newblock
- \usebibmacro{in:}%
- \ifnameundef{editor}
- {\setunit{\addspace}}
- {\usebibmacro{byeditor+others}\setunit{\addcomma\space}}
- \usebibmacro{maintitle+booktitle}%
- \setunit{\addcomma\space}
- \printfield{edition}%
- \setunit{\addcomma\space}
- \iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
- {}%
- \setunit{\addcomma\space}
- \printfield{volumes}%
- \setunit{\addspace}%
- \usebibmacro{series+number}%
- \setunit{\addcomma\space}
\usebibmacro{chapter+pages}%
- \newunit\newblock
- \printfield{note}%
- \newunit\newblock
- \usebibmacro{publisher+location+date}%
+ \newunit
+ \printfield{pagetotal}%
\newunit\newblock
\iftoggle{bbx:isbn}
{\printfield{isbn}}
@@ -444,58 +483,107 @@
{}%
\usebibmacro{finentry}}
+% Aliased to ensure no period between the title and the series.
+\DeclareBibliographyAlias{collection}{book}
+
+\DeclareBibliographyAlias{incollection}{inproceedings}
+
+% Given the guidelines in the unified style sheet, we should print conference
+% proceedings and working papers as @article's just in case the publication has
+% an ISSN. So, rather than have users handle this in the database by changing the
+% entry type, we can implement this by checking if the inproceedings entry has an
+% ISSN. If the field is undefined, the driver will do what driver did for
+% @inproceedings entries as of 512f11657199a6044f7663da454f3eac338bdbd5
+% except that \printlist{organization} and \newunit have been removed.
+% On the other hand, if the ISSN field is not undefined, then we will do largely
+% the exact same thing that we do in the @article driver, except that we use the
+% two macros \usebibmacro{unified:proc-as-article:maintitle+booktitle} and
+% \usebibmacro{unified:proc-as-article:volume+number+eid} instead of
+% \usebibmacro{journal+issuetitle} and except that \usebibmacro{byeditor+others}
+% has been removed so as to ensure that the editors are not listed even if they
+% are present in the database.
\DeclareBibliographyDriver{inproceedings}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
- \usebibmacro{author/translator+others}%
- \setunit{\labelnamepunct}\newblock
- \usebibmacro{title}%
- \newunit
- \printlist{language}%
- \newunit\newblock
- \usebibmacro{byauthor}%
- \newunit\newblock
- \usebibmacro{in:}%
- \ifnameundef{editor}
- {\setunit{\addspace}}
- {\usebibmacro{byeditor+others}\setunit{\addcomma\space}}
- \usebibmacro{maintitle+booktitle}%
- \setunit{\addcomma\space}
- \printfield{edition}%
- \setunit{\addcomma\space}
- \iffieldundef{maintitle}
- {\printfield{volume}%
- \printfield{part}}
- {}%
- \setunit{\addcomma\space}
- \printfield{volumes}%
- \setunit{\addspace}%
- \usebibmacro{series+number}%
- \setunit{\addcomma\space}
- \usebibmacro{chapter+pages}%
- \newunit\newblock
- \printfield{note}%
- \newunit\newblock
- \printlist{organization}%
- \newunit
- \usebibmacro{publisher+location+date}%
- \newunit\newblock
- \iftoggle{bbx:isbn}
- {\printfield{isbn}}
- {}%
- \newunit\newblock
- \usebibmacro{doi+eprint+url}%
- \newunit\newblock
- \usebibmacro{addendum+pubstate}%
- \setunit{\bibpagerefpunct}\newblock
- \usebibmacro{pageref}%
- \newunit\newblock
- \iftoggle{bbx:related}
- {\usebibmacro{related:init}%
- \usebibmacro{related}}
- {}%
+ \iffieldundef{issn}
+ {\usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{in:}%
+ \ifnameundef{editor}
+ {\setunit{\addspace}}
+ {\usebibmacro{byeditor+others}\setunit{\addcomma\space}}
+ \usebibmacro{maintitle+booktitle}%
+ \setunit{\addcomma\space}
+ \printfield{edition}%
+ \setunit{\addcomma\space}
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \setunit{\addcomma\space}
+ \printfield{volumes}%
+ \setunit{\addspace}%
+ \usebibmacro{series+number}%
+ \setunit{\addcomma\space}
+ \usebibmacro{chapter+pages}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{isbn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}}
+ {\usebibmacro{author/translator+others}%
+ \setunit{\labelnamepunct}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{bytranslator+others}%
+ \newunit\newblock
+ \printfield{version}%
+ \newunit\newblock
+ \usebibmacro{unified:proc-as-article:maintitle+booktitle}%
+ \usebibmacro{unified:proc-as-article:volume+number+eid}
+ \newunit\newblock% \newblock ensures period before pages
+ \usebibmacro{note+pages}%
+ \newunit\newblock
+ \iftoggle{bbx:isbn}
+ {\printfield{issn}}
+ {}%
+ \newunit\newblock
+ \usebibmacro{doi+eprint+url}%
+ \newunit\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}}
\usebibmacro{finentry}}
-
+
\DeclareBibliographyDriver{thesis}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
@@ -561,4 +649,3 @@
\usebibmacro{related}}
{}%
\usebibmacro{finentry}}
-
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-authoryear-comp.cbx b/Master/texmf-dist/tex/xelatex/langsci/langsci-authoryear-comp.cbx
index 0a91c6f0835..4844de94ed7 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-authoryear-comp.cbx
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-authoryear-comp.cbx
@@ -1,6 +1,16 @@
\ProvidesFile{sp-authoryear-comp.cbx}
-\ExecuteBibliographyOptions{uniquename,uniquelist,autocite=inline}
+% For backward compatibility: choose labeldate or labeldateparts depending on the biblatex version
+\@ifpackagelater{biblatex}{2016/09/09}
+{%
+ \ExecuteBibliographyOptions{labeldateparts} % as of biblatex 3.5 (2016/09/10)
+}
+{%
+ \ExecuteBibliographyOptions{labeldate}
+}%
+
+\ExecuteBibliographyOptions{uniquename=minfull,uniquelist=minyear,autocite=inline}
+
% disabled sortcites option, since it was sorting by name, instead of
% year, and we often want to keep citations in the order chosen by the
% author
@@ -14,12 +24,21 @@
{\iffieldundef{prenote}
{}
{\global\undef\cbx@lasthash
- \global\undef\cbx@lastyear}}}
+ \global\undef\cbx@lastyear}}}
\newbibmacro*{cite:reinit}{%
\global\undef\cbx@lasthash
\global\undef\cbx@lastyear}
+\newbibmacro*{labelyearrepeat}{%
+ \ifthenelse{\iffieldequals{labelyear}{\cbx@lastyear}\AND
+ \(\value{multicitecount}=0\OR\iffieldundef{postnote}\)}
+ {\setunit{\addcomma}%
+ \usebibmacro{cite:extrayear}}
+ {\setunit{\compcitedelim}%
+ \usebibmacro{cite:labelyear+extrayear}%
+ \savefield{labelyear}{\cbx@lastyear}}}
+
\newbibmacro*{cite}{% Based on cite bib macro from authoryear-comp.cbx
\iffieldundef{shorthand}
{\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}
@@ -30,13 +49,7 @@
\usebibmacro{cite:labelyear+extrayear}}%
\usebibmacro{cite:reinit}}
{\iffieldequals{namehash}{\cbx@lasthash}
- {\ifthenelse{\iffieldequals{labelyear}{\cbx@lastyear}\AND
- \(\value{multicitecount}=0\OR\iffieldundef{postnote}\)}
- {\setunit{\addcomma}%
- \usebibmacro{cite:extrayear}}
- {\setunit{\compcitedelim}%
- \usebibmacro{cite:labelyear+extrayear}%
- \savefield{labelyear}{\cbx@lastyear}}}
+ {\usebibmacro{labelyearrepeat}}
{\printtext[bibhyperref]{% Include labelname in hyperlink
\DeclareFieldAlias{bibhyperref}{default}% Prevent nested hyperlinks
\printnames{labelname}%
@@ -54,13 +67,7 @@
{\usebibmacro{cite:label}%
\usebibmacro{cite:reinit}}
{\iffieldequals{namehash}{\cbx@lasthash}
- {\ifthenelse{\iffieldequals{labelyear}{\cbx@lastyear}\AND
- \(\value{multicitecount}=0\OR\iffieldundef{postnote}\)}
- {\setunit{\addcomma}%
- \usebibmacro{cite:extrayear}}
- {\setunit{\compcitedelim}%
- \usebibmacro{cite:labelyear+extrayear}%
- \savefield{labelyear}{\cbx@lastyear}}}
+ {\usebibmacro{labelyearrepeat}}
{\usebibmacro{cite:labelyear+extrayear}%
\savefield{namehash}{\cbx@lasthash}%
\savefield{labelyear}{\cbx@lastyear}}}}
@@ -68,16 +75,10 @@
\usebibmacro{cite:reinit}}%
\setunit{\multicitedelim}}
-\renewbibmacro*{textcite}{% Based on textcite bib macro from authoryear-comp.cbx
+\newbibmacro*{textcite}{% Based on textcite bib macro from authoryear-comp.cbx
\iffieldequals{namehash}{\cbx@lasthash}
{\iffieldundef{shorthand}
- {\ifthenelse{\iffieldequals{labelyear}{\cbx@lastyear}\AND
- \(\value{multicitecount}=0\OR\iffieldundef{postnote}\)}
- {\setunit{\addcomma}%
- \usebibmacro{cite:extrayear}}
- {\setunit{\compcitedelim}%
- \usebibmacro{cite:labelyear+extrayear}%
- \savefield{labelyear}{\cbx@lastyear}}}
+ {\usebibmacro{labelyearrepeat}}
{\setunit{\compcitedelim}%
\usebibmacro{cite:shorthand}%
\global\undef\cbx@lastyear}}
@@ -127,6 +128,59 @@
{}%
\multicitedelim}}
+\newbibmacro*{posscite}{% Based on textcite bib macro above
+ \iffieldequals{namehash}{\cbx@lasthash}
+ {\iffieldundef{shorthand}
+ {\usebibmacro{labelyearrepeat}}
+ {\setunit{\compcitedelim}%
+ \usebibmacro{cite:shorthand}%
+ \global\undef\cbx@lastyear}}
+ {\ifnameundef{labelname}
+ {\printtext[bibhyperref]{% Include labelname in hyperlink
+ \DeclareFieldAlias{bibhyperref}{default}% Prevent nested hyperlinks
+ \iffieldundef{shorthand}
+ {\usebibmacro{cite:label}%
+ \setunit{%
+ \global\booltrue{cbx:parens}%
+ \addspace\bibopenparen}%
+ \ifnumequal{\value{citecount}}{1}
+ {\usebibmacro{prenote}}
+ {}%
+ \usebibmacro{cite:labelyear+extrayear}}
+ {\usebibmacro{cite:shorthand}}%
+ \ifthenelse{\iffieldundef{postnote}\AND
+ \(\value{multicitetotal}=0\AND\value{citetotal}=1\)}
+ {\bibcloseparen% Include closing parenthesis in hyperlink
+ \global\boolfalse{cbx:parens}}
+ {}}}
+ {\printtext[bibhyperref]{% Include labelname in hyperlink
+ \DeclareFieldAlias{bibhyperref}{default}% Prevent nested hyperlinks
+ \printnames{labelname}'s%
+ \setunit{%
+ \global\booltrue{cbx:parens}%
+ \addspace\bibopenparen}%
+ \ifnumequal{\value{citecount}}{1}
+ {\usebibmacro{prenote}}
+ {}%
+ \iffieldundef{shorthand}
+ {\iffieldundef{labelyear}
+ {\usebibmacro{cite:label}}
+ {\usebibmacro{cite:labelyear+extrayear}}%
+ \savefield{labelyear}{\cbx@lastyear}}
+ {\usebibmacro{cite:shorthand}%
+ \global\undef\cbx@lastyear}%
+ \ifthenelse{\iffieldundef{postnote}\AND
+ \(\value{multicitetotal}=0\AND\value{citetotal}=1\)}
+ {\bibcloseparen% Include closing parenthesis in hyperlink
+ \global\boolfalse{cbx:parens}}
+ {}}%
+ \savefield{namehash}{\cbx@lasthash}}}%
+ \setunit{%
+ \ifbool{cbx:parens}
+ {\bibcloseparen\global\boolfalse{cbx:parens}}
+ {}%
+ \multicitedelim}}
+
\newbibmacro*{cite:shorthand}{%
\printtext[bibhyperref]{\printfield{shorthand}}}
@@ -153,12 +207,12 @@
{\setunit{}%
\printtext{%
\ifbool{cbx:parens}
- {\bibcloseparen\global\boolfalse{cbx:parens}}
- {}}}
+ {\bibcloseparen\global\boolfalse{cbx:parens}}
+ {}}}
{\setunit{%
\ifbool{cbx:parens}
- {\bibcloseparen\global\boolfalse{cbx:parens}}
- {}%
+ {\bibcloseparen\global\boolfalse{cbx:parens}}
+ {}%
\multicitedelim}}}
\DeclareCiteCommand{\cite}
@@ -232,7 +286,7 @@
{\setunit{\multicitedelim}}
\DeclareMultiCiteCommand{\textcites}{\textcite}{}
-\renewcommand*{\nameyeardelim}{\addspace}
+\renewcommand*{\nameyeardelim}{\addspace}
\let\citealt\cite
\let\citet\textcite
@@ -241,8 +295,16 @@
\newcommand{\pgcitealt}[2]{\cite{#1}:~#2}
\newcommand{\pgcitet}[2]{\citeauthor{#1} (\citeyear{#1}:~#2)}
\newcommand{\pgposscitet}[2]{\citeauthor{#1}'s (\citeyear{#1}:~#2)}
+\newcommand{\seccitealt}[2]{\cite{#1}:~$\S$#2}
+\newcommand{\seccitep}[2]{(\cite{#1}:~$\S$#2)}
+\newcommand{\seccitet}[2]{\citeauthor{#1} (\citeyear{#1}:~$\S$#2)}
+\newcommand{\secposscitet}[2]{\citeauthor{#1}'s (\citeyear{#1}:~$\S$#2)}
\let\citep\parencite
+\renewcommand*{\postnotedelim}{\addcolon\space}
+\DeclareFieldFormat{postnote}{#1}
+\DeclareFieldFormat{multipostnote}{#1}
+
\DeclareCiteCommand{\citeauthor}
{\boolfalse{citetracker}%
\boolfalse{pagetracker}%
@@ -258,22 +320,29 @@
{\boolfalse{citetracker}%
\boolfalse{pagetracker}%
\usebibmacro{prenote}}
- {\printfield[bibhyperref]{year}}
+ {\printtext[bibhyperref]{\iffieldundef{year}{\printfield{labelyear}}{\printfield{year}}\printfield{extrayear}}}
{\multicitedelim}
{\usebibmacro{postnote}}
-
+
\DeclareCiteCommand{\citeyearpar}[\mkbibparens]
{\boolfalse{citetracker}%
\boolfalse{pagetracker}%
\usebibmacro{prenote}}
- {\printfield[bibhyperref]{year}}
+ {\printtext[bibhyperref]{\iffieldundef{year}{\printfield{labelyear}}{\printfield{year}}\printfield{extrayear}}}
{\multicitedelim}
{\usebibmacro{postnote}}
\DeclareCiteCommand{\posscitet}
+ {\usebibmacro{cite:init}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{posscite}}
+ {}
+ {\usebibmacro{textcite:postnote}}
+
+\DeclareCiteCommand{\posscitealt}
{\boolfalse{citetracker}%
\boolfalse{pagetracker}}
- {\printtext[bibhyperref]{\printnames{labelname}'s \printfield[parens]{year}}}
+ {\printtext[bibhyperref]{\printnames{labelname}'s \iffieldundef{year}{\printfield{labelyear}}{\printfield{year}}\printfield{extrayear}}}
{}
{}
@@ -283,7 +352,7 @@
{\printtext[bibhyperref]{\printnames{labelname}'s}}
{}
{}
-
+
\renewcommand*{\multicitedelim}{\addcomma\space}
\endinput
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-avm.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-avm.sty
new file mode 100644
index 00000000000..03e57511cfe
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-avm.sty
@@ -0,0 +1,184 @@
+%% avm.sty - a style file for attribute-value matrices
+%% Copyright 1992, 1993, 2006, 2013 Christopher Manning (manning@cs.stanford.edu)
+%
+% v 1.00 mar 29, 1992
+% v 1.01 dec 6, 1993
+% v 1.02 jan 5, 2006
+% v 1.03 dec 8, 2013
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Christopher Manning.
+%
+% This work consists of the files avm.sty, avm-doc.tex, avm-test.tex.
+
+\newif\ifavmactive\newif\ifavmsorted\newif\ifavmlabeled
+\newif\ifavmcenter\newif\ifavmbottom
+\newif\ifavmbottomright\newif\ifavmtopleft\newif\ifavmtopright
+
+\newdimen\avmdimen
+\newbox\avmboxone\newbox\avmboxthree
+
+\def\avmoptions#1{\avmactivefalse\avmsortedfalse\avmlabeledfalse
+ \avmcenterfalse\avmbottomfalse
+ \avmbottomrightfalse\avmtopleftfalse\avmtoprightfalse
+ \def\more{#1}\ifx\more\empty\else\avmjoptions#1,\@nil\fi}
+\def\avmjoptions#1,#2\@nil{\def\more{#2}\csname avm#1true\endcsname
+ \ifx\more\empty\else\avmjoptions#2\@nil\fi}
+
+
+\def\avmfont#1{\def\avmjfont{#1}}
+\def\avmjfont{}
+
+\def\avmvalfont#1{\def\avmjvalfont{#1}}
+\def\avmjvalfont{}
+
+\def\avmsortfont#1{\def\avmjsortfont{#1}}
+\def\avmjsortfont{}
+
+\def\avmhskip#1{\def\avmjhskip{#1}}
+\def\avmjhskip{1em}
+
+\def\avmbskip#1{\def\avmjbskip{#1}}
+\def\avmjbskip{0em}
+
+\def\avmvskip#1{\def\avmjvskip{#1}}
+\def\avmjvskip{0.385ex}%was .3875
+
+
+\def\avmjprolog#1{$\mskip-\thinmuskip
+ \left#1\hskip\avmjbskip\vcenter\bgroup\vskip\avmjvskip
+ \ialign\bgroup\avmjfont
+ \strut ##\unskip\hfil
+ &&\hskip\avmjhskip\avmjvalfont ##\unskip\hfil\cr}
+\def\avmjpostlog#1{\crcr\egroup\vskip\avmjvskip\egroup
+ \hskip\avmjbskip\right#1\mskip-\thinmuskip$\ignorespaces}
+
+
+\def\avmjcatcode{\let\lparen=(\let\rparen=)\catcode`\[=13\catcode`\]=13
+ \catcode`\<=13\catcode`\@=13\catcode`\(=13\catcode`\)=13
+ \catcode`\>=13\catcode`\|=13}
+
+{\avmjcatcode % new group: redefine above catcodes as active
+
+\gdef\specialavm{\avmjcatcode
+\def({\avmjprolog\lparen}%
+\def){\avmjpostlog\rparen}%
+\def<{\avmjprolog\langle}%
+\def>{\avmjpostlog\rangle}%
+\ifavmsorted
+\def[##1{\setbox\avmboxthree=\hbox{\avmjsortfont##1\/}\setbox2=\hbox
+ \bgroup\avmjprolog\lbrack}%
+\def]{\avmjpostlog\rbrack\egroup\avmjsort}%
+\else\ifavmlabeled
+\def[##1{\def\more{##1}\setbox2=\hbox\bgroup\avmjprolog[}%
+\def]{\avmjpostlog]\egroup\node{\more}{\box2}}%
+\else
+\def[{\avmjprolog\lbrack}%
+\def]{\avmjpostlog\rbrack}%
+\fi\fi
+%
+\def\<{$\langle$}\def\>{$\rangle$}%
+\def\({\lparen}
+\def\){\rparen}%
+\def\[{\lbrack}
+\def\]{\rbrack}%
+\def|{$\,\vert\,$}%
+\def@##1{\avmbox{##1}}%
+} % end defn of \specialavm
+} % restore active catcodes
+
+
+\long\def\avm{\begingroup
+\ifavmactive\specialavm
+\else
+\def\({\avmjprolog(}%
+\def\){\avmjpostlog)}%
+\def\<{\avmjprolog\langle}%
+\def\>{\avmjpostlog\rangle}%
+%
+\ifavmsorted
+\def\[##1{\setbox\avmboxthree=\hbox{\avmjsortfont##1\/}\setbox
+ 2=\hbox\bgroup\avmjprolog[}%
+\def\]{\avmjpostlog]\egroup\avmjsort}%
+\else\ifavmlabeled
+\def\[##1{\def\more{##1}\setbox2=\hbox\bgroup\avmjprolog[}%
+\def\]{\avmjpostlog]\egroup\node{\more}{\box2}}%
+\else
+\def\[{\avmjprolog[}%
+\def\]{\avmjpostlog]}%
+\fi\fi
+%
+\def\|{$\,\vert\,$}%
+\def\@##1{\avmbox{##1}}%
+\fi % end not active
+%
+\ifx\LaTeX\undefined\def\\{\cr}% running under TeX
+\else \ifx\@tabularcr\relax
+\def\\{\@arraycr}% fix for the Mainz array package
+\else
+\def\\{\@tabularcr}% Leverage off LaTeX's \\*[dimen] options
+\fi
+\fi
+\def\!{\node}%
+\long\def\avmjsort{\dimen2=\ht2\advance\dimen2 by -.25\baselineskip
+ \global\dimen\avmdimen=\wd\avmboxthree
+ \ifavmtopleft \raise\dimen2\llap{\box\avmboxthree}\box2%
+ \else\ifavmtopright \box2\raise\dimen2\box\avmboxthree
+ \else\ifavmbottomright \box2\lower\dimen2\box\avmboxthree
+ \else \lower\dimen2\llap{\box\avmboxthree}\box2%
+ \fi\fi\fi}%
+\long\def\sort##1##2{\setbox2=\hbox{##2}\setbox
+ \avmboxthree=\hbox{\avmjsortfont##1\/}\dimen2=\ht2%
+ \advance\dimen2 by -.25\baselineskip
+ \ifavmtopleft \raise\dimen2\box\avmboxthree\box2%
+ \else\ifavmtopright \box2\raise\dimen2\box\avmboxthree%
+ \else\ifavmbottomright \box2\lower\dimen2\box\avmboxthree%
+ \else \lower\dimen2\box\avmboxthree\box2%
+ \fi\fi\fi}%
+\long\def\osort##1##2{\setbox2=\hbox{##2}\setbox
+ \avmboxthree=\hbox{\avmjsortfont ##1\/}\avmjsort}%
+\def\asort##1{\avmspan{\avmjsortfont ##1}\\}%
+\def\avml{\avmjprolog.}%
+\def\avmr{\avmjpostlog.}%
+\def\avmb##1{\node{##1}{\lbrack\;\rbrack}}%
+\def\avmd##1{\node{##1}{---}}%
+\def\q##1{\ifx ##1\{$\lbrace$\else
+ \ifx ##1\}$\rbrace$\else
+ \ifx ##1<$\langle$\else
+ \ifx ##1>$\rangle$\fi \fi \fi \fi}%
+\def\{{\avmjprolog\lbrace}%
+\def\}{\avmjpostlog\rbrace}%
+\def\;{\hskip\avmjhskip}%
+\def\avmspan##1{\multispan2\strut ##1\expandafter\hfil}%
+\avmjfont
+\openup\avmjvskip
+\setbox\avmboxone=\hbox\bgroup\ignorespaces
+} % end defn of \avm
+
+
+\def\endavm{\egroup\ifvmode\leavevmode\fi % this if is useful!
+ \ifavmsorted\null\hskip\dimen\avmdimen\fi
+ \ifavmcenter
+ \box\avmboxone
+ \else \ifavmbottom
+ \lower.575\baselineskip\hbox{\vbox{\box\avmboxone\null}}%
+ \else
+% the next bit is ripped off from Emma's \evnup in lingmacros.sty
+ \dimen2=\ht\avmboxone\advance\dimen2 by -.725\baselineskip
+ \lower\dimen2\box\avmboxone
+\fi \fi \endgroup}
+
+
+% based on TeXbook exercise 21.3
+\def\avmbox#1{\setbox2=\hbox{$\scriptstyle #1$}\lower.2ex\vbox{\hrule
+ \hbox{\vrule\kern1.25pt
+ \vbox{\kern1.25pt\box2\kern1.25pt}\kern1.25pt\vrule}\hrule}}
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-basic.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-basic.sty
index 152790db886..c8165b4710f 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-basic.sty
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-basic.sty
@@ -1,11 +1,11 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% File: langsci-basic.sty
%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2016-01-16 16:47:43 UTC
-%% Purpose: This file contains essential macros and is included
+%% Date: 2016-01-16 16:47:43 UTC
+%% Purpose: This file contains essential macros and is included
%% into langscibook.cls
%% Language: LaTeX
-%% Licence:
+%% Licence:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\sectref}[1]{§\ref{#1}}
@@ -14,8 +14,30 @@
\newcommand{\tabref}[1]{Table~\ref{#1}}
\newcommand{\figref}[1]{Figure~\ref{#1}}
+
+\ifx\lsBookLanguage\lsBookLanguageFrench
+ \newcommand{\chapref}[1]{Chapitre~\ref{#1}}
+ \newcommand{\partref}[1]{Partie~\ref{#1}}
+ \newcommand{\tabref}[1]{Tableau~\ref{#1}}
+ \newcommand{\figref}[1]{Figure~\ref{#1}}
+\fi
+
+\ifx\lsBookLanguage\lsBookLanguageGerman
+ \newcommand{\chapref}[1]{Kapitel~\ref{#1}}
+ \newcommand{\partref}[1]{Teil~\ref{#1}}
+ \newcommand{\tabref}[1]{Tabelle~\ref{#1}}
+ \newcommand{\figref}[1]{Abbildung~\ref{#1}}
+\fi
+
+\ifx\lsBookLanguage\lsBookLanguagePortuguese
+ \newcommand{\chapref}[1]{Capítulo~\ref{#1}}
+ \newcommand{\partref}[1]{Parte~\ref{#1}}
+ \newcommand{\tabref}[1]{Tabela~\ref{#1}}
+ \newcommand{\figref}[1]{Figura~\ref{#1}}
+\fi
+
\newcommand{\lsptoprule}{\midrule\toprule}
-\newcommand{\lspbottomrule}{\bottomrule\midrule}
+\newcommand{\lspbottomrule}{\bottomrule\midrule}
\newcommand{\REF}[1]{(\ref{#1})}
@@ -30,11 +52,12 @@
\newcommand{\db}{\hspaceThis{[}} %dummy space for [ in IMT line
\newcommand{\rmfnm}{{\upshape\footnotemark}} %romanfootnotemark
-\newcommand{\citegen}[2][]{\citeauthor{#2}'s (\citeyear[#1]{#2})}
+\newcommand{\citegen}[2][]{\citeauthor{#2}'s (\citeyear*[#1]{#2})}
+\newcommand{\citeapo}[2][]{\citeauthor{#2}' (\citeyear*[#1]{#2})}
\newcommand{\protectedex}[1]{
\noindent
-\parbox{\textwidth}{
+\parbox{\textwidth}{
#1}
}
@@ -42,7 +65,7 @@
\enlargethispage{#1\baselineskip}
}
-\newcommand\shorttitlerunninghead[1]{\rohead{\thechapter\hspace{.5em} #1}}
+\newcommand\shorttitlerunninghead[1]{\rohead{\thechapter\hspace{.5em} #1}}
% old font commands
\renewcommand{\it}{\itshape}
@@ -51,4 +74,7 @@
\renewcommand{\rm}{\upshape}
% vertical space to structure tables
-\newcommand{\tablevspace}{\\[-.5em]} \ No newline at end of file
+\newcommand{\tablevspace}{\\[-.5em]}
+
+\let\oldfootnotemark\footnotemark
+\renewcommand{\footnotemark}{\upshape\oldfootnotemark}
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-bidi.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-bidi.sty
index 51aafa9f0fc..101da148086 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-bidi.sty
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-bidi.sty
@@ -1,10 +1,10 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% File: langsci-bidi.sty
%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2016-01-16 16:47:43 UTC
+%% Date: 2016-01-16 16:47:43 UTC
%% Purpose: This file contains stuff for typesetting bidirectional texts.
%% Language: LaTeX
-%% Licence:
+%% Licence:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% shamelessly borrowed from the bidi package
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-cgloss.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-cgloss.sty
index 60b5c6b8bfe..325ba04506c 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-cgloss.sty
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-cgloss.sty
@@ -1,17 +1,17 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% File: langsci-cgloss.sty
%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2016-01-16 16:47:43 UTC
+%% Date: 2016-01-16 16:47:43 UTC
%% Purpose: This file contains an adpated version of the cgloss
%% package for glossing linguistic examples.
%% Language: LaTeX
-%% Licence:
+%% Licence:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% -*- LaTeX -*-
% Modified version of cgloss4e.sty. Hacked and renamed cgloss.sty
-% by Alexis Dimitriadis (alexis@babel.ling.upenn.edu)
+% by Alexis Dimitriadis (alexis@babel.ling.upenn.edu)
% Following borrows from Covington's style files inspired by Midnight by M.
% de Groot, adapted to be used with gb4e.sty: examples beginning with \ex can
@@ -26,13 +26,13 @@
% \\)---hpk
%
-% Changes by Alexis Dimitriadis
+% Changes by Alexis Dimitriadis
%
% Removed flushleft environment and initial vskip to make macros usable
% on the same line with earlier and/or later text, e.g.,
% \item Q: \gll ... \\
% ... \\ \hfill (Greek)
-% \trans Q: `...'
+% \trans Q: `...'
% Note: Text following the gloss will appear on line one of the example;
% To get a line break, insert one manually with \\ or use \trans or \glt.
% (\gln does not end the line, since it was already the
@@ -41,7 +41,7 @@
% Modified \glt to keep translation on the same page as the text.
% BUGS: does not work very gracefully with double spacing (struts are not
-% automatically inserted after the \vboxes used by the macros).
+% automatically inserted after the \vboxes used by the macros).
% In double space mode without \nosinglegloss, when a translation
% is not given, the next line of text is single-spaced from the glossed text.
% With \nosinglegloss, the translation is set too close to the bottom line.
@@ -225,7 +225,8 @@
}
\gdef\getwords(#1,#2)#3 #4\\% #1=linebox, #2=\each, #3=1st word, #4=remainder
- {\setbox#1=\vbox{\hbox{#2\strut#3 }% adds space
+ {\setbox#1=\vbox{\hbox{#2\strut#3{} }% adds space, the {} is needed for CJK otherwise the space
+ % would be ignored
\unvbox#1%
}%
\def\more{#4}%
@@ -278,7 +279,7 @@
\gl@stop}
-
+
\gdef\foursent#1\\ #2\\ #3\\ #4\\{% #1 = first line, #2 = second line, #3 = third
\getwords(\lineone,\eachwordone)#1 \\%
\getwords(\linetwo,\eachwordtwo)#2 \\%
@@ -306,7 +307,7 @@
\gl@stop}
-
+
\gdef\fivesent#1\\ #2\\ #3\\ #4\\ #5\\{% #1 = first line, #2 = second line, #3 = third
\getwords(\lineone,\eachwordone)#1 \\%
\getwords(\linetwo,\eachwordtwo)#2 \\%
@@ -338,7 +339,7 @@
\gl@stop}
-
+
\gdef\sixsent#1\\ #2\\ #3\\ #4\\ #5\\ #6\\{% #1 = first line, #2 = second line, #3 = third
\getwords(\lineone,\eachwordone)#1 \\%
\getwords(\linetwo,\eachwordtwo)#2 \\%
@@ -374,7 +375,7 @@
\gl@stop}
-
+
\gdef\sevensent#1\\ #2\\ #3\\ #4\\ #5\\ #6\\ #7\\{% #1 = first line, #2 = second line, #3 = third
\getwords(\lineone,\eachwordone)#1 \\%
\getwords(\linetwo,\eachwordtwo)#2 \\%
@@ -414,7 +415,7 @@
\gl@stop}
-
+
\gdef\eightsent#1\\ #2\\ #3\\ #4\\ #5\\ #6\\ #7\\ #8\\{% #1 = first line, #2 = second line, #3 = third
\getwords(\lineone,\eachwordone)#1 \\%
\getwords(\linetwo,\eachwordtwo)#2 \\%
@@ -462,4 +463,4 @@
% \leavevmode puts us back in horizontal mode, so that a \\ will work
\def\gl@stop{{\hskip -\glossglue}\unhbox\gline\leavevmode \egroup}
-\endinput \ No newline at end of file
+\endinput
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-forest-setup.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-forest-setup.sty
index 2d8d0571582..49e0a854caa 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-forest-setup.sty
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-forest-setup.sty
@@ -1,11 +1,11 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 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
+%% 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:
+%% Licence:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -13,10 +13,12 @@
% 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}
+%\def\pdftexversion{140}
%use the old driver for dvipdfm
-\def\pgfsysdriver{pgfsys-dvipdfm.def}
+%\def\pgfsysdriver{pgfsys-dvipdfm.def}
% http://en.wikibooks.org/wiki/LaTeX/Linguistics#Syntactic_trees
\usepackage{tikz-dependency}
@@ -31,31 +33,26 @@
% does not work with forest v1.05 did not check later versions
-\usepackage[external]{forest}
-\tikzset{external/up to date check=simple}
+\usepackage[external,linguistics]{forest}
+\tikzset{external/up to date check=simple}
% for texlive: -shell-escape, for miktex -enable-write18
% All externalized graphics go go the \externaldirectory
%\tikzexternalize[prefix=external-figures/,shell escape=-shell-escape]
\tikzset{external/system call={xelatex \tikzexternalcheckshellescape -halt-on-error -interaction=batchmode -jobname "\image" "\texsource"}}
%\usepackage{morewrites}
-%\usepackage{forest}
-% for forest version2
-\useforestlibrary{linguistics}
-\forestapplylibrarydefaults{linguistics}
-
% 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,base=bottom},
+ for tree={align=center,parent anchor=south, child anchor=north,anchor=north,base=bottom},
before drawing tree={
sort by=y,
for min={tree}{baseline}
}
- }}
+ }}
\forestset{
@@ -81,7 +78,7 @@
% http://www.texample.net/tikz/examples/borrowers-and-lenders/
-\usetikzlibrary{arrows} %,positioning}
+\usetikzlibrary{arrows} %,positioning}
\tikzset{
%Define standard arrow tip
>=stealth'}
@@ -89,7 +86,7 @@
%% \forestset{
-%% sn edges/.style={for tree={parent anchor=south, child anchor=north,align=center,base=bottom,where n children=0{tier=word}{}}},
+%% 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}}}
%% }
@@ -103,14 +100,15 @@
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,
l=\baselineskip + 0.2ex,
]}
}
- }
+ }
}
\def\gettext#1{\gettextA#1;;\endget}
@@ -124,7 +122,9 @@
% 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=bottom},
+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},
@@ -196,7 +196,7 @@ dg junction/.style={no edge, tikz+={\draw (!p.east)--(!.west) (.east)--(!n.west)
%
% TAG
% http://tex.stackexchange.com/questions/207459/getting-old-school-trees-with-forest
-% fit -> fit=band causes all nodes to have nothing below them
+% 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}{},
% the following breaks the alignments in sets
@@ -207,7 +207,7 @@ tag/.style={for tree={parent anchor=south, child anchor=north,align=center,base=
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
+% 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},
%
%
@@ -238,5 +238,3 @@ instance/.style={edge=dotted},
delay={where content={}{shape=coordinate,for siblings={anchor=north}}{}}
}
}
-
-
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-gb4e.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-gb4e.sty
index a0b97ab945d..23d718f9f94 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-gb4e.sty
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-gb4e.sty
@@ -8,7 +8,7 @@
%% Licence:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{langsci/styles/langsci-gb4e}[2000/09/05]
+\ProvidesPackage{langsci-gb4e}[2000/09/05]
\def\gbVersion{4e}
%%%%%%%%%%%%%%%%%%%%%%%%
@@ -65,8 +65,8 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\input{\stylepath langsci-cgloss.sty}
-\input{\stylepath jambox.sty}
+\usepackage{langsci-cgloss}
+% \input{jambox.sty}
\@ifundefined{new@fontshape}{\def\reset@font{}\let\mathrm\rm\let\mathit\mit}{}
@@ -103,16 +103,6 @@
% new user command for specifying translations:
%\newcommand{\mytrans}[1]{{\trans`#1'}\vskip.6\baselineskip}
-% make examples in footnotes smaller:
-\let\beforeExFootnote\footnote
-\renewcommand{\footnote}[1]{\begingroup%
-\let\exfont\fnexfont%
-\let\glossfont\fnglossfont%
-\let\transfont\fntransfont%
-\let\exnrfont\fnexnrfont%
-%\renewcommand{\@@xsi}{\let\@xsi\roman}% set example numbering to roman
-\beforeExFootnote{#1}%
-\endgroup}
\renewcommand{\eachwordone}{\exfont}
@@ -137,25 +127,21 @@
\newif\if@xrec\@xrecfalse
\@definecounter{fnx}
-%%%% adapted from latex.tex to get examples in footnotes right
-%% \long\def\@footnotetext#1{%
-%% \@noftnotefalse\setcounter{fnx}{0}%
-%% \insert\footins{\reset@font\footnotesize
-%% \interlinepenalty\interfootnotelinepenalty
-%% \splittopskip\footnotesep
-%% \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
-%% \hsize\columnwidth \@parboxrestore
-%% \edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
-%% {\rule{\z@}{\footnotesep}\ignorespaces
-%% #1\strut}}\@noftnotetrue}
-% same effect but more compact
+% set a flag that we are in footnotes now and change the size of example fonts
\let\oldFootnotetext\@footnotetext
\renewcommand\@footnotetext[1]{%
\@noftnotefalse\setcounter{fnx}{0}%
- \oldFootnotetext{#1}\@noftnotetrue}
+\begingroup%
+\let\exfont\fnexfont%
+\let\glossfont\fnglossfont%
+\let\transfont\fntransfont%
+\let\exnrfont\fnexnrfont%
+ \oldFootnotetext{#1}%
+\endgroup%
+\@noftnotetrue}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -251,7 +237,7 @@
\def\exe{%
%\ifnum\value{equation}>9 \exewidth{(23)}\else\fi% inserted by LSP, for large example numbers
- \ifnum\value{equation}>99 \exewidth{(235)}\else\fi% inserted by LSP, for large example numbers
+ \ifnum\value{equation}>98 \exewidth{(235)}\else\fi% inserted by LSP, for large example numbers
\@ifnextchar [{\@exe}{\@exe[\@exwidth]}}
\def\@exe[#1]{\ifnum \@xnumdepth >0%
\if@xrec\@exrecwarn\fi%
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-glyphs.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-glyphs.sty
index 171e5ad99b3..2569c214f91 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-glyphs.sty
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-glyphs.sty
@@ -1,10 +1,10 @@
-\newcommand{\downstep}{\textsf{↓}}
-\newcommand{\↓}{\textsf{↓}}
+\newcommand{\downstep}{\textsf{ꜜ}}
+\newcommand{\↓}{\textsf{ꜜ}}
\newcommand{\saltillo}{\textsf{ꞌ}}
\newcommand{\Saltillo}{\textsf{Ꞌ}}
\newcommand{\ꞌ}{\textsf{ꞌ}}
\newcommand{\Ꞌ}{\textsf{Ꞌ}}
-
+
\newcommand{\higha}{{$^{\text{a}}$}}
\newcommand{\highe}{{$^{\text{e}}$}}
@@ -15,15 +15,14 @@
\newcommand{\highu}{{$^{\text{u}}$}}
\newcommand{\highU}{{$^{\text{ʊ}}$}}
-
+
\newcommand{\ᵃ}{\textsf{{\hspace{.5pt}ᵃ}}}
- \newcommand{\ᵋ}{\textsf{{\hspace{.5pt}ᵋ}}}
- \newcommand{\ᵉ}{\textsf{{\hspace{.1pt}ᵉ}}}
+ \newcommand{\ᵋ}{\textsf{{\hspace{.5pt}ᵋ}}}
+ \newcommand{\ᵉ}{\textsf{{\hspace{.1pt}ᵉ}}}
\newcommand{\ᴵ}{\textsf{{\hspace{.5pt}ᴵ}}}
- \newcommand{\ᶤ}{\textsf{{\hspace{.5pt}ᶤ}}}
+ \newcommand{\ᶤ}{\textsf{{\hspace{.5pt}ᶤ}}}
\newcommand{\ᵒ}{\textsf{{\hspace{.5pt}ᵒ}}}
\newcommand{\ᵓ}{\textsf{{\hspace{.5pt}ᵓ}}}
\newcommand{\ᵘ}{\textsf{{\hspace{.5pt}ᵘ}}}
\newcommand{\ᶶ}{\textsf{{\hspace{.5pt}ᶶ}}}
\newcommand{\ꜜ}{\textsf{ꜜ\hspace*{-2pt}}}
- \ No newline at end of file
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-de.tex b/Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-de.tex
new file mode 100644
index 00000000000..141c69c481c
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-de.tex
@@ -0,0 +1,637 @@
+\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
new file mode 100644
index 00000000000..357584f5000
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-fr.tex
@@ -0,0 +1,51 @@
+\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
new file mode 100644
index 00000000000..93e96e0ab8c
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-pt.tex
@@ -0,0 +1,2 @@
+\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
new file mode 100644
index 00000000000..0dd4e3d7056
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-hyphenation-universal.tex
@@ -0,0 +1,3 @@
+\hyphenation{%
+Choms-ky
+} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-jambox.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-jambox.sty
new file mode 100644
index 00000000000..ccf65af5762
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-jambox.sty
@@ -0,0 +1,93 @@
+%%%%%%%%%%%%%%%%%% JAMBOX: RIGHT-COLUMN ANNOTATIONS %%%%%%%%%%%%%%%%
+%
+% Alexis Dimitriadis
+%
+% This is version 0.3 (informal release, Nov. 2003).
+%
+% Line up material a fixed distance from the right margin. For annotating
+% example sentences, usually with a short note in parentheses.
+% May overflow to the left or right, or line up on the next line as necessary.
+%
+% \jambox[width]{text} Align 'text' starting 'width' distance from the
+% right margin (default \the\jamwidth).
+% \jam(something) Align a note delimited by parentheses (which are
+% retained). No optional argument.
+% \jambox*{text} Set \jamwidth to the width of 'text', then align it.
+% (\jamwidth stays set for the rest of the environment).
+%
+% Notes:
+%
+% Distance from the right margin can be set to an explicit amount, or to the
+% width of some piece of text, as follows:
+%
+% \jamwidth=2in\relax Or
+% \settowidth\jamwidth {(``annotation'')}
+%
+% \jamwidth is locally scoped, so it can be set globally or inside an example
+% environment.
+%
+% BUG: Not compatible with ragged-right mode.
+%
+% Incompatibilities: Not useful with the vanilla cgloss4e.sty, which ends
+% glossed lines prematurely.
+% I do have a suitably modified file, cgloss.sty. With it you can do the
+% following:
+% \gll To kimeno. \\
+% the text \\ \jambox{(Greek)}
+% \trans `The text.'
+
+
+\newdimen\jamwidth \jamwidth=2in
+\def\jambox{\@ifnextchar[{\@jambox}
+ {\@ifnextchar*{\@jamsetbox}{\@jambox[\the\jamwidth]}}}
+
+% Quickie invocation: The argument is delimited by the parentheses (no width
+% argument allowed). I redefine it in my documents to add formatting.
+% Syntax: \jam(Some note)
+%
+\def\jam(#1){\jambox{(#1)}}
+
+% Set width AND display the argument.
+% The star is read and ignored; the argument #1 is boxed, used to set
+% \jamwidth, then passed to \@jambox (which also puts it in \@tempboxa!)
+%
+\def\@jamsetbox*#1{\setbox\@tempboxa\hbox{#1}\jamwidth=\wd\@tempboxa
+ \@jambox[\the\jamwidth]{\box\@tempboxa}}
+
+%% Version 1: old & stupid
+%% \def\@jambox[#1]#2{\hfill\hbox to #1 {#2\hfil}}
+
+% Version 2:
+% Always takes up \jamwidth space, even if it means breaking the line. But it
+% works on ragged-right mode, too.
+% \def\@jambox[#1]#2{\setbox\@tempboxa\hbox {#2\hfil}%
+% \ifdim \wd\@tempboxa<#1\relax \wd\@tempboxa=#1\relax\fi
+% \hskip 0.5em plus 1fill
+% \penalty 100\vadjust{}\nobreak\hfill\box\@tempboxa\par}
+% The penalty enables a break. \vadjust inserts an empty element
+% at the beginning of the next line, protecting \hfill from being discarded.
+
+% Version 3:
+% This seems to cover everything! But unfortunately, it won't work in
+% ragged-right mode-- the line is broken BEFORE the last word, to make enough
+% space...
+\def\@jambox[#1]#2{{\setbox\@tempboxa\hbox {#2}%
+ \ifdim \wd\@tempboxa<#1\relax % if label fits in the alloted space:
+ \@tempdima=#1\relax \advance\@tempdima by-\wd\@tempboxa % remaining \hspace
+ \unskip\nobreak\hfill\penalty250 % break line here if necessary
+ \hskip 1.2em minus 1.2em % used when the line extends past the margin
+ \hbox{}\nobreak\hfill\box\@tempboxa\nobreak
+ \hskip\@tempdima minus \@tempdima\hbox{}%
+ \else % the label is too wide: just right-align it
+ \hfill\penalty50\hbox{}\nobreak\hfill\box\@tempboxa
+ \fi
+ % suppress closing glue:
+ \parfillskip=0pt \finalhyphendemerits=0 \par}}
+% The penalty enables a break, taken only if the line cannot fit.
+% The \hbox{} ensures the next line does not begin with \hfill, which would
+% be discarded if initial.
+% (\vadjust inserts an empty element at the beginning of the next line, so
+% that COULD be used instead of \hbox{}).
+% Algorithm adapted from The TeXBook.
+%
+% The closing \par could be a problem if there is a \parskip...
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-lgr.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-lgr.sty
new file mode 100644
index 00000000000..4827d8c4b0c
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-lgr.sty
@@ -0,0 +1,88 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% File: langsci-lgr.sty
+%% Author: Language Science Press (http://langsci-press.org)
+%% Date: 2016-01-16 16:47:43 UTC
+%% Purpose: This file contains shortcuts for the Leipzig Glossing
+%% Rules.
+%% Language: LaTeX
+%% Licence:
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\newcommand{\ABL}{\textsc{abl}{}\xspace} %ablative
+\newcommand{\ABS}{\textsc{abs}{}\xspace} %absolutive
+\newcommand{\ACC}{\textsc{acc}{}\xspace} %accusative
+\newcommand{\ADJ}{\textsc{adj}{}\xspace} %adjective
+\newcommand{\ADV}{\textsc{adv}{}\xspace} %adverb(ial)
+\newcommand{\AGR}{\textsc{agr}{}\xspace} %agreement
+\newcommand{\ALL}{\textsc{all}{}\xspace} %allative
+\newcommand{\ANTIP}{\textsc{antip}{}\xspace} %antipassive
+\newcommand{\APPL}{\textsc{appl}{}\xspace} %applicative
+\newcommand{\ART}{\textsc{art}{}\xspace} %article
+\newcommand{\AUX}{\textsc{aux}{}\xspace} %auxiliary
+\newcommand{\BEN}{\textsc{ben}{}\xspace} %benefactive
+\newcommand{\CAUS}{\textsc{caus}{}\xspace} %causative
+\newcommand{\CLF}{\textsc{clf}{}\xspace} %classifier
+\newcommand{\COM}{\textsc{com}{}\xspace} %comitative
+\newcommand{\COMP}{\textsc{comp}{}\xspace} %complementizer
+\newcommand{\COMPL}{\textsc{compl}{}\xspace} %completive
+\newcommand{\COND}{\textsc{cond}{}\xspace} %conditional
+\newcommand{\COP}{\textsc{cop}{}\xspace} %copula
+\newcommand{\CVB}{\textsc{cvb}{}\xspace} %converb
+\newcommand{\DAT}{\textsc{dat}{}\xspace} %dative
+\newcommand{\DECL}{\textsc{decl}{}\xspace} %declarative
+\newcommand{\DEM}{\textsc{dem}{}\xspace} %demonstrative
+\newcommand{\DEF}{\textsc{det}{}\xspace}
+\newcommand{\DET}{\textsc{def}{}\xspace}
+\newcommand{\DIST}{\textsc{dist}{}\xspace} %distal
+\newcommand{\DISTR}{\textsc{distr}{}\xspace} %distributive
+\newcommand{\DU}{\textsc{du}{}\xspace} %dual
+\newcommand{\DUR}{\textsc{dur}{}\xspace} %durative
+\newcommand{\ERG}{\textsc{erg}{}\xspace} %ergative
+\newcommand{\EXCL}{\textsc{excl}{}\xspace} %exclusive
+\newcommand{\F}{\textsc{f}{}\xspace}
+\newcommand{\FOC}{\textsc{foc}{}\xspace} %focus
+\newcommand{\FUT}{\textsc{fut}{}\xspace} %future
+\newcommand{\GEN}{\textsc{gen}{}\xspace} %genitive
+\newcommand{\IMP}{\textsc{imp}{}\xspace} %imperative
+\newcommand{\INCL}{\textsc{incl}{}\xspace} %inclusive
+\newcommand{\IND}{\textsc{ind}{}\xspace} %indicative
+\newcommand{\INDF}{\textsc{indf}{}\xspace} %indefinite
+\newcommand{\INS}{\textsc{ins}{}\xspace} %instrumental
+\newcommand{\INTR}{\textsc{intr}{}\xspace} %intransitive
+\newcommand{\IPFV}{\textsc{ipfv}{}\xspace} %imperfective
+\newcommand{\IRR}{\textsc{irr}{}\xspace} %irrealis
+\newcommand{\LOC}{\textsc{loc}{}\xspace} %locative
+% \renewcommand{\M}{\textsc{m}{}\xspace} % use at own risk
+\newcommand{\N}{\textsc{n}{}\xspace}
+\newcommand{\NEG}{\textsc{neg}{}\xspace}
+\newcommand{\NMLZ}{\textsc{nmlz}{}\xspace} %nominalizer/nominalization
+\newcommand{\NOM}{\textsc{nom}{}\xspace} %nominative
+\newcommand{\OBJ}{\textsc{obj}{}\xspace} %object
+\newcommand{\OBL}{\textsc{obl}{}\xspace} %oblique
+% \renewcommand{\P}{\textsc{p}{}\xspace} %%originally pilcrow, use at own risk
+\newcommand{\PASS}{\textsc{pass}{}\xspace} %passive
+\newcommand{\PFV}{\textsc{pfv}{}\xspace} %perfective
+\newcommand{\PL}{\textsc{pl}{}\xspace} %plural
+\newcommand{\POSS}{\textsc{poss}{}\xspace} %possessive
+\newcommand{\PRED}{\textsc{pred}{}\xspace} %predicative
+\newcommand{\PRF}{\textsc{prf}{}\xspace} %perfect
+\newcommand{\PRS}{\textsc{prs}{}\xspace} %present
+\newcommand{\PROG}{\textsc{prog}{}\xspace} %progressive
+\newcommand{\PROH}{\textsc{proh}{}\xspace} %prohibitive
+\newcommand{\PROX}{\textsc{prox}{}\xspace} %proximal/proximate
+\newcommand{\PST}{\textsc{pst}{}\xspace} %past
+\newcommand{\PTCP}{\textsc{ptcp}{}\xspace} %participle
+\newcommand{\PURP}{\textsc{purp}{}\xspace} %purposive
+\newcommand{\Q}{\textsc{q}{}\xspace}
+\newcommand{\QUOT}{\textsc{quot}{}\xspace} %quotative
+\newcommand{\RECP}{\textsc{recp}{}\xspace} %reciprocal
+\newcommand{\REFL}{\textsc{refl}{}\xspace} %reflexive
+\newcommand{\REL}{\textsc{rel}{}\xspace} %relative
+\newcommand{\RES}{\textsc{res}{}\xspace} %resultative
+% \renewcommand{\S}{\textsc{s}{}\xspace} %originally § , use at own risk
+\newcommand{\SBJ}{\textsc{sbj}{}\xspace} %subject
+\newcommand{\SBJV}{\textsc{sbjv}{}\xspace} %subjunctive
+\newcommand{\SG}{\textsc{sg}{}\xspace} %singular
+\newcommand{\TOP}{\textsc{top}{}\xspace}
+\newcommand{\TR}{\textsc{tr}{}\xspace} %transitive
+\newcommand{\VOC}{\textsc{voc}{}\xspace} %vocative
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-linguex.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-linguex.sty
index 8af16219793..1cb2509f91f 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-linguex.sty
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-linguex.sty
@@ -3,26 +3,26 @@
%% 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
+%% 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
+%% 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
+%% 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
+%% 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
+%% linguex.sty version 4.0 replaces hard-coded brackets with
%% predefined commands
-%% linguex.sty version 4.1 replaces \refstepcounter by \stepcounter
+%% 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
+%% 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
@@ -38,7 +38,7 @@
\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
+% 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}%
@@ -69,7 +69,7 @@
\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
+% 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
@@ -114,7 +114,7 @@
\newcommand{\minimalwidth}[1]{\settowidth{\digitwidth}{#1}%added-3.7
\ifdim\digitwidth<\mindigitwidth\mindigitwidth\digitwidth\fi}%added-3.7
%
-%%%%%%%%%%%%%%%%%%% DEFINITION OF \Lsciex. %%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%% DEFINITION OF \Lsciex. %%%%%%%%%%%%%%%%%%%%%%%%%%
\newif\ifembedded
\newif\ifExWarning
\newcounter{ExDepth}
@@ -123,7 +123,7 @@
\begin{list}{}{\leftmargin\z@%
\labelwidth\z@\labelsep\z@\partopsep\z@\topsep\Extopsep}%
\item{}#1%
- \stepcounter{ExDepth}\ExEnd}%refstepcounter replaced
+ \stepcounter{ExDepth}\ExEnd}%refstepcounter replaced
\def\Lsciex.#1\par{%
\ifnum\theExDepth>0 \setcounter{TempExDepth}{\theExDepth}%
\setcounter{ExDepth}{0}
@@ -131,15 +131,15 @@
\ifembedded\else
\ifdim\lastskip=.66\baselineskip\vspace{\Exredux}\fi
\fi
- \stepcounter{ExDepth}%%refstepcounter replaced
+ \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.
+\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]%
@@ -177,21 +177,21 @@
\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
+ \ifdim\lessthanthousand<\Exlabelwidth\Exlabelwidth\Exlabelsep%
+ \settowidth{\lessthanten}{\ExLBr\hbox
to \philsmall{}\ExRBr}%modified-3.7
- \settowidth{\lessthanhundred}{\ExLBr\hbox to
+ \settowidth{\lessthanhundred}{\ExLBr\hbox to
\philmiddle{}\ExRBr}%modified-3.7
\ifdim\currentlabel<\lessthanten\leftmargin\lessthanten%
\else
\ifdim\currentlabel<\lessthanhundred\leftmargin\lessthanhundred%
- \else
+ \else
\ifdim\currentlabel<\lessthanthousand\leftmargin\lessthanthousand%
\fi\fi\fi\fi
\else
\Exlabelwidth\z@
\fi%
- \@Exleftmargin\Exlabelwidth
+ \@Exleftmargin\Exlabelwidth
\labelwidth\leftmargin
\ifembedded\relax\else
\addtolength{\Exlabelwidth}{\Exindent}
@@ -209,7 +209,7 @@
}%
\ifindex\firstwordtrue\fi\item{}}
%
-%%%%%%%% the `[' of OPTIONAL ARGUMENTS must immediately follow \Lsciex. %%%%%%
+%%%%%%%% 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}%
@@ -253,13 +253,13 @@
\def\a.{\ifindex\firstwordtrue\fi
\ifnum\theExDepth=0 \unembeddedtrue
\trivex.\fi
- \stepcounter{ExDepth}%refstepcounter replaced
- \begin{list}{\makebox[\labelwidth][l]{%
+ \stepcounter{ExDepth}%refstepcounter replaced
+ \begin{list}{\makebox[\labelwidth][l]{%
\ifnum\theExDepth=1 \SubExLBr\Exalph{ABC}\SubExRBr%
\else
\ifnum\theExDepth=2 %
\ifdim\currentlabel<\lessthanthousand%
- \ifalignSubEx
+ \ifalignSubEx
\llap{\hbox to \alignSubExnegindent{\ifunembedded%
\SubExLBr\Exalph{SubExNo}\SubExRBr
\else\SubExlabel\fi\hss}}%
@@ -269,18 +269,18 @@
\else\SubExlabel\fi\fi
\else
\ifnum\theExDepth=3 %
- \if@noftnote%\ifunembedded\mbox{$\bullet$!}\else
+ \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
+ {\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%
+ \listdecl%
\else
\ifnum\theExDepth=2 %
\usecounter{SubExNo}%
@@ -300,12 +300,12 @@
%%%%%%%%%%%%%%%%% ITEMS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\newExitem[#1]{\ifnum\theExDepth=2 %
\ifdim\currentlabel<\lessthanthousand%
- \ifalignSubEx
+ \ifalignSubEx
\item[\llap{\hbox to \alignSubExnegindent{#1\hfill}}]%
\else
- \item[#1\hfill]\fi
+ \item[#1\hfill]\fi
\else\item[#1\hfill]%
- \fi
+ \fi
\else\item[#1\hfill]%
\fi\testforgramm}
\let\oldb=\b
@@ -327,11 +327,11 @@
\def\Lsciexi.#1\par{\indextrue\Lsciex.#1 | blabla | \indexfalse\par}
\def\ai.#1 \par{\indextrue
\a.#1 | blabla |
- \par
+ \par
\indexfalse}
\def\finish|#1|{\ExEnd}
\newcommand{\testGrAndBr}{\GTest{}{\printGramm\checkforbr}}
-\def\doaword#1 {%
+\def\doaword#1 {%
\iffirstword\firstwordfalse\expandafter\testGrAndBr\fi%
#1
\ifgloss\expandafter\checkforbrorstar\else
@@ -359,7 +359,7 @@
\unvbox#1}%
\def\more{#4}%
\ifx\more\empty\let\more=\donewords
- \else\let\more=\getwords
+ \else\let\more=\getwords
\fi
\more(#1,#2)#4\\%
}
@@ -367,7 +367,7 @@
\global\glossfalse%
\ifindex\expandafter\lookforwords\fi {} }
%%%
-\newcommand{\newgll}{\glosstrue\GTest{\gll}{\gll\printGramm}}
+\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}}
@@ -395,10 +395,10 @@
\newcounter{tmpaEx}
\newif\ifNoFnRef
\newcommand{\Next}{\if@noftnote\NoFnReftrue\else\NoFnReffalse\fi
- \copyExNo\stepcounter{tmpaEx}\printExNo}%refstepcounter replaced
+ \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{\TextNext}{\NoFnReftrue\copyExNo\stepcounter{tmpaEx}\printExNo}%refstepcounter replaced
\newcommand{\Last}{\if@noftnote\NoFnReftrue\else
\ifnum\Exarabic{FnExNo}=0 \NoFnReftrue\else\NoFnReffalse\fi
\fi
@@ -424,18 +424,18 @@
\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
+ \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
+%
+%\@ifundefined{usetheme}{}{\AtBeginDocument{\def\label#1{\strut%strut added to definition
%\@bsphack
% \protected@write\@auxout{}%
% {\string\newlabel{#1}{{\@currentlabel}{\thepage}}}%
%\@esphack}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%% END %%%%%%%%%%%%%%%%%%%%%%%%%%
-\endinput \ No newline at end of file
+\endinput
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-optional.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-optional.sty
index 6f634b03e5c..369b9f5292a 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-optional.sty
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-optional.sty
@@ -214,33 +214,26 @@
% Note: The 2nd Argument of the \ulp command is filled in by experience - if you are not familiar with the command, you should experiment a bit. Usually, five tildes are enough, but be sure to check the outcome.
% \ule is meant to be the last word in a phrase that is underlined. Therefore, \ule does not have an extra length.
\usepackage[normalem]{ulem}
+\usepackage{calc}
+\newlength{\fulllength}
\newcommand{\ulp}[2]{%#1: stuff to underline, #2: extra length to skip the whitespace between to components
\settowidth{\LSPTmp}{#1}%
% several boxes are need to assure that words with ascending and descending letters are underlined at the same
% level, leading to the impression of a continuous stroke
\parbox[t]{\LSPTmp}{ %restrict first box to the length of first argument
- \settowidth{\LSPTmp}{#1#2} %inner box is larger than outerbox, so underlining will extend beyond length of outer box
+ \settowidth{\fulllength}{\parbox{\LSPTmp}{~}\parbox{#2mm}{~}} %inner box is larger than outerbox, so underlining will extend beyond length of outer box
% align parbox to bottom
% | mbox to prevent hyphenation
- \uline{\parbox[b]{\LSPTmp}{\mbox{#1#2}}}
+ \uline{\parbox[b]{\fulllength}{\mbox{#1}}}
}
}
\newcommand{\ule}[1]{%#1: stuff to underline, no extra length
- \ulp{#1}{}
+ \ulp{#1}{0}
}
-\usepackage{newfile}
-\newoutputstream{colorfigures}
-\openoutputfile{\jobname.clr}{colorfigures}
-\addtostream{colorfigures}{Note the offset incurred by the frontmatter!}
-\newenvironment{colorfigure}{\begin{figure}\addtostream{colorfigures}{\thepage}}{\end{figure}}
-
-\AtEndDocument{
- \closeoutputstream{colorfigures}
-}
\newcommand{\longrule}{\rule{1em}{.3pt}}
\usepackage{colortbl}
@@ -275,6 +268,47 @@
\newcommand{\noabstract}{\vspace*{-2\baselineskip}} %for chapters without abstract
+\newcommand{\rephrase}[2]{{\color{yellow!30!black}#2}\todo{replaced `#1'}}
+
+\newcommand{\missref}[2][]{\todo[#1]{missing reference #2}}
+
+\newenvironment{indentquote}[1]%
+ {\list{}{\leftmargin=#1\rightmargin=0pt}\item[]}%
+ {\endlist}
+
+
+\newcommand{\phonrule}[3]{#1 $\to$ #2 / #3}
+\newcommand{\featurebox}[1]{$\left[\begin{tabular}{>{\scshape}c}#1\end{tabular}\right]$}
+
+
+\definecolor{RED}{cmyk}{0.05,1,0.8,0}
+
+%connect two elements with lines
+\newcommand{\connect}[2]{%
+ \tikz[overlay,remember picture]{%
+ \draw[-,thick] (#1) -- (#2) node {}; %
+ }
+}
+
+\newcommand{\examplesroman}{
+ \let\eachwordone=\upshape
+ \exfont{\upshape}
+}
+\newcommand{\examplesitalics}{
+ \let\eachwordone=\itshape
+ \exfont{\itshape}
+}
+
+\newenvironment{modquote}[1][6mm]% slightly less indented quote for hyphenation issues
+ {\list{}{\leftmargin=#1\rightmargin=0mm}\item[]}%
+ {\endlist}
+
+%%%%%%%%%%%%%%%%%%%%
+%%%% %%%%%
+%%%% PLOTS %%%%%
+%%%% %%%%%
+%%%%%%%%%%%%%%%%%%%%
+
\newcommand{\barplot}[4]{%
\begin{tikzpicture}
\begin{axis}[
@@ -295,7 +329,23 @@
\end{axis}
\end{tikzpicture}
}
-
-\newcommand{\rephrase}[2]{{\color{yellow!30!black}#2}\todo{replaced `#1'}}
-
-\newcommand{\missref}[2][]{\todo[#1]{missing reference #2}} \ No newline at end of file
+\usepackage{pgfmath,pgfplotstable}
+\newcommand{\langsciplot}[2]{%% experimental
+ \pgfplotstablegetcolsof{#1.csv}
+ \pgfmathsetmacro{\langscicsvlength}{\pgfplotsretval-1}
+ \begin{tikzpicture}[trim axis right,trim axis left]
+ \begin{axis}[
+ #2,
+ xtick=data,
+ axis lines*=left,
+ nodes near coords,
+ ymin=0,
+ width=\textwidth]
+ \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}
+} \ No newline at end of file
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-subparts.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-subparts.sty
index d428530fed5..6951a0d1dc1 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-subparts.sty
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-subparts.sty
@@ -1,6 +1,6 @@
% add an additional section level between part and chapter.
\usepackage[newparttoc]{titlesec}
-\usepackage{titletoc}
+\usepackage{titletoc}
% \titleformat{\part}[display]{\normalfont\Huge\bfseries}%
% {\partname~\thepart}{1pc}{\Huge\bfseries}
@@ -19,4 +19,3 @@
\titlecontents{subpart}[0pt]{\addvspace{1pc}\normalfont\bfseries}%
{\thecontentslabel\enspace ---\enspace}%
{\normalfont\bfseries}{\hspace{2em plus 1fill}\contentspage}
- \ No newline at end of file
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-tbls.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-tbls.sty
index 2cd63401d56..3a902ff0bcb 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langsci-tbls.sty
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-tbls.sty
@@ -10,31 +10,38 @@
\newcommand{\tblslinecolour}{lsYellow}
\mdfdefinestyle{yellowexercise}{%
- linewidth=1.5pt, linecolor=\tblslinecolour,
- innerleftmargin=5mm, innerrightmargin=5mm, innerbottommargin=5mm,
- frametitleaboveskip=15mm, frametitlebelowskip=10mm,frametitlerule=false, innertopmargin=0, repeatframetitle=false,
- firstextra={\useasboundingbox (P) rectangle (P);\node[xshift=5mm,right,draw=\tblslinecolour, line width=1.5pt,rectangle, minimum size=10mm, fill=white] at (P-|O) {\color{\tblslinecolour}\includegraphics[width=10mm]{langsci/graphics/tbls-\langscisymbol.pdf}};}, % if environment is on multiple pages, print this on the first page.
- singleextra={\useasboundingbox (P) rectangle (P);\node[xshift=5mm,right,draw=\tblslinecolour, line width=1.5pt,rectangle, minimum size=10mm, fill=white] at (P-|O) {\color{\tblslinecolour}\includegraphics[width=10mm]{langsci/graphics/tbls-\langscisymbol.pdf}};} % if env. does not span multiple pages, print the same.
+ everyline=true,
+ ignorelastdescenders=true,
+ middlelinewidth=1.5pt,linecolor=\tblslinecolour,outerlinewidth=5mm,
+ innerleftmargin=5mm, innerrightmargin=5mm, innerbottommargin=5mm, innertopmargin=0,
+ frametitleaboveskip=15mm, frametitlebelowskip=10mm,frametitlerule=false, repeatframetitle=false,
+ firstextra={\node[xshift=5mm,right,draw=\tblslinecolour, line width=1.5pt,rectangle, minimum size=10mm, fill=white] at (P-|O) {\color{\tblslinecolour}\includegraphics[width=10mm]{tbls-\langscisymbol.pdf}};}, % if environment is on multiple pages, print this on the first page.
+ singleextra={\node[xshift=5mm,right,draw=\tblslinecolour, line width=1.5pt,rectangle, minimum size=10mm, fill=white] at (P-|O) {\color{\tblslinecolour}\includegraphics[width=10mm]{tbls-\langscisymbol.pdf}};} % if env. does not span multiple pages, print the same.
}
-
+
\mdfdefinestyle{greyexercise}{%
- everyline=true,ignorelastdescenders=true,
- linewidth=0pt,backgroundcolor=\tblsboxcolor,
- innerleftmargin=5mm, innerrightmargin=5mm, innerbottommargin=5mm, innertopmargin=5mm,
- frametitleaboveskip=15mm, frametitlebelowskip=5mm,frametitlerule=false, repeatframetitle=false,
- firstextra={\useasboundingbox (P) rectangle (P);\node[xshift=5mm,right,draw=\tblsboxcolor, line width=1.5pt,rectangle, minimum size=10mm, fill=white] at (P-|O) {\color{\tblsboxcolor}\includegraphics[width=10mm]{langsci/graphics/tbls-\langscisymbol.pdf}};}, % if environment is on multiple pages, print this on the first page.
- singleextra={\useasboundingbox (P) rectangle (P);\node[xshift=5mm,right,draw=\tblsboxcolor, line width=1.5pt,rectangle, minimum size=10mm, fill=white] at (P-|O) {\color{\tblsboxcolor}\includegraphics[width=10mm]{langsci/graphics/tbls-\langscisymbol.pdf}};} % if env. does not span multiple pages, print the same.
+ everyline=true,
+ ignorelastdescenders=true,
+ middlelinewidth=0pt,linecolor=white,outerlinewidth=5mm,
+ leftline=false,rightline=false,bottomline=false,
+ backgroundcolor=\tblsboxcolor,
+ innerleftmargin=5mm, innerrightmargin=5mm, innerbottommargin=5mm, innertopmargin=5mm,
+ frametitleaboveskip=15mm, frametitlebelowskip=5mm,frametitlerule=false, repeatframetitle=false,
+ firstextra={\node[xshift=5mm,right,draw=\tblsboxcolor, line width=1.5pt,rectangle, minimum size=10mm, fill=white] at (P-|O) {\color{\tblsboxcolor}\includegraphics[width=10mm]{tbls-\langscisymbol.pdf}
+ };},
+ singleextra={\node[xshift=5mm,right,draw=\tblsboxcolor, line width=1.5pt,rectangle, minimum size=10mm, fill=white] at (P-|O) {\color{\tblsboxcolor}\includegraphics[width=10mm]{tbls-\langscisymbol.pdf}
+};}
}
-
+
\mdfdefinestyle{tblsbox}{%
- leftline=false, rightline=false, frametitleaboveskip=10mm, frametitlebelowskip=5mm,frametitlerule=false, repeatframetitle=false, linewidth=\trennlinie, linecolor=\tblslinecolour, innerbottommargin=5mm, innertopmargin=5mm,innerleftmargin=0mm,innerrightmargin=0
+ leftline=false, rightline=false, frametitleaboveskip=10mm, frametitlebelowskip=5mm,frametitlerule=false, repeatframetitle=false, linewidth=\trennlinie, linecolor=\tblslinecolour, innerbottommargin=5mm, innertopmargin=5mm,innerleftmargin=0mm,innerrightmargin=0
}
-
+
\mdfdefinestyle{tblsframedbox}{%
- frametitleaboveskip=5mm, frametitlebelowskip=0mm,frametitlerule=false, repeatframetitle=false, linewidth=\trennlinie, linecolor=\tblslinecolour, innerbottommargin=5mm, innertopmargin=5mm
-}
-
+ frametitleaboveskip=5mm, frametitlebelowskip=0mm,frametitlerule=false, repeatframetitle=false, linewidth=\trennlinie, linecolor=\tblslinecolour, innerbottommargin=5mm, innertopmargin=5mm
+}
+
\newcommand{\tblsfillcolour}{black!12}
\mdfdefinestyle{tblsfilledbox}{%
hidealllines=true, backgroundcolor=\tblsfillcolour, frametitleaboveskip=5mm, frametitlebelowskip=0mm,frametitlerule=false, repeatframetitle=false, innerleftmargin=5mm, innerrightmargin=5mm, innerbottommargin=5mm, innertopmargin=5mm
@@ -86,22 +93,22 @@
}
%%% MDFRAMED END %%%
-
+
\newcommand{\tblsbwbox}[4][]{%
\\
- \noindent
+ \noindent
\colorbox{#2}{
\parbox{.97\textwidth}{
\centering
\parbox{.9\textwidth}{
- %add logo if requested
+ %add logo if requested
\ifthenelse{\equal{#1}{}}{\bigskip}{
\begin{flushleft}
- \hspace*{3.5mm} \raisebox{0mm}[0mm][0mm]{\color{white}\includegraphics[width=10mm]{langsci/graphics/#1.eps}}
- \end{flushleft}}
- %add header
+ \hspace*{3.5mm} \raisebox{0mm}[0mm][0mm]{\color{white}\includegraphics[width=10mm]{#1.eps}}
+ \end{flushleft}}
+ %add header
\boxheader{#3}
\begin{multicols*}{2}
#4
@@ -113,7 +120,7 @@
\\[1em]
}
-
+
\newcommand{\tblsbwboxdark}[3][]{%
\noindent
@@ -145,10 +152,10 @@
\noindent
#1
\\[2em]
-\boxheader{#2}
+\boxheader{#2}
\\[1em]
\noindent%
-#3
+#3
\smallskip
\noindent
#1
@@ -171,15 +178,15 @@
\tblssandwich{\tblsthinline}{#1}{#2}
}
-\newcommand{\tblscolframebox}[3][]{
+\newcommand{\tblscolframebox}[3][]{
\fboxrule.8mm
\noindent
\begin{figure}
\begin{flushleft}
- \hspace*{3.5mm}
- \raisebox{-10mm}[0mm][0mm]{\ifthenelse{\equal{#1}{}}{}{\includegraphics[width=10mm]{langsci/graphics/#1.eps}}} \\
+ \hspace*{3.5mm}
+ \raisebox{-10mm}[0mm][0mm]{\ifthenelse{\equal{#1}{}}{}{\includegraphics[width=10mm]{#1.eps}}} \\
\end{flushleft}
- \color{lsYellow}\framebox[\textwidth]{%
+ \color{lsYellow}\framebox[\textwidth]{%
\color{black}
\parbox{.92\textwidth}{%
\vspace*{.5cm}
@@ -187,10 +194,9 @@
\begin{multicols*}{2}
#3
\end{multicols*}
- }
+ }
}
\end{figure}
}
-
-\newcommand{\boxheader}[1]{\medskip{\Large\bfseries\sffamily #1}} \ No newline at end of file
+\newcommand{\boxheader}[1]{\medskip{\Large\bfseries\sffamily #1}}
diff --git a/Master/texmf-dist/tex/xelatex/langsci/langsci-tobi.sty b/Master/texmf-dist/tex/xelatex/langsci/langsci-tobi.sty
new file mode 100644
index 00000000000..00bed2b2e8d
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/langsci-tobi.sty
@@ -0,0 +1,7 @@
+\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/langscibook.cls b/Master/texmf-dist/tex/xelatex/langsci/langscibook.cls
index 14ed47d5119..587fc1fb0d9 100644
--- a/Master/texmf-dist/tex/xelatex/langsci/langscibook.cls
+++ b/Master/texmf-dist/tex/xelatex/langsci/langscibook.cls
@@ -1,8 +1,8 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% File: langscibook.cls
%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2017-04-28 11:11:11 UTC
-%% Purpose: This file defines the basic document class
+%% Date: Fri Apr 27 2018
+%% Purpose: This file defines the basic document class
%% for books published with Language Science Press.
%% Language: LaTeX
%% Copyright 2012- Language Science Press
@@ -15,9 +15,9 @@
%% version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
-%%
+%%
%% The Current Maintainer of this work is Sebastian Nordhoff.
-%%
+%%
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -32,27 +32,28 @@
% \- print on demand macros
% \- Output types (book, draft, cover)
% \- Page geometry
-% \- Fonts
+% \- Fonts
% \- Colors
% \- Book cover
% \- Series history
% \- Imprint
% \- Dedication
% \- Header and footer
-% \- Sectioning
+% \- Sectioning
% \- Epigrams
% \- Footnotes
% \- Quotes
+% \- Languages
% \- Citations
% \- Floats
% \- Appendices
% \- Indexes
-% \- Hyperref
+% \- Hyperref
% \- Edited volumes (Collection)
% \_ Miscellaneous
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{langscibook}[2017/04/26 Language Science Press]
+\ProvidesClass{langscibook}[2018/01/15 Language Science Press]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -60,10 +61,13 @@
% Paths
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\fontpath}{}
+\newcommand{\fontpath}{}
\newcommand{\logopath}{}
\newcommand{\seriesinfopath}{}
+\newcommand{\localepath}{}
\newcommand{\bstpath}{}
+\newcommand{\bbxpath}{}
+\newcommand{\cbxpath}{}
\newcommand{\stylepath}{}
% Paths can be overwritten with option "nonflat"
@@ -72,7 +76,7 @@
% Default values
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
+
\usepackage{xspace}
\newcommand{\lsp}{Language Science Press\xspace}
\newcommand{\lsSeriesNumber}{??}
@@ -83,22 +87,24 @@
\newcommand{\lsISBNsoftcoverus}{000-0-000000-00-0}
\newcommand{\lsBookDOI}{??}
\newcommand{\lsChapterDOI}{??}
-\newcommand{\lsURL}{http://langsci-press.org/catalog}
+\newcommand{\lsID}{000}
+\newcommand{\lsURL}{http://langsci-press.org/catalog/book/\lsID}
\newcommand{\lsSeries}{eotms}
-\newcommand{\lsSpineBreadth}{20mm}
+% \newcommand{\lsSpineBreadth}{20mm}
\newcommand{\lsOutput}{book} %"short" makes no sense if "long" is deprecated
+\newcommand{\lsBookLanguage}{english} %"short" makes no sense if "long" is deprecated
\newcommand{\lsFontsize}{11pt}
\newcommand{\lsChapterFooterSize}{\small} %footers in editedvolumes
\newcommand{\lsCopyright}{CC-BY}
\newcommand{\lsSpinewidth}{20mm}
-\newcommand{\lsBiblatexBackend}{bibtex}
+\newcommand{\lsBiblatexBackend}{biber}
\newcommand{\logotext}{{\color{red}no logo}}
\newcommand{\lsYear}{\the\year}
-\newcommand{\lsBackBody}{Europan lingues es membres del sam familie. Lor separat existentie es un myth. Por scientie, musica, sport etc, litot Europa usa li sam vocabular. Li lingues differe solmen in li grammatica, li pronunciation e li plu commun vocabules. Omnicos directe al desirabilite de un nov lingua franca: On refusa continuar payar custosi traductores.}
+\newcommand{\lsBackBody}{Set blurb on back with {\textbackslash}BackBody\{my blurb\}}
\newcommand{\lsBackTitle}{\@title}
\newcommand{\BackTitle}[1]{\renewcommand{\lsBackTitle}{#1}}
-\newcommand{\BackBody}[1]{\renewcommand{\lsBackBody}{#1}}
+\newcommand{\BackBody}[1]{\renewcommand{\lsBackBody}{#1}}
\newcommand{\newlineCover}{\\} % \newline only on cover
\newcommand{\newlineSpine}{\\} % \newline only on spine
@@ -107,7 +113,7 @@
\newcommand{\lsSpineTitle}{\@title}
\newcommand{\lsSpineAuthor}{\@author}
\newcommand{\SpineTitle}[1]{\renewcommand{\lsSpineTitle}{#1}}
-\newcommand{\SpineAuthor}[1]{\renewcommand{\lsSpineAuthor}{#1}}
+\newcommand{\SpineAuthor}[1]{\renewcommand{\lsSpineAuthor}{#1}}
@@ -125,11 +131,12 @@
\newif\iflsCollection \lsCollectionfalse
\newif\iflsCollectionChapter \lsCollectionChapterfalse
\newif\iflsCollectionTOCLong \lsCollectionTOCLongfalse
-\newif\iflsNewtxmath \lsNewtxmathtrue
+\newif\iflsNewtxmath \lsNewtxmathfalse
\newif\iflsCover \lsCoverfalse %output format is cover
\newif\iflsUscover \lsUscoverfalse
\newif\iflsModfonts \lsModfontsfalse
\newif\iflsNoBabel \lsNoBabelfalse
+\newif\iflsBabelShorthands \lsBabelShorthandsfalse
\newif\iflsMultiauthors \lsMultiauthorsfalse
@@ -146,57 +153,102 @@
\DeclareStringOption{output}[book]
\define@key{langscibook}{output}{%
\renewcommand{\lsOutput}{#1}}
+\DeclareStringOption{booklanguage}[english]
+ \define@key{langscibook}{booklanguage}{%
+ \renewcommand{\lsBookLanguage}{#1}}
\DeclareStringOption{copyright}[CC-BY]
\define@key{langscibook}{copyright}{%
\renewcommand{\lsCopyright}{#1}}
-\DeclareStringOption{biblatexbackend}[bibtex]
+\DeclareStringOption{biblatexbackend}[biber]
\define@key{langscibook}{biblatexbackend}{%
\renewcommand{\lsBiblatexBackend}{#1}}
\DeclareStringOption{spinewidth}[20mm]
\define@key{langscibook}{spinewidth}{%
- \renewcommand{\lsSpinewidth}{#1}}
-\DeclareVoidOption{smallfont}{
+ \renewcommand{\lsSpinewidth}{#1}}
+\DeclareVoidOption{smallfont}{
\renewcommand{\lsFontsize}{10pt}}
-\DeclareVoidOption{undecapitalize}{
- \lsUndecapitalizetrue }
-\DeclareVoidOption{draftmode}{ % 'draftmode' instead of 'draft' due to undesirable side efects
+\DeclareVoidOption{undecapitalize}{
+ \lsUndecapitalizetrue }
+\DeclareVoidOption{draftmode}{ % 'draftmode' instead of 'draft' due to undesirable side efects
\lsDrafttrue
\overfullrule=5pt } % to indicate overfull hboxes
\DeclareVoidOption{openreview}{
\lsOpenReviewtrue%
\AtBeginDocument{\renewcommand{\lsISBNdigital}{000-0-000000-00-0}}}
-\DeclareVoidOption{nonflat}{
- \renewcommand{\fontpath}{./langsci/fonts/}
+\DeclareVoidOption{nonflat}{
+ \renewcommand{\fontpath}{./langsci/fonts/}
\renewcommand{\logopath}{./langsci/graphics/}
\renewcommand{\seriesinfopath}{./langsci/seriesinfo/}
+ \renewcommand{\localepath}{./langsci/locale/}
\renewcommand{\bstpath}{./langsci/bst/}
- \renewcommand{\stylepath}{./langsci/styles/}
+ \renewcommand{\bbxpath}{\bstpath biblatex-langsci-unified/bbx/}
+ % \renewcommand{\bbxpath}{\bstpath}
+ \renewcommand{\cbxpath}{\bstpath biblatex-langsci-unified/cbx/}
+ % \renewcommand{\cbxpath}{\bstpath}
+ \renewcommand{\stylepath}{./langsci/styles/}
}
-\DeclareVoidOption{nobabel}{
- \lsNoBabeltrue}
-\DeclareVoidOption{modfonts}{
+\DeclareVoidOption{nobabel}{
+ \lsNoBabeltrue}
+\DeclareVoidOption{babelshorthands}{
+ \lsBabelShorthandstrue}
+\DeclareVoidOption{modfonts}{
\lsModfontstrue}
-\DeclareVoidOption{multiauthors}{
+\DeclareVoidOption{multiauthors}{
\lsMultiauthorstrue}
-\DeclareVoidOption{showindex}{
+\DeclareVoidOption{showindex}{
\lsShowIndextrue}
-\DeclareVoidOption{biblatex}{
+\DeclareVoidOption{biblatex}{
\lsBiblatextrue}
\DeclareVoidOption{bibtex}{
\ClassWarningNoLine{langscibook}{BibTeX frontend deprecated. Please use BibLaTeX in the final version}
\lsBiblatexfalse}
-\DeclareVoidOption{nonewtxmath}{
+\DeclareVoidOption{nonewtxmath}{
\lsNewtxmathfalse}
-\DeclareVoidOption{collection}{
+\DeclareVoidOption{newtxmath}{
+ \lsNewtxmathtrue}
+\DeclareVoidOption{collection}{
\lsCollectiontrue}
-\DeclareVoidOption{collectionchapter}{
+\DeclareVoidOption{collectionchapter}{
\lsCollectiontrue%
\lsCollectionChaptertrue}
-\DeclareVoidOption{collectiontoclong}{
+\DeclareVoidOption{collectiontoclong}{
\lsCollectiontrue%
- \lsCollectionTOCLongtrue}
+ \lsCollectionTOCLongtrue}
+\DeclareVoidOption{chinesefont}{
+ \newfontfamily\cn[Mapping=tex-text,Ligatures=Common,Scale=MatchUppercase]{AR PL UMing CN}
+% \newcommand{\zh}[1]{{\cn #1}}
+ \XeTeXlinebreaklocale 'zh'
+ \XeTeXlinebreakskip = 0pt plus 1pt
+ \AdditionalFontImprint{UMing}
+}
+\DeclareVoidOption{japanesefont}{
+ \newfontfamily\jpn[Mapping=tex-text,Ligatures=Common,Scale=MatchUppercase]{TakaoPGothic} %Japanese
+% \newcommand{\jp}[1]{{{\jpn #1}}}
+ \XeTeXlinebreaklocale 'ja'
+ \AdditionalFontImprint{TakaoPGothic}
+}
+% \DeclareVoidOption{koreanfont}{
+% \newfontfamily\hangul[Mapping=tex-text,Ligatures=Common,Scale=MatchUppercase]{./SourceHanSerifK.otf}
+% \newcommand{\kr}[1]{{\sffamily #1}}
+% \AdditionalFontImprint{Korean}}
+\DeclareVoidOption{arabicfont}{
+ \newfontfamily\arabicfont[Script=Arabic,ItalicFont=*,Scale=1.4]{arabtype.ttf}
+% \newcommand{\textarabic}[1]{{\arabicfont #1}}
+ \AdditionalFontImprint{Arabtype}
+}
+\DeclareVoidOption{hebrewfont}{
+ \newfontfamily\hebrewfont[Script=Hebrew,ItalicFont=*, Scale=0.9]{SBLHebrew.ttf}
+% \newcommand{\texthebrew}[1]{{\hebrewfont #1}}
+ \AdditionalFontImprint{SBLHebrew}
+}
+\DeclareVoidOption{syriacfont}{
+ \newfontfamily\syriacfont[Script=Syriac]{EstrangeloEdessa.ttf}
+% \newcommand{\textsyriac}[1]{{\syriacfont #1}}
+ \AdditionalFontImprint{Estrangelo Edessa}
+}
\ProcessKeyvalOptions{langscibook}
-
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Class
@@ -213,7 +265,7 @@
%chapterprefix=true,
%draft=yes,
%appendixprefix
- ]{scrbook}
+ ]{scrbook}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
@@ -224,9 +276,9 @@
\usepackage{morewrites} %more helper files to write to
\usepackage{etex}
\reserveinserts{18}
-\usepackage{xstring}
-\usepackage{graphicx}
-\usepackage{hyphenat}
+\usepackage{xstring}
+\usepackage{graphicx}
+\usepackage{hyphenat}
\usepackage{tikz} % Needed for covers and advert page
\usetikzlibrary{positioning}
@@ -236,9 +288,9 @@
\usepackage[hyphens]{url}
\urlstyle{same}
-
+
%% standard commands
-\usepackage{\stylepath langsci-basic}
+\usepackage{\stylepath langsci-basic} % FIXME: contains important commands for the index (\isi etc.) which should be defined in the class
%% useful commands for glossings:
% \usepackage{\stylepath langsci-lgr} #FIXME this should probably be replaced by \usepackage{leipzig}
\usepackage{todonotes}
@@ -255,19 +307,18 @@
\newcommand{\podsetup}{
\lsCovertrue
\renewcommand{\maketitle}{} %no need for this
- \StrLen{\@subtitle}[\subtitleStrLen] % Get the length of the subtitle. Later, we use this length to check if a subtitle exists.
\pagestyle{empty}
\pgfdeclarelayer{lspcls_bg} % Create a background layer that serves as the canvas for the coloured rectangles.
\pgfsetlayers{lspcls_bg,main} % Order the background layer behind the main layer of TikZ.
- \renewcommand{\and}{, }%
- \renewcommand{\lastand}{ \& }%
+ \renewcommand{\and}{, }%
+ \renewcommand{\lastand}{ \& }%
\renewcommand{\affiliation}[1]{}
}
% \usepackage[outline]{contour}
-% Content creation for the spine. Including Logo, author, title, and volume number on spine.
-\newcommand{\podspine}{
+% Content creation for the spine. Including Logo, author, title, and volume number on spine.
+\newcommand{\podspine}{
\renewcommand{\newlineCover}{}
\renewcommand{\and}{, }
\renewcommand{\lastand}{ \& }
@@ -280,17 +331,17 @@
% bottom leftaligned
% \node [below = -1mm of lspcls_spinelogo] (lspcls_splinenumber) {\color{\lsSeriesColor} \hspace*{4mm}{\parbox{.37cm}{\sffamily \large \lsSeriesNumber }}};
%
-\node [below = 0mm of CoverSpine.north, anchor=north] (lspcls_splinenumber) {\color{\lsSeriesColor}
+\node [below = 0mm of CoverSpine.north, anchor=north] (lspcls_splinenumber) {\color{\lsSeriesColor}
{\parbox{.47cm}{
\centering
- \sffamily
+ \sffamily
\huge
- \lsSeriesNumber
+ \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}};
+ \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}{\\}
}
@@ -301,38 +352,38 @@
\newcommand{\podgeometry}[3]{
\begin{pgfonlayer}{lspcls_bg} % Draw on the background layer
\node [ bg, % Draw the coloured background on the front cover
- left = #1 of current page.east,
- fill=\lsSeriesColor,
- minimum height=#2,
+ left = #1 of current page.east,
+ fill=\lsSeriesColor,
+ minimum height=#2,
minimum width=#3
] (CoverColouredRectangleFront) {}; % Die können wir noch dynamisch bestimmen % 7.5mm -> 10.675mm for bleed
- \node [ bg, % Draw the coloured background on the back cover
- right = #1 of current page.west,
- fill=\lsSeriesColor,
- minimum height=#2,
- minimum width=#3
- ] (CoverColouredRectangleBack) {};
+ \node [ bg, % Draw the coloured background on the back cover
+ right = #1 of current page.west,
+ fill=\lsSeriesColor,
+ minimum height=#2,
+ minimum width=#3
+ ] (CoverColouredRectangleBack) {};
\node at (current page.center) [ % Create a reference node for the spine
- bg,
- minimum height=#2,
+ bg,
+ minimum height=#2,
minimum width=\spinewidth,dashed
- ] (CoverSpine) {}; % add [draw] option for preview mode
- \end{pgfonlayer}
+ ] (CoverSpine) {}; % add [draw] option for preview mode
+ \end{pgfonlayer}
}
% Generates the content of the back cover
% Argument 1: Text width, corresponding to Argument 1 of \podfrontcovertoptext
\newcommand{\podbackcover}[1]{
- \node [ font=\fontsize{25pt}{10mm}\selectfont,
+ \node [ font=\fontsize{25pt}{10mm}\selectfont,
right,
- below right = 10mm and 7.5mm of CoverColouredRectangleBack.north west,
+ below right = 10mm and 7.5mm of CoverColouredRectangleBack.north west,
text width=#1
- ] (lspcls_backtitle) {\color{\lsCoverFontColour}\lsBackTitleFont{\raggedright\lsBackTitle\par}};
+ ] (lspcls_backtitle) {\color{white}\lsBackTitleFont{\raggedright\lsBackTitle\par}};
\node [ below = 10mm of lspcls_backtitle,
text width=#1,
align=justify
- ] {\color{\lsCoverFontColour}\lsBackBodyFont{\parindent=15pt\lsBackBody}};
- \node [ below right = 192.5mm and 97.5mm of CoverColouredRectangleBack.north west,
+ ] {\color{white}\lsBackBodyFont{\parindent=15pt\lsBackBody}};
+ \node [ below right = 192.5mm and 97.5mm of CoverColouredRectangleBack.north west,
text width=4cm] {%
\colorbox{white}{
\begin{pspicture}(0,0)(4.1,1in)
@@ -345,68 +396,69 @@
% 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
% Argument 2: Font size on the front cover. Adjust to compensate varying text width. Input: 12.34pt
-\newcommand{\podfrontcovertoptext}[2]{
- \newcommand{\lsCoverFontColour}{white}
+\newcommand{\podfrontcovertoptext}[3][white]{
\renewcommand{\and}{\\}
\renewcommand{\lastand}{\\}
-
- \node [ execute at begin node={},
- font=\fontsize{#2}{17.25mm}\selectfont,
- below right = 10mm and 7.5mm of CoverColouredRectangleFront.north west,
- text width=#1,
+ \renewcommand{\newlineCover}{\\}
+
+ \node [ execute at begin node={},
+ font=\fontsize{#3}{17.25mm}\selectfont,
+ below right = 10mm and 7.5mm of CoverColouredRectangleFront.north west,
+ text width=#2,
align=left
- ] (lspcls_covertitle) {\color{\lsCoverFontColour}\lsCoverTitleFont{\raggedright\@title\par}};
-
- \ifnum\subtitleStrLen=0 % Is there a subtitle? If no, just print the author.
- \node [ font=\fontsize{25pt}{12.5mm}\selectfont,
- right,
- below = 11.2mm of lspcls_covertitle.south,
- text width=#1
- ] {\color{\lsCoverFontColour}\lsCoverAuthorFont\nohyphens{\lsEditorPrefix\@author\par}};
+ ] (lspcls_covertitle) {\color{#1}\lsCoverTitleFont{\raggedright\@title\par}};
+
+ \ifx\@subtitle\empty % Is there a subtitle? If no, just print the author.
+ \node [ font=\fontsize{25pt}{12.5mm}\selectfont,
+ right,
+ below = 11.2mm of lspcls_covertitle.south,
+ text width=#2
+ ] {\color{#1}\lsCoverAuthorFont\nohyphens{\lsEditorPrefix\@author\par}};
\else % If yes, create a node for subtitle and author
\node [ font=\fontsize{25pt}{10mm}\selectfont,
- below = 8mm of lspcls_covertitle.south,
- text width=#1
- ] (lspcls_coversubtitle) {\color{\lsCoverFontColour} \lsCoverSubTitleFont \nohyphens{\@subtitle}\par};
+ below = 8mm of lspcls_covertitle.south,
+ text width=#2,
+ align=left
+ ] (lspcls_coversubtitle) {\color{#1}\lsCoverSubTitleFont{\raggedright\@subtitle\par}};
\node [
- font=\fontsize{25pt}{12.5mm}\selectfont,
- right,
- below = 11.2mm of lspcls_coversubtitle.south,
- text width=#1
- ] {\color{\lsCoverFontColour}\lsCoverAuthorFont{\nohyphens{\lsEditorPrefix\@author\par}}};
+ font=\fontsize{25pt}{12.5mm}\selectfont,
+ right,
+ below = 11.2mm of lspcls_coversubtitle.south,
+ text width=#2
+ ] {\color{#1}\lsCoverAuthorFont{\nohyphens{\lsEditorPrefix\@author\par}}};
\fi
}
% Generates the bottom half of the front cover content: series, series number, logo.
-\newcommand{\podcoverbottomtext}{
- \node [ above right = 18.5mm and -.1mm of CoverColouredRectangleFront.south west,
- rectangle,
- fill=white,
+\newcommand{\podcoverbottomtext}[1][white]{
+ \node [ above right = 18.5mm and -.1mm of CoverColouredRectangleFront.south west,
+ rectangle,
+ fill=white,
minimum size=17pt] (lspcls_square) {}; % This is the white square at the bottom left of the front cover
- \node [ above left = 10mm and 7.5mm of CoverColouredRectangleFront.south east] {\color{\lsCoverFontColour}\includegraphics{\logopath langsci_logo_nocolor.pdf}}; % Print the Language Science press Logo
+ \node [ above left = 10mm and 7.5mm of CoverColouredRectangleFront.south east] {\color{#1}\includegraphics{\logopath langsci_logo_nocolor.pdf}}; % Print the Language Science press Logo
\path let \p1 = (lspcls_square.north east), % Calculate the exact coordinates for the Series Title to print.
- \p2 = (lspcls_covertitle.west)
+ \p2 = (lspcls_covertitle.west)
in node at (\x2,\y1) (lspcls_seriesinfo) [
font=\fontsize{17pt}{7.5mm}\selectfont,
right,
text width=95mm,
- anchor=north west]
- {\color{\lsCoverFontColour}\lsCoverSeriesFont{\lsSeriesTitle\par}};
+ anchor=north west]
+ {\color{#1}\lsCoverSeriesFont{\lsSeriesTitle\par}};
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% Output types
+% Output types
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \newcommand{\lsOutputLong}{long}
-\newcommand{\lsOutputBook}{book} % standard book
+\newcommand{\lsOutputBook}{book} % standard book
\newcommand{\lsOutputInprep}{inprep} % marks manuscript as in preparation
\newcommand{\lsOutputPaper}{paper} % paper in edited volume
-\newcommand{\lsOutputGuidelines}{guidelines} % guidelines
-\newcommand{\lsOutputCoverBODsc}{coverbodsc} % cover with BoD measurements
-\newcommand{\lsOutputCoverBODhc}{coverbodhc} % cover with BoD measurements
+\newcommand{\lsOutputGuidelines}{guidelines} % guidelines
+\newcommand{\lsOutputCoverBODsc}{coverbodsc} % cover with BoD measurements
+\newcommand{\lsOutputCoverBODhc}{coverbodhc} % cover with BoD measurements
\newcommand{\lsOutputCoverCS}{covercreatespace} % cover with CreateSpace measurements
@@ -421,20 +473,17 @@
\else % only if output!=paper
\renewcommand{\maketitle}{
\begin{titlepage}
-\thispagestyle{empty}
-
-
+ \thispagestyle{empty}
\ifx\lsOutput\lsOutputBook % only if output=book
\setcounter{page}{-1}
%% First titlepage:
{\lsFrontPage}
%%%%%%%%%%%%%%%%%%%
- \newpage\thispagestyle{empty}
- \null\newpage\thispagestyle{empty}
+ \pagenumbering{roman}\clearpage\thispagestyle{empty} % We use roman pagenumbering here instead of \frontmatter because scrbook's frontmatter command issues a \clear(double)page, which is unnec. in digital publications.
%% Series information:
{\lsSeriesHistory}
%%%%%%%%%%%%%%%%%%%%%
- \newpage\thispagestyle{empty}
+ \clearpage%\thispagestyle{empty}
%% Schmutztitel:
{\renewcommand{\lsCoverBlockColor}{white}
\renewcommand{\lsCoverFontColor}{\lsSeriesColor}
@@ -450,14 +499,14 @@
{\lsBackPage}
\null\newpage\thispagestyle{empty}
}
-\fi
+\fi
\ifx\lsOutput\lsOutputInprep % only if output=inprep
{\renewcommand{\lsCoverBlockColor}{white}
\renewcommand{\lsCoverFontColor}{black}
\lsCoverBlock
\lsCoverTitleAuthor}
-\fi
+\fi
\ifx\lsOutput\lsOutputGuidelines % only if output=guidelines
{\setcounter{page}{-1}
@@ -468,68 +517,57 @@
\fi
-\ifx\lsOutput\lsOutputCoverBODhc % only if output=cover
- \podsetup
- \begin{tikzpicture}[remember picture, overlay,bg/.style={outer sep=0}]
+\ifx\lsOutput\lsOutputCoverBODhc % only if output=cover
+ \podsetup
+ \begin{tikzpicture}[remember picture, overlay,bg/.style={outer sep=0}]
\podgeometry{24.2mm}{23.1cm}{15.5cm}
- \podspine
- \podfrontcovertoptext{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.
+ \podspine
+ \podfrontcovertoptext{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.
\podcoverbottomtext
\newcommand{\lsISBNcover}{\lsISBNhardcover}
- \podbackcover{135.5mm}
- \end{tikzpicture}
+ \podbackcover{137mm}
+ \end{tikzpicture}
%exit the document right here
\end{titlepage}
- \end{document}
- \fi
-
+ \end{document}
+ \fi
+
-\ifx\lsOutput\lsOutputCoverBODsc % only if output=cover
- \podsetup
- \begin{tikzpicture}[remember picture, overlay,bg/.style={outer sep=0}]
+\ifx\lsOutput\lsOutputCoverBODsc % only if output=cover
+ \podsetup
+ \begin{tikzpicture}[remember picture, overlay,bg/.style={outer sep=0}]
\podgeometry{13.75mm}{23.1cm}{15.5cm}
- \podspine
- \podfrontcovertoptext{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.
+ \podspine
+ \podfrontcovertoptext{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.
\podcoverbottomtext
\newcommand{\lsISBNcover}{\lsISBNsoftcover}
- \podbackcover{135.5mm}
- \end{tikzpicture}
+ \podbackcover{137mm}
+ \end{tikzpicture}
%exit the document right here
\end{titlepage}
- \end{document}
- \fi
-
-
+ \end{document}
+ \fi
+
+
% ============================
-\ifx\lsOutput\lsOutputCoverCS % only if output=covercs
+\ifx\lsOutput\lsOutputCoverCS % only if output=covercs
\podsetup
\begin{tikzpicture}[remember picture, overlay,bg/.style={outer sep=0}]
\podgeometry{10.675mm}{22.5cm}{15.5cm}
\podspine
\podfrontcovertoptext{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.
\podcoverbottomtext
-% %unclear why this was different between BOD and CS
-% %-----------------------------
-% \node [above right = 18.5mm and -.1mm of CoverColouredRectangleFront.south west, rectangle, fill=white, minimum size=17pt] (lspcls_square) {}; % 2
-% \node [above left = 10mm and 7.5mm of CoverColouredRectangleFront.south east] {\color{\lsCoverFontColour}\includegraphics{\logopath langsci_logo_nocolor.pdf}};
-% % \node [below right = 197.5mm and 117.1mm of CoverColouredRectangleFront.north west] {\color{\lsCoverFontColour}\includegraphics{\logopath langsci_logo_nocolor.pdf}};
-% \path let \p1 = (lspcls_square.north east), \p2 = (lspcls_covertitle.west) in node at (\x2,\y1) (lspcls_seriesinfo) [font=\fontsize{17pt}{7.5mm}\selectfont, right, text width=95mm, anchor=north west] {\color{\lsCoverFontColour}\lsCoverSeriesFont{\lsSeriesTitle\par}};
-% %-----------------------------
\iflsUscover\newcommand{\lsISBNcover}{\lsISBNsoftcoverus}\else\newcommand{\lsISBNcover}{\lsISBNsoftcover}\fi
\podbackcover{140mm}
- \end{tikzpicture}
- %exit the document right here
+ \end{tikzpicture}
+ %exit the document right here
\end{titlepage}
- \end{document}
-\fi
-
+ \end{document}
+\fi
\end{titlepage}
-\frontmatter
-\renewcommand{\frontmatter}{}
-
-\null\newpage\thispagestyle{empty}
-\hypersetup{colorlinks=false, pdfborder={0 0 0}} % for hyperref
+% \null\newpage\thispagestyle{empty}
+\hypersetup{colorlinks=false, citecolor=brown, pdfborder={0 0 0}} % for hyperref
\color{black}
\lsInsideFont
@@ -542,12 +580,12 @@
\fi
%%%%%%%%%%%%%
-\null\newpage\thispagestyle{plain}
+% \null\newpage\thispagestyle{plain}
%\pagenumbering{roman} % or \frontmatter
%% Dedication:
\ifx\@dedication\empty{}
-\else{\lsDedication}
+\else{\newpage\lsDedication}
\fi
%%%%%%%%%%%%%%%%
@@ -559,31 +597,34 @@
\ifx\lsSeries\sidl
%\def\exfont{\normalsize\itshape}
\renewcommand{\eachwordone}{\itshape} % only \gll
-
+
\let\oldtable\table % footnotes in tables without horizontal line
\let\endoldtable\endtable
- \renewenvironment{table}{\setfootnoterule{0pt}\oldtable}{\endoldtable}
+ \renewenvironment{table}{\setfootnoterule{0pt}\oldtable}{\endoldtable}
\fi
\ifx\lsSeries\pmwe
- \renewcommand{\eachwordone}{\itshape}
+ \renewcommand{\eachwordone}{\itshape}
\fi
+\ifx\lsSeries\nc
+ \renewcommand{\eachwordone}{\itshape}
+\fi
-} %% \AtBeginDocument
+} %% \AtBeginDocument
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Geometry
%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
% For output type cover
% \usepackage{catchfilebetweentags}
-\newlength{\csspine} % CS spine width algorithm, when page count is known: Total Page Number (excluding cover), usually (Total Page - 3) * 0.0572008 mm
+\newlength{\csspine} % CS spine width algorithm, when page count is known: Total Page Number (excluding cover), usually (Total Page - 3) * 0.0572008 mm
\newlength{\bodspine} % BoD spine width algorithm located at http://www.bod.de/hilfe/coverberechnung.html (German only, please contact LangSci for help)
\newlength{\bleed}
\newlength{\seitenbreite}
@@ -591,68 +632,65 @@
\newlength{\spinewidth}
\newlength{\totalwidth}
\newlength{\totalheight}
-% \IfFileExists{./localmetadata.tex}{\ExecuteMetaData[localmetadata.tex]{coverdimen}}{\typeout{No local meta data found, therefore default spline length was chosen}} % Get only the information between the tag "coverdimen" from localmetadata.tex
\setlength{\bleed}{3.175mm}
\setlength{\spinewidth}{\lsSpinewidth} % Create Space Version
\usepackage{calc}
-
- \ifx\lsOutput\lsOutputCoverCS % if output = cover; This is the CreateSpace Version
+
+ \ifx\lsOutput\lsOutputCoverCS % if output = cover; This is the CreateSpace Version
\lsCovertrue
\setlength{\bleed}{3.175mm}
\setlength{\seitenbreite}{169.9mm}
- \setlength{\seitenhoehe}{244.1mm}
-
-
+ \setlength{\seitenhoehe}{244.1mm}
\setlength{\totalwidth}{\spinewidth+\seitenbreite+\seitenbreite+\bleed+\bleed}
\setlength{\totalheight}{\seitenhoehe+\bleed+\bleed}
\usepackage[paperheight=\totalheight, paperwidth=\totalwidth]{geometry}
\hyphenpenalty 750
\fi
-
-\ifx\lsOutput\lsOutputCoverBODhc
- \lsCovertrue
+
+\ifx\lsOutput\lsOutputCoverBODhc
+ \lsCovertrue
\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{\spinewidth}{\bodspine}
+% \setlength{\spinewidth}{\bodspine}
% \setlength{\totalspine}{\spinewidth+\bodfold+\bodfold}
- \setlength{\totalspine}{\spinewidth}
+ \setlength{\totalspine}{\spinewidth}
\setlength{\totalwidth}{\spinewidth+\seitenbreite+\seitenbreite}
\setlength{\totalheight}{\seitenhoehe}
\usepackage[paperheight=\totalheight, paperwidth=\totalwidth]{geometry}
\hyphenpenalty 750
\fi
-
-
-\ifx\lsOutput\lsOutputCoverBODsc
+
+
+\ifx\lsOutput\lsOutputCoverBODsc
\lsCovertrue
\newlength{\totalspine}
\setlength{\seitenbreite}{170mm}
\setlength{\seitenhoehe}{240mm} % For BOD: Softcover, papier 80g/m², weiß, Papier 17x24cm
\setlength{\bleed}{5mm}
- \setlength{\totalspine}{\spinewidth}
+ \setlength{\totalspine}{\spinewidth}
\setlength{\totalwidth}{\spinewidth+\seitenbreite+\seitenbreite+\bleed+\bleed}
\setlength{\totalheight}{\seitenhoehe+\bleed+\bleed}
\usepackage[paperheight=\totalheight, paperwidth=\totalwidth]{geometry}
\hyphenpenalty 750
\fi
-
-%Page size and text area if not cover
+
+%Page size and text area if not cover
\iflsCover
%output types cover have already been handled
\else % output != cover
- \usepackage[
+ \usepackage[
papersize={170mm,240mm}
,top=27.4mm % TODO nachgemessen, nach Vermassung eigentlich 30mm-16pt = 25.8mm
- ,inner=20.5mm,
+ ,inner=20.5mm,
,outer=24.5mm
%,showframe,pass
,marginparwidth=50pt
]{geometry}
-\fi
+\fi
\usepackage[
absolute % for absolute positioning in titlepage
@@ -664,14 +702,51 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% Fonts
+% Fonts
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{ifxetex}
-\ifxetex\else\ClassError{langsci/langscibook}{Please use XeLaTeX!}{}\fi
+\ifxetex\else\ClassError{langsci/langscibook}{Please use XeLaTeX!}{}\fi
+
+%% Typesetting of mathematical formulas
\usepackage{amssymb} % has to be loaded before other stuff
-\PassOptionsToPackage{no-math}{fontspec} % must appear before metalogo or any fontspec stuff; deactivates fontspec's math settings, which is necessary to let newtxmath do the job
+\usepackage{amsmath} % has to be loaded before mathspec/unicode-math
+
+\iflsNewtxmath\else
+%% There is a known problem in the interplay between \binom, unicode-math, and OTF
+%% https://tex.stackexchange.com/questions/269980/wrong-parentheses-size-in-binom-with-xelatex-and-unicode-math-in-displaystyle
+\ifx\Umathcode\@undefined\else
+
+\DeclareRobustCommand{\genfrac}[6]{%
+ \def\@tempa{#1#2}%
+ \edef\@tempb{\@nx\@genfrac\@mathstyle{#4}%
+ % just \over or \above never withdelims versions
+ \ifx @#3@\@@over\else\@@above\fi
+ }%
+ \ifx\@tempa\@empty \else
+ \bgroup % so mathord not mathinner
+ \left\ifx\relax#1\relax.\else#1\fi % assumes . is null delimiter
+ % otherwise add specified delimiter
+ \kern-\nulldelimiterspace % fractions add extra nulldelimiter space
+ \fi
+ \@tempb{#3}{\mathstrut{#5}}{\mathstrut{#6}}%
+ \ifx\@tempa\@empty \else
+ \kern-\nulldelimiterspace
+ \right\ifx\relax#2\relax.\else#2\fi
+ \egroup
+ \fi
+}
+\fi
+%% Provides \setmathfont
+\usepackage{unicode-math}
+\fi
+
+\iflsNewtxmath
+%% Deprecated:
+\PassOptionsToPackage{no-math}{fontspec} % must appear before metalogo or any fontspec stuff; deactivates fontspec's math settings, which is necessary to let newtxmath do the job
+\fi
+
\usepackage{metalogo}\newcommand{\xelatex}{\XeLaTeX\xspace}
\usepackage{dejavu}
\usepackage{libertine}
@@ -679,20 +754,23 @@
\setmonofont[
Ligatures={TeX},Scale=MatchLowercase,
BoldFont = DejaVuSansMono-Bold.ttf ,
- SlantedFont = DejaVuSansMono-Oblique.ttf ,
- BoldSlantedFont = DejaVuSansMono-BoldOblique.ttf
+ SlantedFont = DejaVuSansMono-Oblique.ttf ,
+ BoldSlantedFont = DejaVuSansMono-BoldOblique.ttf
]{DejaVuSansMono.ttf}
-\iflsModfonts{% use Langsci fonts
+\iflsNewtxmath\else
+\setmathfont[AutoFakeBold]{libertinusmath-regular.otf}
+\fi
+
+\iflsModfonts% use Langsci fonts
\setsansfont[
%Ligatures={TeX,Common}, % not supported by ttf
Scale=MatchLowercase,
Path=\fontpath,
BoldFont = Arimo-Bold_B.ttf ,
- ItalicFont = Arimo-Italic_B.ttf ,
- BoldItalicFont = Arimo-BoldItalic_B.ttf
+ ItalicFont = Arimo-Italic_B.ttf ,
+ BoldItalicFont = Arimo-BoldItalic_B.ttf
]{Arimo_B.ttf}
-
\setmainfont[
Ligatures={TeX,Common},
@@ -706,18 +784,17 @@
SlantedFont = LinLibertine_R_B.otf,
SlantedFeatures = {FakeSlant=0.25},
BoldSlantedFeatures = {FakeSlant=0.25},
- SmallCapsFeatures = {FakeSlant=0},
- ]{LinLibertine_R_B.otf}
+ SmallCapsFeatures = {FakeSlant=0,Numbers=OldStyle},
+ ]{LinLibertine_R_B.otf}
\else % use standard fonts
\setsansfont[
%Ligatures={TeX,Common}, % not supported by ttf
Scale=MatchLowercase,
Path=\fontpath,
BoldFont = Arimo-Bold.ttf ,
- ItalicFont = Arimo-Italic.ttf ,
- BoldItalicFont = Arimo-BoldItalic.ttf
+ ItalicFont = Arimo-Italic.ttf ,
+ BoldItalicFont = Arimo-BoldItalic.ttf
]{Arimo-Regular.ttf}
-
\setmainfont[
Ligatures={TeX,Common},
@@ -731,16 +808,18 @@
SlantedFont = LinLibertine_R.otf,
SlantedFeatures = {FakeSlant=0.25},
BoldSlantedFeatures = {FakeSlant=0.25},
- SmallCapsFeatures = {FakeSlant=0},
- ]{LinLibertine_R.otf}
+ SmallCapsFeatures = {FakeSlant=0,Numbers=OldStyle},
+ ]{LinLibertine_R.otf}
\fi
+%% Deprecated:
\iflsNewtxmath % some users have problems when installing newtxmath
-% \usepackage[libertine]{newtxmath}
+ \usepackage[libertine]{newtxmath}
%% following http://tex.stackexchange.com/questions/297328/xelatex-does-not-load-newtxmath-with-linuxlibertine-sometimes
- %% due to a bug in XeTeX; unfortunately this is NOT extensively tested!
+ %% due to a bug in XeTeX. This also seems to fix an issue with \url in footnotes.
+ %% Unfortunately, this is NOT extensively tested!
\usepackage{xpatch}
\xpretocmd{\textsuperscript}
{{\sbox0{$\textstyle x$}}}
@@ -748,14 +827,14 @@
\AtBeginDocument{%
\DeclareSymbolFont{operators}{\encodingdefault}{\familydefault}{m}{n}%
\SetSymbolFont{operators}{bold}{\encodingdefault}{\familydefault}{b}{n}%
- }
-\fi
+ }
+\fi
\let\oldtabular\tabular % number in tabulars
\let\endoldtabular\endtabular
\renewenvironment{tabular}{\normalfont\addfontfeatures{Numbers=Lining}\selectfont\oldtabular}{\endoldtabular}
-%\frenchspacing
+\frenchspacing %see https://en.wikipedia.org/wiki/Sentence_spacing#Typography
\usepackage[final]{microtype}
\newcommand{\lsCoverTitleFont}[1]{\sffamily\addfontfeatures{Scale=MatchUppercase}\fontsize{52pt}{17.25mm}\selectfont #1}
@@ -775,34 +854,34 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% Colors:
+% Colors
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{xcolor}
\input{\seriesinfopath langsci-series.def} % \lsSeriesColor, \lsSeriesTitle, \lsISSN and colors are defined here
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% Cover:
+% Cover
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage{pst-barcode} % for generating bar codes
+\usepackage{pst-barcode} % for generating bar codes
\newcommand{\lsCoverFontColor}{white}
-\newcommand{\lsCoverBlockColor}{\lsSeriesColor}
-
-
+\newcommand{\lsCoverBlockColor}{\lsSeriesColor}
+
\newcommand{\lsEditorPrefix}{}
\newcommand{\lsEditorSuffix}{}
\iflsCollection % for collections: set \lsEditorSuffix depending on \@author
\AtBeginDocument{
\renewcommand{\newlineCover}{}
- \renewcommand{\newlineSpine}{}
- \renewcommand{\lsEditorPrefix}{{\Large Edited by\\}}
+ \renewcommand{\newlineSpine}{}
+ \renewcommand{\lsEditorPrefix}{{\Large Edited by\\}}
\renewcommand{\lsEditorSuffix}{(ed.)}
\iflsMultiauthors
- \renewcommand{\lsEditorSuffix}{(eds.)}
+ \renewcommand{\lsEditorSuffix}{(eds.)}
\fi
}
\else
@@ -825,7 +904,7 @@
\fi
\iflsOpenReview
\iflsDraft
- \ClassError{langsci/langscibook}{Open review mode not compatible with draft mode. Please disable one of them}{}
+ \ClassError{langsci/langscibook}{Open review mode not compatible with draft mode. Please disable one of them}{}
\fi
\begin{textblock}{170}(-20,75)
\rotatebox{30}{
@@ -840,7 +919,7 @@
}
\end{textblock}
\fi
- \iflsUndecapitalize
+ \iflsUndecapitalize
\begin{textblock}{170}(-20,75)
\rotatebox{30}{
\colorbox{red}{
@@ -854,7 +933,7 @@
}
\end{textblock}
\fi
-
+
}
\newcommand{\lsCoverTitleAuthor}{
@@ -874,9 +953,9 @@
\fi
\vspace{11.2mm} % 20mm - 25pt
-
+
\raggedright
- {\lsCoverAuthorFont
+ {\lsCoverAuthorFont
\lsEditorPrefix\@author\\}
\end{textblock}}
@@ -885,25 +964,69 @@
\color{white}
\raggedright\rule{3.6mm}{3.5mm}
\color{\lsCoverFontColor}
- \hspace{3mm}\parbox[t]{85mm}{\raggedright\lsCoverSeriesFont
+ \hspace{3mm}\parbox[t]{85mm}{\raggedright\lsCoverSeriesFont
\lsSeriesTitle\\}
\end{textblock}}
-\newcommand{\lsCoverLogo}{
+\newcommand{\lsCoverLogo}{
\begin{textblock}{33}(124.6,205)
- \raggedright\IfFileExists{\logopath langsci_logo_nocolor.pdf}{\includegraphics{\logopath langsci_logo_nocolor.pdf}}{langsci logo}
+ \raggedright\IfFileExists{\logopath langsci_logo_nocolor.pdf}{\includegraphics{\logopath langsci_logo_nocolor.pdf}}{langsci logo}
\end{textblock}}
+ \pgfdeclarelayer{lspcls_bg} % Create a background layer that serves as the canvas for the coloured rectangles.
+ \pgfsetlayers{lspcls_bg,main} % Order the background layer behind the main layer of TikZ.
+
\newcommand{\lsFrontPage}{ % Front page
- \lsCoverBlock
- \lsCoverTitleAuthor
- \lsCoverSeries
- \lsCoverLogo}
+ \pgfdeclarelayer{lspcls_bg} % Create a background layer that serves as the canvas for the coloured rectangles.
+ \pgfsetlayers{lspcls_bg,main} % Order the background layer behind the main layer of TikZ.
+% % \lsCoverBlock
+% % \lsCoverTitleAuthor
+% % \lsCoverSeries
+% % \lsCoverLogo
+ \thispagestyle{empty}
+ \renewcommand{\and}{, }%
+ \renewcommand{\lastand}{ \& }%
+ \renewcommand{\affiliation}[1]{}
+\begin{tikzpicture}[remember picture, overlay,bg/.style={outer sep=0}]
+ \begin{pgfonlayer}{lspcls_bg}
+ \node [ bg,
+ left=7.5mm of current page.east,
+ fill=\lsSeriesColor,
+ minimum width=155mm,
+ minimum height=225mm
+ ] (CoverColouredRectangleFront) {};
+ \end{pgfonlayer}
+ \podfrontcovertoptext{140mm}{51pt}
+ \podcoverbottomtext
+ \iflsDraft \node [rotate=45,align=center,scale=3,color=white,text opacity=.75] at (current page.center) {\lsCoverTitleFont Draft\\of \today, \currenttime}; \fi
+ \iflsOpenReview \node [rotate=45,align=center,scale=1.5,color=white,text opacity=.75] at (current page.center) {\lsCoverTitleFont Open Review\\Version of \today, \currenttime}; \fi
+ \iflsUndecapitalize \node [rotate=45,scale=1.5,color=white,text opacity=.75] at (current page.center) {\lsCoverTitleFont Undecapitalized}; \fi
+\end{tikzpicture}
+}
-\newcommand{\lsSchmutztitel}{ % Schmutztitel
- \lsCoverBlock
- \lsCoverTitleAuthor
- \lsCoverLogo}
+\newcommand{\lsSchmutztitel}{% Schmutztitel
+ \pgfdeclarelayer{lspcls_bg} % Create a background layer that serves as the canvas for the coloured rectangles.
+ \pgfsetlayers{lspcls_bg,main} % Order the background layer behind the main layer of TikZ.
+% % \lsCoverBlock
+% % \lsCoverTitleAuthor
+% % \lsCoverLogo
+ \thispagestyle{empty}
+ \renewcommand{\and}{, }%
+ \renewcommand{\lastand}{ \& }%
+ \renewcommand{\affiliation}[1]{}%
+\begin{tikzpicture}[remember picture, overlay,bg/.style={outer sep=0}]
+ \begin{pgfonlayer}{lspcls_bg}
+ \node [ bg,
+ left=7.5mm of current page.east,
+ fill=white,
+ minimum width=155mm,
+ minimum height=225mm
+ ] (CoverColouredRectangleFront) {};
+ \end{pgfonlayer}
+ \podfrontcovertoptext[\lsSeriesColor]{140mm}{51pt}
+ \node [ above left = 10mm and 7.5mm of CoverColouredRectangleFront.south east] {\color{\lsSeriesColor}\includegraphics{\logopath langsci_logo_nocolor.pdf}}; % Print the Language Science press Logo
+\end{tikzpicture}
+}
%\usepackage{pdfpages}
\newcommand{\lsAdvertisement}{
@@ -911,33 +1034,52 @@
}
\newcommand{\lsBackPage}{ % Back page
- \lsCoverBlock
-
- \begin{textblock}{115}(15,24) % 30mm-6mm
- \color{white}
- {\raggedright
- \lsBackTitleFont
- \lsBackTitle \\ \null}
-
- \lsBackBodyFont
-
- \noindent
- \lsBackBody
- \end{textblock}
-
- \begin{textblock}{40}(105,200)
- \lsBackBodyFont\sffamily
- \colorbox{white}{%
- \begin{pspicture}(0,0)(4.1,1in)
- \psbarcode[transx=0.4,transy=0.3]{\lsISBNdigital}{includetext height=0.7}{isbn}
- \end{pspicture}
- }%
- \end{textblock}}
+% % \lsCoverBlock
+% %
+% % \begin{textblock}{140}(15,24) % 30mm-6mm
+% % \color{white}
+% % {\raggedright
+% % \lsBackTitleFont
+% % \lsBackTitle \\ \null}
+% %
+% % \lsBackBodyFont
+% %
+% % \noindent
+% % \lsBackBody
+% % \end{textblock}
+% %
+% % \begin{textblock}{40}(105,200)
+% % \lsBackBodyFont\sffamily
+% % \colorbox{white}{%
+% % \begin{pspicture}(0,0)(4.1,1in)
+% % \psbarcode[transx=0.4,transy=0.3]{\lsISBNdigital}{includetext height=0.7}{isbn}
+% % \end{pspicture}
+% % }%
+% % \end{textblock}
+ \pgfdeclarelayer{lspcls_bg} % Create a background layer that serves as the canvas for the coloured rectangles.
+ \pgfsetlayers{lspcls_bg,main} % Order the background layer behind the main layer of TikZ.
+ \pagestyle{empty}
+ \renewcommand{\and}{, }%
+ \renewcommand{\lastand}{ \& }%
+ \renewcommand{\affiliation}[1]{}
+ \newcommand{\lsISBNcover}{\lsISBNdigital}
+\begin{tikzpicture}[remember picture, overlay,bg/.style={outer sep=0}]
+ \begin{pgfonlayer}{lspcls_bg}
+ \node [ bg,
+ right=7.5mm of current page.west,
+ fill=\lsSeriesColor,
+ minimum width=155mm,
+ minimum height=225mm
+ ] (CoverColouredRectangleBack) {};
+ \end{pgfonlayer}
+ \podbackcover{137mm}
+ \end{tikzpicture}
+ }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% Series history:
+% Series history
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -946,7 +1088,7 @@
\raggedright\lsCoverSeriesHistoryFont
\IfFileExists{\seriesinfopath \lsSeries-info.tex}{\input{\seriesinfopath\lsSeries-info}}{
- Series information: \seriesinfopath \lsSeries-info.tex not found!}
+ Series information: \seriesinfopath \lsSeries-info.tex not found!}
\IfStrEq{\lsISSN}{??} % \IfStrEq from xstring
{}
@@ -957,9 +1099,10 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% Imprint:
+% Imprint
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
%% for imprint:
\def\translator#1{\gdef\@translator{#1}}
\translator{}
@@ -981,7 +1124,7 @@
\edef\fontstemp{\lsAdditionalFontsImprint}
\renewcommand{\lsAdditionalFontsImprint}{\fontstemp, #1}
}
-
+
%\def\@author{\@latex@warning@no@line{No \noexpand\author given}}
\newcommand{\ISBNdigital}[1]{\renewcommand{\lsISBNdigital}{#1}}
\newcommand{\ISBNsoftcover}[1]{\renewcommand{\lsISBNsoftcover}{#1}}
@@ -992,7 +1135,7 @@
\newcommand{\Series}[1]{\renewcommand{\lsSeries}{#1}}
\newcommand{\SeriesNumber}[1]{\renewcommand{\lsSeriesNumber}{#1}}
\newcommand{\BookDOI}[1]{\renewcommand{\lsBookDOI}{#1}}
-
+
\newcommand{\lsImpressumCitationText}{
\onlyAuthor
\renewcommand{\newlineCover}{}
@@ -1005,6 +1148,7 @@
}
\newcommand{\lsImpressum}{
+\thispagestyle{empty}
\raggedright
\lsImpressumCitationText
@@ -1016,33 +1160,36 @@ This title can be downloaded at:\\
© \lsYear, \iflsCollection the authors\else\@author\fi
-\newcommand{\ccby}{CC-BY}
-\ifx\lsCopyright\ccby
+\newcommand{\ccby}{CC-BY}
+\ifx\lsCopyright\ccby
Published under the Creative Commons Attribution 4.0 Licence (CC BY 4.0):
-http://creativecommons.org/licenses/by/4.0/
+http://creativecommons.org/licenses/by/4.0/
\else
Published under the Creative Commons Attribution-NoDerivatives 4.0 Licence (CC BY-ND 4.0):
-http://creativecommons.org/licenses/by-nd/4.0/
+http://creativecommons.org/licenses/by-nd/4.0/
\fi
-
+
\begin{tabular}{@{}l@{~}l}
-ISBN: &
-\IfStrEq{\lsISBNdigital}{000-0-000000-00-0}
-{\color{red}no digital ISBN}
-{\lsISBNdigital~(Digital)}
-\\
-&
-\IfStrEq{\lsISBNhardcover}{000-0-000000-00-0}
-{\color{red}no hardcover ISBN}
-{\lsISBNhardcover~(Hardcover)}
-\\&
-\IfStrEq{\lsISBNsoftcover}{000-0-000000-00-0}
-{\color{red}no softcover ISBN}
-{\lsISBNsoftcover~(Softcover)}
+ISBN: &
+\IfStrEq{\lsISBNdigital}{000-0-000000-00-0}{%no digital ISBN, issue warning
+ \color{red}no digital ISBN
+}{%digital ISBN present, write ISBN
+ \lsISBNdigital~(Digital)
+}
\\
-% & \lsISBNhardcover~(Hardcover)\\
-% & \lsISBNsoftcover~(Softcover)\\
-% & \lsISBNsoftcoverus~(Softcover US)\\
+\IfStrEq{\lsISBNhardcover}{000-0-000000-00-0}{ %hardcover ISBN not present
+}{%hardcover ISBN present, write ISBN
+ &\lsISBNhardcover~(Hardcover)\\
+}
+
+\IfStrEq{\lsISBNsoftcover}{000-0-000000-00-0}{ %softcover ISBN not present
+ \IfStrEq{\lsISBNhardcover}{000-0-000000-00-0}{ %neither hardcover nor softcover, issue warning
+ \color{red} no print ISBNs!
+ }{%hardcover present, no warning
+ }
+}{%only softcover present, write ISBN
+ &\lsISBNsoftcover~(Softcover)\\
+}
\end{tabular}
\IfStrEq{\lsISSN}{??} % \IfStrEq from xstring
@@ -1051,11 +1198,12 @@ ISBN: &
\IfStrEq{\lsBookDOI}{??} % \IfStrEq from xstring
{{\color{red} no DOI}}
- {\doi{\lsBookDOI}}
-
+ {\doi{\lsBookDOI}}\\
+Source code available from \href{https://www.github.com/langsci/\lsID}{www.github.com/langsci/\lsID} \\
+Collaborative~reading:~\href{https://paperhive.org/documents/remote?type=langsci&id=\lsID}{paperhive.org/documents/remote?type=langsci\&id=\lsID}
\bigskip
-
+
Cover and concept of design:
Ulrike Harbort \\
\if\@translator\empty\else
@@ -1078,7 +1226,7 @@ Proofreading:
Open reviewing:
\@openreviewer \\
\fi
-Fonts: Linux Libertine, Arimo, DejaVu Sans Mono\lsAdditionalFontsImprint\\
+Fonts: Linux Libertine, Libertinus Math, Arimo, DejaVu Sans Mono\lsAdditionalFontsImprint\\
Typesetting software: \XeLaTeX
\bigskip
@@ -1090,43 +1238,40 @@ Unter den Linden 6\\
\vfill
-Storage and cataloguing done by FU Berlin \\[3ex]
+Storage and cataloguing done by FU Berlin \\[3ex]
-\IfFileExists{\logopath logo.pdf}{\includegraphics[width=5cm]{\logopath logo.pdf}}{\logotext} \\[3ex]
+\IfFileExists{\logopath storagelogo.pdf}{\includegraphics[width=5cm]{\logopath storagelogo.pdf}}{\logotext} \\[3ex]
-\vfill
+% \vfill
-
-
-\noindent
-\lsp has no responsibility for the persistence or accuracy of URLs for
-external or third-party Internet websites referred to in this
-publication, and does not guarantee that any content on such websites
-is, or will remain, accurate or appropriate.
+% \noindent
+% \lsp has no responsibility for the persistence or accuracy of URLs for
+% external or third-party Internet websites referred to in this
+% publication, and does not guarantee that any content on such websites
+% is, or will remain, accurate or appropriate.
}
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% Dedication:
+% Dedication
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\lsDedication}{
- \vspace*{.2\textheight}
+\newcommand{\lsDedication}{\thispagestyle{empty}
+ \vspace*{\fill}
\begin{center}
{\lsDedicationFont
- \@dedication }
+ \@dedication\par}
\end{center}
- \vfill
+ \vspace*{\fill}
\clearpage}
-
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% Header and footer:
+% Header and footer
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1153,15 +1298,15 @@ is, or will remain, accurate or appropriate.
\renewcommand*{\partpagestyle}{empty}
\pagestyle{scrheadings}
-
-
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Sectioning
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\setcounter{secnumdepth}{4}
+\setcounter{secnumdepth}{4}
\def\subsubsubsection{\@startsection{paragraph}{3}{\z@}{-3.25ex plus
-1ex minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize}}
@@ -1174,12 +1319,12 @@ is, or will remain, accurate or appropriate.
\let\subsubsubsubsectionmark\@gobble
%% needed for hyperref
-\def\toclevel@subsubsubsection{4}
+\def\toclevel@subsubsubsection{4}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% Epigrams:
+% Epigrams
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1198,7 +1343,7 @@ is, or will remain, accurate or appropriate.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% Footnotes:
+% Footnotes
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1219,8 +1364,8 @@ is, or will remain, accurate or appropriate.
\let\oldFootnote\footnote
\newcommand\nextToken\relax
-\renewcommand\footnote[1]{%
-\oldFootnote{\xspace#1}\futurelet\nextToken\isFootnote}
+% \renewcommand\footnote[1]{% breaks more footnotes than it fixes
+% \oldFootnote{\xspace#1}\futurelet\nextToken\isFootnote}
\newcommand\isFootnote{%
\ifx\footnote\nextToken\textsuperscript{,}\fi}
@@ -1228,7 +1373,7 @@ is, or will remain, accurate or appropriate.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% Quotes:
+% Quotes
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1248,40 +1393,158 @@ is, or will remain, accurate or appropriate.
{\endlist}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% Language-specific settings
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%% Must apear before biblatex and hyperref.
+
+%% languages
+\newcommand{\lsBookLanguageEnglish}{english}
+\newcommand{\lsBookLanguageFrench}{french}
+\newcommand{\lsBookLanguagePortuguese}{portuguese}
+\newcommand{\lsBookLanguageGerman}{german}
+\newcommand{\lsBookLanguageChinese}{chinese}
+
+\iflsNoBabel
+ \else
+ \iflsBabelShorthands
+ \ifx\lsBookLanguage\lsBookLanguageEnglish
+ \usepackage[german,\lsBookLanguage]{babel}
+ \addto\extrasenglish{\languageshorthands{german}\useshorthands{"}}
+ \fi
+ \ifx\lsBookLanguage\lsBookLanguageFrench
+ \usepackage[german,\lsBookLanguage]{babel}
+ \addto\extrasfrench{\languageshorthands{german}\useshorthands{"}}
+ \fi
+ \ifx\lsBookLanguage\lsBookLanguageGerman
+ \usepackage[german]{babel}
+ \fi
+ \ifx\lsBookLanguage\lsBookLanguagePortuguese
+ \usepackage[german,\lsBookLanguage]{babel}
+ \addto\extrasportuges{\languageshorthands{german}\useshorthands{"}}
+ \fi
+ \else
+ \usepackage[\lsBookLanguage]{babel}
+ \fi
+\fi
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% Citations:
+% Citations
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[
natbib=true,
- \iflsUndecapitalize
- style=\bstpath biblatex-langsci-unified-undecap,
- \else
- style=\bstpath biblatex-langsci-unified,
- \fi
- citestyle=\bstpath langsci-authoryear-comp,
+ % \iflsUndecapitalize
+ % style=\bstpath biblatex-langsci-unified-undecap,
+ % \else
+ % style=\bstpath biblatex-langsci-unified,
+ % \fi
+ style=\bbxpath biblatex-langsci-unified,
+ citestyle=\cbxpath langsci-authoryear-comp,
+ useprefix = true, %sort von, van, de where they should appear
%refsection=chapter,
maxbibnames=99,
+ uniquename=false,
+ mincrossrefs=99,
+ maxcitenames=2,
isbn=false,
doi=false,
url=false,
eprint=false,
+ autolang=hyphen,
+ useprefix=true,
backend=\lsBiblatexBackend,
indexing=cite,
\iflsCollection\else
- toc=bib % make bibliography appear in toc
- \fi
- ]{biblatex}
+ toc=bib, % make bibliography appear in toc
+ \fi
+ datamodel=\bstpath langsci % add authauthor and autheditor as possible fields to bibtex entries
+]{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.
+ {}}
+
+
+%% changes of citestyle (cbx) (FIXME: documentation missing)
\renewcommand{\postnotedelim}{: }%
-\renewcommand{\multicitedelim}{\addsemicolon\space}%
+\renewcommand{\multicitedelim}{\addsemicolon\space}%
\renewcommand{\compcitedelim}{\multicitedelim}
-\DeclareFieldFormat{postnote}{#1}%
-%\renewcommand{\nameyeardelim}{ }%
-\defbibheading{references}{\chapter{References}}
-
+% \renewcommand{\nameyeardelim}{ }%
+
+%% changes of bibliography style (bbx)
+\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
+%% The note field should appear at end of an entry just before the DOI, other than with the used bibliography style. It is therefore first removed, then again restored and included together with the DOI.
+\AtEveryBibitem{%
+ \savefield*{note}{\lsnote}%
+ \clearfield{note}%
+}
+%% DOIs are handled after hyperref.
+\defbibheading{references}{\chapter{References}\sloppy}
+\defbibheading{french}{\chapter{Références bibliographiques}\sloppy}
+\defbibheading{german}{\chapter{Literaturverzeichnis}\sloppy}
+\defbibheading{portuguese}{\chapter{Referências}\sloppy}
+\defbibheading{chinese}{\chapter{参考文献}\sloppy}
+
+
+% fix \citep* et.al.
+% unclear why it was overwritten, these are the definitions from blx-natbib.def
+\renewrobustcmd*{\citet}{%
+ \@ifstar
+ {\AtNextCite{\AtEachCitekey{\defcounter{maxnames}{999}}}%
+ \textcite}
+ {\textcite}}
+
+\renewrobustcmd*{\citep}{%
+ \@ifstar
+ {\AtNextCite{\AtEachCitekey{\defcounter{maxnames}{999}}}%
+ \parencite}
+ {\parencite}}
+
+\renewrobustcmd*{\citealt}{%
+ \@ifstar
+ {\AtNextCite{%
+ \def\nameyeardelim{\addspace}%
+ \AtEachCitekey{\defcounter{maxnames}{999}}}%
+ \orgcite}
+ {\AtNextCite{\def\nameyeardelim{\addspace}}%
+ \orgcite}}
+
+\renewrobustcmd*{\citealp}{%
+ \@ifstar
+ {\AtNextCite{\AtEachCitekey{\defcounter{maxnames}{999}}}%
+ \orgcite}
+ {\orgcite}}
+
+\let\citew\citet
+
+\let\orgcite=\cite
\let\cite=\citet % in order to prevent inconsistencies between \cite and \citet
%% penalties against widows and orphans in bibliography
@@ -1299,9 +1562,10 @@ is, or will remain, accurate or appropriate.
% \def\blx@maxline{77}
% \makeatother
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% Floats:
+% Floats
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1336,7 +1600,7 @@ is, or will remain, accurate or appropriate.
\usepackage{setspace}
\usepackage{caption}
-% \captionsetup{labelfont=bf}
+% \captionsetup{labelfont=bf}
\captionsetup{%
font={%
stretch=.8%
@@ -1346,9 +1610,11 @@ width=.8\textwidth
}
\setcapindent{0pt}
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% Appendices:
+% Appendices
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1370,7 +1636,7 @@ width=.8\textwidth
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% Indexes:
+% Indexes
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1409,13 +1675,55 @@ width=.8\textwidth
\fi
}
+\newcommand{\lsIndexTitle}{Index}
\newcommand{\lsLanguageIndexTitle}{Language index} % This can be changed according to the language.
\newcommand{\lsSubjectIndexTitle}{Subject index}
\newcommand{\lsNameIndexTitle}{Name index}
+\newcommand{\lsPrefaceTitle}{Preface}
+\newcommand{\lsAcknowledgementTitle}{Acknowledgments}
+\newcommand{\lsAbbreviationsTitle}{Abbreviations}
+\newcommand{\lsReferencesTitle}{references} % This aligns with \defbibheading
+\IfFileExists{{\localepath langsci-hyphenation-universal}}{\input{\localepath langsci-hyphenation-universal}}{}
+
+\ifx\lsBookLanguage\lsBookLanguageFrench
+\renewcommand{\lsIndexTitle}{Index}
+\renewcommand{\lsNameIndexTitle}{Index des auteurs cités}
+\renewcommand{\lsSubjectIndexTitle}{Index des termes}
+\renewcommand{\lsLanguageIndexTitle}{Index des langues}
+\renewcommand{\lsPrefaceTitle}{Préface}
+\renewcommand{\lsAcknowledgementTitle}{Remerciements}
+\renewcommand{\lsAbbreviationsTitle}{Liste des abréviations utilisées dans les gloses des exemples}
+\renewcommand{\lsReferencesTitle}{french}
+\IfFileExists{{\localepath langsci-hyphenation-fr}}{\input{\localepath langsci-hyphenation-fr}}{}
+\fi
+
+\ifx\lsBookLanguage\lsBookLanguageGerman
+\renewcommand{\lsIndexTitle}{Register}
+\renewcommand{\lsNameIndexTitle}{Autorenregister}
+\renewcommand{\lsSubjectIndexTitle}{Sachregister}
+\renewcommand{\lsLanguageIndexTitle}{Sprachregister}
+\renewcommand{\lsPrefaceTitle}{Vorwort}
+\renewcommand{\lsAcknowledgementTitle}{Danksagung}
+\renewcommand{\lsAbbreviationsTitle}{Abkürzungsverzeichnis}
+\renewcommand{\lsReferencesTitle}{german}
+\IfFileExists{{\localepath langsci-hyphenation-de}}{\input{\localepath langsci-hyphenation-de}}{}
+\fi
+
+\ifx\lsBookLanguage\lsBookLanguagePortuguese
+\renewcommand{\lsIndexTitle}{Índices}
+\renewcommand{\lsNameIndexTitle}{Índice remissivo de autores citados}
+\renewcommand{\lsSubjectIndexTitle}{Índice remissivo temático}
+\renewcommand{\lsLanguageIndexTitle}{Índice remissivo de línguas}
+\renewcommand{\lsPrefaceTitle}{Prefácio}
+\renewcommand{\lsAcknowledgementTitle}{Agradecimentos}
+\renewcommand{\lsAbbreviationsTitle}{\colorbox{red}{Translation info for Abbv missing}}
+\renewcommand{\lsReferencesTitle}{portugese}
+\IfFileExists{{\localepath langsci-hyphenation-pt}}{\input{\localepath langsci-hyphenation-pt}}{}
+\fi
\AtBeginDocument{
\makeindex
- \newindex{lan}{ldx}{lnd}{\lsLanguageIndexTitle}
+ \newindex{lan}{ldx}{lnd}{\lsLanguageIndexTitle}
\newindex{sbj}{sdx}{snd}{\lsSubjectIndexTitle}
\renewindex{default}{adx}{and}{\lsNameIndexTitle} %biblatex can only deal with the default index
% \newindex{wrd}{wdx}{wnd}{Expression index}
@@ -1480,9 +1788,9 @@ width=.8\textwidth
\RequirePackage{soul}
% \RequirePackage[noadjust]{marginnote}
\renewcommand{\marginpar}{\marginnote}
- \let\isold\is
- \let\ilold\il
- \let\iaold\ia
+ \let\isold\is
+ \let\ilold\il
+ \let\iaold\ia
\renewcommand{\isi}[1]{\sethlcolor{green}\hl{#1}\isold{#1}}
\renewcommand{\is}[1]{{\tikzstyle{notestyleraw} += [text width=1.5cm]\todo[color=green,size=\scriptsize]{\tiny#1}\isold{#1}}}
\renewcommand{\ili}[1]{\sethlcolor{yellow}\hl{#1}\ilold{#1}}
@@ -1494,7 +1802,7 @@ width=.8\textwidth
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% Hyperref:
+% Hyperref
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1523,11 +1831,25 @@ width=.8\textwidth
\iflsBiblatex
\renewbibmacro*{finentry}{\finentry
\iffieldundef{url}{}{ \url{\thefield{url}}\iffieldundef{urlday}{}{, accessed \thefield{urlyear}-\thefield{urlmonth}-\thefield{urlday}}.}
+ \restorefield{note}{\lsnote}
+ \iffieldundef{note}{}{\addspace{\thefield{note}\addperiod}}
\iffieldundef{doi}{}{ {\color{lsGuidelinesGray}\doi{\thefield{doi}}}}
}
%\DeclareFieldFormat{doi}{{\color{lsGuidelinesGray}\doi{#1}}}
\fi
+%% autoref (part of hyperref)
+\ifx\lsBookLanguage\lsBookLanguageEnglish
+\renewcommand{\partautorefname}{Part}%
+\renewcommand{\chapterautorefname}{Chapter}%
+\renewcommand{\sectionautorefname}{Section}%
+\renewcommand{\subsectionautorefname}{Section}%
+\renewcommand{\subsubsectionautorefname}{Section}%
+\renewcommand{\figureautorefname}{Figure}%
+\renewcommand{\tableautorefname}{Table}%
+\renewcommand{\Hfootnoteautorefname}{Footnote}%
+\fi
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
@@ -1542,9 +1864,9 @@ width=.8\textwidth
%% inside \author:
-\renewcommand{\and}{}
+\renewcommand{\and}{}
\newcommand{\lastand}{}
-\newcommand{\affiliation}[1]{}
+\newcommand{\affiliation}[1]{}
%% to be used below chapter titles
\newcommand{\chaptersubtitle}[1]{
@@ -1554,19 +1876,19 @@ width=.8\textwidth
\@afterindentfalse
\@afterheading
}
-
+
\iflsCollection
\iflsBiblatex\else
\ClassError{langsci/langscibook}{Collection option not compatible with plain BibTeX. Please use biblatex option}{}
\fi
-
+
\AtBeginDocument{ % for the citation in the footer
\onlyAuthor
\renewcommand{\newlineCover}{}
- \renewcommand{\newlineSpine}{}
- \edef\lsCollectionTitle{\@title} % \edef immediately expands \@title
+ \renewcommand{\newlineSpine}{}
+ \edef\lsCollectionTitle{\@title\ifx\@subtitle\empty\else{: \@subtitle}\fi} % \edef immediately expands \@title
\edef\lsCollectionEditor{\@author}
\addbibresource{collection_tmp.bib}
\newwrite\tempfile % open temporary bib file
@@ -1576,16 +1898,16 @@ width=.8\textwidth
%% customize \tableofcontents
\renewcommand{\@dotsep}{2.5} % space between dots
-\renewcommand{\@tocrmarg}{1.5em} % right margin for leader
+\renewcommand{\@tocrmarg}{1.5em} % right margin for leader
\renewcommand{\@pnumwidth}{1.5em} % width of page numbers
\usepackage{tocstyle}
\usetocstyle{standard} %\usetocstyle{allwithdot}
-\settocfeature[toc]{raggedhook}{\raggedright}
+\settocfeature[toc]{raggedhook}{\raggedright}
\iflsCollectionTOCLong\else
\setcounter{tocdepth}{0}\fi % show only parts and chapters
\settocstylefeature[-1]{pagenumberbox}{\csname @gobble\endcsname} % parts without page number
\settocstylefeature[-1]{leaders}{\hfill} % parts without dots#
-
+
\usepackage{chngcntr}
\counterwithout{figure}{chapter}
\counterwithout{table}{chapter}
@@ -1616,16 +1938,16 @@ width=.8\textwidth
{\thefield{entrytype}}}
{\multicitedelim}
{\usebibmacro{postnote}}
- \renewcommand{\lsCollectionPaperCitationText}{\fullciteFooter{#1}}
-
+ \renewcommand{\lsCollectionPaperCitationText}{\fullciteFooter{#1}}
+
\include{#1}%
\addtocounter{page}{-1}
\edef\lsCollectionPaperLastPage{\thepage} % \lsCollectionPaperFirstPage is defined in \lsPaper
\addtocounter{page}{1}
-
+
%%% for citation in footer
%% preprocessing of author/editor names
- \onlyAuthor
+ \onlyAuthor
\renewcommand{\newlineCover}{}
\renewcommand{\newlineSpine}{}
\renewcommand{\newlineTOC}{}
@@ -1636,68 +1958,104 @@ width=.8\textwidth
%% write bib entry to file
%% FIXME: the publisher field needs a final period, since this is not provided by \fullciteFooter together with DOIs.
- \immediate\write\tempfile{@incollection{#1,author={\authorTemp},title={{\@title}},booktitle={{\lsCollectionTitle}},editor={\editorTemp},publisher={Language Science Press.},Address={Berlin},year=\lsYear,pages={\lsCollectionPaperFirstPage --\lsCollectionPaperLastPage},doi={\lsChapterDOI},options={skipbib=true,skiplab=true}}}
-
+ \immediate\write\tempfile{@incollection{#1,author={\authorTemp},title={{\lsCollectionPaperFooterTitle}},booktitle={{\lsCollectionTitle}},editor={\editorTemp},publisher={Language Science Press.},Address={Berlin},year={\,\lsYear},pages={\lsCollectionPaperFirstPage --\lsCollectionPaperLastPage},doi={\lsChapterDOI},options={skipbib=true,skiplab=true}}}
+
\end{refsection}
\end{collectionpaper}}
\fi
-
-
\newcommand{\onlyAuthor}{% % collection paper
- \renewcommand{\and}{, }%
- \renewcommand{\lastand}{ \& }%
+ \renewcommand{\and}{, }%
+ \renewcommand{\lastand}{ \& }%
\renewcommand{\affiliation}[1]{}
}
-
+
\newcommand{\AuthorAffiliation}{
- \renewcommand{\and}{\newline\newline}
- \renewcommand{\lastand}{\newline\newline}
+ \renewcommand{\and}{\newline\newline}
+ \renewcommand{\lastand}{\newline\newline}
\renewcommand{\affiliation}[1]{\\[0.5ex]{\normalsize ##1}}}
\newcommand{\lsCollectionPaperHeaderAuthor}{{%
\renewcommand{\newlineCover}{}%
\renewcommand{\newlineTOC}{}%
\onlyAuthor\@author}}
-
+
\newcommand{\lsCollectionPaperHeaderTitle}{%
\renewcommand{\newlineCover}{}
\renewcommand{\newlineTOC}{}
\iflsCollectionChapter%
\thechapter\hspace{0.5em}\fi
\@title}
-
+
\newcommand{\lsCollectionPaperTOC}{{%
\iflsCollectionChapter%
\protect\numberline{\thechapter}\fi
- \@title\newline{\normalfont\@author}}}
-
+ \@title\ \newline{\normalfont\@author}}} % space between \@title and \newline is needed for bookmarks
+
\newcommand{\lsCollectionPaperTitle}{{%
\renewcommand{\newlineTOC}{}
- \renewcommand{\newlineCover}{\\}
+ \renewcommand{\newlineCover}{\\}
% \\[-1\baselineskip]
% \vspace*{-2\baselineskip}
\renewcommand{\chapterheadstartvskip}{}
{\LARGE \noindent \hspace*{-.7cm} Chapter \thechapter}\\ %there must be a better way to undo this length than a hard value
- \bigskip
+ \bigskip
+ \@title}}
+
+\newcommand{\lsCollectionPaperFooterTitle}{\@title}
+
+\newcommand{\lsCollectionPaperFrontmatterMode}{% %%% Sometimes, chapters like prefaces appear in edited volumes that need special treatment in their headers and TOC
+ \renewcommand{\lsCollectionPaperTitle}{{%
+ \renewcommand{\newlineTOC}{}
+ \renewcommand{\newlineCover}{\\}
+ \\[-1\baselineskip]
+ \noindent{\LARGE ~}\\
+ \bigskip
+ \noindent\@title}}
+
+ \renewcommand{\lsCollectionPaperTOC}{{%
+ \iflsCollectionChapter%
+ \protect\numberline{~}\fi
+ \@title\ \newline{\normalfont\@author}}}
+}
+
+\newcommand{\lsCollectionPaperMainmatterMode}{% %%% This resets the changes done by FrontmatterMode
+ \renewcommand{\lsCollectionPaperTitle}{{%
+ \renewcommand{\newlineTOC}{}
+ \renewcommand{\newlineCover}{\\}
+ \\[-1\baselineskip]
+% \vspace*{-2\baselineskip}
+ \noindent{\LARGE Chapter \thechapter}\\
+ \bigskip
\@title}}
-
+
+ \renewcommand{\lsCollectionPaperTOC}{{%
+ \iflsCollectionChapter%
+ \protect\numberline{\thechapter}\fi
+ \@title\ \newline{\normalfont\@author}}}}
+
\newcommand{\lsCollectionPaperAuthor}{{%
\renewcommand{\newlineTOC}{}
\renewcommand{\newlineCover}{\\[0.5ex]}
\AuthorAffiliation\Large\@author}}
-
+
\newcommand{\lsCollectionPaperCitation}{\scalebox{1.2}{
\includegraphics{\logopath langsci_spinelogo_nocolor.pdf}}%
% \hspace{0.8em}%
\hfill%
\parbox[b]{.87\textwidth}{\linespread{0.8}\lsChapterFooterSize\normalfont\lsCollectionPaperCitationText}}
-
+\ifx\lsOutput\lsOutputPaper % only if output=paper
+ \renewcommand{\lsCollectionPaperCitation}{Change with \string\papernote}
+\fi
+
\newcommand{\lsCollectionPaperCitationText}{\string\lsCollectionPaperCitationText.}
+\newcommand{\papernote}[1]{
+ \renewcommand{\lsCollectionPaperCitation}{#1}}
+
\newcommand{\lsPaper}{
\renewcommand{\maketitle}{
- \addtocounter{chapter}{1}
+ \refstepcounter{chapter}
\addchap*{\lsCollectionPaperTitle}
\global\edef\lsCollectionPaperFirstPage{\thepage} % for citation in footer
\onlyAuthor
@@ -1709,13 +2067,13 @@ width=.8\textwidth
\lsCollectionPaperAuthor%
\vspace*{\baselineskip}%
\ifx\@epigram\empty%
- \else {\epigraph{\@epigram\\[-5ex]}{\@epigramsource}%
- \epigram{}\epigramsource{}}%
- \fi%
+ \else {\epigraph{\@epigram\\[-5ex]}{\@epigramsource}%
+ \epigram{}\epigramsource{}}%
+ \fi%
\begin{quote}
\small\lsCollectionPaperAbstract
\end{quote}
- }
+ }
\renewcommand*{\thesection}{\arabic{section}}
\setcounter{section}{0}
@@ -1729,20 +2087,21 @@ width=.8\textwidth
}
-%writeout page numbers for separation of chapters
+%writeout page numbers for separation of chapters
% \usepackage{newfile}
% \newoutputstream{pages}
% \openoutputfile{\jobname.pgs}{pages}
% \newcommand{\writechapterpages}{\addtostream{pages}{\thepage}}
-%
+%
% \AtEndDocument{
% \closeoutputstream{pages}
% }
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
-% Miscellaneous:
+% Miscellaneous
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1752,9 +2111,15 @@ width=.8\textwidth
\newlength{\LSPTmp}
\newcommand*{\hspaceThis}[1]{\settowidth{\LSPTmp}{#1}\hspace*{\LSPTmp}}
-\iflsNoBabel
- \else
- \usepackage[english]{babel}
-\fi
+% no this does add vertical space instead of horizontal St. Mü. 04.03.2018
+% \newcommand*{\hspaceThis}[1]{\hphantom{#1}} %should be equivalent
+
+% in this example
+%% \eal
+%% \ex \hspaceThis{*~}The boy who is running fast can jump high. $\to$\\
+%% {}* Is the boy who running fast can jump high?
+%% \ex \hspaceThis{*~}The boy who can run fast can jump high. $\to$\\
+%% {}* Can the boy who run fast can jump high?
+%% \zl
-\endinput \ No newline at end of file
+\endinput
diff --git a/Master/texmf-dist/tex/xelatex/langsci/tbls-alarm.pdf b/Master/texmf-dist/tex/xelatex/langsci/tbls-alarm.pdf
new file mode 100644
index 00000000000..cca73bcd173
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/tbls-alarm.pdf
@@ -0,0 +1,121 @@
+%PDF-1.4
+%쏢
+5 0 obj
+<</Length 6 0 R>>
+stream
+q 0.1 0 0 0.1 0 0 cm
+/R7 gs
+% g
+120 42.5 m
+120 91.25 l
+120 110 105 125 86.25 125 c
+67.5 125 52.5 110 52.5 91.25 c
+52.5 42.5 l
+120 42.5 l
+135 50 m
+150 35 l
+150 27.5 l
+22.5 27.5 l
+22.5 35 l
+37.5 50 l
+37.5 91.25 l
+37.5 114.262 53.4805 133.551 75 138.629 c
+75 143.75 l
+75 149.961 80.0391 155 86.25 155 c
+92.4609 155 97.5 149.961 97.5 143.75 c
+97.5 138.629 l
+118.949 133.551 135 114.262 135 91.25 c
+135 50 l
+86.25 5 m
+77.9688 5 71.25 11.7188 71.25 20 c
+101.25 20 l
+101.25 11.7188 94.5313 5 86.25 5 c
+149.77 95 m
+148.629 114.879 138.441 132.5 123.16 143.16 c
+133.871 153.871 l
+151.801 140.23 163.629 119.059 164.77 95 c
+149.77 95 l
+49.3398 143.16 m
+34.0586 132.5 23.8711 114.879 22.5 95 c
+7.5 95 l
+8.87109 119.059 20.6992 140.23 38.6289 153.871 c
+h
+49.3398 143.16 m
+f
+Q
+endstream
+endobj
+6 0 obj
+764
+endobj
+4 0 obj
+<</Type/Page/MediaBox [0 0 17 16]
+/Parent 3 0 R
+/Resources<</ProcSet[/PDF]
+/ExtGState 8 0 R
+>>
+/Contents 5 0 R
+>>
+endobj
+3 0 obj
+<< /Type /Pages /Kids [
+4 0 R
+] /Count 1
+>>
+endobj
+1 0 obj
+<</Type /Catalog /Pages 3 0 R
+/Metadata 9 0 R
+>>
+endobj
+7 0 obj
+<</Type/ExtGState
+/OPM 1>>endobj
+8 0 obj
+<</R7
+7 0 R>>
+endobj
+9 0 obj
+<</Type/Metadata
+/Subtype/XML/Length 1366>>stream
+<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
+<?adobe-xap-filters esc="CRLF"?>
+<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9.1-13, framework 1.6'>
+<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>
+<rdf:Description rdf:about='uuid:cdff5a8b-cefc-11f2-0000-bfe868432480' xmlns:pdf='http://ns.adobe.com/pdf/1.3/' pdf:Producer='GPL Ghostscript 9.20'/>
+<rdf:Description rdf:about='uuid:cdff5a8b-cefc-11f2-0000-bfe868432480' xmlns:xmp='http://ns.adobe.com/xap/1.0/'><xmp:ModifyDate>2017-09-11T12:59:17+02:00</xmp:ModifyDate>
+<xmp:CreateDate>2017-09-11T12:59:17+02:00</xmp:CreateDate>
+<xmp:CreatorTool>cairo 1.14.10 (http://cairographics.org)</xmp:CreatorTool></rdf:Description>
+<rdf:Description rdf:about='uuid:cdff5a8b-cefc-11f2-0000-bfe868432480' xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/' xapMM:DocumentID='uuid:cdff5a8b-cefc-11f2-0000-bfe868432480'/>
+<rdf:Description rdf:about='uuid:cdff5a8b-cefc-11f2-0000-bfe868432480' xmlns:dc='http://purl.org/dc/elements/1.1/' dc:format='application/pdf'><dc:title><rdf:Alt><rdf:li xml:lang='x-default'>Untitled</rdf:li></rdf:Alt></dc:title></rdf:Description>
+</rdf:RDF>
+</x:xmpmeta>
+
+
+<?xpacket end='w'?>
+endstream
+endobj
+2 0 obj
+<</Producer(GPL Ghostscript 9.20)
+/CreationDate(D:20170911125917+02'00')
+/ModDate(D:20170911125917+02'00')
+/Creator(cairo 1.14.10 \(http://cairographics.org\))>>endobj
+xref
+0 10
+0000000000 65535 f
+0000001036 00000 n
+0000002612 00000 n
+0000000977 00000 n
+0000000848 00000 n
+0000000015 00000 n
+0000000829 00000 n
+0000001100 00000 n
+0000001141 00000 n
+0000001170 00000 n
+trailer
+<< /Size 10 /Root 1 0 R /Info 2 0 R
+/ID [<E976E3A6FED74CFAEAA1ACC5AA2AB844><E976E3A6FED74CFAEAA1ACC5AA2AB844>]
+>>
+startxref
+2788
+%%EOF
diff --git a/Master/texmf-dist/tex/xelatex/langsci/tbls-book.pdf b/Master/texmf-dist/tex/xelatex/langsci/tbls-book.pdf
new file mode 100644
index 00000000000..50c8da3613a
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/tbls-book.pdf
@@ -0,0 +1,110 @@
+%PDF-1.4
+%쏢
+5 0 obj
+<</Length 6 0 R>>
+stream
+q 0.1 0 0 0.1 0 0 cm
+/R7 gs
+% g
+% 10.0195 263.441 263.441 re
+f
+%.769531 0.777344 0.769531 rg
+131.719 54.6289 m
+107.66 81.5 57.2305 94.8594 41.0195 94.8594 c
+31.0898 94.8594 l
+31.0898 228.852 l
+41.0195 228.852 l
+72.1914 228.852 108.672 215.25 131.719 195.68 c
+154.77 215.25 191.25 228.852 222.461 228.852 c
+232.34 228.852 l
+232.34 94.8594 l
+222.461 94.8594 l
+206.211 94.8594 158.199 82.7891 131.719 54.6289 c
+141.641 177.641 m
+141.641 88.4219 l
+164.02 102.641 192.809 111.93 212.539 114.469 c
+212.539 208.031 l
+186.91 205.41 158.48 193.34 141.641 177.641 c
+50.8984 114.469 m
+70.6602 111.93 99.4102 102.641 121.84 88.4219 c
+121.84 177.641 l
+104.961 193.34 76.5195 205.41 50.8984 208.031 c
+50.8984 114.469 l
+f
+Q
+endstream
+endobj
+6 0 obj
+709
+endobj
+4 0 obj
+<</Type/Page/MediaBox [0 0 27 28]
+/Parent 3 0 R
+/Resources<</ProcSet[/PDF]
+/ExtGState 8 0 R
+>>
+/Contents 5 0 R
+>>
+endobj
+3 0 obj
+<< /Type /Pages /Kids [
+4 0 R
+] /Count 1
+>>
+endobj
+1 0 obj
+<</Type /Catalog /Pages 3 0 R
+/Metadata 9 0 R
+>>
+endobj
+7 0 obj
+<</Type/ExtGState
+/OPM 1>>endobj
+8 0 obj
+<</R7
+7 0 R>>
+endobj
+9 0 obj
+<</Type/Metadata
+/Subtype/XML/Length 1365>>stream
+<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
+<?adobe-xap-filters esc="CRLF"?>
+<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9.1-13, framework 1.6'>
+<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>
+<rdf:Description rdf:about='uuid:f58cb9a3-9c7c-11f1-0000-6c09b143e538' xmlns:pdf='http://ns.adobe.com/pdf/1.3/' pdf:Producer='GPL Ghostscript 9.06'/>
+<rdf:Description rdf:about='uuid:f58cb9a3-9c7c-11f1-0000-6c09b143e538' xmlns:xmp='http://ns.adobe.com/xap/1.0/'><xmp:ModifyDate>2016-08-17T11:53:12+02:00</xmp:ModifyDate>
+<xmp:CreateDate>2016-08-17T11:53:12+02:00</xmp:CreateDate>
+<xmp:CreatorTool>cairo 1.14.0 (http://cairographics.org)</xmp:CreatorTool></rdf:Description>
+<rdf:Description rdf:about='uuid:f58cb9a3-9c7c-11f1-0000-6c09b143e538' xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/' xapMM:DocumentID='uuid:f58cb9a3-9c7c-11f1-0000-6c09b143e538'/>
+<rdf:Description rdf:about='uuid:f58cb9a3-9c7c-11f1-0000-6c09b143e538' xmlns:dc='http://purl.org/dc/elements/1.1/' dc:format='application/pdf'><dc:title><rdf:Alt><rdf:li xml:lang='x-default'>Untitled</rdf:li></rdf:Alt></dc:title></rdf:Description>
+</rdf:RDF>
+</x:xmpmeta>
+
+
+<?xpacket end='w'?>
+endstream
+endobj
+2 0 obj
+<</Producer(GPL Ghostscript 9.06)
+/CreationDate(D:20160817115312+02'00')
+/ModDate(D:20160817115312+02'00')
+/Creator(cairo 1.14.0 \(http://cairographics.org\))>>endobj
+xref
+0 10
+0000000000 65535 f
+0000000981 00000 n
+0000002556 00000 n
+0000000922 00000 n
+0000000793 00000 n
+0000000015 00000 n
+0000000774 00000 n
+0000001045 00000 n
+0000001086 00000 n
+0000001115 00000 n
+trailer
+<< /Size 10 /Root 1 0 R /Info 2 0 R
+/ID [<ECD1AD554B1D382F0AAFA0B712729456><ECD1AD554B1D382F0AAFA0B712729456>]
+>>
+startxref
+2731
+%%EOF
diff --git a/Master/texmf-dist/tex/xelatex/langsci/tbls-bulb.pdf b/Master/texmf-dist/tex/xelatex/langsci/tbls-bulb.pdf
new file mode 100644
index 00000000000..385af6c34a7
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/tbls-bulb.pdf
@@ -0,0 +1,116 @@
+%PDF-1.4
+%쏢
+5 0 obj
+<</Length 6 0 R>>
+stream
+q 0.1 0 0 0.1 0 0 cm
+/R7 gs
+% g
+% 9.98828 263.441 263.48 re
+f
+%.773438 0.773438 0.777344 rg
+100.16 46.9805 m
+100.16 41.1992 104.879 36.4688 110.66 36.4688 c
+152.77 36.4688 l
+158.59 36.4688 163.32 41.1992 163.32 46.9805 c
+163.32 57.4883 l
+100.16 57.4883 l
+h
+131.719 247.02 m
+91.0898 247.02 58.0508 213.93 58.0508 173.309 c
+58.0508 148.27 70.5508 126.281 89.6484 112.879 c
+89.6484 89.0898 l
+89.6484 83.3086 94.3398 78.5391 100.16 78.5391 c
+163.32 78.5391 l
+169.102 78.5391 173.871 83.3086 173.871 89.0898 c
+173.871 112.879 l
+192.891 126.281 205.43 148.27 205.43 173.309 c
+205.43 213.93 172.34 247.02 131.719 247.02 c
+161.719 130.141 m
+152.77 123.82 l
+152.77 99.6016 l
+110.66 99.6016 l
+110.66 123.82 l
+101.719 130.141 l
+87.5 140.031 79.1016 156.16 79.1016 173.309 c
+79.1016 202.371 102.66 225.969 131.719 225.969 c
+160.781 225.969 184.379 202.371 184.379 173.309 c
+184.379 156.16 175.941 140.031 161.719 130.141 c
+f
+Q
+endstream
+endobj
+6 0 obj
+915
+endobj
+4 0 obj
+<</Type/Page/MediaBox [0 0 27 28]
+/Parent 3 0 R
+/Resources<</ProcSet[/PDF]
+/ExtGState 8 0 R
+>>
+/Contents 5 0 R
+>>
+endobj
+3 0 obj
+<< /Type /Pages /Kids [
+4 0 R
+] /Count 1
+>>
+endobj
+1 0 obj
+<</Type /Catalog /Pages 3 0 R
+/Metadata 9 0 R
+>>
+endobj
+7 0 obj
+<</Type/ExtGState
+/OPM 1>>endobj
+8 0 obj
+<</R7
+7 0 R>>
+endobj
+9 0 obj
+<</Type/Metadata
+/Subtype/XML/Length 1365>>stream
+<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
+<?adobe-xap-filters esc="CRLF"?>
+<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9.1-13, framework 1.6'>
+<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>
+<rdf:Description rdf:about='uuid:fd4c5e24-9c7c-11f1-0000-b7491eff7f98' xmlns:pdf='http://ns.adobe.com/pdf/1.3/' pdf:Producer='GPL Ghostscript 9.06'/>
+<rdf:Description rdf:about='uuid:fd4c5e24-9c7c-11f1-0000-b7491eff7f98' xmlns:xmp='http://ns.adobe.com/xap/1.0/'><xmp:ModifyDate>2016-08-17T11:53:25+02:00</xmp:ModifyDate>
+<xmp:CreateDate>2016-08-17T11:53:25+02:00</xmp:CreateDate>
+<xmp:CreatorTool>cairo 1.14.0 (http://cairographics.org)</xmp:CreatorTool></rdf:Description>
+<rdf:Description rdf:about='uuid:fd4c5e24-9c7c-11f1-0000-b7491eff7f98' xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/' xapMM:DocumentID='uuid:fd4c5e24-9c7c-11f1-0000-b7491eff7f98'/>
+<rdf:Description rdf:about='uuid:fd4c5e24-9c7c-11f1-0000-b7491eff7f98' xmlns:dc='http://purl.org/dc/elements/1.1/' dc:format='application/pdf'><dc:title><rdf:Alt><rdf:li xml:lang='x-default'>Untitled</rdf:li></rdf:Alt></dc:title></rdf:Description>
+</rdf:RDF>
+</x:xmpmeta>
+
+
+<?xpacket end='w'?>
+endstream
+endobj
+2 0 obj
+<</Producer(GPL Ghostscript 9.06)
+/CreationDate(D:20160817115325+02'00')
+/ModDate(D:20160817115325+02'00')
+/Creator(cairo 1.14.0 \(http://cairographics.org\))>>endobj
+xref
+0 10
+0000000000 65535 f
+0000001187 00000 n
+0000002762 00000 n
+0000001128 00000 n
+0000000999 00000 n
+0000000015 00000 n
+0000000980 00000 n
+0000001251 00000 n
+0000001292 00000 n
+0000001321 00000 n
+trailer
+<< /Size 10 /Root 1 0 R /Info 2 0 R
+/ID [<1F56471E572FFAE8039CE1F5D26B930E><1F56471E572FFAE8039CE1F5D26B930E>]
+>>
+startxref
+2937
+%%EOF
diff --git a/Master/texmf-dist/tex/xelatex/langsci/tbls-bulbon.pdf b/Master/texmf-dist/tex/xelatex/langsci/tbls-bulbon.pdf
new file mode 100644
index 00000000000..56d6dcdd667
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/tbls-bulbon.pdf
@@ -0,0 +1,137 @@
+%PDF-1.4
+%쏢
+5 0 obj
+<</Length 6 0 R>>
+stream
+q 0.1 0 0 0.1 0 0 cm
+/R7 gs
+% g
+150 97.5 m
+172.5 97.5 l
+172.5 82.5 l
+150 82.5 l
+150 97.5 l
+7.5 97.5 m
+30 97.5 l
+30 82.5 l
+7.5 82.5 l
+7.5 97.5 l
+97.5 172.5 m
+97.5 150 l
+82.5 150 l
+82.5 172.5 l
+97.5 172.5 l
+36.9102 153.75 m
+52.8906 137.699 l
+42.2305 127.109 l
+26.25 143.012 l
+36.9102 153.75 l
+127.109 137.77 m
+143.012 153.75 l
+153.75 143.012 l
+137.77 127.109 l
+127.109 137.77 l
+90 135 m
+114.84 135 135 114.84 135 90 c
+135 73.3594 125.941 58.7891 112.5 51.0195 c
+112.5 37.5 l
+112.5 33.3594 109.141 30 105 30 c
+75 30 l
+70.8594 30 67.5 33.3594 67.5 37.5 c
+67.5 51.0195 l
+54.0586 58.7891 45 73.3594 45 90 c
+45 114.84 65.1602 135 90 135 c
+105 22.5 m
+105 15 l
+105 10.8594 101.641 7.5 97.5 7.5 c
+82.5 7.5 l
+78.3594 7.5 75 10.8594 75 15 c
+75 22.5 l
+105 22.5 l
+82.5 45 m
+97.5 45 l
+97.5 60.9805 l
+110.469 64.2617 120 76.0508 120 90 c
+120 106.559 106.559 120 90 120 c
+73.4414 120 60 106.559 60 90 c
+60 76.0508 69.5313 64.2617 82.5 60.9805 c
+h
+82.5 45 m
+f
+Q
+endstream
+endobj
+6 0 obj
+944
+endobj
+4 0 obj
+<</Type/Page/MediaBox [0 0 18 18]
+/Parent 3 0 R
+/Resources<</ProcSet[/PDF]
+/ExtGState 8 0 R
+>>
+/Contents 5 0 R
+>>
+endobj
+3 0 obj
+<< /Type /Pages /Kids [
+4 0 R
+] /Count 1
+>>
+endobj
+1 0 obj
+<</Type /Catalog /Pages 3 0 R
+/Metadata 9 0 R
+>>
+endobj
+7 0 obj
+<</Type/ExtGState
+/OPM 1>>endobj
+8 0 obj
+<</R7
+7 0 R>>
+endobj
+9 0 obj
+<</Type/Metadata
+/Subtype/XML/Length 1366>>stream
+<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
+<?adobe-xap-filters esc="CRLF"?>
+<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9.1-13, framework 1.6'>
+<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>
+<rdf:Description rdf:about='uuid:51b9470d-cefd-11f2-0000-e62c3c3c0d95' xmlns:pdf='http://ns.adobe.com/pdf/1.3/' pdf:Producer='GPL Ghostscript 9.20'/>
+<rdf:Description rdf:about='uuid:51b9470d-cefd-11f2-0000-e62c3c3c0d95' xmlns:xmp='http://ns.adobe.com/xap/1.0/'><xmp:ModifyDate>2017-09-11T13:02:58+02:00</xmp:ModifyDate>
+<xmp:CreateDate>2017-09-11T13:02:58+02:00</xmp:CreateDate>
+<xmp:CreatorTool>cairo 1.14.10 (http://cairographics.org)</xmp:CreatorTool></rdf:Description>
+<rdf:Description rdf:about='uuid:51b9470d-cefd-11f2-0000-e62c3c3c0d95' xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/' xapMM:DocumentID='uuid:51b9470d-cefd-11f2-0000-e62c3c3c0d95'/>
+<rdf:Description rdf:about='uuid:51b9470d-cefd-11f2-0000-e62c3c3c0d95' xmlns:dc='http://purl.org/dc/elements/1.1/' dc:format='application/pdf'><dc:title><rdf:Alt><rdf:li xml:lang='x-default'>Untitled</rdf:li></rdf:Alt></dc:title></rdf:Description>
+</rdf:RDF>
+</x:xmpmeta>
+
+
+<?xpacket end='w'?>
+endstream
+endobj
+2 0 obj
+<</Producer(GPL Ghostscript 9.20)
+/CreationDate(D:20170911130258+02'00')
+/ModDate(D:20170911130258+02'00')
+/Creator(cairo 1.14.10 \(http://cairographics.org\))>>endobj
+xref
+0 10
+0000000000 65535 f
+0000001216 00000 n
+0000002792 00000 n
+0000001157 00000 n
+0000001028 00000 n
+0000000015 00000 n
+0000001009 00000 n
+0000001280 00000 n
+0000001321 00000 n
+0000001350 00000 n
+trailer
+<< /Size 10 /Root 1 0 R /Info 2 0 R
+/ID [<942865AE82640BCFF3C9E095D5921E09><942865AE82640BCFF3C9E095D5921E09>]
+>>
+startxref
+2968
+%%EOF
diff --git a/Master/texmf-dist/tex/xelatex/langsci/tbls-code.pdf b/Master/texmf-dist/tex/xelatex/langsci/tbls-code.pdf
new file mode 100644
index 00000000000..5a81ae19bed
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/tbls-code.pdf
@@ -0,0 +1,126 @@
+%PDF-1.4
+%쏢
+5 0 obj
+<</Length 6 0 R>>
+stream
+q 0.1 0 0 0.1 0 0 cm
+/R7 gs
+% g
+40 137.5 m
+31.7188 137.5 25 130.781 25 122.5 c
+25 92.5 l
+25 84.2188 18.2813 77.5 10 77.5 c
+2.5 77.5 l
+2.5 62.5 l
+10 62.5 l
+18.2813 62.5 25 55.7813 25 47.5 c
+25 17.5 l
+25 9.21875 31.7188 2.5 40 2.5 c
+55 2.5 l
+55 17.5 l
+40 17.5 l
+40 55 l
+40 63.2813 33.2813 70 25 70 c
+33.2813 70 40 76.7188 40 85 c
+40 122.5 l
+55 122.5 l
+55 137.5 l
+100 137.5 m
+108.281 137.5 115 130.781 115 122.5 c
+115 92.5 l
+115 84.2188 121.719 77.5 130 77.5 c
+137.5 77.5 l
+137.5 62.5 l
+130 62.5 l
+121.719 62.5 115 55.7813 115 47.5 c
+115 17.5 l
+115 9.21875 108.281 2.5 100 2.5 c
+85 2.5 l
+85 17.5 l
+100 17.5 l
+100 55 l
+100 63.2813 106.719 70 115 70 c
+106.719 70 100 76.7188 100 85 c
+100 122.5 l
+85 122.5 l
+85 137.5 l
+h
+100 137.5 m
+f
+Q
+endstream
+endobj
+6 0 obj
+731
+endobj
+4 0 obj
+<</Type/Page/MediaBox [0 0 14 14]
+/Parent 3 0 R
+/Resources<</ProcSet[/PDF]
+/ExtGState 8 0 R
+>>
+/Contents 5 0 R
+>>
+endobj
+3 0 obj
+<< /Type /Pages /Kids [
+4 0 R
+] /Count 1
+>>
+endobj
+1 0 obj
+<</Type /Catalog /Pages 3 0 R
+/Metadata 9 0 R
+>>
+endobj
+7 0 obj
+<</Type/ExtGState
+/OPM 1>>endobj
+8 0 obj
+<</R7
+7 0 R>>
+endobj
+9 0 obj
+<</Type/Metadata
+/Subtype/XML/Length 1366>>stream
+<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
+<?adobe-xap-filters esc="CRLF"?>
+<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9.1-13, framework 1.6'>
+<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>
+<rdf:Description rdf:about='uuid:5da5090d-cefd-11f2-0000-37e32663a32e' xmlns:pdf='http://ns.adobe.com/pdf/1.3/' pdf:Producer='GPL Ghostscript 9.20'/>
+<rdf:Description rdf:about='uuid:5da5090d-cefd-11f2-0000-37e32663a32e' xmlns:xmp='http://ns.adobe.com/xap/1.0/'><xmp:ModifyDate>2017-09-11T13:03:18+02:00</xmp:ModifyDate>
+<xmp:CreateDate>2017-09-11T13:03:18+02:00</xmp:CreateDate>
+<xmp:CreatorTool>cairo 1.14.10 (http://cairographics.org)</xmp:CreatorTool></rdf:Description>
+<rdf:Description rdf:about='uuid:5da5090d-cefd-11f2-0000-37e32663a32e' xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/' xapMM:DocumentID='uuid:5da5090d-cefd-11f2-0000-37e32663a32e'/>
+<rdf:Description rdf:about='uuid:5da5090d-cefd-11f2-0000-37e32663a32e' xmlns:dc='http://purl.org/dc/elements/1.1/' dc:format='application/pdf'><dc:title><rdf:Alt><rdf:li xml:lang='x-default'>Untitled</rdf:li></rdf:Alt></dc:title></rdf:Description>
+</rdf:RDF>
+</x:xmpmeta>
+
+
+<?xpacket end='w'?>
+endstream
+endobj
+2 0 obj
+<</Producer(GPL Ghostscript 9.20)
+/CreationDate(D:20170911130318+02'00')
+/ModDate(D:20170911130318+02'00')
+/Creator(cairo 1.14.10 \(http://cairographics.org\))>>endobj
+xref
+0 10
+0000000000 65535 f
+0000001003 00000 n
+0000002579 00000 n
+0000000944 00000 n
+0000000815 00000 n
+0000000015 00000 n
+0000000796 00000 n
+0000001067 00000 n
+0000001108 00000 n
+0000001137 00000 n
+trailer
+<< /Size 10 /Root 1 0 R /Info 2 0 R
+/ID [<A20A71318AA43443E1E3E309C91D4C01><A20A71318AA43443E1E3E309C91D4C01>]
+>>
+startxref
+2755
+%%EOF
diff --git a/Master/texmf-dist/tex/xelatex/langsci/tbls-explore.pdf b/Master/texmf-dist/tex/xelatex/langsci/tbls-explore.pdf
new file mode 100644
index 00000000000..0c49bb979d8
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/tbls-explore.pdf
@@ -0,0 +1,106 @@
+%PDF-1.4
+%쏢
+5 0 obj
+<</Length 6 0 R>>
+stream
+q 0.1 0 0 0.1 0 0 cm
+/R7 gs
+% g
+% 10.0117 191.988 191.988 re
+f*
+% g
+96.0195 114.809 m
+91.1289 114.809 87.1914 110.871 87.1914 105.98 c
+87.1914 101.102 91.1289 97.1992 96.0195 97.1992 c
+100.898 97.1992 104.801 101.102 104.801 105.98 c
+104.801 110.871 100.898 114.809 96.0195 114.809 c
+h
+96.0195 185.98 m
+51.8398 185.98 16.0195 150.16 16.0195 105.98 c
+16.0195 61.8398 51.8398 25.9805 96.0195 25.9805 c
+140.16 25.9805 176.02 61.8398 176.02 105.98 c
+176.02 150.16 140.16 185.98 96.0195 185.98 c
+h
+113.52 88.4805 m
+48.0117 58.0195 l
+78.4805 123.52 l
+143.98 153.988 l
+h
+f
+Q
+endstream
+endobj
+6 0 obj
+568
+endobj
+4 0 obj
+<</Type/Page/MediaBox [0 0 20 21]
+/Parent 3 0 R
+/Resources<</ProcSet[/PDF]
+/ExtGState 8 0 R
+>>
+/Contents 5 0 R
+>>
+endobj
+3 0 obj
+<< /Type /Pages /Kids [
+4 0 R
+] /Count 1
+>>
+endobj
+1 0 obj
+<</Type /Catalog /Pages 3 0 R
+/Metadata 9 0 R
+>>
+endobj
+7 0 obj
+<</Type/ExtGState
+/OPM 1>>endobj
+8 0 obj
+<</R7
+7 0 R>>
+endobj
+9 0 obj
+<</Type/Metadata
+/Subtype/XML/Length 1365>>stream
+<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
+<?adobe-xap-filters esc="CRLF"?>
+<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9.1-13, framework 1.6'>
+<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>
+<rdf:Description rdf:about='uuid:65e9aa3d-6122-11f3-0000-bcbe1c119c8e' xmlns:pdf='http://ns.adobe.com/pdf/1.3/' pdf:Producer='GPL Ghostscript 9.10'/>
+<rdf:Description rdf:about='uuid:65e9aa3d-6122-11f3-0000-bcbe1c119c8e' xmlns:xmp='http://ns.adobe.com/xap/1.0/'><xmp:ModifyDate>2018-03-16T11:36:13+01:00</xmp:ModifyDate>
+<xmp:CreateDate>2018-03-16T11:36:13+01:00</xmp:CreateDate>
+<xmp:CreatorTool>cairo 1.13.1 (http://cairographics.org)</xmp:CreatorTool></rdf:Description>
+<rdf:Description rdf:about='uuid:65e9aa3d-6122-11f3-0000-bcbe1c119c8e' xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/' xapMM:DocumentID='uuid:65e9aa3d-6122-11f3-0000-bcbe1c119c8e'/>
+<rdf:Description rdf:about='uuid:65e9aa3d-6122-11f3-0000-bcbe1c119c8e' xmlns:dc='http://purl.org/dc/elements/1.1/' dc:format='application/pdf'><dc:title><rdf:Alt><rdf:li xml:lang='x-default'>Untitled</rdf:li></rdf:Alt></dc:title></rdf:Description>
+</rdf:RDF>
+</x:xmpmeta>
+
+
+<?xpacket end='w'?>
+endstream
+endobj
+2 0 obj
+<</Producer(GPL Ghostscript 9.10)
+/CreationDate(D:20180316113613+01'00')
+/ModDate(D:20180316113613+01'00')
+/Creator(cairo 1.13.1 \(http://cairographics.org\))>>endobj
+xref
+0 10
+0000000000 65535 f
+0000000840 00000 n
+0000002415 00000 n
+0000000781 00000 n
+0000000652 00000 n
+0000000015 00000 n
+0000000633 00000 n
+0000000904 00000 n
+0000000945 00000 n
+0000000974 00000 n
+trailer
+<< /Size 10 /Root 1 0 R /Info 2 0 R
+/ID [<2797AE41F427D592B6BCC16B266169A7><2797AE41F427D592B6BCC16B266169A7>]
+>>
+startxref
+2590
+%%EOF
diff --git a/Master/texmf-dist/tex/xelatex/langsci/tbls-glass.pdf b/Master/texmf-dist/tex/xelatex/langsci/tbls-glass.pdf
new file mode 100644
index 00000000000..809690a1092
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/tbls-glass.pdf
@@ -0,0 +1,104 @@
+%PDF-1.4
+%쏢
+5 0 obj
+<</Length 6 0 R>>
+stream
+q 0.1 0 0 0.1 0 0 cm
+/R7 gs
+%.773438 0.773438 0.777344 rg
+144.34 86.0391 m
+135.391 86.0391 l
+132.191 89.0898 l
+143.32 102.129 150 119.012 150 137.328 c
+150 178.27 116.988 211.469 76.2891 211.469 c
+35.5508 211.469 2.53906 178.27 2.53906 137.328 c
+2.53906 96.4297 35.5508 63.2305 76.2891 63.2305 c
+94.5312 63.2305 111.328 69.9492 124.262 81.1602 c
+127.301 77.9492 l
+127.301 68.9297 l
+184.059 12.0508 l
+200.98 29.0508 l
+h
+76.2891 86.0391 m
+48.0117 86.0391 25.2305 108.969 25.2305 137.328 c
+25.2305 165.73 48.0117 188.66 76.2891 188.66 c
+104.531 188.66 127.301 165.73 127.301 137.328 c
+127.301 108.969 104.531 86.0391 76.2891 86.0391 c
+f
+Q
+endstream
+endobj
+6 0 obj
+636
+endobj
+4 0 obj
+<</Type/Page/MediaBox [0 0 21 22]
+/Parent 3 0 R
+/Resources<</ProcSet[/PDF]
+/ExtGState 8 0 R
+>>
+/Contents 5 0 R
+>>
+endobj
+3 0 obj
+<< /Type /Pages /Kids [
+4 0 R
+] /Count 1
+>>
+endobj
+1 0 obj
+<</Type /Catalog /Pages 3 0 R
+/Metadata 9 0 R
+>>
+endobj
+7 0 obj
+<</Type/ExtGState
+/OPM 1>>endobj
+8 0 obj
+<</R7
+7 0 R>>
+endobj
+9 0 obj
+<</Type/Metadata
+/Subtype/XML/Length 1365>>stream
+<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
+<?adobe-xap-filters esc="CRLF"?>
+<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9.1-13, framework 1.6'>
+<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>
+<rdf:Description rdf:about='uuid:02a9a8a4-9c7d-11f1-0000-9d8116ee9e60' xmlns:pdf='http://ns.adobe.com/pdf/1.3/' pdf:Producer='GPL Ghostscript 9.06'/>
+<rdf:Description rdf:about='uuid:02a9a8a4-9c7d-11f1-0000-9d8116ee9e60' xmlns:xmp='http://ns.adobe.com/xap/1.0/'><xmp:ModifyDate>2016-08-17T11:53:34+02:00</xmp:ModifyDate>
+<xmp:CreateDate>2016-08-17T11:53:34+02:00</xmp:CreateDate>
+<xmp:CreatorTool>cairo 1.14.0 (http://cairographics.org)</xmp:CreatorTool></rdf:Description>
+<rdf:Description rdf:about='uuid:02a9a8a4-9c7d-11f1-0000-9d8116ee9e60' xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/' xapMM:DocumentID='uuid:02a9a8a4-9c7d-11f1-0000-9d8116ee9e60'/>
+<rdf:Description rdf:about='uuid:02a9a8a4-9c7d-11f1-0000-9d8116ee9e60' xmlns:dc='http://purl.org/dc/elements/1.1/' dc:format='application/pdf'><dc:title><rdf:Alt><rdf:li xml:lang='x-default'>Untitled</rdf:li></rdf:Alt></dc:title></rdf:Description>
+</rdf:RDF>
+</x:xmpmeta>
+
+
+<?xpacket end='w'?>
+endstream
+endobj
+2 0 obj
+<</Producer(GPL Ghostscript 9.06)
+/CreationDate(D:20160817115334+02'00')
+/ModDate(D:20160817115334+02'00')
+/Creator(cairo 1.14.0 \(http://cairographics.org\))>>endobj
+xref
+0 10
+0000000000 65535 f
+0000000908 00000 n
+0000002483 00000 n
+0000000849 00000 n
+0000000720 00000 n
+0000000015 00000 n
+0000000701 00000 n
+0000000972 00000 n
+0000001013 00000 n
+0000001042 00000 n
+trailer
+<< /Size 10 /Root 1 0 R /Info 2 0 R
+/ID [<EB5BC03A4BE90615DEDB83576553A6D5><EB5BC03A4BE90615DEDB83576553A6D5>]
+>>
+startxref
+2658
+%%EOF
diff --git a/Master/texmf-dist/tex/xelatex/langsci/tbls-glass2.pdf b/Master/texmf-dist/tex/xelatex/langsci/tbls-glass2.pdf
new file mode 100644
index 00000000000..b61fa5f33c6
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/tbls-glass2.pdf
@@ -0,0 +1,68 @@
+%PDF-1.5
+%
+3 0 obj
+<< /Length 4 0 R
+ /Filter /FlateDecode
+>>
+stream
+xUmD! DLH +lC|)“<|S~H%qYt$=bizq}qd6UsaHIqHZQ/{C g]pEKh:,0V\iƎ校i`|,}q.vh/5ϳgΕ^W@Q.h?)r=Xz_qunATZ6tol<ɣMBAA+d;
+endstream
+endobj
+4 0 obj
+ 237
+endobj
+2 0 obj
+<<
+ /ExtGState <<
+ /a0 << /CA 1 /ca 1 >>
+ >>
+>>
+endobj
+5 0 obj
+<< /Type /Page
+ /Parent 1 0 R
+ /MediaBox [ 0 0 28.35 28.35 ]
+ /Contents 3 0 R
+ /Group <<
+ /Type /Group
+ /S /Transparency
+ /I true
+ /CS /DeviceRGB
+ >>
+ /Resources 2 0 R
+>>
+endobj
+1 0 obj
+<< /Type /Pages
+ /Kids [ 5 0 R ]
+ /Count 1
+>>
+endobj
+6 0 obj
+<< /Creator (cairo 1.14.1 (http://cairographics.org))
+ /Producer (cairo 1.14.1 (http://cairographics.org))
+>>
+endobj
+7 0 obj
+<< /Type /Catalog
+ /Pages 1 0 R
+>>
+endobj
+xref
+0 8
+0000000000 65535 f
+0000000641 00000 n
+0000000351 00000 n
+0000000015 00000 n
+0000000329 00000 n
+0000000423 00000 n
+0000000706 00000 n
+0000000833 00000 n
+trailer
+<< /Size 8
+ /Root 7 0 R
+ /Info 6 0 R
+>>
+startxref
+885
+%%EOF
diff --git a/Master/texmf-dist/tex/xelatex/langsci/tbls-law.pdf b/Master/texmf-dist/tex/xelatex/langsci/tbls-law.pdf
new file mode 100644
index 00000000000..cd05ce2d021
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/tbls-law.pdf
@@ -0,0 +1,119 @@
+%PDF-1.4
+%쏢
+5 0 obj
+<</Length 6 0 R>>
+stream
+q 0.1 0 0 0.1 0 0 cm
+/R7 gs
+% g
+% 10.0195 263.48 263.441 re
+f
+%.773438 0.773438 0.777344 rg
+178.32 144.129 m
+178.32 166.469 166.602 180.102 145.078 186.512 c
+128.711 191.27 l
+117.93 194.48 111.172 200.379 111.172 209.711 c
+111.172 220.879 118.629 227.25 131.762 227.25 c
+143.672 227.25 151.879 222.25 152.809 209.949 c
+175.738 209.949 l
+175.039 231.82 159.379 247.52 131.762 247.52 c
+104.141 247.52 88.2383 230.219 88.2383 209.051 c
+88.2383 192.41 96.4102 184.012 107.891 178.539 c
+97.1484 173.301 85.1992 160.77 85.1992 142.988 c
+85.1992 120.449 96.6406 107.02 118.16 100.648 c
+134.531 95.8789 l
+147.422 91.9805 152.809 84.0117 152.809 75.8008 c
+152.809 64.0117 144.84 56.6992 131.52 56.6992 c
+118.441 56.6992 110.469 63.5391 109.531 74.6719 c
+86.1289 74.6719 l
+87.0703 48.0703 108.59 36 131.52 36 c
+155.16 36 176.211 50.5703 176.211 76.5117 c
+176.211 93.5781 167.301 103.621 155.621 108.621 c
+166.129 113.852 178.32 126.391 178.32 144.129 c
+154.922 143.461 m
+154.922 134.359 151.879 129.359 148.121 125.488 c
+144.141 121.391 138.75 119.09 131.762 119.09 c
+124.73 119.09 119.102 121.391 115.16 125.488 c
+111.41 129.359 108.59 134.59 108.59 143.461 c
+108.59 152.129 110.941 157.371 115.16 161.66 c
+119.102 165.77 124.73 168.031 131.762 168.031 c
+138.75 168.031 143.91 165.531 148.121 161.66 c
+152.809 157.371 154.922 151.66 154.922 143.461 c
+f
+Q
+endstream
+endobj
+6 0 obj
+1346
+endobj
+4 0 obj
+<</Type/Page/MediaBox [0 0 27 28]
+/Parent 3 0 R
+/Resources<</ProcSet[/PDF]
+/ExtGState 8 0 R
+>>
+/Contents 5 0 R
+>>
+endobj
+3 0 obj
+<< /Type /Pages /Kids [
+4 0 R
+] /Count 1
+>>
+endobj
+1 0 obj
+<</Type /Catalog /Pages 3 0 R
+/Metadata 9 0 R
+>>
+endobj
+7 0 obj
+<</Type/ExtGState
+/OPM 1>>endobj
+8 0 obj
+<</R7
+7 0 R>>
+endobj
+9 0 obj
+<</Type/Metadata
+/Subtype/XML/Length 1365>>stream
+<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
+<?adobe-xap-filters esc="CRLF"?>
+<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9.1-13, framework 1.6'>
+<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>
+<rdf:Description rdf:about='uuid:076e5ca4-9c7d-11f1-0000-f749088121c4' xmlns:pdf='http://ns.adobe.com/pdf/1.3/' pdf:Producer='GPL Ghostscript 9.06'/>
+<rdf:Description rdf:about='uuid:076e5ca4-9c7d-11f1-0000-f749088121c4' xmlns:xmp='http://ns.adobe.com/xap/1.0/'><xmp:ModifyDate>2016-08-17T11:53:42+02:00</xmp:ModifyDate>
+<xmp:CreateDate>2016-08-17T11:53:42+02:00</xmp:CreateDate>
+<xmp:CreatorTool>cairo 1.14.0 (http://cairographics.org)</xmp:CreatorTool></rdf:Description>
+<rdf:Description rdf:about='uuid:076e5ca4-9c7d-11f1-0000-f749088121c4' xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/' xapMM:DocumentID='uuid:076e5ca4-9c7d-11f1-0000-f749088121c4'/>
+<rdf:Description rdf:about='uuid:076e5ca4-9c7d-11f1-0000-f749088121c4' xmlns:dc='http://purl.org/dc/elements/1.1/' dc:format='application/pdf'><dc:title><rdf:Alt><rdf:li xml:lang='x-default'>Untitled</rdf:li></rdf:Alt></dc:title></rdf:Description>
+</rdf:RDF>
+</x:xmpmeta>
+
+
+<?xpacket end='w'?>
+endstream
+endobj
+2 0 obj
+<</Producer(GPL Ghostscript 9.06)
+/CreationDate(D:20160817115342+02'00')
+/ModDate(D:20160817115342+02'00')
+/Creator(cairo 1.14.0 \(http://cairographics.org\))>>endobj
+xref
+0 10
+0000000000 65535 f
+0000001619 00000 n
+0000003194 00000 n
+0000001560 00000 n
+0000001431 00000 n
+0000000015 00000 n
+0000001411 00000 n
+0000001683 00000 n
+0000001724 00000 n
+0000001753 00000 n
+trailer
+<< /Size 10 /Root 1 0 R /Info 2 0 R
+/ID [<B6F8EBBB7FE7276C1F59E62589FAC997><B6F8EBBB7FE7276C1F59E62589FAC997>]
+>>
+startxref
+3369
+%%EOF
diff --git a/Master/texmf-dist/tex/xelatex/langsci/tbls-more.pdf b/Master/texmf-dist/tex/xelatex/langsci/tbls-more.pdf
new file mode 100644
index 00000000000..230d323e0e1
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/tbls-more.pdf
@@ -0,0 +1,118 @@
+%PDF-1.4
+%쏢
+5 0 obj
+<</Length 6 0 R>>
+stream
+q 0.1 0 0 0.1 0 0 cm
+/R7 gs
+% g
+% 10.0117 191.988 191.988 re
+f*
+% g
+176.559 177.859 m
+56.5586 177.859 l
+51.0195 177.859 46.7188 175.051 43.8281 170.789 c
+0.550781 105.828 l
+43.8281 40.9492 l
+46.7188 36.7305 51.6016 33.8398 57.1094 33.8398 c
+176.559 33.8398 l
+185.352 33.8398 192.539 41.0586 192.539 49.8516 c
+192.539 161.84 l
+192.539 170.629 185.352 177.859 176.559 177.859 c
+h
+72.5391 93.8398 m
+65.8984 93.8398 60.5508 99.1914 60.5508 105.828 c
+60.5508 112.469 65.8984 117.859 72.5391 117.859 c
+79.1797 117.859 84.5313 112.469 84.5313 105.828 c
+84.5313 99.1914 79.1797 93.8398 72.5391 93.8398 c
+h
+112.539 93.8398 m
+105.898 93.8398 100.551 99.1914 100.551 105.828 c
+100.551 112.469 105.898 117.859 112.539 117.859 c
+119.18 117.859 124.531 112.469 124.531 105.828 c
+124.531 99.1914 119.18 93.8398 112.539 93.8398 c
+h
+152.539 93.8398 m
+145.898 93.8398 140.551 99.1914 140.551 105.828 c
+140.551 112.469 145.898 117.859 152.539 117.859 c
+159.18 117.859 164.531 112.469 164.531 105.828 c
+164.531 99.1914 159.18 93.8398 152.539 93.8398 c
+h
+f
+Q
+endstream
+endobj
+6 0 obj
+1038
+endobj
+4 0 obj
+<</Type/Page/MediaBox [0 0 20 21]
+/Parent 3 0 R
+/Resources<</ProcSet[/PDF]
+/ExtGState 8 0 R
+>>
+/Contents 5 0 R
+>>
+endobj
+3 0 obj
+<< /Type /Pages /Kids [
+4 0 R
+] /Count 1
+>>
+endobj
+1 0 obj
+<</Type /Catalog /Pages 3 0 R
+/Metadata 9 0 R
+>>
+endobj
+7 0 obj
+<</Type/ExtGState
+/OPM 1>>endobj
+8 0 obj
+<</R7
+7 0 R>>
+endobj
+9 0 obj
+<</Type/Metadata
+/Subtype/XML/Length 1365>>stream
+<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
+<?adobe-xap-filters esc="CRLF"?>
+<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9.1-13, framework 1.6'>
+<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>
+<rdf:Description rdf:about='uuid:2ec4ca27-611d-11f3-0000-685314599bf4' xmlns:pdf='http://ns.adobe.com/pdf/1.3/' pdf:Producer='GPL Ghostscript 9.10'/>
+<rdf:Description rdf:about='uuid:2ec4ca27-611d-11f3-0000-685314599bf4' xmlns:xmp='http://ns.adobe.com/xap/1.0/'><xmp:ModifyDate>2018-03-16T10:58:53+01:00</xmp:ModifyDate>
+<xmp:CreateDate>2018-03-16T10:58:53+01:00</xmp:CreateDate>
+<xmp:CreatorTool>cairo 1.13.1 (http://cairographics.org)</xmp:CreatorTool></rdf:Description>
+<rdf:Description rdf:about='uuid:2ec4ca27-611d-11f3-0000-685314599bf4' xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/' xapMM:DocumentID='uuid:2ec4ca27-611d-11f3-0000-685314599bf4'/>
+<rdf:Description rdf:about='uuid:2ec4ca27-611d-11f3-0000-685314599bf4' xmlns:dc='http://purl.org/dc/elements/1.1/' dc:format='application/pdf'><dc:title><rdf:Alt><rdf:li xml:lang='x-default'>Untitled</rdf:li></rdf:Alt></dc:title></rdf:Description>
+</rdf:RDF>
+</x:xmpmeta>
+
+
+<?xpacket end='w'?>
+endstream
+endobj
+2 0 obj
+<</Producer(GPL Ghostscript 9.10)
+/CreationDate(D:20180316105853+01'00')
+/ModDate(D:20180316105853+01'00')
+/Creator(cairo 1.13.1 \(http://cairographics.org\))>>endobj
+xref
+0 10
+0000000000 65535 f
+0000001311 00000 n
+0000002886 00000 n
+0000001252 00000 n
+0000001123 00000 n
+0000000015 00000 n
+0000001103 00000 n
+0000001375 00000 n
+0000001416 00000 n
+0000001445 00000 n
+trailer
+<< /Size 10 /Root 1 0 R /Info 2 0 R
+/ID [<13CFBF5DFC880DCA2171B0F6523B20C7><13CFBF5DFC880DCA2171B0F6523B20C7>]
+>>
+startxref
+3061
+%%EOF
diff --git a/Master/texmf-dist/tex/xelatex/langsci/tbls-pencil.pdf b/Master/texmf-dist/tex/xelatex/langsci/tbls-pencil.pdf
new file mode 100644
index 00000000000..dc456039f63
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/tbls-pencil.pdf
@@ -0,0 +1,103 @@
+%PDF-1.4
+%쏢
+5 0 obj
+<</Length 6 0 R>>
+stream
+q 0.1 0 0 0.1 0 0 cm
+/R7 gs
+% g
+% 10.0117 191.988 199.488 re
+f
+% g
+23.9805 63.9883 m
+23.9805 33.9883 l
+53.9805 33.9883 l
+142.461 122.469 l
+112.461 152.469 l
+h
+165.66 145.672 m
+168.789 148.801 168.789 153.84 165.66 156.961 c
+146.949 175.672 l
+143.828 178.801 138.789 178.801 135.66 175.672 c
+121.051 161.02 l
+151.051 131.02 l
+h
+165.66 145.672 m
+f
+Q
+endstream
+endobj
+6 0 obj
+348
+endobj
+4 0 obj
+<</Type/Page/MediaBox [0 0 20 21]
+/Parent 3 0 R
+/Resources<</ProcSet[/PDF]
+/ExtGState 8 0 R
+>>
+/Contents 5 0 R
+>>
+endobj
+3 0 obj
+<< /Type /Pages /Kids [
+4 0 R
+] /Count 1
+>>
+endobj
+1 0 obj
+<</Type /Catalog /Pages 3 0 R
+/Metadata 9 0 R
+>>
+endobj
+7 0 obj
+<</Type/ExtGState
+/OPM 1>>endobj
+8 0 obj
+<</R7
+7 0 R>>
+endobj
+9 0 obj
+<</Type/Metadata
+/Subtype/XML/Length 1366>>stream
+<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
+<?adobe-xap-filters esc="CRLF"?>
+<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9.1-13, framework 1.6'>
+<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>
+<rdf:Description rdf:about='uuid:d6569c1f-436b-11f3-0000-42a7bb54f7a6' xmlns:pdf='http://ns.adobe.com/pdf/1.3/' pdf:Producer='GPL Ghostscript 9.20'/>
+<rdf:Description rdf:about='uuid:d6569c1f-436b-11f3-0000-42a7bb54f7a6' xmlns:xmp='http://ns.adobe.com/xap/1.0/'><xmp:ModifyDate>2018-02-06T16:06:20+01:00</xmp:ModifyDate>
+<xmp:CreateDate>2018-02-06T16:06:20+01:00</xmp:CreateDate>
+<xmp:CreatorTool>cairo 1.14.10 (http://cairographics.org)</xmp:CreatorTool></rdf:Description>
+<rdf:Description rdf:about='uuid:d6569c1f-436b-11f3-0000-42a7bb54f7a6' xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/' xapMM:DocumentID='uuid:d6569c1f-436b-11f3-0000-42a7bb54f7a6'/>
+<rdf:Description rdf:about='uuid:d6569c1f-436b-11f3-0000-42a7bb54f7a6' xmlns:dc='http://purl.org/dc/elements/1.1/' dc:format='application/pdf'><dc:title><rdf:Alt><rdf:li xml:lang='x-default'>Untitled</rdf:li></rdf:Alt></dc:title></rdf:Description>
+</rdf:RDF>
+</x:xmpmeta>
+
+
+<?xpacket end='w'?>
+endstream
+endobj
+2 0 obj
+<</Producer(GPL Ghostscript 9.20)
+/CreationDate(D:20180206160620+01'00')
+/ModDate(D:20180206160620+01'00')
+/Creator(cairo 1.14.10 \(http://cairographics.org\))>>endobj
+xref
+0 10
+0000000000 65535 f
+0000000620 00000 n
+0000002196 00000 n
+0000000561 00000 n
+0000000432 00000 n
+0000000015 00000 n
+0000000413 00000 n
+0000000684 00000 n
+0000000725 00000 n
+0000000754 00000 n
+trailer
+<< /Size 10 /Root 1 0 R /Info 2 0 R
+/ID [<9ABA83C1A22381B9EDD373AB905E762B><9ABA83C1A22381B9EDD373AB905E762B>]
+>>
+startxref
+2372
+%%EOF
diff --git a/Master/texmf-dist/tex/xelatex/langsci/tbls-people.pdf b/Master/texmf-dist/tex/xelatex/langsci/tbls-people.pdf
new file mode 100644
index 00000000000..2462447537b
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/tbls-people.pdf
@@ -0,0 +1,117 @@
+%PDF-1.4
+%쏢
+5 0 obj
+<</Length 6 0 R>>
+stream
+q 0.1 0 0 0.1 0 0 cm
+/R7 gs
+% g
+% 10.0117 191.988 199.488 re
+f
+% g
+128.012 113.988 m
+141.289 113.988 151.91 124.73 151.91 138.02 c
+151.91 151.301 141.289 162 128.012 162 c
+114.73 162 103.98 151.301 103.98 138.02 c
+103.98 124.73 114.73 113.988 128.012 113.988 c
+h
+63.9805 113.988 m
+77.2695 113.988 87.9297 124.73 87.9297 138.02 c
+87.9297 151.301 77.2695 162 63.9805 162 c
+50.6992 162 40 151.301 40 138.02 c
+40 124.73 50.6992 113.988 63.9805 113.988 c
+h
+63.9805 98.0195 m
+45.3516 98.0195 8.01172 88.6406 8.01172 70.0117 c
+8.01172 50.0117 l
+120 50.0117 l
+120 70.0117 l
+120 88.6406 82.6602 98.0195 63.9805 98.0195 c
+h
+128.012 98.0195 m
+125.66 98.0195 123.051 97.8594 120.23 97.5898 c
+129.531 90.8711 136.02 81.8398 136.02 70.0117 c
+136.02 50.0117 l
+183.98 50.0117 l
+183.98 70.0117 l
+183.98 88.6406 146.641 98.0195 128.012 98.0195 c
+h
+128.012 98.0195 m
+f
+Q
+endstream
+endobj
+6 0 obj
+852
+endobj
+4 0 obj
+<</Type/Page/MediaBox [0 0 20 21]
+/Parent 3 0 R
+/Resources<</ProcSet[/PDF]
+/ExtGState 8 0 R
+>>
+/Contents 5 0 R
+>>
+endobj
+3 0 obj
+<< /Type /Pages /Kids [
+4 0 R
+] /Count 1
+>>
+endobj
+1 0 obj
+<</Type /Catalog /Pages 3 0 R
+/Metadata 9 0 R
+>>
+endobj
+7 0 obj
+<</Type/ExtGState
+/OPM 1>>endobj
+8 0 obj
+<</R7
+7 0 R>>
+endobj
+9 0 obj
+<</Type/Metadata
+/Subtype/XML/Length 1366>>stream
+<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
+<?adobe-xap-filters esc="CRLF"?>
+<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9.1-13, framework 1.6'>
+<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>
+<rdf:Description rdf:about='uuid:b4a8e51a-436a-11f3-0000-a7dca431dd16' xmlns:pdf='http://ns.adobe.com/pdf/1.3/' pdf:Producer='GPL Ghostscript 9.20'/>
+<rdf:Description rdf:about='uuid:b4a8e51a-436a-11f3-0000-a7dca431dd16' xmlns:xmp='http://ns.adobe.com/xap/1.0/'><xmp:ModifyDate>2018-02-06T15:58:14+01:00</xmp:ModifyDate>
+<xmp:CreateDate>2018-02-06T15:58:14+01:00</xmp:CreateDate>
+<xmp:CreatorTool>cairo 1.14.10 (http://cairographics.org)</xmp:CreatorTool></rdf:Description>
+<rdf:Description rdf:about='uuid:b4a8e51a-436a-11f3-0000-a7dca431dd16' xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/' xapMM:DocumentID='uuid:b4a8e51a-436a-11f3-0000-a7dca431dd16'/>
+<rdf:Description rdf:about='uuid:b4a8e51a-436a-11f3-0000-a7dca431dd16' xmlns:dc='http://purl.org/dc/elements/1.1/' dc:format='application/pdf'><dc:title><rdf:Alt><rdf:li xml:lang='x-default'>Untitled</rdf:li></rdf:Alt></dc:title></rdf:Description>
+</rdf:RDF>
+</x:xmpmeta>
+
+
+<?xpacket end='w'?>
+endstream
+endobj
+2 0 obj
+<</Producer(GPL Ghostscript 9.20)
+/CreationDate(D:20180206155814+01'00')
+/ModDate(D:20180206155814+01'00')
+/Creator(cairo 1.14.10 \(http://cairographics.org\))>>endobj
+xref
+0 10
+0000000000 65535 f
+0000001124 00000 n
+0000002700 00000 n
+0000001065 00000 n
+0000000936 00000 n
+0000000015 00000 n
+0000000917 00000 n
+0000001188 00000 n
+0000001229 00000 n
+0000001258 00000 n
+trailer
+<< /Size 10 /Root 1 0 R /Info 2 0 R
+/ID [<A0AFA1087223814391C2DC45900AAEB7><A0AFA1087223814391C2DC45900AAEB7>]
+>>
+startxref
+2876
+%%EOF
diff --git a/Master/texmf-dist/tex/xelatex/langsci/tbls-r.pdf b/Master/texmf-dist/tex/xelatex/langsci/tbls-r.pdf
new file mode 100644
index 00000000000..25ae707e94c
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/tbls-r.pdf
@@ -0,0 +1,122 @@
+%PDF-1.4
+%쏢
+5 0 obj
+<</Length 6 0 R>>
+stream
+q 0.1 0 0 0.1 0 0 cm
+/R7 gs
+% g
+80 117.809 m
+38.75 117.809 5 95.3086 5 67.5 c
+5 42.8906 31.7188 22.5 66.8008 18.1602 c
+66.8008 2.19141 l
+92.3789 2.19141 l
+92.3789 18.0898 l
+98.75 18.75 104.691 19.9609 110.309 21.6797 c
+120.66 2.19141 l
+149.609 2.19141 l
+132.191 31.4805 l
+146.211 40.6602 155 53.4805 155 67.5 c
+155 95.3086 121.25 117.809 80 117.809 c
+91.4805 98.1602 m
+122.969 98.1602 146.211 87.6602 146.211 63.75 c
+146.211 50.9414 139.34 41.9102 128.09 36.3711 c
+127.379 36.7617 126.801 37.1094 126.41 37.5 c
+123.711 38.7109 119.219 40.0391 y
+141.559 41.7188 141.559 63.9805 v
+141.559 86.25 118.16 86.6406 y
+66.8008 86.6406 l
+66.8008 32.9297 l
+47.6602 38.4805 34.4883 50.2305 34.4883 63.75 c
+34.4883 82.8086 59.9609 98.1602 91.4805 98.1602 c
+92.6211 68.3203 m
+108.121 68.3203 l
+115.23 68.7109 115.23 61.2891 v
+115.23 53.9805 108.121 53.9805 y
+92.6211 53.9805 l
+92.6211 68.3203 l
+92.3789 35.2305 m
+99.2617 35.2305 l
+100.621 35.2305 101.289 34.8789 102.5 33.75 c
+103.48 33.0117 104.531 31.5586 105.43 30.3086 c
+101.289 29.7695 96.9492 29.5313 92.3789 29.5313 c
+h
+92.3789 35.2305 m
+f
+Q
+endstream
+endobj
+6 0 obj
+1085
+endobj
+4 0 obj
+<</Type/Page/MediaBox [0 0 16 12]
+/Parent 3 0 R
+/Resources<</ProcSet[/PDF]
+/ExtGState 8 0 R
+>>
+/Contents 5 0 R
+>>
+endobj
+3 0 obj
+<< /Type /Pages /Kids [
+4 0 R
+] /Count 1
+>>
+endobj
+1 0 obj
+<</Type /Catalog /Pages 3 0 R
+/Metadata 9 0 R
+>>
+endobj
+7 0 obj
+<</Type/ExtGState
+/OPM 1>>endobj
+8 0 obj
+<</R7
+7 0 R>>
+endobj
+9 0 obj
+<</Type/Metadata
+/Subtype/XML/Length 1366>>stream
+<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
+<?adobe-xap-filters esc="CRLF"?>
+<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9.1-13, framework 1.6'>
+<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>
+<rdf:Description rdf:about='uuid:5847be8d-cefd-11f2-0000-51fd7b8c1347' xmlns:pdf='http://ns.adobe.com/pdf/1.3/' pdf:Producer='GPL Ghostscript 9.20'/>
+<rdf:Description rdf:about='uuid:5847be8d-cefd-11f2-0000-51fd7b8c1347' xmlns:xmp='http://ns.adobe.com/xap/1.0/'><xmp:ModifyDate>2017-09-11T13:03:09+02:00</xmp:ModifyDate>
+<xmp:CreateDate>2017-09-11T13:03:09+02:00</xmp:CreateDate>
+<xmp:CreatorTool>cairo 1.14.10 (http://cairographics.org)</xmp:CreatorTool></rdf:Description>
+<rdf:Description rdf:about='uuid:5847be8d-cefd-11f2-0000-51fd7b8c1347' xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/' xapMM:DocumentID='uuid:5847be8d-cefd-11f2-0000-51fd7b8c1347'/>
+<rdf:Description rdf:about='uuid:5847be8d-cefd-11f2-0000-51fd7b8c1347' xmlns:dc='http://purl.org/dc/elements/1.1/' dc:format='application/pdf'><dc:title><rdf:Alt><rdf:li xml:lang='x-default'>Untitled</rdf:li></rdf:Alt></dc:title></rdf:Description>
+</rdf:RDF>
+</x:xmpmeta>
+
+
+<?xpacket end='w'?>
+endstream
+endobj
+2 0 obj
+<</Producer(GPL Ghostscript 9.20)
+/CreationDate(D:20170911130309+02'00')
+/ModDate(D:20170911130309+02'00')
+/Creator(cairo 1.14.10 \(http://cairographics.org\))>>endobj
+xref
+0 10
+0000000000 65535 f
+0000001358 00000 n
+0000002934 00000 n
+0000001299 00000 n
+0000001170 00000 n
+0000000015 00000 n
+0000001150 00000 n
+0000001422 00000 n
+0000001463 00000 n
+0000001492 00000 n
+trailer
+<< /Size 10 /Root 1 0 R /Info 2 0 R
+/ID [<F4710C3F478B78524A0828C3629D0B3A><F4710C3F478B78524A0828C3629D0B3A>]
+>>
+startxref
+3110
+%%EOF
diff --git a/Master/texmf-dist/tex/xelatex/langsci/tbls-receipt.pdf b/Master/texmf-dist/tex/xelatex/langsci/tbls-receipt.pdf
new file mode 100644
index 00000000000..6abb5602344
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/langsci/tbls-receipt.pdf
@@ -0,0 +1,131 @@
+%PDF-1.4
+%쏢
+5 0 obj
+<</Length 6 0 R>>
+stream
+q 0.1 0 0 0.1 0 0 cm
+/R7 gs
+% g
+% 10.0117 191.988 191.988 re
+f*
+% g
+143.98 65.9805 m
+48.0117 65.9805 l
+48.0117 82 l
+143.98 82 l
+h
+143.98 98.0195 m
+48.0117 98.0195 l
+48.0117 113.988 l
+143.98 113.988 l
+h
+143.98 130.012 m
+48.0117 130.012 l
+48.0117 145.98 l
+143.98 145.98 l
+h
+23.9805 25.9805 m
+36.0195 38.0195 l
+48.0117 25.9805 l
+60 38.0195 l
+71.9883 25.9805 l
+83.9805 38.0195 l
+96.0195 25.9805 l
+108.012 38.0195 l
+120 25.9805 l
+131.988 38.0195 l
+143.98 25.9805 l
+156.02 38.0195 l
+168.012 25.9805 l
+168.012 185.98 l
+156.02 173.988 l
+143.98 185.98 l
+131.988 173.988 l
+120 185.98 l
+108.012 173.988 l
+96.0195 185.98 l
+83.9805 173.988 l
+71.9883 185.98 l
+60 173.988 l
+48.0117 185.98 l
+36.0195 173.988 l
+23.9805 185.98 l
+h
+f
+Q
+endstream
+endobj
+6 0 obj
+717
+endobj
+4 0 obj
+<</Type/Page/MediaBox [0 0 20 21]
+/Parent 3 0 R
+/Resources<</ProcSet[/PDF]
+/ExtGState 8 0 R
+>>
+/Contents 5 0 R
+>>
+endobj
+3 0 obj
+<< /Type /Pages /Kids [
+4 0 R
+] /Count 1
+>>
+endobj
+1 0 obj
+<</Type /Catalog /Pages 3 0 R
+/Metadata 9 0 R
+>>
+endobj
+7 0 obj
+<</Type/ExtGState
+/OPM 1>>endobj
+8 0 obj
+<</R7
+7 0 R>>
+endobj
+9 0 obj
+<</Type/Metadata
+/Subtype/XML/Length 1365>>stream
+<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
+<?adobe-xap-filters esc="CRLF"?>
+<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9.1-13, framework 1.6'>
+<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>
+<rdf:Description rdf:about='uuid:35ebd827-611d-11f3-0000-ce13b1d82da1' xmlns:pdf='http://ns.adobe.com/pdf/1.3/' pdf:Producer='GPL Ghostscript 9.10'/>
+<rdf:Description rdf:about='uuid:35ebd827-611d-11f3-0000-ce13b1d82da1' xmlns:xmp='http://ns.adobe.com/xap/1.0/'><xmp:ModifyDate>2018-03-16T10:59:05+01:00</xmp:ModifyDate>
+<xmp:CreateDate>2018-03-16T10:59:05+01:00</xmp:CreateDate>
+<xmp:CreatorTool>cairo 1.13.1 (http://cairographics.org)</xmp:CreatorTool></rdf:Description>
+<rdf:Description rdf:about='uuid:35ebd827-611d-11f3-0000-ce13b1d82da1' xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/' xapMM:DocumentID='uuid:35ebd827-611d-11f3-0000-ce13b1d82da1'/>
+<rdf:Description rdf:about='uuid:35ebd827-611d-11f3-0000-ce13b1d82da1' xmlns:dc='http://purl.org/dc/elements/1.1/' dc:format='application/pdf'><dc:title><rdf:Alt><rdf:li xml:lang='x-default'>Untitled</rdf:li></rdf:Alt></dc:title></rdf:Description>
+</rdf:RDF>
+</x:xmpmeta>
+
+
+<?xpacket end='w'?>
+endstream
+endobj
+2 0 obj
+<</Producer(GPL Ghostscript 9.10)
+/CreationDate(D:20180316105905+01'00')
+/ModDate(D:20180316105905+01'00')
+/Creator(cairo 1.13.1 \(http://cairographics.org\))>>endobj
+xref
+0 10
+0000000000 65535 f
+0000000989 00000 n
+0000002564 00000 n
+0000000930 00000 n
+0000000801 00000 n
+0000000015 00000 n
+0000000782 00000 n
+0000001053 00000 n
+0000001094 00000 n
+0000001123 00000 n
+trailer
+<< /Size 10 /Root 1 0 R /Info 2 0 R
+/ID [<29DB161F925ABF87D951A3EC77A85CB4><29DB161F925ABF87D951A3EC77A85CB4>]
+>>
+startxref
+2739
+%%EOF