From 1db7092b704f1203699f36e7065b822324747a3a Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 25 Jan 2014 22:39:57 +0000
Subject: expex (25jan14)

git-svn-id: svn://tug.org/texlive/trunk@32787 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/generic/expex/expex-demo.tex | 340 +++++++++++++++++----
 1 file changed, 276 insertions(+), 64 deletions(-)

(limited to 'Master/texmf-dist/tex/generic/expex/expex-demo.tex')

diff --git a/Master/texmf-dist/tex/generic/expex/expex-demo.tex b/Master/texmf-dist/tex/generic/expex/expex-demo.tex
index fc86580b693..b960840014f 100644
--- a/Master/texmf-dist/tex/generic/expex/expex-demo.tex
+++ b/Master/texmf-dist/tex/generic/expex/expex-demo.tex
@@ -17,11 +17,13 @@
       % if LaTex
       \documentclass[12pt]{article}
       \usepackage{expex}
-      \textwidth=6.5in
       \let\enddemo=\relax
       \begin{document}
    \fi
 %--------------------------------------------------------------------
+
+\bigskip
+
 \filbreak\hrule\medskip
 
 \begingroup
@@ -49,6 +51,7 @@ recommending the person for a job.  It is likely that the person
 was a crony of John.  In (\lastx b), perhaps John knew that
 the ``someone'' went to prep school with the owner of the
 business.
+\vskip\lingbelowexskip
 \endgroup
 \bigskip
 
@@ -196,11 +199,10 @@ is not protected by a maximal projection.
 \filbreak\hrule\medskip
 
 \begingroup
-\excnt=94
 \ex This is a crucial example.\xe
 It is clear that this example is related to the earlier
-example (14), which is repeated below.
-\ex[exno=14]
+example (5), which is repeated below.
+\ex[exno=5]
 This is an example that was given many pages earlier.\xe
 If we are on the right track, as the saying goes,
 we expect the next example to be grammatical.  But it is not.
@@ -357,7 +359,7 @@ wenn er einen ganz langen Satz binnen kriegt.
 \filbreak\hrule\medskip
 
 \begingroup
-\ex<wapm>
+ \ex<wapm>
 \begingl
 \gla k- wapm -a -s'i -m -wapunin -uk //
 \glb CL V AGR NEG AGR TNS AGR //
@@ -373,6 +375,8 @@ wenn er einen ganz langen Satz binnen kriegt.
 \begingroup
 \ex<sicher>
 \begingl
+\glpreamble Mary ist sicher, dass es den Hans nicht st\"oren w\"urde
+seiner Freundin ihr Herz auszusch\"utten.//
 \gla Mary$_i$ ist sicher, dass es den Hans nicht st\"oren w\"urde
 seiner Freundin ihr$_i$ Herz auszusch\"utten.//
 \glb Mary is sure that it the-{\sc acc} Hans not annoy would
@@ -388,18 +392,18 @@ heart to his girlfriend.'//
 \filbreak\hrule\medskip
 
 \begingroup
-\ex<um>
+\ex
+\hsize=4in
 \begingl
-\glpreamble Um-\"asudda' h\"am yan i taotao ni si Juan
-ilek-\~na nu guahu mal\"agu' gui
-asudd\"a'-\~na.//
-\gla Um-\"asudda' h\"am yan [ i taotao [ {\it O\/} ni si Juan
-ilek-\~na nu guahu [ mal\"agu' gui [ asudd\"a'-\~na {\it
-t\/} ] ] ] ] @ .//
-\glb agr-meet we with the person Op Comp the Juan say-agr Obl me
-agr.want he {\it WH\/}[obl].meet-agr//
-\glft ``I met the person who Juan told me he wanted to
-meet.''//
+\glpreamble Mary ist sicher, dass es den Hans nicht st\"oren w\"urde
+seiner Freundin ihr Herz auszusch\"utten.//
+\gla Mary$_i$ ist sicher, dass es den Hans nicht st\"oren w\"urde
+seiner Freundin ihr$_i$ Herz auszusch\"utten.//
+\glb Mary is sure that it the-{\sc acc} Hans not annoy would
+his-{\sc dat} girlfriend-{\sc dat} her-{\sc acc} heart-{\sc acc} {out to
+throw}//
+\glft  `Mary is sure that it would not annoy John to reveal her
+heart to his girlfriend.'//
 \endgl
 \xe
 \endgroup
@@ -408,13 +412,12 @@ meet.''//
 \filbreak\hrule\medskip
 
 \begingroup
-\ex
-\begingl[glspace=2em]
-\gla[everygla=] k- wapm -a -s'i -m -wapunin -uk //
-\glb[everyglb=\sc,aboveglbskip=-.4ex]
-   cl v agr neg agr tns agr //
-\glb 2 see {\sc 3acc} {} {\sc 2pl} preterit {\sc 3pl} //
-\glft[everyglft=\it,aboveglftskip=0pt] `you (pl) didn't see them'//
+\ex[glspace=!1em,everygla=,everyglb=\footnotesize,aboveglbskip=-.2ex]<wapm2>
+\begingl
+\gla k- wapm -a -s'i -m -wapunin -uk //
+\glb CL V AGR NEG AGR TNS AGR //
+\glc 2 see {\sc 3acc} {} {\sc 2pl} preterit {\sc 3pl} //
+\glft `you (pl) didn't see them'//
 \endgl
 \xe
 \endgroup
@@ -423,13 +426,15 @@ meet.''//
 \filbreak\hrule\medskip
 
 \begingroup
-\ex[exno={(6), p. 14},exnoformat={[X]}]
+\ex<Marysicher>
 \begingl
-\gla Mary$_i$ ist sicher, dass es den Hans nicht st\"oren w\"urde
-seiner Freundin ihr$_i$ Herz auszusch\"utten.//
+\gla Mary$_i$ ist sicher, + dass es den Hans nicht st\"oren w\"urde
++ seiner Freundin ihr$_i$ Herz auszusch\"utten.//
 \glb Mary is sure that it the-{\sc acc} Hans not annoy would
-his-{\sc dat} girfriend-{\sc dat} her-{\sc acc} heart-{\sc acc} {out to
+his-{\sc dat} girlfriend-{\sc dat} her-{\sc acc} heart-{\sc acc} {out to
 throw}//
+\glft  `Mary is sure that it would not annoy John to reveal her
+heart to his girlfriend.'//
 \endgl
 \xe
 \endgroup
@@ -438,13 +443,70 @@ throw}//
 \filbreak\hrule\medskip
 
 \begingroup
-\ex
+\ex<wiye>
 \begingl
-\gla \rightcomment{[Potawatami]}k- wapm -a -s'i -m -wapunin -uk //
-\glb \rightcomment{category}Cl V Agr$_1$ Neg Agr$_2$ Tns Agr$_3$//
-\glb 2 see {\sc 3acc} {} {\sc 2pl} preterit {\sc 3pl} //
-\glft `you (pl) didn't see them'\trailingcitation{(Hockett 1948,
-   p. 143)}//
+\gla wiye kepi e- @ ca//
+\glb two whitemen {\sc 1p:3d}- found//
+\endgl
+\xe
+\endgroup
+\bigskip
+
+\filbreak\hrule\medskip
+
+\begingroup
+\ex[everygla=,glhangstyle=normal]<fanui>
+\begingl
+\gla Fa'nu'i yu' ni \nogloss{[[} @ {\it O} t{\it in\/}aitai-mu
+\nogloss{{\it t\/}]} na {lepblu].}//
+\glb show me Obl Op {\it WH\/}[obj].read-agr L book//
+\endgl
+\xe
+\endgroup
+\bigskip
+
+\filbreak\hrule\medskip
+
+\begingroup
+\ex[everygla=,glhangstyle=normal]<umasudda>
+\begingl
+\gla Um-\"asudda' h\"am yan \nogloss{$[\,$} @ i taotao \nogloss{$[\,$} @
+{\it O\/} ni si Juan ilek-\~na nu guahu \nogloss{$[\,$} @ mal\"agu' gui
+\nogloss{$[\,$} @
+asudd\"a'-\~na \nogloss{{\it t\/}$\,]]]]$.}//
+\glb agr-meet we with the person Op Comp the Juan say-agr Obl me
+agr.want he {\it WH\/}[obl].meet-agr//
+\endgl
+\xe
+\endgroup
+\bigskip
+
+\filbreak\hrule\medskip
+
+\begingroup
+\ex[glstyle=nlevel]
+\begingl
+k-[CL/2] wapm[V/see] -a[AGR/\sc 3acc] -s'i[NEG]
+-m[AGR/\sc 2pl] -wapunin[TNS/preterit] -uk[AGR/\sc 3pl]
+\glft `you (pl) didn't see them'
+\endgl
+\xe
+\endgroup
+\bigskip
+
+\filbreak\hrule\medskip
+
+\begingroup
+\ex[glstyle=nlevel,glneveryline={\it,\sc,\sc},
+   glnabovelineskip={,-2pt}]
+\begingl
+k-[cl/2]
+wapm[v/\rm see]
+-a[agr/3acc]
+-s'i[neg]
+-m[agr/\sc 2pl]
+-wapunin[tns/preterit]
+-uk[agr/3pl]
 \endgl
 \xe
 \endgroup
@@ -453,11 +515,60 @@ throw}//
 \filbreak\hrule\medskip
 
 \begingroup
-\hsize=3.5in
 \ex
-\rightcomment{[Potawatami]}
+\begingl[glstyle=nlevel,glneveryline={}]
+Fa'nu'i[show]
+yu'[me] ni[Obl]
+\nogloss{[[\thinspace}@ {\it O}[Op]
+t{\it in\/}aitai-mu[{\it WH\/}{[obj]}.read-agr]
+\nogloss{{\it t}\thinspace ]}
+na[L]
+lepblu[book]@ \nogloss{].}
+\endgl
+\xe
+\endgroup
+\bigskip
+
+\filbreak\hrule\medskip
+
+\begingroup
+\ex[glstyle=nlevel,glneveryline={\it}]
+\gdef\AccentedBarredW{$\acute{\hbox{$\overline w$}}$}%
+\begingl m-[(mo-)] wope[(a\AccentedBarredW ope)] \endgl \xe
+\endgroup
+\bigskip
+
+\filbreak\hrule\medskip
+
+\begingroup
+\ex[glstyle=nlevel,glneveryline={\it},glnabovelineskip={,.5ex}]
+\begingl m-[(mo-)] wope[(a\AccentedBarredW ope)] \endgl \xe
+\endgroup
+\bigskip
+
+\filbreak\hrule\medskip
+
+\begingroup
+\ex[glstyle=nlevel,glneveryline={\it,\vrule height14pt width0pt}]
+\begingl m-[(mo-)] wope[(a\AccentedBarredW ope)] \endgl \xe
+\endgroup
+\bigskip
+
+\filbreak\hrule\medskip
+
+\begingroup
+\ex[glstyle=nlevel,glneveryline={\it},everyglword={\baselineskip=18pt}]
+\begingl m-[(mo-)] wope[(a\AccentedBarredW ope)] \endgl
+\xe
+\endgroup
+\bigskip
+
+\filbreak\hrule\medskip
+
+\begingroup
+\ex
 \begingl
-\gla k- wapm -a -s'i -m -wapunin -uk //
+\gla \rightcomment{[Potawatami]}k- wapm -a -s'i -m -wapunin -uk //
 \glb \rightcomment{category}Cl V Agr$_1$ Neg Agr$_2$ Tns Agr$_3$//
 \glb 2 see {\sc 3acc} {} {\sc 2pl} preterit {\sc 3pl} //
 \glft `you (pl) didn't see them'\trailingcitation{(Hockett 1948,
@@ -470,16 +581,12 @@ throw}//
 \filbreak\hrule\medskip
 
 \begingroup
-\ex
-\begingl
-\gla Mary$_i$ ist sicher, + dass es den Hans nicht st\"oren w\"urde
-+ seiner Freundin ihr$_i$ Herz auszusch\"utten.//
-\glb Mary is sure that it the-{\sc acc} Hans not annoy would
-his-{\sc dat} girlfriend-{\sc dat} her-{\sc acc} heart-{\sc acc} {out to
-throw}//
-\glft  `Mary is sure that it would not annoy John to reveal her
-heart to his girlfriend.'//
-\endgl
+\pex
+\a\relax [Which pilot who shot at it$_1$]$_2$ hit [which
+MIG$_2$ that had chased him$_2$]$_1$?\trailingcitation{(Barss, 2000)}
+
+\a\relax [Which pilot who shot at it$_1$]$_2$ hit [which MIG$_2$ that had
+chased him$_2$]$_1$?\trailingcitation{(Higgenbotham and May, 1981)}
 \xe
 \endgroup
 \bigskip
@@ -487,10 +594,15 @@ heart to his girlfriend.'//
 \filbreak\hrule\medskip
 
 \begingroup
-\ex<wiye>
+\hsize=3.5in
+\ex
+\rightcomment{[Potawatami]}
 \begingl
-\gla wiye kepi e- @ ca//
-\glb two whitemen {\sc 1p:3d}- found//
+\gla k- wapm -a -s'i -m -wapunin -uk //
+\glb \rightcomment{category}Cl V Agr$_1$ Neg Agr$_2$ Tns Agr$_3$//
+\glb 2 see {\sc 3acc} {} {\sc 2pl} preterit {\sc 3pl} //
+\glft `you (pl) didn't see them'\trailingcitation{(Hockett 1948,
+   p. 143)}//
 \endgl
 \xe
 \endgroup
@@ -499,21 +611,22 @@ heart to his girlfriend.'//
 \filbreak\hrule\medskip
 
 \begingroup
-\pex[everygla=,glhangstyle=normal]<@period>
-\a
-\begingl
-\gla Fa'nu'i yu' ni [ [ {\it O} t{\it in\/}aitai-mu {\it t\/} ] na
-lepblu ] @ .//
-\glb show me Obl Op {\it WH\/}[obj].read-agr {} L book//
-\glft ``Show me the book that you read.''//
-\endgl
+\pex[extraglskip=2pt]
 \a \begingl
-\gla Um-\"asudda' h\"am yan [ i taotao [ {\it O\/} ni si Juan
-ilek-\~na nu guahu [ mal\"agu' gui [ asudd\"a'-\~na {\it
-t\/} ] ] ] ] @ .//
+\gla Um-\"asudda' h\"am yan \nogloss{$[\,$} @ i taotao \nogloss{$[\,$} @ {\it O\/}
+ni si Juan ilek-\~na nu guahu \nogloss{$[\,$} @ mal\"agu' gui
+\nogloss{$[\,$} @
+asudd\"a'-\~na \nogloss{{\it t\/}$\,]]]]$.}//
+\glb agr-meet we with the person Op Comp the Juan say-agr Obl me
+agr.want he {\it WH\/}[obl].meet-agr//
+\endgl
+\a \begingl[extraglskip=!.5ex]
+\gla Um-\"asudda' h\"am yan \nogloss{$[\,$} @ i taotao \nogloss{$[\,$} @ {\it O\/}
+ni si Juan ilek-\~na nu guahu \nogloss{$[\,$} @ mal\"agu' gui
+\nogloss{$[\,$} @
+asudd\"a'-\~na \nogloss{{\it t\/}$\,]]]]$.}//
 \glb agr-meet we with the person Op Comp the Juan say-agr Obl me
 agr.want he {\it WH\/}[obl].meet-agr//
-\glft ``I met the person who Juan told me he wanted to meet.''//
 \endgl
 \xe
 \endgroup
@@ -638,7 +751,7 @@ peacock beside its nest.'//
 \filbreak\hrule\medskip
 
 \begingroup
-\ex[glhangstyle=normal,glufcloseup=.4ex,everygluf=\footnotesize]
+\ex[glufcloseup=.4ex,everygluf=\footnotesize]
 \begingl
 \gla Mary$_i$ ist sicher, dass es den Hans nicht st\"oren
    w\"urde seiner Freundin ihr$_i$ Herz auszusch\"utten.//
@@ -654,6 +767,107 @@ would not damage John.'//
 
 \filbreak\hrule\medskip
 
+\begingroup
+\ex[glstyle=nlevel,glneveryline={\it,,\footnotesize},
+   glnabovelineskip={,,-.4ex},extraglskip=0pt]
+\begingl
+Mary$_i$[Mary]
+ist[is]
+sicher,[sure]
+dass[that]
+es[it]
+den[the/ACC]
+Hans[Hans]
+nicht[not]
+st\"oren[annoy]
+w\"urde[would]
+seiner[his/DAT]
+Freundin[girlfriend/DAT]
+ihr$_i$[her/ACC]
+Herz[heart/ACC]
+auszusch\"utten.[out to throw]
+\glft `Mary is sure that to reveal her heart to his girlfriend
+would not damage John.'
+\endgl
+\xe
+\endgroup
+\bigskip
+
+\filbreak\hrule\medskip
+
+\begingroup
+\ex[glspace=1.5em,everygla=\hfil,glwordalign=center,
+   everyglc=\hfil,aboveglbskip=-.2ex]<wapm2>
+\begingl
+\gla k- wapm -a -s'i -m -wapunin -uk //
+\glb CL V AGR NEG AGR TNS AGR //
+\glc 2 see {\sc 3acc} {} {\sc 2pl} preterit {\sc 3pl} //
+\glft `you (pl) didn't see them'//
+\endgl
+\xe
+\endgroup
+\bigskip
+
+\filbreak\hrule\medskip
+
+\begingroup
+\ex[glstyle=nlevel,glhangstyle=cascade,
+   glneveryline={\insertno,\it,},
+   glwordalign=center,
+   glnabovelineskip={,-1pt},glspace=!.4em]
+\count255=1
+\def\insertno{\footnotesize(\the\count255)\global\advance\count255 by 1}%
+\begingl[]
+[Hom\^{a}o/\textsc{exist}]
+[sa/one]
+[\v{c}\^{o}/\textsc{clf}]
+[p\^{o}/person]
+[tha/old]
+[\~{n}u/\textsc{3s}]
+[nao/go]
+[ng\u{a}/do]
+[hmua./field]
+[\~{N}u/\textsc{3s}]
+[dj\u{a}/hold]
+[g\u{a},/machete]
+[\~{n}u/\textsc{3s}]
+[dj\u{a}/hold]
+[\v{c}\u{o}ng/hoe]
+[\~{n}u,/\textsc{3s}]
+[laih/and]
+[gui/carry.on.back]
+[r\^{e}o/back.basket]
+[\~{n}u./\textsc{3s}]
+[Todang/while]
+[bboi/at]
+[r\^{o}k/along]
+[jolan/trail]
+[\~{n}u/\textsc{3s}]
+[nao/go]
+[hma,/field]
+[\~{n}u/\textsc{3s}]
+[bb\^{o}h/see]
+[sa/one]
+[droi/\textsc{clf}]
+[mr\u{a}/peacock]
+[d\u{o}/stay]
+[bboi/at]
+[gah,/\textsc{drct}]
+[a,/--]
+[hruh/nest]
+[\~{n}u./\textsc{3s}]
+\glft
+`There was an old person who went to work in the field. He took
+along his machete, he took along his hoe, and he carried his
+basket on his back. While he was on his way to the farm, he saw a
+peacock beside its nest.'
+\endgl
+\xe
+\endgroup
+\bigskip
+
+\filbreak\hrule\medskip
+
 \begingroup
 \pex[interpartskip=0pt]
 \a First\deftag{the first part of example \lastx}{FP}
@@ -820,6 +1034,4 @@ the most complex, and therefore the most revealing.
 \a contrast with example C
 \xe
 \endgroup
-\bigskip
-
 \enddemo\end{document}\bye
-- 
cgit v1.2.3

