summaryrefslogtreecommitdiff
path: root/macros/xetex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-02-21 03:01:35 +0000
committerNorbert Preining <norbert@preining.info>2024-02-21 03:01:35 +0000
commit2f56d3421e4663856409792eb5b08a2c57b38a8c (patch)
treee06fab87f70b77ad8d8fef43cfc25293e20127f8 /macros/xetex
parent203d8df9dde93676afcceb5ace315faeda77d016 (diff)
CTAN sync 202402210301
Diffstat (limited to 'macros/xetex')
-rw-r--r--macros/xetex/latex/langsci/README.md2
-rw-r--r--macros/xetex/latex/langsci/documentation/langsci-doc.pdfbin75245 -> 75001 bytes
-rw-r--r--macros/xetex/latex/langsci/documentation/langsci-doc.tex4
-rw-r--r--macros/xetex/latex/langsci/documentation/langscitmp.bib1
-rw-r--r--macros/xetex/latex/langsci/examples/collection_tmp.bib2
-rw-r--r--macros/xetex/latex/langsci/examples/langscitmp.bib1
-rw-r--r--macros/xetex/latex/langsci/examples/samplemonograph.pdfbin56281 -> 57185 bytes
-rw-r--r--macros/xetex/latex/langsci/examples/samplepaper.pdfbin19566 -> 19555 bytes
-rw-r--r--macros/xetex/latex/langsci/examples/samplepaper.tex5
-rw-r--r--macros/xetex/latex/langsci/examples/samplevolume.pdfbin59470 -> 60223 bytes
-rw-r--r--macros/xetex/latex/langsci/langsci-affiliations.sty20
-rw-r--r--macros/xetex/latex/langsci/langsci-optional.sty8
-rw-r--r--macros/xetex/latex/langsci/langsci-plot-templates.sty56
-rw-r--r--macros/xetex/latex/langsci/langsci-series.def97
-rw-r--r--macros/xetex/latex/langsci/langsci-tbls.sty3
-rw-r--r--macros/xetex/latex/langsci/langsci-unified.bbx52
-rw-r--r--macros/xetex/latex/langsci/langsci-unified.cbx6
-rw-r--r--macros/xetex/latex/langsci/langscibook.cls161
18 files changed, 300 insertions, 118 deletions
diff --git a/macros/xetex/latex/langsci/README.md b/macros/xetex/latex/langsci/README.md
index 0cb940a5ca..db24ed7d35 100644
--- a/macros/xetex/latex/langsci/README.md
+++ b/macros/xetex/latex/langsci/README.md
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Project: langsci
%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2023-02-10 11:11:11 UTC
+%% Date: 2024-02-08 11:11:11 UTC
%% Purpose: publishing boks with Language Science Press.
%% Languages: LaTeX, tikz, eps
%% Copyright 2012- Language Science Press
diff --git a/macros/xetex/latex/langsci/documentation/langsci-doc.pdf b/macros/xetex/latex/langsci/documentation/langsci-doc.pdf
index 63af7b5135..f27a31c685 100644
--- a/macros/xetex/latex/langsci/documentation/langsci-doc.pdf
+++ b/macros/xetex/latex/langsci/documentation/langsci-doc.pdf
Binary files differ
diff --git a/macros/xetex/latex/langsci/documentation/langsci-doc.tex b/macros/xetex/latex/langsci/documentation/langsci-doc.tex
index d20c8c5ba0..58680cc1f0 100644
--- a/macros/xetex/latex/langsci/documentation/langsci-doc.tex
+++ b/macros/xetex/latex/langsci/documentation/langsci-doc.tex
@@ -111,7 +111,7 @@ Provide the following additional information if necessary:
\section{Creating an edited volume}
-Proceed as for a monograph, but use the option \texttt{collection}. Use \verb+\author+ for the editor(s). Use the option \texttt{multiauthors} if there is more than one editor.
+Proceed as for a monograph, but use the option \texttt{collection}. Use \verb+\author+ for the editor(s).
Chapters are included via \verb+\includepaper{}+. Set the bibliography resource for all papers in the main file.
@@ -119,7 +119,7 @@ Chapters are included via \verb+\includepaper{}+. Set the bibliography resource
Use the output option \texttt{paper}. Provide the following metadata in the preamble:
\begin{itemize}
\item \verb+\author+ (with \verb+\affiliation+)
- \item \verb+\title+
+ \item \verb+\title[short]{long}+
\item \verb+\abstract+ (optional)
\end{itemize}
diff --git a/macros/xetex/latex/langsci/documentation/langscitmp.bib b/macros/xetex/latex/langsci/documentation/langscitmp.bib
new file mode 100644
index 0000000000..ce54fa3403
--- /dev/null
+++ b/macros/xetex/latex/langsci/documentation/langscitmp.bib
@@ -0,0 +1 @@
+@book{langsci-current-book, author = {Sebastian Nordhoff}, title = {{The \texttt {langscibook} {\LaTeX } class}}, year = {2024}, series = {Language Science Press Guidelines}, number = {\unhbox \voidb@x \protect \penalty \@M \ }, location = {Berlin}, publisher = {Language Science Press}, options = {dataonly=true} }
diff --git a/macros/xetex/latex/langsci/examples/collection_tmp.bib b/macros/xetex/latex/langsci/examples/collection_tmp.bib
new file mode 100644
index 0000000000..5e85882aab
--- /dev/null
+++ b/macros/xetex/latex/langsci/examples/collection_tmp.bib
@@ -0,0 +1,2 @@
+@incollection{samplepaper,author={Chap ter Author and Noam Chimpsky and Jane Wilson },title={{Introduction}},booktitle={{Sample edited volume{: Including sample chapter}}},editor={Jane Doe},publisher={Language Science Press.},Address={Berlin},year={2024},pages={1--2},doi={??},keywords={withinvolume}}
+@incollection{samplepaperfooter,author={Chap ter Author and Noam Chimpsky and Jane Wilson },title={{Introduction}},booktitle={{Sample edited volume{: Including sample chapter}}},editor={Jane Doe},publisher={Language Science Press.},Address={Berlin},year={2024},pages={1--2},doi={??},options={dataonly=true}}
diff --git a/macros/xetex/latex/langsci/examples/langscitmp.bib b/macros/xetex/latex/langsci/examples/langscitmp.bib
new file mode 100644
index 0000000000..67b6674260
--- /dev/null
+++ b/macros/xetex/latex/langsci/examples/langscitmp.bib
@@ -0,0 +1 @@
+@book{langsci-current-book, author = {Pat Jaeung}, title = {{Sample monograph}}, year = {2024}, series = {Conceptual Foundations of Language Science}, number = {123}, location = {Berlin}, publisher = {Language Science Press}, options = {dataonly=true} }
diff --git a/macros/xetex/latex/langsci/examples/samplemonograph.pdf b/macros/xetex/latex/langsci/examples/samplemonograph.pdf
index 4e64daeaae..10cf5afd4a 100644
--- a/macros/xetex/latex/langsci/examples/samplemonograph.pdf
+++ b/macros/xetex/latex/langsci/examples/samplemonograph.pdf
Binary files differ
diff --git a/macros/xetex/latex/langsci/examples/samplepaper.pdf b/macros/xetex/latex/langsci/examples/samplepaper.pdf
index c28bf02404..fad691ac0f 100644
--- a/macros/xetex/latex/langsci/examples/samplepaper.pdf
+++ b/macros/xetex/latex/langsci/examples/samplepaper.pdf
Binary files differ
diff --git a/macros/xetex/latex/langsci/examples/samplepaper.tex b/macros/xetex/latex/langsci/examples/samplepaper.tex
index 0cb72d4760..8686f9d10a 100644
--- a/macros/xetex/latex/langsci/examples/samplepaper.tex
+++ b/macros/xetex/latex/langsci/examples/samplepaper.tex
@@ -54,6 +54,11 @@ Sed cursus eros condimentum mi consectetur, ac consectetur sapien pulvinar. Sed
\section*{Abbreviations}
\section*{Acknowledgements}
+%\section*{Contributions}
+%John Doe contributed to conceptualization, methodology, and validation.
+%Jane Doe contributed to writing of the original draft, review, and editing.
+
+
\sloppy
\printbibliography[heading=subbibliography,notkeyword=this]
diff --git a/macros/xetex/latex/langsci/examples/samplevolume.pdf b/macros/xetex/latex/langsci/examples/samplevolume.pdf
index 76dc116188..6823517cc1 100644
--- a/macros/xetex/latex/langsci/examples/samplevolume.pdf
+++ b/macros/xetex/latex/langsci/examples/samplevolume.pdf
Binary files differ
diff --git a/macros/xetex/latex/langsci/langsci-affiliations.sty b/macros/xetex/latex/langsci/langsci-affiliations.sty
index 452010496e..c5c8a01862 100644
--- a/macros/xetex/latex/langsci/langsci-affiliations.sty
+++ b/macros/xetex/latex/langsci/langsci-affiliations.sty
@@ -17,7 +17,7 @@
%% langsci-affiliations was developed at Language Science Press to help in the
%% production of scientific texts in linguistics.
%%
-%% Copyright (C) 2022 by Felix Kopecky, Language Science Press
+%% Copyright (C) 2023 by Felix Kopecky, Language Science Press
%%
%% This work consists of the file langsci-affiliations.dtx
%% and the derived files langsci-affiliations.sty,
@@ -45,10 +45,9 @@
-
\RequirePackage{xparse}
\ProvidesExplPackage {langsci-affiliations}
-{2022-10-11} {1.1}
+{2023-10-12} {1.2}
{A LaTeX3 package to collect and order authors and affiliations}
\NewDocumentCommand{\ResolveAffiliations}{ O{} +m }
@@ -103,10 +102,14 @@
= \l__affiliations_separator_between_last_two_tl,
separator~between~final~two .initial:n
= {~\&~},
+ separator~between~indices .tl_set:N
+ = \l__affiliations_indices_separator_tl,
+ separator~between~indices .initial:n
+ = {,},
separator~between~affiliations .tl_set:N
= \l__affiliations_afil_separator_tl,
separator~between~affiliations .initial:n
- = {,},
+ = {~},
output~authors~font .cs_set:Np
= \__affiliations_output_authors_font:,
output~authors~font .initial:n
@@ -212,7 +215,12 @@
}
{none} { }
}
- \tl_rescan:nn {} {##1} ~
+ \tl_rescan:nn {} {##1}
+ \int_compare:nNnT
+ { \int_eval:n {\l__affiliations_tmpa_int + 1} }
+ <
+ { \prop_count:N \l__affiliations_affiliations_prop }
+ { \tl_use:N \l__affiliations_afil_separator_tl }
}
}
\cs_new:Npn \__affiliations_return_afil_text:n #1
@@ -250,7 +258,7 @@
\tl_set:Nn \l__affiliations_tmpb_tl
{
\seq_use:Nn \l__affiliations_tmpb_seq
- {\l__affiliations_afil_separator_tl}
+ {\l__affiliations_indices_separator_tl}
}
\str_case_e:nn { \l__affiliations_orcid_place_tl }
{
diff --git a/macros/xetex/latex/langsci/langsci-optional.sty b/macros/xetex/latex/langsci/langsci-optional.sty
index 6f7ec69a22..58d9834825 100644
--- a/macros/xetex/latex/langsci/langsci-optional.sty
+++ b/macros/xetex/latex/langsci/langsci-optional.sty
@@ -346,7 +346,7 @@
\providecommand{\lsptoprule}{\midrule\toprule}
\providecommand{\lspbottomrule}{\bottomrule\midrule}
-\providecommand{\REF}[1]{(\ref{#1})}
+\providecommand{\REF}[2][]{(\ref{#2#1})}
\newcommand{\glottocodes}[1]{}
@@ -358,12 +358,6 @@
\providecommand{\cp}{{\upshape )}} %closing paren
\providecommand{\db}{\hphantom{[}} %dummy space for [ in IMT line
-% old font commands
-\renewcommand{\it}{\itshape}
-\renewcommand{\bf}{\bfseries}
-\renewcommand{\sc}{\scshape}
-\renewcommand{\rm}{\upshape}
-
% Shortcuts to langsci-affiliation styles
% These commands allow switching between two frequently used output styles
% for authors and affiliations:
diff --git a/macros/xetex/latex/langsci/langsci-plot-templates.sty b/macros/xetex/latex/langsci/langsci-plot-templates.sty
new file mode 100644
index 0000000000..5628b1842c
--- /dev/null
+++ b/macros/xetex/latex/langsci/langsci-plot-templates.sty
@@ -0,0 +1,56 @@
+%% Templates for plotting with pgfplots in Language Science Press books.
+
+%% Cycle lists for bar plots
+%% Red-Yellow-Blue, inspired by ColorBrewer's RdYlBu
+\pgfplotscreateplotcyclelist{langsci-RdYlBl-6}{
+ {lsRed,fill=lsRed!90!white,mark=none},
+ {lsMidOrange,fill=lsMidOrange!90!white,mark=none},
+ {lsYellow,fill=lsYellow!90!white,mark=none},
+ {lsLightBlue,fill=lsLightBlue!90!white,mark=none},
+ {lsMidDarkBlue,fill=lsMidDarkBlue!90!white,mark=none},
+ {lsNightBlue,fill=lsNightBlue!90!white,mark=none}
+}
+
+\pgfplotscreateplotcyclelist{langsci-RdYlBl-5}{
+ {lsRed,fill=lsRed!90!white,mark=none},
+ {lsMidOrange,fill=lsMidOrange!90!white,mark=none},
+ {lsYellow,fill=lsYellow!90!white,mark=none},
+ {lsLightBlue,fill=lsLightBlue!90!white,mark=none},
+ {lsNightBlue,fill=lsNightBlue!90!white,mark=none}
+}
+
+\pgfplotscreateplotcyclelist{langsci-RdYlBl-4}{
+ {lsRed,fill=lsRed!90!white,mark=none},
+ {lsMidOrange,fill=lsMidOrange!90!white,mark=none},
+ {lsLightBlue,fill=lsLightBlue!90!white,mark=none},
+ {lsNightBlue,fill=lsNightBlue!90!white,mark=none}
+}
+
+\pgfplotscreateplotcyclelist{langsci-RdYlBl-3}{
+ {lsMidOrange,fill=lsMidOrange!90!white,mark=none},
+ {lsYellow,fill=lsYellow!90!white,mark=none},
+ {lsLightBlue,fill=lsLightBlue!90!white,mark=none}
+}
+
+%% Yellow-Green-Blue, inspired by ColorBrewer's YlGnBu
+
+\pgfplotscreateplotcyclelist{langsci-YlGnBl-5}{
+ {lsYellow,fill=lsYellow!50!white,mark=none},
+ {lsSoftGreen,fill=lsSoftGreen!50!white,mark=none},
+ {lsMidGreen,fill=lsMidGreen!50!white,mark=none},
+ {lsLightBlue,fill=lsLightBlue!90!white,mark=none},
+ {lsNightBlue,fill=lsNightBlue!90!white,mark=none},
+}
+
+\pgfplotscreateplotcyclelist{langsci-YlGnBl-4}{
+ {lsYellow,fill=lsYellow!50!white,mark=none},
+ {lsSoftGreen,fill=lsSoftGreen!50!white,mark=none},
+ {lsMidGreen,fill=lsMidGreen!50!white,mark=none},
+ {lsMidDarkBlue,fill=lsMidDarkBlue!90!white,mark=none}
+}
+
+\pgfplotscreateplotcyclelist{langsci-YlGnBl-3}{
+ {lsYellow,fill=lsYellow!50!white,mark=none},
+ {lsSoftGreen,fill=lsSoftGreen!50!white,mark=none},
+ {lsLightBlue,fill=lsLightBlue!90!white,mark=none}
+}
diff --git a/macros/xetex/latex/langsci/langsci-series.def b/macros/xetex/latex/langsci/langsci-series.def
index d321d70082..46f99cc8aa 100644
--- a/macros/xetex/latex/langsci/langsci-series.def
+++ b/macros/xetex/latex/langsci/langsci-series.def
@@ -45,8 +45,10 @@
\ifx\lsSeries\ahl
\newcommand{\lsSeriesTitle}{Advances in Historical Linguistics}
\newcommand{\lsSeriesColor}{lsRed}
-% \renewcommand{\lsISSN}{}
+ \renewcommand{\lsISSNprint}{2943-0550}
+ \renewcommand{\lsISSNelectronic}{2943-064X}
\renewcommand{\lsSeriesText}{
+ {\large Advances in Historical Linguistics}
Editors:
Klaus Grübl (Leipzig University, Germany),
Judith Huber (LMU Munich, Germany),
@@ -59,9 +61,9 @@
In this series:
-% \begin{enumerate}
-% \item
-% \end{enumerate}
+ \begin{enumerate}
+ \item Becker, Carsten. Genusresolution bei mittelhochdeutsch beide: Eine Analyse im Rahmen der Lexical Functional Grammar.
+ \end{enumerate}
}
\fi
\ifx\lsSeries\algad
@@ -69,6 +71,7 @@
\newcommand{\lsSeriesColor}{lsLightOrange}
\renewcommand{\lsISSN}{2512-4862}
\renewcommand{\lsSeriesText}{
+ {\large African Language Grammars and Dictionaries}
Chief Editor: Adams Bodomo \\
Editor: Firmin Ahoua
@@ -95,7 +98,7 @@
\bigskip
- Editors: Akinbiyi Akinlabi, Laura J. Downing
+ Editors: Michael R. Marlo, Laura J. Downing, Kristina Riedel
\bigskip
@@ -246,6 +249,7 @@
\item Maurer-Cecchini, Philippe. A grammar of Tuatschin: A Sursilvan Romansh dialect.
\item Visser, Eline. A grammar of Kalamang.
\item Caballero, Gabriela. A grammar of Choguita Rarámuri: In collaboration with Luz Elena León Ramírez, Sebastián Fuentes Holguín, Bertha Fuentes Loya and other Choguita Rarámuri language experts.
+ \item Barlow, Russell. A grammar of Ulwa (Papua New Guinea).
\end{enumerate}
@@ -344,8 +348,10 @@
\item Crysmann, Berthold \& Manfred Sailer (eds.). One-to-many relations in morphology, syntax, and semantics.
\item Zinova, Yulia. Russian verbal prefixation: A frame semantic analysis.
\item Müller, Stefan, Anne Abeillé, Robert D. Borsley \& Jean-Pierre Koenig. Head-Driven Phrase Structure Grammar: The handbook.
- \item Diewald, Gabriele \& Katja Politt (eds.). Paradigms regained: Theoretical and empirical arguments for the reassessment of the notion of paradigm.
- \item Freywald, Ulrike, Horst J. Simon \& Stefan Müller (eds.). Headedness and/or grammatical anarchy?
+ \item Diewald, Gabriele \& Katja Politt (eds.). Paradigms regained: Theoretical and empirical arguments for the reassessment of the notion of paradigm.
+ \item Freywald, Ulrike, Horst J. Simon \& Stefan Müller (eds.). Headedness and/or grammatical anarchy?
+ \item Kawaletz, Lea. The semantics of English \textit{-ment} nominalizations.
+ \item Dalrymple, Mary (ed.). Handbook of Lexical Functional Grammar.
\end{enumerate}
}
\fi
@@ -380,13 +386,16 @@
\item Edmonds, Amanda, Pascale Leclercq \& Aarnes Gudmestad (eds.), Interpreting language-learning data.
\item Berthele, Raphael \& Isabelle Udry (eds.). Individual differences in early instructed language learning: The role of language aptitude, cognition, and motivation.
\item McManus, Kevin \& Monika S. Schmid (eds.). How special are early birds? Foreign language teaching and learning.
+ \item Granget, Cyrille, Isabel Repiso \& Guillaume Fon Sing (eds.). Language, creoles, varieties: From emergence to transmission.
\end{enumerate}
}
\fi
\ifx\lsSeries\ela
- \newcommand{\elatitle}{Estudios de Lingüística Amerindia}
- \newcommand{\elaeditor}{Editores:}
- \newcommand{\elainthisseries}{En esta serie:}
+ \renewcommand{\lsISSNelectronic}{2943-0658}
+ \renewcommand{\lsISSNprint}{2943-0569}
+ \newcommand{\elatitle}{Estudios de Lingüística Amerindia}
+ \newcommand{\elaeditor}{Editores:}
+ \newcommand{\elainthisseries}{En esta serie:}
\newcommand{\lsSeriesTitle}{\elatitle}
\newcommand{\lsSeriesColor}{lsMidDarkBlue}
@@ -397,18 +406,19 @@
\elaeditor
- Carolina González. Florida State University\\
- Siri Tuttle. Navajo Technical University in New Mexico\\
- Thiago Chacon. University of Brasilia\\
- Heriberto Avelino. National Institute for Anthropology and History\\
+ Carolina González (Florida State University)\\
+ Siri Tuttle (Navajo Technical University in New Mexico)\\
+ Thiago Chacon (University of Brasilia)\\
+ Heriberto Avelino (National Institute for Anthropology and History)\\
\bigskip
\elainthisseries
- %\begin{enumerate}
- %\end{enumerate}
- }
+ \begin{enumerate}
+ \item Dyck, Carrie, Frances Froman, Alfred Keye \& Lottie Keye. A grammar and dictionary of Gayogo̱hó:nǫˀ (Cayuga).
+ \end{enumerate}
+}
\fi
\ifx\lsSeries\hpls
\newcommand{\lsSeriesTitle}{History and Philosophy of the Language Sciences}
@@ -434,9 +444,8 @@
\item Aussant, Émilie \& Jean-Michel Fortis. Historical journey in a linguistic archipelago: Case studies on concepts, fields, and commitments.
\item McElvenny, James \& Ploder, Andrea. Holisms of communication: The early history of audio-visual sequence analysis.
\item Anderson, Stephen R. Phonology in the Twentieth Century: Second edition, revised and expanded.
- \end{enumerate}
\item McElvenny, James. Interviews in the history of linguistics: Volume I.
-
+ \end{enumerate}
}
\fi
@@ -460,10 +469,9 @@
In this series:
\begin{enumerate}
- \item Daniel, Michael, Nina Dobrushina \& Dmitry Ganenkov (eds.). The Mehweb
- language: Essays on phonology, morphology and syntax.
+ \item Daniel, Michael, Nina Dobrushina \& Dmitry Ganenkov (eds.). The Mehweb language: Essays on phonology, morphology and syntax.
\item Forker, Diana. A grammar of Sanzhi Dargwa.
-
+ \item Dolatian, Hossep, Afsheen Sharifzadeh \& Bert Vaux. A grammar of Iranian Armenian: Parskahayeren or Iranahayeren.
\end{enumerate}
}
\fi
@@ -476,7 +484,7 @@
\bigskip
- Editors: John Nerbonne, Dirk Geeraerts
+ Editors: Martijn Wieling, Alexandra D'Arcy
\bigskip
@@ -488,8 +496,10 @@
\item Juskan, Martin. Sound change, priming, salience: Producing and perceiving variation in Liverpool English.
\item Dellert, Johannes. Information-theoretic causal inference of lexical flow.
\item Zimmer, Christian (ed.). German(ic) in language contact: Grammatical and sociolinguistic dynamics.
- \item Tahmasebi, Nina, Lars Borin, Adam Jatowt, Yang Xu and Simon Hengchen (eds.). Computational approaches to semantic change.
+ \item Tahmasebi, Nina, Lars Borin, Adam Jatowt, Yang Xu \& Simon Hengchen (eds.). Computational approaches to semantic change.
\item Paulsen, Ingrid. The emergence of American English as a discursive variety: Tracing enregisterment processes in nineteenth-century U.S. newspapers.
+ \item van Gijn, Rik, Hanna Ruch, Max Wahlström \& Anja Hasse (eds.). Language contact: Bridging the gap between individual interactions and areal patterns.
+ \item Schützler, Ole. Concessive constructions in varieties of English.
\end{enumerate}
}
\fi
@@ -542,6 +552,7 @@
\item Watters, John R. (ed.). East Benue-Congo: Nouns, pronouns, and verbs.
\item Pozdniakov, Konstantin. The numeral system of Proto-Niger-Congo: A step-by-step reconstruction.
\item Pozdniakov, Konstantin. Proto-Fula–Sereer: Lexicon, morphophonology, and noun classes.
+ \item Bostoen, Koen, Gilles-Maurice de Schryver, Rozenn Guérois \& Sara Pacchiarotti(eds.). On reconstructing Proto-Bantu grammar.
\end{enumerate}
@@ -571,6 +582,11 @@
\item Lemke, Robin. Experimental investigations on the syntax and usage of fragments.
\item Larsson, Ida \& Erik Petzell (eds.). Morphosyntactic change in Late Modern Swedish.
\item Hall, Tracy Alan. Velar fronting in German dialects: A study in synchronic and diachronic phonology.
+ \item Cysouw, Michael. Encyclopaedia of German diatheses.
+ \item Bacskai-Atkari, Julia. The syntax of functional left peripheries: Clause typing in West Germanic and beyond.
+ \item Nickel, Grit. Nominale Flexionsmorphologie in den ostoberdeutschen Dialekten Bayerns.
+ \item Schmitt, Eleonore. Frequenz. Prototyp. Schema.: Ein gebrauchsbasierter Ansatz zur Entstehung grammatischer Varianten.
+ \item Bech, Kristin \& Alexander Pfaff (eds.). Noun phrases in early Germanic languages.
\end{enumerate}
}
}
@@ -608,6 +624,7 @@
\item Bárány, András, Theresa Biberauer, Jamie Douglas \& Sten Vikner (eds.). Syntactic architecture and its consequences II: Between syntax and morphology.
\item Bárány, András, Theresa Biberauer, Jamie Douglas \& Sten Vikner (eds.). Syntactic architecture and its consequences III: Inside syntax.
\item Laszakovits, Sabine \& Zheng Shen (eds.). The size of things I: Structure building.
+ \item Shen, Zheng \& Sabine Laszakovits (eds.). The size of things II: Movement, features, and interpretation.
\end{enumerate}
}
\fi
@@ -634,6 +651,10 @@
\begin{enumerate}
\item Kocher, Anna. Complementizers on edge: On the boundaries between syntax and pragmatics in Ibero-Romance.
\item Bullock, Barbara E. Cinzia Russi \& Almeida Jacqueline Toribio (eds.). A half century of Romance linguistics: Selected proceedings of the 50th Linguistic Symposium on Romance Languages.
+ \item Fliessbach, Jan. The intonation of expectations: On marked declaratives, exclamatives, and discourse particles in Castilian Spanish.
+ \item Posio, Pekka \& Peter Herbeck (eds). Referring to discourse participants in Ibero-Romance languages.
+ \item Pešková, Andrea. L2 Spanish and Italian intonation: Accounting for the different patterns displayed by L1 Czech and German learners.
+ \item Favaro, Marco. Modal particles in Italian: Adverbs of illocutionary modification and sociolinguistic variation.
\end{enumerate}
}
\fi
@@ -650,8 +671,9 @@
Editors: Berit Gehrke,
Denisa Lenertová,
Roland Meyer,
- Radek Šimík \&
- Luka Szucsich
+ Radek Šimík,
+ Luka Szucsich \&
+ Joanna Zaleska
\bigskip
@@ -660,11 +682,12 @@
\begin{enumerate}
\item Lenertová, Denisa, Roland Meyer, Radek Šimík \& Luka Szucsich (Eds.). Advances in formal Slavic linguistics 2016.
\item Wiland, Bartosz. The spell-out algorithm and lexicalization patterns: Slavic verbs and complementizers.
- \item Marušič, Franc, Petra Mišmaš \& Rok Žaucer (eds.). Advances in formal Slavic linguistics 2017.
+ \item Marušič, Franc, Petra Mišmaš \& Rok Žaucer (eds.). Advances in formal Slavic linguistics 2017.
\item Blümel, Andreas, Jovana Gajić, Ljudmila Geist, Uwe Junghanns \& Hagen Pitsch (eds.). Advances in formal Slavic linguistics 2018.
\item Dočekal, Mojmír \& Marcin Wągiel (eds.). Formal approaches to number in Slavic and beyond.
\item Wągiel, Marcin. Subatomic quantification.
\item Kolaković, Zrinka, Edyta Jurkiewicz-Rohrbacher, Björn Hansen, Dušica Filipović Đurđević \& Nataša Fritz. Clitics in the wild: Empirical studies on the microvariation of the pronominal, reflexive and verbal clitics in Bosnian, Croatian and Serbian.
+ \item Biskup, Petr, Marcel Börner, Olav Mueller-Reichau \& Iuliia Shcherbina (eds.). Advances in formal Slavic linguistics 2021.
\end{enumerate}
}
\fi
@@ -716,6 +739,7 @@
\begin{enumerate}
\item Bahrt, Nicklas N. Voice syncretism.
\item Veselinova, Ljuba \& Arja Hamari (eds.). The Negative Existential Cycle.
+ \item Janic, Katarzyna, Nicoletta Puddu \& Martin Haspelmath (eds.). Reflexive constructions in the world's languages.
\end{enumerate}
}
\fi
@@ -741,6 +765,7 @@
\item Forbes-Barnett, Marsha. Dual aspectual forms and event structure in Caribbean English Creoles.
\item Sherriah, André Ché. A tale of two dialect regions: Sranan’s 17th-century English input.
\item Delgado, Sally. Ship English: Sailors’ speech in the early colonial Caribbean.
+ \item Forrester, Clive (ed.). Intersections of language rights and social justice in the Caribbean context.
\end{enumerate}
}
@@ -819,21 +844,24 @@
In this series:
- \begin{enumerate}
+ \lsSeriesHistoryWheel[10]{
\item Cangemi, Francesco. Prosodic detail in Neapolitan Italian.
\item Drager, Katie. Linguistic variation, identity construction, and cognition.
\item Roettger, Timo B. Tonal placement in Tashlhiyt: How an intonation system accommodates to adverse phonological environments.
\item Mücke, Doris. Dynamische Modellierung von Artikulation und prosodischer Struktur: Eine Einführung in die Artikulatorische Phonologie.
\item Bergmann, Pia. Morphologisch komplexe Wörter im Deutschen: Prosodische Struktur und phonetische Realisierung.
- \item Feldhausen, Ingo \& Fliessbach, Jan \& Maria del Mar Vanrell. Methods in prosody: A Romance language perspective.
+ \item Feldhausen, Ingo, Jan Fliessbach \& Maria del Mar Vanrell (eds.). Methods in prosody: A Romance language perspective.
\item Tilsen, Sam. Syntax with oscillators and energy levels.
\item Ben Hedia, Sonia. Gemination and degemination in English affixation: Investigating the interplay between morphology, phonology and phonetics.
\item Easterday, Shelece. Highly complex syllable structure: A typological and diachronic study.
\item Roessig, Simon. Categoriality and continuity in prosodic prominence.
\item Schmitz, Dominic. Production, perception, and comprehension of subphonemic detail: Word-Final /s/ in English.
- \end{enumerate}
-
+ \item Schubö, Fabian, Sabine Zerbian, Sandra Hanne \& Isabell Wartenburger (eds.). Prosodic boundary phenomena.
+ \item Albert, Aviad. A model of sonority based on pitch intelligibility.
+ \item Wehrle, Simon. Conversation and intonation in autism: A multi-dimensional analysis.
+ }
}
+
\fi
\ifx\lsSeries\tbls
\newcommand{\lsSeriesTitle}{Textbooks in Language Sciences}
@@ -859,10 +887,11 @@
\item Kroeger, Paul. Analyzing meaning: An introduction to semantics and pragmatics.
\item Ferreira, Marcelo. Curso de semântica formal.
\item Stefanowitsch, Anatol. Corpus linguistics: A guide to the methodology.
- \item Müller, Stefan. {\tblseight}.
+ \item Müller, Stefan. {\lsSeriesHistoryFandolSong 语法理论: 从转换语法到基于约束的理论}.
\item Hejná, Míša \& George Walkden. A history of English.
\item Kahane, Sylvain \& Kim Gerdes. Syntaxe théorique et formelle. Vol. 1: Modélisation, unités, structures.
\item Freitas, Maria João, Marisa Lousada \& Dina Caetano Alves (eds.). Linguística clínica: Modelos, avaliação e intervenção.
+ \item Müller, Stefan. Germanic syntax: A constraint-based view.
\end{enumerate}
}
\fi
@@ -947,8 +976,8 @@
\bigskip
- Editors: Natalia Kuznetsova (Università Cattolica del Sacro Cuore / Institute for Linguistic Studies, Russian Academy of Sciences)
- Cormac Anderson (MPI-SHH, Jena)
+ Editors: Natalia Kuznetsova (Università Cattolica del Sacro Cuore),
+ Cormac Anderson (Max Planck Institute for Evolutionary Anthropology, Leipzig),
Shelece Easterday (University of Hawai'i, Mānoa)
diff --git a/macros/xetex/latex/langsci/langsci-tbls.sty b/macros/xetex/latex/langsci/langsci-tbls.sty
index 12be79a600..7de018c78a 100644
--- a/macros/xetex/latex/langsci/langsci-tbls.sty
+++ b/macros/xetex/latex/langsci/langsci-tbls.sty
@@ -1,4 +1,4 @@
-\ProvidesPackage{langsci-tbls}[2023/01/06 langsci-tbls]
+\ProvidesPackage{langsci-tbls}[2021/01/06 langsci-tbls]
\RequirePackage{etoolbox}
\newbool{langsci@tbls@tcolorbox}
@@ -65,6 +65,7 @@
left = 5mm,
right = 5mm,
frame engine = path,
+ extras = {frame engine=path},
frame style = {fill=#2},
sharp corners = all,
subtitle style =
diff --git a/macros/xetex/latex/langsci/langsci-unified.bbx b/macros/xetex/latex/langsci/langsci-unified.bbx
index f406db38c5..f836a07c6e 100644
--- a/macros/xetex/latex/langsci/langsci-unified.bbx
+++ b/macros/xetex/latex/langsci/langsci-unified.bbx
@@ -680,6 +680,57 @@
\usebibmacro{related}}
{}}
\usebibmacro{finentry}}
+
+\DeclareBibliographyDriver{inbook}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/translator+others}%
+ \setunit{\printdelim{nametitledelim}}\newblock
+ \usebibmacro{title}%
+ \newunit
+ \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit\newblock
+ \usebibmacro{in:}%
+ \usebibmacro{bybookauthor}%
+ \newunit\newblock
+ \usebibmacro{maintitle+booktitle}%
+ \newunit\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit\newblock
+ \printfield{edition}%
+ \newunit
+ \iffieldundef{maintitle}
+ {\printfield{volume}%
+ \printfield{part}}
+ {}%
+ \newunit
+ \printfield{volumes}%
+ \newunit\newblock
+ \usebibmacro{series+number}%
+ \newunit\newblock
+ \printfield{note}%
+ \newunit\newblock
+ \usebibmacro{publisher+location+date}%
+ \newunit\newblock
+ \usebibmacro{chapter+pages}%
+ \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{thesis}{%
\usebibmacro{bibindex}%
@@ -749,6 +800,5 @@
%% 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
\AtBeginBibliography{\sloppy}
diff --git a/macros/xetex/latex/langsci/langsci-unified.cbx b/macros/xetex/latex/langsci/langsci-unified.cbx
index 7563a8feaf..eaaec93a58 100644
--- a/macros/xetex/latex/langsci/langsci-unified.cbx
+++ b/macros/xetex/latex/langsci/langsci-unified.cbx
@@ -322,6 +322,12 @@
{\multicitedelim}
{\printtext[bibhyperref]{\usebibmacro{postnote}\addspace[this volume]\bibcloseparen}}
+\DeclareCiteCommand{\citeyeartv}
+ {\boolfalse{citetracker}\boolfalse{pagetracker}\usebibmacro{prenote}}
+ {\printtext[bibhyperref]{\iffieldundef{year}{\printfield{labelyear}}{\printfield{year}}\printfield{extradate}}}
+ {\multicitedelim}
+ {\usebibmacro{postnote}\addspace[this volume]}
+
% A cite command to produce the full reference in the footer of the landing page of
% a paper in an edited volume
diff --git a/macros/xetex/latex/langsci/langscibook.cls b/macros/xetex/latex/langsci/langscibook.cls
index 2451286e33..e9da4b4b89 100644
--- a/macros/xetex/latex/langsci/langscibook.cls
+++ b/macros/xetex/latex/langsci/langscibook.cls
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% File: langscibook.cls
%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2023-02-08 14:00 CET
+%% Date: 2024-02-07 14:00 CET
%% Purpose: This file defines the basic document class
%% for books published with Language Science Press.
%% Language: LaTeX
@@ -49,7 +49,7 @@
% \- Miscellaneous
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{langscibook}[2023/02/08 Language Science Press]
+\ProvidesClass{langscibook}[2024/02/07 Language Science Press]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Early load packages
@@ -109,12 +109,14 @@
\newcommand{\newlineCover}{\\} % \newline only on cover
\newcommand{\newlineSpine}{\\} % \newline only on spine
\newcommand{\newlineTOC}{\\} % \newline only in TOC entry
-\newcommand{\affiliation}[1]{} % A dummy command to process the affiliation info.
+\newcommand{\affiliation}[1]{} % A dummy command to process the affiliation info.
+\newcommand{\orcid}[1]{} % A dummy command to process ORCiDs.
\newcommand{\lsSpineTitle}{\@title}
\newcommand{\lsSpineAuthor}
{%
\ResolveAffiliations[output affiliation=false,
+ orcid placement=none,
output authors font=\lsSpineAuthorFont]{\@author}%
}
\newcommand{\SpineTitle}[1]{\renewcommand{\lsSpineTitle}{#1}}
@@ -139,19 +141,16 @@
\newbool{babelshorthands}
\newbool{multiauthors}
\newbool{showindex}
-\newbool{biblatex}
- \booltrue{biblatex}
-\newbool{newtxmath}
\newbool{minimal}
\newbool{collection}
\newbool{collectiontoclong}
\newbool{uniformtopskip}
\newbool{oldstylenumbers}
-\newbool{tblseight}%for chinesefonts in tbls series page
\newbool{lsISBNTwoDigitAddon}
\newbool{lsFloatCounterWithoutChapter}
\booltrue{lsFloatCounterWithoutChapter}
\newbool{lsImportPackagesWhenStandalone}
+\newbool{lsSpineWidthUserConfigured}
\newbool{infn}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -174,7 +173,8 @@
\renewcommand{\lsBiblatexBackend}{#1}}
\DeclareStringOption{spinewidth}[20mm]
\define@key{langscibook}{spinewidth}{%
- \renewcommand{\lsSpinewidth}{#1}}
+ \renewcommand{\lsSpinewidth}{#1}%
+ \booltrue{lsSpineWidthUserConfigured}}
\DeclareVoidOption{smallfont}{\renewcommand{\lsFontsize}{10pt}}
\DeclareVoidOption{decapbib}{
\booltrue{resetcapitals}
@@ -192,9 +192,6 @@
\DeclareVoidOption{babelshorthands}{\booltrue{babelshorthands}}
\DeclareVoidOption{multiauthors}{\booltrue{multiauthors}}
\DeclareVoidOption{showindex}{\booltrue{showindex}}
-\DeclareVoidOption{biblatex}{\booltrue{biblatex}}
-\DeclareVoidOption{nonewtxmath}{\boolfalse{newtxmath}}
-\DeclareVoidOption{newtxmath}{\booltrue{newtxmath}}
\DeclareVoidOption{minimal}{\booltrue{minimal}}
\DeclareVoidOption{collection}{\booltrue{collection}}
\DeclareVoidOption{proofs}
@@ -275,7 +272,6 @@
\AdditionalFontImprint{Estrangelo Edessa}
}
-\DeclareVoidOption{tblseight}{\booltrue{tblseight}}
\DeclareVoidOption{infn}{\booltrue{infn}}
\ProcessKeyvalOptions*
@@ -452,6 +448,7 @@
\lsEditorPrefix%
\ResolveAffiliations[output in groups=false,
output affiliation=false,
+ orcid placement=none,
output authors font=\lsCoverAuthorFont,
separator between two=\\,
separator between multiple=\\,
@@ -472,6 +469,7 @@
\lsEditorPrefix%
\ResolveAffiliations[output in groups=false,
output affiliation=false,
+ orcid placement=none,
output authors font=\lsCoverAuthorFont,
separator between two=\\,
separator between multiple=\\,
@@ -625,6 +623,9 @@
\ifx\lsSeries\eotms
\renewcommand{\sectref}[1]{Section~\ref{#1}}
\fi
+ \ifx\lsSeries\ahl
+ \renewcommand{\sectref}[1]{Section~\ref{#1}}
+ \fi
} %% \AtBeginDocument
}{} %notbool paper
@@ -644,6 +645,40 @@
\newlength{\totalheight}
\setlength{\bleed}{3.175mm}
\setlength{\spinewidth}{\lsSpinewidth} % Create Space Version
+\ExplSyntaxOn
+% Integers and floats needed for automatic spine width calculation (BoD).
+\int_new:N \l__langsci_bookblock_page_count
+\int_new:N \l_langsci_spine_width_modifier
+\fp_new:N \l__langsci_spine_width
+
+\NewExpandableDocumentCommand{\lsDetermineSpineWidth}{O{Bookblock.pdf} m}
+ {% Collect the page count from input file.
+ \int_set:Nn \l__langsci_bookblock_page_count
+ {\the\XeTeXpdfpagecount"#1"}
+
+ \str_case:nn {#2}
+ {
+ {hardcover} % Determine hardcover spine dimensions with 90g white paper
+ {
+ \int_compare:nTF
+ { \l__langsci_bookblock_page_count < 300 }
+ { \int_set:Nn \l_langsci_spine_width_modifier {5} }
+ { \int_set:Nn \l_langsci_spine_width_modifier {6} }
+ }
+ {softcover} % Determine softcover spine dimensions with 90g white paper
+ {
+ \int_set:Nn \l_langsci_spine_width_modifier {0}
+ }
+ }
+
+ \fp_set:Nn \l__langsci_spine_width
+ {
+ \l__langsci_bookblock_page_count / 2 * 0.12
+ + \l_langsci_spine_width_modifier
+ }
+ \setlength{\spinewidth}{\fp_use:N \l__langsci_spine_width mm}
+ }
+\ExplSyntaxOff
\usepackage{calc}
\ifbool{coverCS}{
@@ -655,13 +690,19 @@
\ifbool{coverBODhc}{
\booltrue{cover}
\usepackage{langsci-pod}
- \bodhcgeometry
+ \ifbool{lsSpineWidthUserConfigured}
+ {}
+ {\lsDetermineSpineWidth{hardcover}}
+ \bodhcgeometry{}
}{}
\ifbool{coverBODsc}{
\booltrue{cover}
\usepackage{langsci-pod}
- \bodscgeometry
+ \ifbool{lsSpineWidthUserConfigured}
+ {}
+ {\lsDetermineSpineWidth{softcover}}
+ \bodscgeometry{}
}{}
%Page size and text area if not cover
@@ -690,7 +731,6 @@
\usepackage{amsmath} % has to be loaded before mathspec/unicode-math
\notbool{minimal}{% The minimal mode skips font loading
- \notbool{newtxmath}{
%% 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
@@ -716,10 +756,6 @@
\fi%umathcode
%% Provides \setmathfont
\usepackage{unicode-math}
- }{%else newtxmath
- %% 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
- }
\usepackage{metalogo}\newcommand{\xelatex}{\XeLaTeX\xspace}
@@ -738,12 +774,10 @@
ItalicFont = Arimo-Italic.ttf,
BoldItalicFont = Arimo-BoldItalic.ttf
]{Arimo-Regular.ttf}
-
- \notbool{newtxmath}{
+
\setmathfont[AutoFakeBold]{LibertinusMath-Regular.otf}
\setmathfont[range={cal},StylisticSet=1]{XITSMath-Regular.otf}
\setmathfont[range={bfcal},StylisticSet=1]{XITSMath-Bold.otf}
- }{}
\ifbool{oldstylenumbers}{
\defaultfontfeatures[LibertinusSerif-Semibold.otf,LibertinusSerif-Italic.otf,LibertinusSerif-SemiboldItalic.otf,LibertinusSerif-Regular.otf]{SmallCapsFeatures={Numbers=OldStyle}}
@@ -764,26 +798,11 @@
]
{LibertinusSerif-Regular.otf}
- %% Deprecated:
- \ifbool{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. This also seems to fix an issue with \url in footnotes.
- %% Unfortunately, this is NOT extensively tested!
- \usepackage{xpatch}
- \xpretocmd{\textsuperscript}
- {{\sbox0{$\textstyle x$}}}
- {}{}
- \AtBeginDocument{%
- \DeclareSymbolFont{operators}{\encodingdefault}{\familydefault}{m}{n}%
- \SetSymbolFont{operators}{bold}{\encodingdefault}{\familydefault}{b}{n}%
- }
- }{}
% Improve the appearance of numbers in tables and the TOC
% In those places, they should come out monospaced, unlike in main text.
- \AtBeginEnvironment{tabular}{\addfontfeatures{Numbers={Monospaced,Lining}}\selectfont}
- \AtBeginEnvironment{tabularx}{\addfontfeatures{Numbers={Monospaced,Lining}}\selectfont}
- \AtBeginEnvironment{longtable}{\addfontfeatures{Numbers={Monospaced,Lining}}\selectfont}
+ \AtBeginEnvironment{tabular}{\ifmmode\else\addfontfeatures{Numbers={Monospaced,Lining}}\selectfont\fi}
+ \AtBeginEnvironment{tabularx}{\ifmmode\else\addfontfeatures{Numbers={Monospaced,Lining}}\selectfont\fi}
+ \AtBeginEnvironment{longtable}{\ifmmode\else\addfontfeatures{Numbers={Monospaced,Lining}}\selectfont\fi}
\DeclareTOCStyleEntry
[
@@ -806,6 +825,7 @@
% In collected volumes, adjust the spacing for unnumbered chapters
\ifbool{collection}{
\BeforeStartingTOC[toc]{\SetupAffiliations{output affiliation=false,
+ orcid placement=none,
output authors font=\normalfont,
separator between two={~\&~},
separator between multiple={,~},
@@ -927,6 +947,19 @@
{\g__affiliations_num_authors_int} > {1}
{\booltrue{multiauthors}} {}
}
+
+\NewDocumentCommand{\lsDeterminePaperAuthorAffiliationIndexing}{}
+ {%
+ \int_compare:nNnT
+ {\g__affiliations_num_authors_int} = {1}
+ {
+ \SetupAffiliations
+ {
+ mark~style = none,
+ separator~between~affiliations={~\&~}
+ }
+ }
+ }
\ExplSyntaxOff
\newcommand{\lsEditorPrefix}{}
@@ -1013,19 +1046,13 @@
% Series history
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\tblseight}{{\color{red}Chinese fonts for TBLS 8 not loaded! Please set the option \textsc{tblseight} in main.tex for final production}}
-
-\ifbool{tblseight}
- {
- \newfontfamily\cn
- [
- Scale=MatchLowercase,
- BoldFont=SourceHanSerifSC-Bold.otf
- ]
- {SourceHanSerifSC-Regular.otf}
-
- \renewcommand{\tblseight}{{\cn 语法理论: 从转换语法到基于约束的理论}}
- }{}
+% Load Chinese font for TBLS history display (from CTAN package "fandol")
+\AtEndPreamble
+ {%
+ \ifx\lsSeries\tbls
+ \newfontfamily{\lsSeriesHistoryFandolSong}{FandolSong-Regular.otf}
+ \fi
+ }
\ExplSyntaxOn
% A command to output a limited number of items on the series history page.
@@ -1437,12 +1464,12 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
\def\epigramsource#1{\gdef\@epigramsource{#1}}
\epigramsource{}
-\usepackage{epigraph}
-\setlength{\epigraphrule}{0pt}
-\renewcommand{\textflush}{flushepinormal}
-\setlength{\epigraphwidth}{.618\textwidth}% Set to the longer part of golden ratio
-\setlength{\afterepigraphskip}{0\baselineskip}
-\setlength{\beforeepigraphskip}{0\baselineskip}
+% Apply settings to dictum from scrbook
+\setkomafont{dictum}{\normalfont\small}
+\setkomafont{dictumauthor}{\normalfont\small}
+\renewcommand*{\dictumauthorformat}[1]{#1}
+\renewcommand{\dictumwidth}{.618\textwidth} % longer part of golden ratio
+\renewcommand*{\dictumrule}{\smallskip\par}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Footnotes
@@ -1612,6 +1639,7 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
\usepackage{caption}
\captionsetup{font={stretch=.8,small},width=.8\textwidth}
\setcapindent{0pt}
+\AtBeginEnvironment{floatrow}{\captionsetup{margin=.05\linewidth}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1861,9 +1889,6 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
}
\ifbool{collection}{
- \notbool{biblatex}{
- \ClassError{langsci/langscibook}{Collection option not compatible with plain BibTeX. Please use biblatex option}{}
- }{}
\AtBeginDocument{% for the citation in the footer
\renewcommand{\newlineCover}{}
@@ -1888,7 +1913,8 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
[
pagenumberbox={\csname @gobble\endcsname},
raggedentrytext=true,
- linefill={\hfill}
+ linefill={\hfill},
+ dynnumwidth=true
]{tocline}{part}
\usepackage{chngcntr}
@@ -1960,6 +1986,8 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
\renewcommand{\maketitle}{%
% With \setchapterpreamble from scrbook, we ensure that the author(s)
% and their affiliation(s) are part of the \chapter block.
+ \CountAuthorsFromAffiliations{\@author}
+ \lsDeterminePaperAuthorAffiliationIndexing{}
\setchapterpreamble[u]{\ResolveAffiliations{\@author}\\}
\chapter
[tocentry={\titleToToC~\newline{\normalfont\ResolveAffiliations{\@author}}}]
@@ -1976,13 +2004,14 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
\ifbool{draft}{Draft of \today, \currenttime}{}
}
\ifx\@epigram\empty
- \else {\epigraph{\@epigram\\[-2\baselineskip]}{\@epigramsource}
- \epigram{}\epigramsource{}}
+ \else \dictum[\@epigramsource]{\@epigram}%
+ \epigram{}\epigramsource{}
\fi
\enlargethispage{-1\baselineskip}
}
\ohead{}
\lehead{\ResolveAffiliations[output affiliation=false,
+ orcid placement=none,
output authors font=\normalfont\slshape,
separator between two={~\&~},
separator between multiple={,~},
@@ -2140,7 +2169,7 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
\renewcommand{\lsReferencesTitle}{french}
\ifbool{babel}{
\renewcommand\frenchfigurename{Figure}
- \renewcommand\frenchtablename{Table}
+ \renewcommand\frenchtablename{Tableau}
}{}
\fi