From 5f36236ae77fcebdefe7984ffc9e1ad9b9bfc04e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 27 Oct 2007 20:31:51 +0000 Subject: philex update (27oct07) git-svn-id: svn://tug.org/texlive/trunk@5289 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/philex/philex.pdf | Bin 86464 -> 95797 bytes Master/texmf-dist/doc/latex/philex/philex.tex | 14 +++++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/doc/latex') diff --git a/Master/texmf-dist/doc/latex/philex/philex.pdf b/Master/texmf-dist/doc/latex/philex/philex.pdf index 3feb38ddd10..7b8d2a800b8 100644 Binary files a/Master/texmf-dist/doc/latex/philex/philex.pdf and b/Master/texmf-dist/doc/latex/philex/philex.pdf differ diff --git a/Master/texmf-dist/doc/latex/philex/philex.tex b/Master/texmf-dist/doc/latex/philex/philex.tex index 572420e2020..0147b7f3077 100644 --- a/Master/texmf-dist/doc/latex/philex/philex.tex +++ b/Master/texmf-dist/doc/latex/philex/philex.tex @@ -25,16 +25,17 @@ \ifnum\thehour<10 \def\nowh{0\thehour} \else \def\nowh{\thehour}\fi \ifnum\theminute<10\def\nowm{0\theminute} \else \def\nowm{\theminute}\fi \def\now{\nowh:\nowm} -\def\aut{Peter Pagin} +\def\aut{Peter Pagin\\ peter.pagin@philosophy.su.se} \def\home{\begin{flushright} \item Department of Philosophy \item Stockholm University +\item peter.pagin@philosophy.su.se \end{flushright}} \usepackage{paralist} \usepackage{hyperref} \begin{document} -\title{The \tt philex \rm Package \\ version 0.3} +\title{The \tt philex \rm Package \\ version 0.5} \author{\aut} \date{\today, \now} \maketitle @@ -43,6 +44,10 @@ \setlength{\plparsep}{1mm} \settowidth{\Exlabelwidth}{(110)} +\subsection*{Changes since version 0.3} +In version 0.3, forward cross-reference was effected by means of writing command definitions to a separate file, \emp{myfile}-px.tex, which was subsequently read-in at the beginning of the following run of typesetting. In version 0.5 the information is instead written to the .aux file and then read from the .aux file in the subsequent run. This method is more elegant and eliminates problems with the implementation of the old method. The improvement is due entirely to Robin Fairbairns. + +\subsection*{Manual} The \verb+philex+ package is a small addition to Wolfgang Sternefeld's \verb+linguex+ package and requires \verb+linguex+. As of version 0.2 it also requires \verb+calc+. \verb+philex+ will load \verb+linguex+ if it is installed. The purpose of \verb+philex+ is to add functions for more flexible cross-referencing, for repeating and embedding named or numbered sentences and also a little bit for formatting. As of version 0.3 \verb+philex+ creates a separate file in the same directory as the main file. If the typeset document is \emp{myfile}.tex, the file created by \verb+philex+ will be \emp{myfile}-px.tex. \verb+philex+ writes its command definitions to this file at typesetting, and reads from the created file at the beginning (AtBeginDocument) of the next round of typesetting. The purpose of this device is to allow forward cross-referencing to named sentences, in analogy to the label-reference system of LaTeX itself. @@ -77,13 +82,13 @@ In many cases you will want to produce a variant of the original sentence, which produces \lbu{nicy}{nice}{\('\)}{But that was even nicer} And a cross-reference will preserve the name: \verb+\rf{nicy}+ produces \qut{\rf{nicy}}. -You will also want to have named principles, such as +You will also want to have named principles, such as in \rf{life} \emp{below} (exemplifying forward cross-reference) \lbp{life}{W}{Life is wonderful!} These are produced with the \verb+\lbp{}{}{}+-command which makes use of the optional argument to \verb+\ex.[]+ in \verb+linguex+. Cross-references with \verb+\rf+, like to \rf{life}, and updates with \verb+\lbu+, like \lbu{newlife}{life}{\textsuperscript{+}}{\q Life is terrific!} work as before. If you later change the name of the principle, or the formulation, the changes are reflected in the cross-references and repetitions after the next typesetting, as long as you do not change the labels. In the last example, the full stop function was turned off by means of \verb+\q+ inside the last argument, so as not to produce an extra full stop after the exclamation mark. -In case you don't want the brackets in the principle name, turn them off with \verb+\broff+, as in \rn{offer} (exemplifying forward cross-reference):\broff +In case you don't want the brackets in the principle name, turn them off with \verb+\broff+, as in \rn{offer}:\broff \lbp{offer}{L}{Has a lot to offer!} To turn them on again, type \verb+\bron+. \bron It is also possible to change the brackets with \verb+\renewcommand{\lebrack}{}+ and \verb+\renewcommand{\ribrack}{}+ (put in what you want), for the left and right bracket, respectively. @@ -149,5 +154,4 @@ Finally, \verb+philex+ provides an additional counter, \verb+bna+, for informal There are more possibilities in \verb+linguex+, described in its manual. -\bibliography{peter3} \end{document} \ No newline at end of file -- cgit v1.2.3