From 81e0ea0aefd06549bf9156ae575029f14f852154 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 29 Apr 2018 22:35:31 +0000 Subject: langsci (27apr18) git-svn-id: svn://tug.org/texlive/trunk@47487 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/xelatex/langsci/README.md | 11 +- Master/texmf-dist/doc/xelatex/langsci/avm.sty | 184 --------------------- .../doc/xelatex/langsci/didyoulikethisbook.tex | 16 ++ .../xelatex/langsci/documentation/langsci-doc.pdf | Bin 80104 -> 79775 bytes .../xelatex/langsci/documentation/langsci-doc.tex | 57 +++---- .../doc/xelatex/langsci/examples/langsci-test.bib | 7 + .../xelatex/langsci/examples/samplemonograph.tex | 5 +- .../doc/xelatex/langsci/examples/samplepaper.tex | 13 +- .../doc/xelatex/langsci/examples/samplevolume.tex | 9 +- Master/texmf-dist/doc/xelatex/langsci/jambox.sty | 93 ----------- .../doc/xelatex/langsci/localbibliography.bib | 2 +- Master/texmf-dist/doc/xelatex/langsci/main.tex | 57 ------- .../texmf-dist/doc/xelatex/langsci/storagelogo.pdf | Bin 0 -> 11513 bytes 13 files changed, 60 insertions(+), 394 deletions(-) delete mode 100644 Master/texmf-dist/doc/xelatex/langsci/avm.sty create mode 100644 Master/texmf-dist/doc/xelatex/langsci/didyoulikethisbook.tex create mode 100644 Master/texmf-dist/doc/xelatex/langsci/examples/langsci-test.bib delete mode 100644 Master/texmf-dist/doc/xelatex/langsci/jambox.sty delete mode 100644 Master/texmf-dist/doc/xelatex/langsci/main.tex create mode 100644 Master/texmf-dist/doc/xelatex/langsci/storagelogo.pdf (limited to 'Master/texmf-dist/doc/xelatex') diff --git a/Master/texmf-dist/doc/xelatex/langsci/README.md b/Master/texmf-dist/doc/xelatex/langsci/README.md index e8656f1ad02..422aaf9ab5a 100644 --- a/Master/texmf-dist/doc/xelatex/langsci/README.md +++ b/Master/texmf-dist/doc/xelatex/langsci/README.md @@ -1,7 +1,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Project: langsci %% Author: Language Science Press (http://langsci-press.org) -%% Date: 2017-09-25 11:11:11 UTC +%% Date: 2018-04-27 11:11:11 UTC %% Purpose: publishing boks with Language Science Press. %% Languages: LaTeX, tikz, eps %% Copyright 2012- Language Science Press @@ -19,19 +19,20 @@ %% %% This work consists of the files %% - langscibook.cls: class file -%% - series.def: metadata for series -%% - colors.def: colors used by the series +%% - langsci-series.def: metadata for series +%% - langsci-colors.def: colors used by the series %% - langsci-basic.sty for commands required by the standard template %% - bib style definitions langsci-unified.bst, biblatex-langsci-unified.bbx, langsci-authoryear-comp.cbx, biblatex-langsci-unified-undecap.bbx %% - files for the logos used in the textbook series Textbooks in Language Sciences: tbls-book.eps tbls-bulb.eps tbls-glass.eps tbls-law.eps -%% - the file logo.pdf as a dummy, to be replaced with a file for the hosting institution +%% - the file storagelogo.pdf as a dummy, to be replaced with a file for the hosting institution %% - a file advertisement.tex added to the very last page in tikz %% - langsci-optional.sty: additional useful commands %% - langsci-gb4e.sty and langsci-cgloss.sty: typeset linguistic examples %% - langsci-forest-setup.sty: definitions for linguistic trees %% - langsci-bidi.sty: bidirectional text -%% - langsci-tbls.sty: macros for the textbook series Textbooks in Language Sciencesjambox.sty +%% - langsci-tbls.sty: macros for the textbook series Textbooks in Language Sciences %% - langsci-glyphs.sty: some workarounds for Libertine font limitations +%% - langsci-lgr.sty: shortcuts for the Leipzig Glossing Rules %% - langsci-linguex.sty: a version of linguex which does not break gb4e %% - langsci-subparts.sty: adds an additional sectioning level between part and chapter %% diff --git a/Master/texmf-dist/doc/xelatex/langsci/avm.sty b/Master/texmf-dist/doc/xelatex/langsci/avm.sty deleted file mode 100644 index 03e57511cfe..00000000000 --- a/Master/texmf-dist/doc/xelatex/langsci/avm.sty +++ /dev/null @@ -1,184 +0,0 @@ -%% 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/doc/xelatex/langsci/didyoulikethisbook.tex b/Master/texmf-dist/doc/xelatex/langsci/didyoulikethisbook.tex new file mode 100644 index 00000000000..d1adca90a34 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/langsci/didyoulikethisbook.tex @@ -0,0 +1,16 @@ +\thispagestyle{empty} +\pgfdeclarelayer{lspadvert_bg} % Please make sure to never use lspadvert_... PGF layers in any document +\pgfsetlayers{lspadvert_bg,main} + +\begin{tikzpicture}[remember picture, overlay,bg/.style={outer sep=0}] + \begin{pgfonlayer}{lspadvert_bg} % background layer + \node at (current page.center) [bg, fill=lsGuidelinesGray, minimum height=22cm, minimum width=15cm] (lspadvert_bg1) {}; % Die können wir noch dynamisch bestimmen + \end{pgfonlayer} + \node [execute at begin node={}, font=\fontsize{52pt}{16.75mm}\selectfont, below right = 10mm and 7.5mm of lspadvert_bg1.north west, text width=13.7cm, align=left] (lspadvert_covertitle) {\color{black}\lsCoverTitleFont{Did you like this book?\par}}; % x = 15mm - 7.5mm ; y = 17.5mm - 7.5mm + + \node [font=\fontsize{25pt}{10mm}\selectfont,below = 8mm of lspadvert_covertitle.south, text width=137mm] (lspadvert_coversubtitle) {\color{black} \lsCoverSubTitleFont \nohyphens{This book was brought to you for free}\par}; + + \node (lspadvert_logo) [above left = 10mm and 7.5mm of lspadvert_bg1.south east] {\color{black}\includegraphics{\logopath langsci_logo_nocolor.pdf}}; + \node [above right = 48.8mm and -.1mm of lspadvert_bg1.south west, rectangle, fill=white, minimum size=17pt] (lspadvert_square) {}; + \path let \p1 = (lspadvert_square.north east), \p2 = (lspadvert_covertitle.west) in node at (\x2,\y1) (lspadvert_seriesinfo) [font=\fontsize{17pt}{7.5mm}\selectfont, right, align=flush left, text width=90mm, anchor=north west] {\color{black}\lsCoverSeriesFont{\nohyphens{Please help us in providing free access to linguistic research worldwide. Visit \url{http://www.langsci-press.org/donate} to provide financial support or register as a community proofreader or typesetter \mbox{at \url{http://www.langsci-press.org/register}.}}\par}}; +\end{tikzpicture} \ No newline at end of file diff --git a/Master/texmf-dist/doc/xelatex/langsci/documentation/langsci-doc.pdf b/Master/texmf-dist/doc/xelatex/langsci/documentation/langsci-doc.pdf index 9c009b656d8..f850a13a40d 100644 Binary files a/Master/texmf-dist/doc/xelatex/langsci/documentation/langsci-doc.pdf and b/Master/texmf-dist/doc/xelatex/langsci/documentation/langsci-doc.pdf differ diff --git a/Master/texmf-dist/doc/xelatex/langsci/documentation/langsci-doc.tex b/Master/texmf-dist/doc/xelatex/langsci/documentation/langsci-doc.tex index c115eea80e1..5a1d339a1e4 100644 --- a/Master/texmf-dist/doc/xelatex/langsci/documentation/langsci-doc.tex +++ b/Master/texmf-dist/doc/xelatex/langsci/documentation/langsci-doc.tex @@ -83,10 +83,10 @@ A couple of additional style files come with the class. Documents using this cla \end{itemize} \section{Colors and series definitions} -The metadata for Language Science Press book series are stored in the file \texttt{series.def}. This file loads the file \texttt{colors.def} to set the colors for the cover and title font. Both files should be safe to use for all books of well-established series. For new series, the ISSN field of \texttt{series.def} might have to be updated. +The metadata for Language Science Press book series are stored in the file \texttt{langsci-series.def}. This file loads the file \texttt{langsci-colors.def} to set the colors for the cover and title font. Both files should be safe to use for all books of well-established series. For new series, the ISSN field of \texttt{langsci-series.def} might have to be updated. \chapter{Creating a book} -The easiest way to start a book is to download the skeletons from \url{http://langsci-press.org/templatesAndTools}. Sample documents for monographs, edited volumes and chapters in edited volumes are provided in the folder \texttt{samples/} as well. +The easiest way to start a book is to download the skeletons from \url{http://langsci-press.org/templatesAndTools}. Sample documents for monographs, edited volumes and chapters in edited volumes are provided in the folder \texttt{examples/} as well. \section{Creating a monograph} Load the class. Make sure the following metadata values are set with the metadata commands listed in \sectref{sec:metadatacommands}: @@ -94,16 +94,16 @@ Load the class. Make sure the following metadata values are set with the metadat \begin{itemize} \item author \item title +\end{itemize} + +Provide the following additional information if necessary: +\begin{itemize} \item series \item series number \item all ISBNs \item BookDOI - \item URL + \item ID \item blurb (back body) -\end{itemize} - -Provide the following additional information if necessary: -\begin{itemize} \item subtitle \item backtitle \item spine title @@ -113,6 +113,7 @@ Provide the following additional information if necessary: \item list of typesetters \item list of illustrators \item license other than CC-BY + \item list of additional fonts \end{itemize} @@ -147,8 +148,8 @@ The class has flag options to toggle certain behaviour and string options to set % \option{noindex} % remove index} % {false -\option{biblatex}{Use Bib\LaTeX}{true} -\option{bibtex}{Use Bibtex}{false} +% \option{biblatex}{Use Bib\LaTeX}{true} +% \option{bibtex}{Use Bibtex}{false} \option{collection}{Make the book an edited volume}{false} \option{collectionchapter}{Add numeric chapter prefix to each contribution.}{false} \option{collectiontoclong}{More detailed table of content in edited volumes}{false} @@ -161,7 +162,7 @@ The class has flag options to toggle certain behaviour and string options to set \option{nonflat}{Use elaborate directory structure. If set to true, fonts, packages etc will be loaded from subfolders. If set to false, they will be loaded from the working directory}{false} \option{showindex}{Show indexed terms in margin}{false} \option{smallfont}{Use a smaller font for books above 500 pages}{false} -\option{undecapitalize}{Do not decapitalize titles in the list of references}{false} +% \option{undecapitalize}{Do not decapitalize titles in the list of references}{false} \section{String options} \option{output}{Different output formats}{book} @@ -170,37 +171,18 @@ The class has flag options to toggle certain behaviour and string options to set \item \texttt{inprep}: Mark manuscript as in preparation \item \texttt{paper}: Contribution to edited volume \item \texttt{guidelines}: Choose color grey; condense frontmatter -\item \texttt{coverbodsc}: Create a two-page wide cover (back-spine-front) for use with BoD hardcover books +\item \texttt{coverbodhc}: Create a two-page wide cover (back-spine-front) for use with BoD hardcover books \item \texttt{coverbodsc}: Create a two-page wide cover (back-spine-front) for use with BoD softcover books \item \texttt{covercreatespace}: Create a two-page wide cover (back-spine-front) for use with CreateSpace -\item \texttt{spinewidth}{The width of the spine (for cover creation)} \end{itemize} -\option{copyright}{The license chosen}{"CC-BY"} -\option{biblatexbackend}{The backend of BibLaTeX}{"bibtex"} -Alternative: \texttt{biber} -% \backmatter -% \phantomsection%this allows hyperlink in ToC to work -% \printbibliography[heading=references] -% \cleardoublepage -% \phantomsection -% \addcontentsline{toc}{chapter}{Index} -% \addcontentsline{toc}{section}{Name index} -% \ohead{Name index} -% \printindex -% \cleardoublepage -% \phantomsection -% \addcontentsline{toc}{section}{Language index} -% \ohead{Language index} -% \printindex[lan] -% \cleardoublepage -% \phantomsection -% \addcontentsline{toc}{section}{Subject index} -% \ohead{Subject index} -% \printindex[sbj] -% \ohead{} - +\option{spinewidth}{The width of the spine (for cover creation)}{20mm} +\option{booklanguage}{Load babel for the specified language and change the custom headers for list of references and indexes}{english} +\option{copyright}{The license chosen}{"CC-BY"} +% \option{biblatexbackend}{The backend of BibLaTeX}{"biber"} +% Alternative: \texttt{biber} + \section{Metadata commands}\label{sec:metadatacommands} The following commands are used to indicated metadata. @@ -219,7 +201,7 @@ myth. Por scientie, musica, sport etc, litot Europa usa li sam vocabular. Li lin \option{$\backslash$SeriesNumber}{Position of the book in its series}{??} \option{$\backslash$URL}{The URL where this title can be downloaded}{http://langsci-press.org/catalog} - + \section{Overrides} The following commands allow to override further default settings: @@ -245,6 +227,7 @@ Redefine the following commands to further alter the appearance: \option{$\backslash$lsSpineAuthorFont}{Font for the author on the spine}{$\backslash$fontsize\{16pt\}\{14pt\}$\backslash$selectfont} \option{$\backslash$lsSpineTitleFont}{Font for the title on the spine}{$\backslash$sffamily$\backslash$fontsize\{18pt\}\{14pt\}$\backslash$selectfont} \option{$\backslash$lsSubjectIndexTitle}{The title of the subject index. Change this for non-English works}{Subject index} +\option{$\backslash$lsYear}{$\backslash$the$\backslash$year} \section{Additions} \option{$\backslash$lsAdditionalFontsImprint}{Add additional fonts to the list of fonts in the colophon}{\textrm{void}} diff --git a/Master/texmf-dist/doc/xelatex/langsci/examples/langsci-test.bib b/Master/texmf-dist/doc/xelatex/langsci/examples/langsci-test.bib new file mode 100644 index 00000000000..d3d50c7d0f8 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/langsci/examples/langsci-test.bib @@ -0,0 +1,7 @@ +@BOOK{Chomsky1957, + author = {Noam Chomsky}, + year = {1957}, + title = {Syntactic structures}, + address = {The Hague}, + publisher = {Mouton} +} diff --git a/Master/texmf-dist/doc/xelatex/langsci/examples/samplemonograph.tex b/Master/texmf-dist/doc/xelatex/langsci/examples/samplemonograph.tex index dbb890b197f..19d39e976ce 100644 --- a/Master/texmf-dist/doc/xelatex/langsci/examples/samplemonograph.tex +++ b/Master/texmf-dist/doc/xelatex/langsci/examples/samplemonograph.tex @@ -15,7 +15,7 @@ \proofreader{John Doe} \BackBody{What everyone should know about monographs: it's here} -\bibliography{localbibliography} +\bibliography{langsci-test} \begin{document} \maketitle \frontmatter @@ -28,11 +28,12 @@ \chapter{Introduction} This is the introduction. \chapter{New research} -This is the main argument. +This is the main argument \citep{Chomsky1957}. \chapter{Conclusion} This is the conclusion. \backmatter +\sloppy \phantomsection%this allows hyperlink in ToC to work \printbibliography[heading=references] \cleardoublepage diff --git a/Master/texmf-dist/doc/xelatex/langsci/examples/samplepaper.tex b/Master/texmf-dist/doc/xelatex/langsci/examples/samplepaper.tex index 153bd5c6303..094d9b8550b 100644 --- a/Master/texmf-dist/doc/xelatex/langsci/examples/samplepaper.tex +++ b/Master/texmf-dist/doc/xelatex/langsci/examples/samplepaper.tex @@ -1,19 +1,14 @@ \documentclass[output=paper]{langscibook} \title{Introduction} \author{% - Chap ter Author\affiliation{University of Eden} - \and - Noam Chimpsky\affiliation{University of Pluto} - \lastand + Chap ter Author\affiliation{University of Eden}\and + Noam Chimpsky\affiliation{University of Pluto}\lastand Jane Wilson\affiliation{National Institute for Language} } -% \chapterDOI{} %will be filled in at production - -% \epigram{} - \abstract{ Abstract goes here } +% \bibliography{langsci-test} \begin{document} @@ -29,7 +24,7 @@ Sed nisi urna, dignissim sit amet posuere ut, luctus ac lectus. Fusce vel ornare \begin{table} \caption{Frequencies of word classes} \label{tab:1:frequencies} - \begin{tabular}{lllll} + \begin{tabular}{lrrrr} \lsptoprule & nouns & verbs & adjectives & adverbs\\ \midrule diff --git a/Master/texmf-dist/doc/xelatex/langsci/examples/samplevolume.tex b/Master/texmf-dist/doc/xelatex/langsci/examples/samplevolume.tex index 633e8375b83..336d6784004 100644 --- a/Master/texmf-dist/doc/xelatex/langsci/examples/samplevolume.tex +++ b/Master/texmf-dist/doc/xelatex/langsci/examples/samplevolume.tex @@ -13,18 +13,15 @@ \renewcommand{\lsISBNhardcover}{000-0-000000-00-0} \renewcommand{\lsISBNsoftcover}{000-0-000000-00-0} % \BookDOI{}%ask coordinator for DOI -\renewcommand{\lsURL}{http://langsci-press.org/catalog/book/000} +\renewcommand{\lsID}{000} \dedication{For Mom and Dad} \typesetter{Jane Doe} \proofreader{John Doe} \BackBody{What everyone should know about edited volumes: it's here} + - -\setlength{\csspine}{25.0559784mm} -\setlength{\bodspine}{20mm} - -\bibliography{localbibliography} +\bibliography{langsci-test} \begin{document} \maketitle \frontmatter diff --git a/Master/texmf-dist/doc/xelatex/langsci/jambox.sty b/Master/texmf-dist/doc/xelatex/langsci/jambox.sty deleted file mode 100644 index ccf65af5762..00000000000 --- a/Master/texmf-dist/doc/xelatex/langsci/jambox.sty +++ /dev/null @@ -1,93 +0,0 @@ -%%%%%%%%%%%%%%%%%% 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/doc/xelatex/langsci/localbibliography.bib b/Master/texmf-dist/doc/xelatex/langsci/localbibliography.bib index 9768f5d7952..31b7eb71cc8 100644 --- a/Master/texmf-dist/doc/xelatex/langsci/localbibliography.bib +++ b/Master/texmf-dist/doc/xelatex/langsci/localbibliography.bib @@ -2,7 +2,7 @@ @BOOK{Comrie1981, author = {Bernard Comrie}, year = {1981}, - title = {Language Universals and Spanish Linguistic Typology}, + title = {Language Universals and Linguistic Typology}, address = {Oxford}, publisher = {Basil Blackwell} } diff --git a/Master/texmf-dist/doc/xelatex/langsci/main.tex b/Master/texmf-dist/doc/xelatex/langsci/main.tex deleted file mode 100644 index 3552192196c..00000000000 --- a/Master/texmf-dist/doc/xelatex/langsci/main.tex +++ /dev/null @@ -1,57 +0,0 @@ -\documentclass{langscibook} -\author{Jane Doe} -\title{New findings in linguistics} -\subtitle{What everyone should know} -% \renewcommand{\lsSeries}{silp} -% \renewcommand{\lsSeriesNumber}{99} -% \BackTitle{} -% \BackBody{} -% \dedication{} -% \typesetter{} -% \proofreader{} -% \renewcommand{\lsISBNdigital}{000-0-000000-00-0} -% \renewcommand{\lsISBNhardcover}{000-0-000000-00-0} -% \renewcommand{\lsISBNsoftcover}{000-0-000000-00-0} -% \renewcommand{\lsISBNsoftcoverus}{000-0-000000-00-0} -% \BookDOI{} -% \renewcommand{\lsURL}{http://langsci-press.org/catalog/book/000} - -\bibliography{localbibliography} -\begin{document} -\maketitle - -\frontmatter -\currentpdfbookmark{Contents}{name} % adds a PDF bookmark -\tableofcontents -% \include{chapters/preface} -% \include{chapters/acknowledgments} -% \include{chapters/abbreviations} - -\mainmatter -\chapter{Introduction} - - - - - -\backmatter -\phantomsection%this allows hyperlink in ToC to work -\printbibliography[heading=references] -\cleardoublepage -\phantomsection -\addcontentsline{toc}{chapter}{Index} -\addcontentsline{toc}{section}{Name index} -\ohead{Name index} -\printindex -\cleardoublepage -\phantomsection -\addcontentsline{toc}{section}{Language index} -\ohead{Language index} -\printindex[lan] -\cleardoublepage -\phantomsection -\addcontentsline{toc}{section}{Subject index} -\ohead{Subject index} -\printindex[sbj] -\ohead{} -\end{document} \ No newline at end of file diff --git a/Master/texmf-dist/doc/xelatex/langsci/storagelogo.pdf b/Master/texmf-dist/doc/xelatex/langsci/storagelogo.pdf new file mode 100644 index 00000000000..e993d5b7867 Binary files /dev/null and b/Master/texmf-dist/doc/xelatex/langsci/storagelogo.pdf differ -- cgit v1.2.3