summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tree-dvips
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-12-18 17:24:54 +0000
committerKarl Berry <karl@freefriends.org>2010-12-18 17:24:54 +0000
commit64fe2e9d7165882dc60a0c1fb71883e0b4ec2b15 (patch)
treea0af5f1f24a4a8647489965b57e2cd84b5b3d0e8 /Master/texmf-dist/doc/latex/tree-dvips
parentfc365d27c1c2a637dc7a3776c1ad568e97319edc (diff)
rm tree-dvips, noinfo license, latex 2.09, c.1994
git-svn-id: svn://tug.org/texlive/trunk@20792 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tree-dvips')
-rw-r--r--Master/texmf-dist/doc/latex/tree-dvips/Readme25
-rw-r--r--Master/texmf-dist/doc/latex/tree-dvips/lingmacros-manual.pdfbin59361 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tree-dvips/lingmacros-manual.tex139
-rw-r--r--Master/texmf-dist/doc/latex/tree-dvips/tree-manual.pdfbin51242 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/tree-dvips/tree-manual.tex409
-rw-r--r--Master/texmf-dist/doc/latex/tree-dvips/tree.script518
6 files changed, 0 insertions, 1091 deletions
diff --git a/Master/texmf-dist/doc/latex/tree-dvips/Readme b/Master/texmf-dist/doc/latex/tree-dvips/Readme
deleted file mode 100644
index bb0aea098c1..00000000000
--- a/Master/texmf-dist/doc/latex/tree-dvips/Readme
+++ /dev/null
@@ -1,25 +0,0 @@
-CSLI postscript drawing macros. Created by Emma Pease
-(emma@csli.stanford.edu).
-
-These macros were originally created to draw the lines between nodes
-in the trees created by the tree macros in lingmacros.sty. They will
-only work with dvips version 541 or later (by Tomas Rokicki available
-on labrea.stanford.edu) but can be easily modified to be used with
-earlier versions of dvips and slightly less easily modified for other
-dvi to postscript convertors.
-
-To install, place
-
-tree-dvips.pro
-
-in the postscript header path for dvips.
-
-Problems:
-
-Be wary of using page extraction programs such as dviselect as you may
-accidently drop the special command loading the header file if you do
-not include the first page. dvips's own page selection commands will
-keep the special.
-
-
-
diff --git a/Master/texmf-dist/doc/latex/tree-dvips/lingmacros-manual.pdf b/Master/texmf-dist/doc/latex/tree-dvips/lingmacros-manual.pdf
deleted file mode 100644
index a10fb4a856c..00000000000
--- a/Master/texmf-dist/doc/latex/tree-dvips/lingmacros-manual.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tree-dvips/lingmacros-manual.tex b/Master/texmf-dist/doc/latex/tree-dvips/lingmacros-manual.tex
deleted file mode 100644
index e8259dd26f0..00000000000
--- a/Master/texmf-dist/doc/latex/tree-dvips/lingmacros-manual.tex
+++ /dev/null
@@ -1,139 +0,0 @@
-\documentstyle[lingmacros]{article}
-
-\title{Linguistic Macros}
-\author{Emma Pease}
-
-\begin{document}
-
-\maketitle
-
-The lingmacros file contains a few macros that may be of use to
-linguists. The major commands are
-\begin{enumerate}
-\item The enumsentence macros for creating example sentences
-\begin{center}
-\begin{verbatim}
-\enumsentence[label]{sentence}
-\eenumsentence[label]{\item[label] sentence 1
- \item[label] sentence 2}
-\end{verbatim}
-\end{center}
- The enumsentence macros are similar to the math equation environment
-except that they take regular text. The \verb+\label+ command can be
-used inside of them.\footnote{The enumsentence macros use the counter,
-enums. For more information read the style file.} Inside of the
-eenumsentence either the \verb+\toplabel+ command for the sentence
-number only or the \verb+\label+ for sentence number and sublabel.
-Also defined is
-\verb+\ex{number}+ which gives a relative reference. \verb+(\ex{1})+
-or \verb+(\ref{senta})+ give the number of the next enumsentence (\ex{1})
-or (\ref{senta}); \verb+(\ex{2})+ or \verb+(\ref{sentb})+ of the second
-succeeding enumsentence (\ex{2}) or (\ref{sentb}).
-\verb+(\ref{sentbb})+ will give (\ref{sentbb}).
- \enumsentence{This is the first sentence\label{senta}}
-\eenumsentence{\item this is a second sentence \toplabel{sentb}
- \item this is a third sentence\label{sentbb}}
-\begin{center}
-\begin{verbatim}
-\enumsentence{This is the first sentence\label{senta}}
-\eenumsentence{\item this is a second sentence \toplabel{sentb}
- \item this is a third sentence\label{sentbb}}
-\end{verbatim}
-\end{center}
-
-
-\item The tree macros
-\begin{center}
-\begin{verbatim}
-\smalltree{alignment structure}
-\modsmalltree{number of columns}{alignment structure}
-\end{verbatim}
-\end{center}
-\verb+\smalltree+ is based on the tabular environment with a large
-baselineskip. A simple example should suffice.
-\enumsentence{\smalltree{& &a\\
- &b& &c\\
- d& &e& &f}}
-\begin{center}
-\begin{verbatim}
-\enumsentence{\smalltree{& &a\\
- &b& &c\\
- d& &e& &f}}
-\end{verbatim}
-\end{center}
-\verb+\modsmalltree+ sometime works better.
-\enumsentence{\modsmalltree{5}{& &a\\
- &b& \mc{3}{this is long}\\
- d& &e& &f}}
-\begin{center}
-\begin{verbatim}
-\enumsentence{\modsmalltree{5}{& &a\\
- &b& \mc{3}{this is long}\\
- d& &e& &f}}
-\end{verbatim}
-\end{center}
- Note the use of the \verb+\mc{number of columns}{text}+ to span
-several columns. The \verb+\clap{text}+ might also be useful; it is
-similar to the \verb+\rlap+ and \verb+\llap+ commands and produces a
-centered hbox of zero width. Lines need to be drawn in by hand or one
-can use the tree-dvips macros.
-
-\item The gloss macros
-\begin{center}
-\begin{verbatim}
-\shortex{number of columns}{first line}{second line}{gloss}
-\shortexnt{number of columns}{first line}{second line}
-\end{verbatim}
-\end{center}
-These can be combined to produce most of the glosses that linguists
-should need.
-\enumsentence{\shortex{6}{Was & ist & dem & Kind & geschenkt&worden?}
- {What& is & the & child& given &been?}
- {What has been given to the child?}
- \item \shortexnt{7}
-{Das & Fin\'anzamt & hat & ihn & geschnappt &(und & nicht}
-{the &finance authority & has & him & caught &(and &not}
-
-\shortex{2}{die &Polizei).}
- {the &police).}
- {It was the IRS that caught him (and not the police).}}
-\begin{center}
-\begin{verbatim}
-\enumsentence{\shortex{6}{Was & ist & dem & Kind & geschenkt&worden?}
- {What& is & the & child& given &been?}
- {What has been given to the child?}}
- \item \shortexnt{7}
-{Das & Fin\'anzamt & hat & ihn & geschnappt &(und & nicht}
-{the &finance authority & has & him & caught &(and &not}
-
-\shortex{2}{die &Polizei).}
- {the &police)}
- {It was the IRS that caught him (and not the police).}}
-\end{verbatim}
-\end{center}
-Unfortunately, I've not figured out a fullproof method of breaking
-the glosses automatically so they have to be done by hand.
-
-\item AVM structures
-\begin{center}
-\begin{verbatim}
-\outerfs{text}
-\end{verbatim}
-\end{center}
-\enumsentence{\evnup[-3pt]{\outerfs{SUBJ & \outerfs{POSS & [PRED `Louise']\\
- PRED &`mother$\langle$Poss$\rangle$}\\[3ex]
- OBJ & \outerfs{PRED & `PRO'\\
- REFL & +}\\
- PRED & `dress$\langle$SUBJ OBJ$\rangle$'}}}
-\begin{center}
-\begin{verbatim}
-\enumsentence{\evnup[-3pt]{%
-\outerfs{SUBJ & \outerfs{POSS & [PRED `Louise']\\
- PRED &`mother$\langle$Poss$\rangle$}\\[3ex]
- OBJ & \outerfs{PRED & `PRO'\\
- REFL & +}\\
- PRED & `dress$\langle$SUBJ OBJ$\rangle$'}}}
-\end{verbatim}
-\end{center}
-\end{enumerate}
-\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/tree-dvips/tree-manual.pdf b/Master/texmf-dist/doc/latex/tree-dvips/tree-manual.pdf
deleted file mode 100644
index 165270679dc..00000000000
--- a/Master/texmf-dist/doc/latex/tree-dvips/tree-manual.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/tree-dvips/tree-manual.tex b/Master/texmf-dist/doc/latex/tree-dvips/tree-manual.tex
deleted file mode 100644
index 195b1f46273..00000000000
--- a/Master/texmf-dist/doc/latex/tree-dvips/tree-manual.tex
+++ /dev/null
@@ -1,409 +0,0 @@
-\documentstyle[tree-dvips,lingmacros]{article}
-
-\title{Tree Macros}
-\author{Emma Pease}
-
-
-\begin{document}
-
-\maketitle
-
-The tree macros package allows one to integrate \TeX\ and Postscript.
-For example, one can use \TeX\ to layout a tree and have Postscript
-draw the lines.
-\begin{center}
- \begin{tabular}{ccc}
-&\node{ab}{top node}\\[3ex]
-\node{ac}{left node} && \node{c}{right node}\\[3ex]
- && \node{d}{odd node}
-\end{tabular}
-\nodeconnect{ab}{ac}
-\nodeconnect{ab}{c}
-\nodeconnect{c}{d}
-\nodecurve[r]{ab}[r]{d}{1in}
-\anodeconnect[b]{ac}[l]{d}
-\anodecurve[l]{ab}[l]{ac}{1in}
-\end{center}
-
-These macros work by defining locations on a page and then
-manipulating them in a variety of ways. The commands that created the
-above tree are as follows:
- \begin{verbatim}
-\begin{tabular}{ccc}
- &\node{a}{top node}\\[3ex]
-\node{b}{left node} & & \node{c}{right node}\\[3ex]
- & & \node{d}{odd node}
-\end{tabular}
-\nodeconnect{a}{b}
-\nodeconnect{a}{c}
-\nodeconnect{c}{d}
-\nodecurve[r]{a}[r]{d}{1in}
-\anodeconnect[b]{b}[l]{d}
-\anodecurve[l]{a}[l]{b}{1in}
-\end{verbatim}
- You will notice that four nodes are defined, a, b, c, and d, using the
-\verb+\node+ command. These nodes are then connected using the
-\verb+\nodeconnect+ and \verb+\nodecurve+ commands.
-
-\section{Locating Commands}
-
-Location commands are those that deal with defining a location on a
-page. The basic command
- \begin{center}
-\begin{verbatim}
-\node{nodename}{object}
-\end{verbatim}
-\end{center}
- Each node has its name, height, width, and the location of the lower
-left hand corner point passed down to postscript where it will remain
-until needed. Note that the object will be printed by \TeX\ but the
-lines drawn by Postscript. A variant
-of this command is
- \begin{center}
-\begin{verbatim}
-\nodepoint{nodename}[horizontal displace][vertical displace]
-\end{verbatim}
-\end{center}
- The node's height and width are 0pts, but the location can be
-displaced.
-
-\section{Connecting Commands}
-
-These commands connect two or more nodes. The two basic ones are
-\begin{center}
-\begin{verbatim}
-\nodeconnect[fromloc]{fromnodename}[toloc]{tonodename}
-\nodecurve[fromloc]{fromnodename}[toloc]{tonodename}{depth}
-\end{verbatim}
-\end{center}
- fromnodename and tonodename must be the names of two existing nodes.
-Imagine the node as a box, fromloc and toloc are the locations on that
-box to draw the connecting lines.
-\begin{center}\nodemargin=9pt
-\begin{tabular}{lcr}
-tl & {t} &{tr}\\[2ex]
-{l} & \node{a}{object} &{r}\\[2ex]
-{bl}& {b} &{br}
-\end{tabular}
-\nodebox{a}
-\end{center}
- The present choices are t [top], b [bottom], l [left], r [right], tl
-[topleft], tr [topright], bl [bottomleft], and br [bottomright].
-These could be expanded.
-
-Other connecting commands are
-\begin{verbatim}
-\barnodeconnect[depth]{fromnodename}{tonodename}
-\anodeconnect[fromloc]{fromnodename}[toloc]{tonodename}
-\anodecurve[fromloc]{fromnodename}[toloc]{tonodename}{depth}
-\end{verbatim}
-For example,
-\begin{center}
-\node{c}{\strut This} \node{a}{\strut is} a \node{b}{\strut test} of
-barnodeconnect.
-\barnodeconnect{a}{b}
-\barnodeconnect[-5pt]{a}{c}
-\bigskip\bigskip
-
-\node{c}{\strut This} \node{a}{\strut is} a \node{b}{\strut test}
-\node{d}{\strut of} abarnodeconnect. \node{e}{\strut Note} arrows.
-\abarnodeconnect[10pt]{a}{b}
-\abarnodeconnect[-10pt]{a}{c}
-\abarnodeconnect[-10pt]{b}{d}
-\abarnodeconnect[10pt]{e}{d}
-\end{center}\bigskip
-\begin{verbatim}
-\node{c}{\strut This} \node{a}{\strut is} a \node{b}{\strut test}
-of barnodeconnect.
-\barnodeconnect{a}{b}
-\barnodeconnect[-5pt]{a}{c}
-\bigskip\bigskip
-
-\node{c}{\strut This} \node{a}{\strut is} a \node{b}{\strut test}
-\node{d}{\strut of} abarnodeconnect. \node{e}{\strut Note} arrows.
-\abarnodeconnect[10pt]{a}{b}
-\abarnodeconnect[-10pt]{a}{c}
-\abarnodeconnect[-10pt]{b}{d}
-\abarnodeconnect[10pt]{e}{d}
-\end{verbatim}
- A negative depth places the bar below the line; a positive depth (or
-the default, which is 5pt) places the bar above the line.
-
-
-A few odd commands
-\begin{verbatim}
-\nodetriangle{fromnodename}{tonodename}
-\end{verbatim}
-This creates a triangle whose apex is the bottom of
-\verb+fromnodename+ and whose base is the top of \verb+tonodename+.
-
-\verb+\anodeconnect+ and \verb+\anodecurve+ are the same as
-\verb+\nodeconnect+ and \verb+\node-+ \verb+curve+ except that the connecting
-line has a arrowhead on it pointing to the second node.
-
-
-\section{Single Node commands}
-
-These commands adjust something around a single node rather than
-connecting nodes. The basic commands are
- \begin{center}
-\begin{verbatim}
-\nodebox{nodename}
-\nodecircle[depth]{nodename}
-\nodeoval{nodename}
-\end{verbatim}
-\end{center}
-They draw, respectively, a box, circle, or oval around the given node.
-\begin{center}
-\node{a}{node}\hfill \node{b}{node} \hfill \node{c}{node}
-\nodebox{a} \nodecircle{b} \nodeoval{c}
-\end{center}
- You will probably wish to call these commands after you have called
-all the connecting commands you will be using in a particular diagram.
-
-\section{Parameters}
-
-At the moment there are three parameters that can be changed. They
-are
-\begin{itemize}
-\item \verb+\nodemargin+ - A node's height and width are defined as
-the height plus depth and width of an hbox enclosing the object plus the
-nodemargin on each side. The default is 2pt.
-
-\item \verb+\treelinewidth+ - The width of the lines. The default is .3pt.
-
-\item \verb+\dashlength+ - The length of the dash, if you are using
-dashed lines. The default is 0pt (solid line).\footnote{The length
-of the dash and the length between the dashes are the same. An
-exercise for someone who knows postscript and tex is to allow the dash
-and the blank to vary in size.}
-
-\item \verb+\arrowwidth+ - the width of the arrowhead in the
- \verb+\anodeconnect+ and \verb+\anodecurve+ commands. Default is
- 4 pt.
-
-\item \verb+\arrowlength+ - the length of the arrowhead. Default is
- 4pt.
-
-\end{itemize}
-
-
-\section{How to Run}
-
-Add the style file, tree-dvips.sty,
-\begin{verbatim}
-\documentstyle[tree-dvips]{article}
-\end{verbatim}
-Run through \LaTeX\ and send to a postscript printer using dvips
-(written by Tomas Rokicki).
-
-
-\section{Examples}
-
-A series of examples follow.
-\begin{center}
-\let\mc=\multicolumn
-\begin{tabular}[t]{@{}lllllllll@{}}
- & & & &\node{a}{VP} \\[2ex]
- &\node{b}{PP}
- & & & & &\mc{2}{c}{\node{c}{V$'$}}\\[2ex]
- & & &\node{d}{NP} \\[2ex]
- & &\nodepoint{e}
- & &\node{f}{NP} \\
- & & &\hfill\nodepoint{r}[0pt][3pt] \\
- &\hfil\node{g}{AP}
- & &\hfil\node{h}{NP}
- & & & &\hfil\node{i}{NP}\\[2ex]
-\node{j}{P}
- &\hfil\node{k}{A}
- & \node{l}{Prt}
- &\hfil\node{m}{N}
- &\node{n}{Prt}
- &\node{o}{N}
- &\node{p}{V}
- &\hfil\node{q}{N}\\[2ex]
-`zaw &`oN &`geq&?njiaw&`geq&`dou& khe &tshjaN \\
-toward &red & & bird & &head& open&gun \\[1ex]
-\mc{9}{@{}l}{`shoot at the red head of the bird'} \\
-\end{tabular}
-\nodeconnect{a}{b}
-\nodeconnect{a}{c}
-\nodeconnect{b}{d}
-\nodeconnect{b}{j}
-\nodeconnect{c}{p}
-\nodeconnect{c}{i}
-\nodeconnect{d}{e}
-\nodeconnect{e}{g}
-\nodeconnect{e}{l}
-\nodeconnect{d}{f}
-\nodeconnect{g}{k}
-\nodeconnect{f}{r}
-\nodeconnect{r}{h}
-\nodeconnect{r}{n}
-\nodeconnect{f}{o}
-\nodeconnect{h}{m}
-\nodeconnect{i}{q}
-
-\end{center}
-\begin{verbatim}
-\let\mc=\multicolumn
-\begin{tabular}[t]{@{}lllllllll@{}}
- & & & &\node{a}{VP} \\[2ex]
- &\node{b}{PP}
- & & & & &\mc{2}{c}{\node{c}{V$'$}}\\[2ex]
- & & &\node{d}{NP} \\[2ex]
- & &\nodepoint{e}
- & &\node{f}{NP} \\
- & & &\hfill\nodepoint{r}[0pt][3pt] \\
- &\hfil\node{g}{AP}
- & &\hfil\node{h}{NP}
- & & & &\hfil\node{i}{NP}\\[2ex]
-\node{j}{P}
- &\hfil\node{k}{A}
- & \node{l}{Prt}
- &\hfil\node{m}{N}
- &\node{n}{Prt}
- &\node{o}{N}
- &\node{p}{V}
- &\hfil\node{q}{N}\\[2ex]
-`zaw&`oN &`geq&?njiaw&`geq&`dou& khe &tshjaN \\
-toward &red & & bird & &head& open&gun \\[1ex]
-\mc{9}{@{}l}{`shoot at the red head of the bird'} \\
-\end{tabular}
-\nodeconnect{a}{b} \nodeconnect{e}{l}
-\nodeconnect{a}{c} \nodeconnect{d}{f}
-\nodeconnect{b}{d} \nodeconnect{g}{k}
-\nodeconnect{b}{j} \nodeconnect{f}{r}
-\nodeconnect{c}{p} \nodeconnect{r}{h}
-\nodeconnect{c}{i} \nodeconnect{r}{n}
-\nodeconnect{d}{e} \nodeconnect{f}{o}
-\nodeconnect{e}{g} \nodeconnect{h}{m}
-\nodeconnect{i}{q}
-\end{verbatim}
- The following two examples use \verb+\outerfs+ and
-\verb+\modsmalltree+; these are both part of the lingmacros package.
-See \verb+lingmacros.sty+ for more information.
- \enumsentence[(100)]{\evnup[2pt]
-{\outerfs{ Focus & \outerfs{subj & \outerfs{\ \nodepoint{a}\ }\\[1ex]
- obl$_{th}$ & \outerfs{Pred & `Pro'\\
- Refl & +}\\[1ex]
- Pred & `proud$\langle(\uparrow {\rm subj})
- (\uparrow {\rm obl}_{th})\rangle$'}\nodepoint{d}[-3pt][0pt]\\[2ex]
- Subj & \outerfs{Pred & `Max'}\\[1ex]
- Comp & \outerfs{Subj &\outerfs{Pred & `Larry'}\nodepoint{c}[-3pt][0pt]\\[1ex]
- Xcomp&\outerfs{\ \nodepoint{b}\ }\\[1ex]
- Pred & `be$\langle(\uparrow {\rm xcomp})
- (\uparrow {\rm subj})\rangle$'}\\[1ex]
- Pred & `think$\langle(\uparrow {\rm subj})
- (\uparrow {\rm comp})\rangle$'}\\
-}
-\nodecurve[r]{a}[r]{c}{2in}[.5in]
-\anodecurve[r]{d}[r]{b}{1in}[2in]
-}
-\begin{verbatim}
-\enumsentence[(100)]{\evnup[2pt]
-{\outerfs{
-Focus & \outerfs{subj & \outerfs{\ \nodepoint{a}\ }\\[1ex]
- obl$_{th}$ & \outerfs{Pred & `Pro'\\
- Refl & +}\\[1ex]
- Pred & `proud$\langle(\uparrow {\rm subj})
- (\uparrow {\rm obl}_{th})\rangle$'}%
-\nodepoint{d}[-3pt][0pt]\\[2ex]
-Subj & \outerfs{Pred & `Max'}\\[1ex]
-Comp & \outerfs{Subj &\outerfs{Pred & `Larry'}%
-\nodepoint{c}[-3pt][0pt]\\[1ex]
- Xcomp&\outerfs{\ \nodepoint{b}\ }\\[1ex]
- Pred & `be$\langle(\uparrow {\rm xcomp})
- (\uparrow {\rm subj})\rangle$'}\\[1ex]
-Pred & `think$\langle(\uparrow {\rm subj})
- (\uparrow {\rm comp})\rangle$'}\\
-}
-\nodecurve[r]{a}[r]{c}{2in}[.5in]
-\anodecurve[r]{d}[r]{b}{1in}[2in]
-}
-\end{verbatim}
-\enumsentence{\modsmalltree{6}{
- & & &\ns\node{a}{\begin{tabular}[t]{@{}c@{}}S\\
- {}[+R]\end{tabular}} \\
- &\node{b}{NP} & & & & \node{c}{VP} \\
-\node{d}{Det}& &\node{e}{N$^1$} \\
-\node{h}{the}&\node{i}{N} & & \node{f}{PP} &&\node{g}{are
- totally false}\\
- &\node{n}{rumors}&\node{j}{P} &&\ns\node{k}{\begin{tabular}[t]{@{}c@{}}NP\\
- {}[+R] \end{tabular}}\\
- & &\node{l}{about} &&\node{m}{whom}}
-\nodeconnect{a}{b}
-\nodeconnect{a}{c}
-\nodeconnect{b}{d}
-\nodeconnect{b}{e}
-\nodeconnect{d}{h}
-\nodeconnect{e}{i}
-\nodeconnect{e}{f}
-\nodeconnect{i}{n}
-\nodeconnect{f}{j}
-\nodeconnect{f}{k}
-\nodeconnect{j}{l}
-\nodeconnect{k}{m}
-\nodetriangle{c}{g}
-{\makedash{4pt}
-\anodecurve[t]{b}[l]{a}{10pt}
-\anodecurve[t]{e}[r]{b}{10pt}
-\anodecurve[t]{f}[r]{e}{10pt}
-\anodecurve[t]{k}[r]{f}{10pt}
-}}
-\begin{verbatim}
-\enumsentence{\modsmalltree{6}{
- & & &\ns\node{a}{\begin{tabular}[t]{@{}c@{}}S\\
- {}[+R]\end{tabular}} \\
- &\node{b}{NP}
- & & && \node{c}{VP} \\
-\node{d}{Det}
- & &\node{e}{N$^1$} \\
-\node{h}{the}
- &\node{i}{N}
- & &\node{f}{PP}
- &&\node{g}{are totally false}\\
- &\node{n}{rumors}
- &\node{j}{P}
- & &\ns\node{k}{\begin{tabular}[t]{@{}c@{}}NP\\
- {}[+R] \end{tabular}}\\
- & &\node{l}{about}
- & &\node{m}{whom}}
-\nodeconnect{a}{b} \nodeconnect{e}{f}
-\nodeconnect{a}{c} \nodeconnect{i}{n}
-\nodeconnect{b}{d} \nodeconnect{f}{j}
-\nodeconnect{b}{e} \nodeconnect{f}{k}
-\nodeconnect{d}{h} \nodeconnect{j}{l}
-\nodeconnect{e}{i} \nodeconnect{k}{m}
-\nodetriangle{c}{g}
-{\makedash{4pt}
-\anodecurve[t]{b}[l]{a}{10pt} \anodecurve[t]{f}[r]{e}{10pt}
-\anodecurve[t]{e}[r]{b}{10pt} \anodecurve[t]{k}[r]{f}{10pt}
-}}
-\end{verbatim}
-
-
-\section{Errors}
-
-A multitude of caveats.
-\begin{itemize}
- \item Any commands calling nodes must be read while \TeX\ is still
-processing the page the nodes are defined on. In other words don't
-define the nodes on page 1 and connect them with commands that appear
-at the end of the paper.
-
-\item Nodes mentioned in node connecting commands must exist or else
- the job won't print.
-
-\item Make sure the dvips postscript output is sent to a postscript
-printer. It is possible to send the dvi, but not the postscript,
-output to another printer; the lines just won't appear, assuming the
-printer ignores specials it doesn't know about.
-
-
-\end{itemize}
-
-
-\end{document}
-
-
diff --git a/Master/texmf-dist/doc/latex/tree-dvips/tree.script b/Master/texmf-dist/doc/latex/tree-dvips/tree.script
deleted file mode 100644
index de7dca6ebbd..00000000000
--- a/Master/texmf-dist/doc/latex/tree-dvips/tree.script
+++ /dev/null
@@ -1,518 +0,0 @@
-% grestore
-% special commands for setting up tree macros
-TeXDict begin
-
-% the commands needed to get any of this working. The first section
-% may need to be modified if different dvi to postscript programs are
-% used.
-
-/@beginspec {gsave texpsmatrix setmatrix treedict begin} def
-/@endspec {end grestore} def
-
-%% definition of letter matrix
-%/testorient
-% { gsave
-% matrix defaultmatrix
-% 72 Resolution div dup neg
-% 3 -1 roll scale % set scaling to 1.
-% 310 -3005
-% 3 -1 roll translate % move origin to top (these are not exactly 1"
-% Mtrx
-% } def
-%
-
-% /Landscape false def
-
-% for landscape Landscape=true, letter Landscape=false
-/texpsmatrix
-matrix defaultmatrix
-isls {dup [0.0 -1.0 1.0 0.0 0.0 0.0] exch concatmatrix} if
-def
-userdict begin
-/bop-hook
-{/texpsmatrix
-matrix defaultmatrix
-isls {dup [0.0 -1.0 1.0 0.0 0.0 0.0] exch concatmatrix} if
-def}
-B
-end
-%/texpsmatrix matrix defaultmatrix def
-/treedict 200 dict def treedict begin
-
-% num pt num (converts a number in TeX pts (72.27 pts/in) to
-% postscript pts (72pts/in)
-/pt {72 mul 72.07 div} def
-
-% end of first section
-
-% definition of a node as a box containing the following information
-% The x y location of the lower left hand corner of the box
-% the height of the box (h)
-% the width of the box (w)
-% nodemargin is added to all sides to ensure a boundary around the box
-% str w h d node -
-% (nodemargin is defined in the TeX file)
-/nodemargin 2 def
-/nodes 100 dict def
-/node { /dpth exch def
- /hght exch def
- /wdth exch def
- 4 dict dup begin
- /x /y currentpoint
- dpth sub nodemargin sub exch 3 1 roll def
- nodemargin sub def
- /h hght dpth add nodemargin dup add add def
- /w wdth nodemargin dup add add def
- end nodes 3 1 roll put} def
-
-
-% commands to find various locations around the nodebox
-%
-% nodetopleft nodetop nodetopright
-% *--------*--------*
-% | |
-% | |
-% farleft nodeleft * (nodebox) * noderight farright
-% | |
-% | |
-% *--------*--------*
-% nodebotleft nodebottom nodebotright
-%
-%
-% farbotleft farbottom
-
-% all of these take
-% dict nodebottom x1 y1 [dict has x y h w defined]
-/nodebottom {begin
- x w 2 div add y
- end} def
-/nodetop {begin
- x w 2 div add y h add
- end} def
-/nodeleft {begin
- x y h 2 div add
- end} def
-/noderight {begin
- x w add y h 2 div add
- end} def
-/nodetopleft {begin
- x y h add
- end} def
-/nodetopright {begin
- x w add y h add
- end} def
-/nodebottomleft {begin
- x y
- end} def
-/nodebottomright {begin
- x w add y
- end} def
-
-% some more locations of use
-/farright {begin
- x w add depth add h 2 div y add
- end} def
-
-/farleft {begin
- x depth sub h 2 div y add
- end} def
-
-/farbottom {begin
- x w 2 div add y depth sub
- end} def
-
-/fartop {begin
- x w 2 div add y h add depth add
- end} def
-
-/farbottomleft {begin
- x depth 45 cos mul sub y depth 45 sin mul sub
- end} def
-
-/farbottomright {begin
- x w add depth 45 cos mul add y depth 45 sin mul sub
- end} def
-
-/fartopright {begin
- x w add depth 45 cos mul add y h add depth 45 sin mul add
- end} def
-
-/fartopleft {begin
- x depth 45 cos mul sub y h add depth 45 sin mul add
- end} def
-
-
-% connects two nodes with a straight line
-% add location information (e.g., whether to go from
-% nodetop to nodeleft ...
-
-% nodename1 loc1 nodename2 loc2 nodeconnect -
-% e.g., a nodetop b nodebottom nodeconnect
-
-% to see if straight lines are indeed straight
-% x1 x2 alignpoint x1' x2' finds out if the two numbers are less than
-% one pixel apart if so make x1'=x2'
-
-/alignpoint {2 copy sub abs 1 le {add 2 div round dup} if} def
-
-% nodelocation nodename getnodepoint x y
-/getnode {nodes exch get} def
-
-% xfrom yfrom xto yto nodeconnect -
-/nodeconnect { gsave
- transform 4 2 roll
- transform
- exch 4 1 roll alignpoint
- 4 2 roll alignpoint
- 4 1 roll exch
- itransform moveto itransform lineto
- stroke
- grestore
- } def
-
-% arrowheads
-% xtail ytail xtip ytip headthickness headlength arrow -
-
-/arrowdict 14 dict def
-arrowdict begin
- /mtrx matrix def
-end
-
-/arrow {arrowdict begin
- /headlength exch def
- /halfheadthickness exch 2 div def
- /tipy exch def /tipx exch def
- /taily exch def /tailx exch def
-
- /dx tipx tailx sub def
- /dy tipy taily sub def
- /angle dy dx atan def
-
- /savematrix mtrx currentmatrix def
- tipx tipy translate
- angle rotate
- 0 0 moveto
- headlength neg halfheadthickness neg lineto
- headlength neg halfheadthickness lineto
- closepath
-savematrix setmatrix
- end } def
-
-
-% xfrom yfrom xto yto testcmd -
-% arrownodeconnect
-/arrownodeconnect{ gsave
- transform 4 2 roll
- transform
- exch 4 1 roll alignpoint
- 4 2 roll alignpoint
- 4 1 roll exch
- itransform 4 2 roll itransform 4 2 roll 4 copy moveto lineto
- gsave
- newpath
- 4 2 roll arrowwidth arrowlength arrow
- fill
- grestore
- stroke
- grestore
- } def
-
-
-% connecting with a bar like
-% _______________
-% | |
-% or like
-% _______________
-% | |
-% | node
-% node
-
-% depth fromnode fromloc tonode toloc
-% depth x1 y1 x2 y2 barnodeconnect -
-/barnodeconnect {4 2 roll
- 2 copy moveto
- 5 -1 roll add
- dup 3 1 roll
- lineto
- 2 index exch
- lineto lineto
- stroke
- } def
-
-/arrowbarnodeconnect {4 2 roll
- 2 copy moveto
- 5 -1 roll add
- dup 3 1 roll
- lineto
- 2 index exch
- 4 copy lineto lineto
- gsave
- newpath
- 4 2 roll
- arrowwidth arrowlength arrow
- fill
- grestore
- stroke
- } def
-
-
-% Takes two nodes and forms a triangle
-% node1
-% /\
-% / \
-% ----
-% nodess
-%
-% fromnodename tonodename nodetriangle -
-/nodetriangle {
- gsave
- exch
- nodes exch get nodebottom moveto
- dup
- nodes exch get nodetopleft lineto
- nodes exch get nodetopright lineto
- closepath
- stroke
- grestore } def
-
-
-% not sure what I am using the following for
-% x y x y slope num
-/slope {/y1 exch def
- /x1 exch def
- /y0 exch def
- /x0 exch def
- y1 y0 sub x1 x0 sub div
- } def
-
-% x y x y midpoint x y
-/midpoint {/y1 exch def
- /x1 exch def
- /y0 exch def
- /x0 exch def
- x1 x0 sub abs
- x1 x0 ge {x0 add} {x1 add} ifelse
- y1 y0 sub abs
- y1 y0 ge {y0 add} {y1 add} ifelse
- } def
-
-
-% variant of curveto where x1 y1 = x2 y2
-/tancurveto {1 index exch
- curveto} def
-
-/nodetancurve {/depth exch def
- /to exch def
- /from exch def
- gsave
- nodes from get noderight moveto
-
- nodes to get noderight
- tancurveto
- stroke
- grestore } def
-
-
-
-% the node curves draw curves between two points
-%
-%
-
-% nodename rightcur x1 y1 x2 y2
-/rightcur {nodes exch get dup noderight 3 -1 roll farright} def
-/leftcur {nodes exch get dup nodeleft 3 -1 roll farleft} def
-/topcur {nodes exch get dup nodetop 3 -1 roll fartop} def
-/bottomcur {nodes exch get dup nodebottom 3 -1 roll farbottom} def
-/topleftcur {nodes exch get dup nodetopleft 3 -1 roll fartopleft} def
-/toprightcur {nodes exch get dup nodetopright 3 -1 roll fartopright} def
-/bottomleftcur {nodes exch get dup nodebottomleft 3 -1 roll farbottomleft} def
-/bottomrightcur {nodes exch get dup nodebottomright 3 -1 roll farbottomright} def
-
-% (depth predefined) x1 y1 x2 y2 x3 y3 x4 y4 nodecurve -
-% where nodename nodeposition produces x1 y1 x2 y2
-% where x1 y1 are the endpoint
-
-/nodecurve {gsave
- 4 2 roll moveto
- 6 2 roll 4 2 roll curveto
- stroke
- grestore} def
-
-/arrownodecurve {gsave
- 4 2 roll moveto
- 6 2 roll 4 2 roll 4 copy 10 4 roll curveto
- gsave
- newpath
- arrowwidth arrowlength arrow
- fill
- grestore
- stroke
- grestore} def
-
-
-%% commands for drawing things around nodes
-% nodename nodebox -
-/nodebox {nodes exch get begin
- gsave
- newpath
- x y moveto
- h w dobox
- cleanup
- stroke
- grestore
- end} def
-
-
-% nodename nodecircle -
-% would be nice to have a parameter that adjusts diameter of circle
-% depth nodename nodecircle -
-/nodecircle {nodes exch get begin
- gsave
- newpath
- w 2 div x add h 2 div y add
- w w mul h h mul add sqrt 2 div 4 -1 roll add
- 360 0 arcn
- cleanup
- stroke
- grestore
- end} def
-
-% no cleanup
-/nodecircletrans {nodes exch get begin
- gsave
- newpath
- w 2 div x add h 2 div y add
- w w mul h h mul add sqrt 2 div 4 -1 roll add
- 360 0 arcn
- stroke
- grestore
- end} def
-
-% nodename nodeoval -
-/nodeoval {nodes exch get begin
- gsave
- newpath
- x 2 sub y 2 sub moveto
- h 4 add w 4 add dooval
- cleanup
- stroke
- grestore
- end } def
-
-% ratio depth nodename testnodeoval -
-% ratio should be between 0 and 1
-/testnodeoval {nodes exch get begin
- gsave
- newpath
- h h mul w w mul add sqrt div dup dup dup
- w mul neg x add exch
- h mul neg y add
- moveto
- dup
- h mul 2 mul h add exch
- w mul 2 mul w add
- testdooval
- stroke
- grestore
- end } def
-
-
-/cleanup{gsave
- x y moveto
- h nodemargin sub .5 add w nodemargin sub .5 add doccbox
- 1 setgray fill grestore
-}def
-
-/boxdict 4 dict def
-boxdict /mtrx matrix put
-
-/dobox{boxdict begin
- /w exch def
- /h exch def
- /savematrix mtrx currentmatrix def
- 0 h rlineto
- w 0 rlineto
- 0 h neg rlineto
- closepath
- savematrix setmatrix
- end} def
-
-% do box in counterclockwise fashion
-/doccbox{boxdict begin
- /w exch def
- /h exch def
- /savematrix mtrx currentmatrix def
- w 0 rlineto
- 0 h rlineto
- w neg 0 rlineto
- closepath
- savematrix setmatrix
- end} def
-
-
-/ovaldict 6 dict def
-ovaldict /mtrx matrix put
-
-% h w ovaldict -
-/dooval{ovaldict begin
- /w exch def
- /h exch def
- /savematrix mtrx currentmatrix def
- 0 h 2 div rmoveto
- 0 h 2 div nodemargin sub
- nodemargin h 2 div
- w 2 div h 2 div
- rcurveto
- w 2 div nodemargin sub 0
- w 2 div nodemargin neg
- w 2 div h 2 div neg
- rcurveto
- 0 h 2 div neg nodemargin add
- nodemargin neg h 2 div neg
- w 2 div neg h 2 div neg
- rcurveto
- w 2 div neg nodemargin add 0
- w 2 div neg nodemargin
- w 2 div neg h 2 div
- rcurveto
- savematrix setmatrix
- end} def
-
-% give height and width of a box and the lower left hand point
-% produce a curve that will enclose the box.
-% initial point already defined
-% ratio h w testdooval -
-/testdooval{ovaldict begin
- /w exch def
- /h exch def
- /r exch def
- h 2 div neg r mul dup
- h 2 div dup
- r mul 3 1 roll
- 2 r sub mul
- 0 h
- rcurveto
- w 2 div dup
- r mul exch
- 2 r sub mul
- w 2 div r mul dup 3 1 roll
- w 0
- rcurveto
- h 2 div r mul dup
- h 2 div neg dup
- r mul 3 1 roll
- 2 r sub mul
- 0 h neg
- rcurveto
- w 2 div neg dup
- r mul exch
- 2 r sub mul
- w 2 div neg r mul dup 3 1 roll
- w neg 0
- rcurveto
- end} def
-
-end % of treedict
-
-end % of TeXdict
-% gsave