Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2037b20
commit 20b9621
Showing
128 changed files
with
60,362 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
# specify thh riessler file and all the files that you are including | ||
SOURCE= riessler.tex $(wildcard local*.tex) $(wildcard chapters/*.tex) \ | ||
langsci/langscibook.cls | ||
|
||
# specify your riessler target here: | ||
pdf: riessler.bbl riessler.pdf #by the time riessler.pdf, bib assures there is a newer aux file | ||
|
||
all: pod cover | ||
|
||
complete: index riessler.pdf | ||
|
||
index: riessler.and | ||
|
||
riessler.pdf: riessler.aux | ||
xelatex riessler | ||
|
||
riessler.aux: $(SOURCE) | ||
xelatex -no-pdf riessler | ||
|
||
#create only the book | ||
riessler.bbl: $(SOURCE) localbibliography.bib | ||
xelatex -no-pdf riessler | ||
# biber -min-crossrefs=200 riessler | ||
bibtex -min-crossrefs=200 riessler | ||
|
||
riessler.and: riessler.bbl | ||
sed -i s/.*\\emph.*// riessler.adx #remove titles which biblatex puts into the name index | ||
sed -i 's/Testelets, Jakov~G/Testelets, Yakov~G/' riessler.adx | ||
sed -i 's/Volodin, Aleksandr~P./Volodin, Alexander~P./' riessler.adx | ||
sed -i 's/Schulze, Wolfgang/Schulze-Fürhoff, Wolfgang/' riessler.adx | ||
sed -i 's/Nikolaeva, Irina~A./Nikolaeva, Irina/' riessler.adx | ||
sed -i 's/Nedjalkov, Igor~V./Nedjalkov, Igor/' riessler.adx | ||
sed -i 's/hyperindexformat{\\\(infn {[0-9]*\)}/\1/' riessler.sdx # ordering of references to footnotes | ||
sed -i 's/hyperindexformat{\\\(infn {[0-9]*\)}/\1/' riessler.adx | ||
sed -i 's/hyperindexformat{\\\(infn {[0-9]*\)}/\1/' riessler.ldx | ||
python3 fixindex.py | ||
mv mainmod.adx riessler.adx | ||
makeindex -o riessler.and riessler.adx | ||
makeindex -o riessler.lnd riessler.ldx | ||
makeindex -o riessler.snd riessler.sdx | ||
xelatex riessler | ||
|
||
|
||
#create a png of the cover | ||
cover: FORCE | ||
convert riessler.pdf\[0\] -quality 100 -background white -alpha remove -bordercolor black -border 2 cover.png | ||
cp cover.png googlebooks_frontcover.png | ||
convert -geometry 50x50% cover.png covertwitter.png | ||
display cover.png | ||
|
||
|
||
#prepare for print on demand services | ||
pod: bod createspace googlebooks | ||
|
||
#prepare for submission to BOD | ||
bod: bod/bodcontent.pdf | ||
|
||
bod/bodcontent.pdf: complete | ||
sed "s/output=short/output=coverbod/" riessler.tex >bodcover.tex | ||
xelatex bodcover.tex | ||
xelatex bodcover.tex | ||
mv bodcover.pdf bod | ||
./filluppages 4 riessler.pdf bod/bodcontent.pdf | ||
|
||
# prepare for submission to createspace | ||
createspace: createspace/createspacecontent.pdf | ||
|
||
createspace/createspacecontent.pdf: complete | ||
sed "s/output=short/output=covercreatespace/" riessler.tex >createspacecover.tex | ||
xelatex createspacecover.tex | ||
xelatex createspacecover.tex | ||
mv createspacecover.pdf createspace | ||
c | ||
googlebooks: googlebooks_interior.pdf | ||
|
||
googlebooks_interior.pdf: complete | ||
cp riessler.pdf googlebooks_interior.pdf | ||
pdftk riessler.pdf cat 1 output googlebooks_frontcover.pdf | ||
|
||
openreview: openreview.pdf | ||
|
||
|
||
openreview.pdf: riessler.pdf | ||
pdftk riessler.pdf multistamp orstamp.pdf output openreview.pdf | ||
|
||
proofreading: proofreading.pdf | ||
|
||
|
||
proofreading.pdf: riessler.pdf | ||
pdftk riessler.pdf multistamp prstamp.pdf output proofreading.pdf | ||
|
||
blurb: blurb.html blurb.tex biosketch.tex biosketch.html | ||
|
||
|
||
blurb.tex: blurb.md | ||
pandoc -f markdown -t latex blurb.md>blurb.tex | ||
|
||
blurb.html: blurb.md | ||
pandoc -f markdown -t html blurb.md>blurb.html | ||
|
||
biosketch.tex: blurb.md | ||
pandoc -f markdown -t latex biosketch.md>biosketch.tex | ||
|
||
biosketch.html: blurb.md | ||
pandoc -f markdown -t html biosketch.md>biosketch.html | ||
|
||
#housekeeping | ||
clean: | ||
rm -f *.bak *~ *.backup *.tmp \ | ||
*.adx *.and *.idx *.ind *.ldx *.lnd *.sdx *.snd *.rdx *.rnd *.wdx *.wnd \ | ||
*.log *.blg *.ilg \ | ||
*.aux *.toc *.cut *.out *.tpm *.bbl *-blx.bib *_tmp.bib \ | ||
*.glg *.glo *.gls *.wrd *.wdv *.xdv \ | ||
*.run.xml \ | ||
chapters/*aux chapters/*~ chapters/*.bak chapters/*.backup | ||
|
||
realclean: clean | ||
rm -f *.dvi *.ps *.pdf | ||
|
||
FORCE: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Heinz 1 2 | ||
Berta 1 3 | ||
Kuno 2 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import sys | ||
author = sys.argv[1] | ||
booktitle = sys.argv[2] | ||
|
||
template = """Dear {name}, | ||
thanks for your offer. The book can be found at | ||
http://www.glottotopia.org/{author}/{booktitle}.pdf | ||
You are assigned the following chapters: | ||
{chapterlist} | ||
These can be found at | ||
{linklist} | ||
You can either proofread locally and send the corrections in your | ||
preferred format, or you can use the online annotation available at | ||
{orlist} | ||
Guidelines for proofreaders can be found here | ||
http://langsci-press.org/public/downloads/LangSci_Guidelines_Proofreaders.pdf | ||
Guidelines for online annotation can be found here | ||
http://langsci-press.org/openReview/userGuide | ||
We aim at having the corrections in by Monday February 15 | ||
Best wishes and thanks again for your help | ||
Sebastian | ||
""" | ||
|
||
chapters = ['0']+[l.strip() for l in open("chapternames").readlines()] | ||
assignments = open("assignments").readlines() | ||
|
||
mails = [] | ||
|
||
for a in assignments: | ||
name = a.split()[0] | ||
chapternumbers = a.split()[1:] | ||
chapterlist = '\n'.join("%s %s"%(i,chapters[int(i)]) for i in chapternumbers) | ||
linklist = '\n'.join(["http://www.glottotopia.org/%s/%s.pdf"%(author,i) for i in chapternumbers]) | ||
orlist = "\n".join(["https://via.hypothes.is/http://www.glottotopia.org/%s/%s.pdf"%(author,i) for i in chapternumbers]) | ||
mails.append(template.format(name=name, author=author,booktitle=booktitle,chapterlist=chapterlist,linklist=linklist,orlist=orlist)) | ||
|
||
separator = '\n'+80*'-'+'\n' | ||
print separator.join(mails) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/usr/bin/python3 | ||
|
||
import glob | ||
import re | ||
|
||
lgs=open("locallanguages.txt").read().split('\n') | ||
terms=open("localsubjectterms.txt").read().split('\n')[::-1]#reverse to avoid double indexing | ||
print("found %i language names for autoindexing" % len(lgs)) | ||
print("found %i subject terms for autoindexing" % len(terms)) | ||
|
||
files = glob.glob('chapters/*tex') | ||
|
||
SUBJECTP = re.compile | ||
for f in files: | ||
print("indexing %s" % f) | ||
#strip preamble of edited volume chapters to avoid indexing there | ||
a = open(f).read().split(r"\begin{document}") | ||
content = a[-1] | ||
preamble = '' | ||
joiner = '' | ||
if len(a) == 2: | ||
preamble = a[0] | ||
joiner = r"\begin{document}" | ||
for lg in lgs: | ||
lg = lg.strip() | ||
if lg == '': | ||
continue | ||
content= re.sub('(?<!ili{)%s(?![\w}])'%lg, '\ili{%s}'%lg, content) | ||
for term in terms: | ||
term = term.strip() | ||
if term == '': | ||
continue | ||
content= re.sub('(?<!isi{)%s(?![-_\w}])'%term, '\isi{%s}'%term, content) | ||
nlg = len(re.findall('\\ili{',content)) | ||
nt = len(re.findall('\\isi{',content)) | ||
outfile = open(f.replace('chapters','indexed'), 'w') | ||
outfile.write(preamble) | ||
outfile.write(joiner) | ||
outfile.write(content) | ||
outfile.close() | ||
print(" %s now contains %i indexed languages and %i indexed subject terms"%(f.split('/')[-1],nlg,nt)) | ||
|
||
print("indexed files are in the folder 'indexed'") | ||
|
||
|
||
|
Empty file.
Binary file not shown.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
\documentclass[10pt,landscape]{article} | ||
\usepackage{graphicx} | ||
\usepackage{tabularx} | ||
\usepackage{array} | ||
\usepackage{calc} | ||
|
||
\newlength{\seitenbreite} | ||
\newlength{\seitenhoehe} | ||
\newlength{\beschnittoben} | ||
\newlength{\beschnittunten} | ||
\newlength{\beschnittrechts} | ||
\newlength{\beschnittlinks} | ||
\newlength{\spinewidth} | ||
\newlength{\totalwidth} | ||
\newlength{\totalheight} | ||
|
||
\setlength{\seitenbreite}{169.92mm} | ||
\setlength{\seitenhoehe}{240mm} | ||
\setlength{\beschnittoben}{0mm} | ||
\setlength{\beschnittunten}{0mm} | ||
\setlength{\beschnittrechts}{0mm} | ||
\setlength{\beschnittlinks}{0mm} | ||
|
||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
% adjust this to the right size for your book | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
% \setlength{\spinewidth}{2mm+.07*\pagecount} | ||
\setlength{\spinewidth}{20.87mm} | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
|
||
\setlength{\totalwidth}{\beschnittlinks+\beschnittrechts+\spinewidth+\seitenbreite+\seitenbreite} | ||
\setlength{\totalheight}{\beschnittoben+\beschnittunten+\seitenhoehe} | ||
|
||
\usepackage[paperheight=\totalheight% | ||
,paperwidth=\totalwidth% | ||
,left=\beschnittlinks% | ||
,right=\beschnittrechts% | ||
,top=\beschnittoben% | ||
,bottom=\beschnittunten]{geometry} | ||
|
||
\begin{document} | ||
\input{cover.tex} | ||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Introduction | ||
Noun phrases | ||
Syntax-morphology interface | ||
Typology of attribution marking | ||
Polyfunctionality | ||
Introduction to Synchrony | ||
The languages of Northern Eurasia | ||
Areal uniformity and diversity | ||
The evolution of attribution marking | ||
Areal typology in the circum-Baltic area | ||
Results and conclusions | ||
Appendix |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
|
||
\addchap{Abbreviations and notational conventions} | ||
|
||
\section*{Morphological glosses} | ||
%%% | ||
The following list includes only abbreviations for glossing of linguistic examples not defined by the Leipzig Glossing Rules.\footnote{\url{http://www.eva.mpg.de/lingua/resources/glossing-rules/} 16.02.2014} | ||
%%% | ||
\begin{multicols}{2} | ||
\begin{tabbing} | ||
\TABh \= \kill | ||
\textsc{abess} \> abessive\\ | ||
\textsc{adjz} \> adjectivizer, adjectivization\is{adjective derivation}\\ | ||
\textsc{agr} \> (any kind of) agreement\is{agreement marking}\\ | ||
\textsc{attr} \> or (attr.); attribution,\\ \> attributive\\ | ||
\textsc{anr} \> action nominal(izer)\\ | ||
\textsc{compar} \> comparative (adjective\\ \> derivation)\\ | ||
\textsc{contr} \> \isi{contrastive focus}\\ | ||
\textsc{crs} \> currently relevant state\\ | ||
\textsc{deriv} \> derivative, derivation\\ \> (unspecified)\\ | ||
\textsc{dim} \> diminutive\\ | ||
\textsc{ess} \> essive\\ | ||
\textsc{hum} \> human (gender)\\ | ||
\textsc{ill} \> illative\\ | ||
\textsc{infl} \> (any) inflection\\ | ||
\textsc{mod} \> modification\is{modification marking}\\ | ||
\textsc{nar} \> narrative (case)\\ | ||
\textsc{nonfut} \> non-future\\ | ||
\textsc{nonhum} \> non-human (gender)\\ | ||
\textsc{pfct} \> perfective (verb derivation)\\ | ||
\textsc{pred} \> or (pred.); predication, predicative\is{predicative marking}\\ | ||
\textsc{prepos} \> prepositional\\ | ||
\textsc{real} \> realis\\ | ||
\textsc{stat} \> stative (verb derivation)\is{stative verb}\\ | ||
\textsc{super} \> superlative\\ | ||
\textsc{utr} \> utrum, common (gender) | ||
\end{tabbing} | ||
\end{multicols} | ||
|
||
\section*{Syntactic classes and phrase constituents} | ||
%%% | ||
\begin{tabbing} | ||
\TABh \= \kill | ||
{A} \> adjective\\ | ||
{AdP} \> adposition phrase\\ | ||
{AP} \> adjective phrase\\ | ||
{ART} \> (attributive) article\is{attributive article}\\ | ||
{CASE} \> case (\isi{clitic})\\ | ||
{DEF} \> definite article\is{species marking!definite}\\ | ||
{Deg} \> degree word\\ | ||
{HEAD} \> phrase head\\ | ||
{INDEF} \> indefinite article\is{species marking!indefinite}\\ | ||
{N} \> noun\\ | ||
{NP} \> noun phrase\\ | ||
{PSD} \> possessed (head in possessive noun phrase)\\ | ||
{PSR} \> possessor (dependent in possessive noun phrase)\is{adnominal modifier!possessor noun}\\ | ||
{Rel} \> relative clause\is{adnominal modifier!relative clause}\\ | ||
{V} \> verb | ||
\end{tabbing} | ||
%%% | ||
|
||
\section*{Abbreviations for cardinal directions} | ||
%%% | ||
\begin{multicols}{2} | ||
\begin{tabbing} | ||
\TABh \= \kill | ||
{C} \> Central\\ | ||
{E} \> East(ern)\\ | ||
{N} \> North(ern)\\ | ||
{NE} \> North-East(ern)\\ | ||
{NW} \> North-West(ern)\\ | ||
{S} \> South(ern)\\ | ||
{SE} \> South-East(ern)\\ | ||
{SW} \> South-West(ern)\\ | ||
{W} \> West(ern) | ||
\end{tabbing} | ||
\end{multicols} | ||
%%% | ||
|
||
\section*{Other symbols} | ||
%%% | ||
The following symbols are used for the illustration of linguistic changes. | ||
%%% | ||
\begin{tabbing} | ||
\TABh \= \kill | ||
\textasciitilde \> variant\\ | ||
< \> borrowing\\ | ||
$\leftarrow$ \> derivation or other synchronic process\\ | ||
$\Leftarrow$ \> \isi{grammaticalization} or other diachronic process\footnotemark | ||
\end{tabbing} | ||
|
||
\footnotetext{Note that the term \textsc{grammaticalization} is used for different types of linguistic changes leading to re-analysis\is{re-analysis} of a given construction's grammatical meaning. A prototypical instance in this rather broad sense of grammaticalization is the morphologization of a formerly lexical morpheme to a grammatical morpheme, as the development of definite markers\is{species marking!definite} from anaphoric pronouns in Germanic\il{Germanic languages} languages, like in English\il{English} \textit{the house} (\textit{the} $\Leftarrow$ Old English\il{Old English} \textit{þæt}) and Swedish\il{Swedish} \textit{hus-et} (\textit{-et} $\Leftarrow$ Old Norse\il{Old Norse} \textit{hið}). | ||
} | ||
|
||
\is{article|see{attributive article}} | ||
\is{associative marker|see{anti\hyp{}construct state}} | ||
\is{attributive affix|see{anti\hyp{}construct state}} | ||
\is{attributive case|see{anti\hyp{}construct state}} | ||
\is{attributive particle|see{anti\hyp{}construct state}} | ||
\is{attributive state!dependent\hyp{}marking|see{anti\hyp{}construct state}} | ||
\is{attributive state!head-marking|see{construct state}} | ||
\is{attributive state!neutral|see{linker}} | ||
\is{Autotypology|see{AUTOTYP}} | ||
\is{Central Asia|see{Inner Asia}} | ||
\is{cross-reference|see{dependent\hyp{}driven agreement}} | ||
\is{Ezafe|see{construct state}} | ||
\is{Izafe|see{construct state}} | ||
\is{linking article|see{attributive article}} | ||
\is{noun phrase marker|see{attributive article}} | ||
\is{possessor agreement|see{dependent\hyp{}driven agreement}} | ||
\is{relative clause|see{adnominal modifier}} | ||
\is{relator|see{anti\hyp{}construct state}} | ||
\is{restrictive marking|see{focus marking}} |
Oops, something went wrong.