summaryrefslogtreecommitdiff
path: root/info/digests/texhax/95/texhax.04
blob: 155bc0467ca7e98dc8694527f728e3276121d40c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
From: owner-TeXhax@nottingham.ac.uk
To: TeXhax Distribution: ;
Subject: TeXhax Digest V95 #04
Reply-To: TeXhax@tex.ac.uk
Errors-To: owner-TeXhax@nottingham.ac.uk
Distribution: world
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <25155.791480565.1@unicorn.ccc.nottingham.ac.uk>
Date: Mon, 30 Jan 1995 15:42:47 +0000
Message-ID: <25156.791480567@unicorn.ccc.nottingham.ac.uk>
Sender: cczdao@unicorn.ccc.nottingham.ac.uk

TeXhax Digest    Monday, 30 Jan 1995  Volume 95 : Issue 04
(incorporating UKTeX Digest)

Today's Topics:
         TeX, how to detect already defined control sequences
                           Archived TeXhax?
                         Re: Archived TeXhax?
                  Re: Plain text and numbering lines
                  Re: Plain text and numbering lines
           Announce: Catalan hyphenation patterns available


Administrivia:
    Moderators:    David Osborne and Peter Abbott
    Contributions: TeXhax@tex.ac.uk
    Subscription and unsubscription requests: TeXhax-request@tex.ac.uk
    (message body = "subscribe texhax" or "unsubscribe texhax", [no quotes])

----------------------------------------------------------------------

Date:    Tue, 24 Jan 1995 08:34:37 +0700
From:    pV@CC.Uniud.It
Subject: TeX, how to detect already defined control sequences

Hello,

I would like to know if there is a way, in TeX, to test for
the existence of a control sequence.

What I want to do is to programmatically detect if a macro
has already been defined.

I devised this (ugly) piece of code:

        \def\MYMACRO{anything}
        \ifx\MYMACRO\UNDEFINED
             The macro is {\it not\/} defined
        \else
             The macro {\it is\/} defined
        \fi

It works, provided that the dummy macro \UNDEFINED is
*really* undefined!

There must be a more reliable (and elegant!) way to do the
same thing. Can you give me any hint?
Any help will be appreciated.
Thanks in advance.

- ------------------------------------------------------------------------------
Paolo Vicario
UNIX system manager
Universita` degli Studi di Udine - Centro di Calcolo
via Mantica 3
I 33100 UDINE

Tel.  +39 432 556704         Internet:  pv@cc.uniud.it
FAX   +39 432 556729         DECnet:    UDUNIV::PAOLO (37963::PAOLO)
Tlx. 450412 UNIVUD I
- ------------------------------------------------------------------------------

------------------------------

Date:    Tue, 24 Jan 1995 11:38:20 -0500
From:    fang@phy.duke.edu (Fang Zhong)
Subject: Archived TeXhax?

Do you have the Digest archived for retrieving via http or ftp?

------------------------------

Date:    Wed, 25 Jan 1995 11:09:22 +0000
From:    David.Osborne@nottingham.ac.uk
Subject: Re: Archived TeXhax?

> Do you have the Digest archived for retrieving via http or ftp?

Yes.  All back-issues of the digest are archived in the CTAN (Comprehensive 
TeX Archive Network), of which your nearest will be ftp.shsu.edu (ftp access) 
or www.shsu.edu (http access).  There's also a hypertext version built using 
Hypermail, which has recently been set up and was announced in V95 #02.
The information on archived copies is carried in the "trailer" at the end of 
each digest, which you should read for more information.

~~David Osborne (TeXhax Digest moderator)


------------------------------

Date:    Tue, 24 Jan 1995 11:52:18 -0500
From:    BURT@BINAH.CC.BRANDEIS.EDU
Subject: Re: Plain text and numbering lines

The best way to produce marginal line numbers in prose in plain TeX is
to use the EDMAC macro package, by John Lavagnino and Dominik Wujastyk.
This is a package of plain TeX macros designed for the production of
scholarly editions, and it produces marginal line numbers in a very nifty
way. You can get a copy of EDMAC at a CTAN site near you, such as at
pip.shsu.edu if you are writing from the U.S. I'm not sure off the top of
my head what subdirectory it is in, but it isn't hard to find.

If you are producing line numbers for verse rather than prose, and you are
using LaTeX rather than plain TeX,  one way of doing it (the way I do it)
is to define a /verseline macro, which increments a counter and prints a
line number (using marginpar) every n lines. But that won't work from
prose, obviously. EDMAC is probably the way to go!
John Burt
Brandeis University

------------------------------

Date:    Sat, 28 Jan 1995 20:57:22 +0000
From:    Dominik Wujastyk <dom@uclblr.iisc.ernet.in>
Subject: Re: Plain text and numbering lines


On plain text with numbered lines, try using EDMAC.  It does the job
well, but it has a lot of bells and whistles that you may not need for
simple line-numbering.  E.g., it has elaborate footnote mechanisms to
let you have footnotes referring to the line numbers, etc.

Still, it can do what you want.  See the file edmac316.zip or edmac.doc
which is on CTAN somewhere.

Dominik

- --
Dr Dominik Wujastyk     |            Email:   dom@vigyan.iisc.ernet.in
Tel:   +91-80-843-5320  |  NB: if you have
              or -5249  |  trouble mailing
                        |  to this address,
                        |              try:   d.wujastyk@ucl.ac.uk
                        |  [Do Not send to:   dom@uclblr.iisc.ernet.in]

------------------------------

Date:    Thu, 19 Jan 1995 15:47:44 +0000
From:    badenes@imec.be (Goncal Badenes)
Subject: Announce: Catalan hyphenation patterns available

Hi,

this is to announce that my set of hyphenation patterns for the Catalan
language have been uploaded to ctan. They should be available as
language/hyphenation/cahyph.tex.

An excerpt from the file follows:

% Hyphenation patterns for Catalan.
% This is version 1.10
% Compiled by Gon\c{c}al Badenes and Francina Turon,
%       December 1991-January 1995.
%
% Copyright (C) 1991-1995 Gon\c{c}al Badenes
%
% General permission for use and non-profit redistribution is granted.
% For special commercial use, contact the address above.
%
% This patterns have been created using standard, conservative
% hyphenation rules for catalan. The results have refined running them
% through patgen. In that way, the number of hits has been increased.
%
% These rules produce no wrong patterns (Results checked against the
% ``Diccionari Ortogr\`afic i de Pron\'uncia'', Enciclop\`edia
% Catalana. The percentage of valid hyphen misses is lower than 1%
%
% *** IMPORTANT ***
% \lefthyphenmin and \righthyphenmin should be set to 2 and 2
% respectively. If you set them below these values incorrect breaks
% will happen (specially at the beginning of foreign words and words
% which begin with some prefixes).
% *** IMPORTANT ***
%
% Please report any problem you might have to the authors!!!
%

Enjoy it!

        Goncal Badenes

- --
Goncal Badenes, PhD                     Tel: +32 16 281517
IMEC                                    Fax: +32 16 281214
Advanced Semiconductor Processing
0.25um CMOS Process Integration
Kapeldreef 75                           e-mail: badenes@imec.be
B-3001 Leuven (Belgium)

------------------------------
About TeXhax...

Please send contributions to: TeXhax@tex.ac.uk

Subscription and unsubscription requests:
    send a one line mail message to TeXhax-Request@tex.ac.uk
    containing either               subscribe texhax
    or                              unsubscribe texhax

To obtain the Frequently Asked Questions (FAQ) lists for TeX, send a
message with no subject to fileserv@shsu.edu, consisting of
SENDME FAQ

For information on the TeX Users Group, please send a message to
TUG@TUG.org, or write TeX Users Group, P.O. Box 869, Santa Barbara,
CA 93102, USA.

Backnumbers of all the digests are stored in the Comprehensive TeX
Archive Network (CTAN) and can be retrieved on the Internet by
anonymous ftp.  The hosts comprising CTAN include
    ftp.dante.de (129.69.1.12)   -- Germany
    ftp.shsu.edu (192.92.115.10) -- USA
    ftp.tex.ac.uk (128.232.1.87) -- UK
TeXhax Digest issues are filed below /tex-archive/digests/texhax/
Keyword-In-Context Indexes are filed in /tex-archive/digests/indexes/

A Hypermail version of TeXhax is also available on the World-Wide Web at URL
http://www.tex.ac.uk/tex-archive/digests/hyper/

Please use your nearest server, to keep network load down.
The file /tex-archive/CTAN.sites on each of these hosts gives a
list of other sites which maintain full or partial mirrors of the CTAN.
Alternatively, finger ctan_us@ftp.shsu.edu for full details.

\bye

End of TeXhax Digest [Volume 95 Issue 4]
****************************************