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
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
|
From: owner-TeXhax@nottingham.ac.uk
To: TeXhax Distribution: ;
Subject: TeXhax Digest V95 #06
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: <1527.794052817.1@unicorn.ccc.nottingham.ac.uk>
Date: Wed, 01 Mar 1995 10:13:38 +0000
Message-ID: <1528.794052818@unicorn.ccc.nottingham.ac.uk>
Sender: cczdao@unicorn.ccc.nottingham.ac.uk
TeXhax Digest Wednesday, 1 Mar 1995 Volume 95 : Issue 06
(incorporating UKTeX Digest)
Today's Topics:
Re: TeX, how to detect already defined control sequences
LaTeX2e compatibility problem
RE: DVItoLN03
RE: Commands for page selection in Ghostscript
Re: DOS color dvi previewer
Re: DOS color dvi previewer and Commands for page selection in Ghostsc
Macros to upcase/lowercase words with dotless i.
Setting Japanese printer
Paul Higgins: AMS-LaTeX on approximate PC
Re: email/path/http macros
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: Fri, 10 Feb 1995 19:11:23 -0800
From: Donald Arseneau <asnd@erich.triumf.ca>
Subject: Re: TeX, how to detect already defined control sequences
In TeXhax Digest V95 #05, K. Berry wrote:
>% From p.308 of the TeXbook. This cannot be used in places where TeX
>% might be skipping tokens, e.g., in conditionals.
>%
>\def\ifundefined#1{\expandafter\ifx\csname#1\endcsname\relax}
The "\relax" test is how LaTeX does it, but so many meaningful
commands are \let equal to \relax, it is a very unreliable method.
For example, in LaTeX, you can foolishly do: \newcommand{\protect}{}
and disaster will follow.
I have used various bizzare names (\Und@rfined, e.g.) but I now just
use \undefined. If you define it, things will break anyway, so just
trust it.
For a version that *can* be skipped in conditionals, there must be
an obvious fundamental \if__ command, so:
% From p.308 of the TeXbook. This CAN be used in places where TeX
% might be skipping tokens, e.g., in conditionals.
%
\def\undefined#1{..\fi\expandafter\ifx\csname#1\endcsname\relax}
Use: \if\undefined{this}use \this \else \def\this{} \fi
(None of this is news to Karl, but I thought I would (b)elaborate.)
Donald Arseneau asnd@reg.triumf.ca
------------------------------
Date: Mon, 13 Feb 1995 17:47:08 +0000
From: David Lindsey <d.c.lindsey@abdn.ac.uk>
Subject: LaTeX2e compatibility problem
We have encountered a problem with the way LaTeXe treats the UK currency
symbol (called up by the \pounds{} macro) compared to
LaTeX 2.09. It appears that LaTeX2e, even in 2.09 compatibility mode,
no longer uses the italicised dollar symbol in the 'cmti' font but
invokes a symbol from the 'cmu' font instead. This might go unnoticed
if one has such a font raster image installed. If not, the result may
be some mild grumblings from a device driver when one comes to view or
print it and a blank space on output if the driver doesn't make fonts on
the fly.
So, I guess my question(s) is/are: 'Is it a bug or a feature and are there any
other similar, related, differences one might encounter?'
David Lindsey (d.c.lindsey@abdn.ac.uk)
Aberdeen University Computing Centre
------------------------------
Date: Mon, 13 Feb 1995 19:34:24 +0000
From: Philip Taylor (RHBNC) <CHAA006@vms.rhbnc.ac.uk>
Subject: RE: DVItoLN03
- ->I'm copying this reply to TeXhax; hopefully someone who is more
- ->conversant with the present-day layout of the archive than I am can
- ->assist Alan. It may be that I'm mistaken, and that the files wanted
- ->_are_ still in the archive: if so, I can only say that the layout
- ->nowadays is non-intuitive.
I can probably supply whatever he needs. ** Phil.
------------------------------
Date: Mon, 13 Feb 1995 19:37:26 +0000
From: Philip Taylor (RHBNC) <CHAA006@vms.rhbnc.ac.uk>
Subject: RE: Commands for page selection in Ghostscript
- ->There is what appears to be some utility and batch files for running
- ->ghostscript with keystrokes for selection of pages, magnification,
- ->translations etc.
- ->These have been written by P.Pianowski and B.Jackowski and were
- ->presented at the 8th EuroTex Conference 1994.
- ->My problem is that I have tried to run ghostscript (MS-DOS) with these
- ->command
- ->procedures with no success. The "batch files" do not appear to be DOS.
- ->Does anyone have any more information on this stuff, or know how/where I
- ->can contact the authors of the work?
Neither Bogus/law (B.Jackowski) nor Piotr (P.Pianowski) have access to
e-mail; however, I have a copy of their code and it seems to work for
me. Can you tell me more of the nature of the problems you are
encountering?
** Phil.
------------------------------
Date: Mon, 13 Feb 1995 23:50:30 -0500
From: "Richard J. Kinch" <kinch@ios.com>
Subject: Re: DOS color dvi previewer
In article <16490.792353753@unicorn> ogam@ALPHALMA.CNRS-MRS.FR wrote:
: I am looking for a DOS/Windows dvi previewer that supports the
: color packages and the virtual fonts. I acquired a commercial version
: of Tex/Latex from PCTEX, after having read their publicity on the
: compatibility with Latex2e and packages. It is far from being compatible.
: So please if you have this information, We will appreciate.
TrueTeX supports both color text and virtual fonts.
Richard J. Kinch kinch@netcom.com
611 Mitchell Street Tel (607) 273-0222
Ithaca NY 14850 USA FAX (607) 273-0484
Publisher, TrueTeX (R) brand of software for typesetting
Info at FTP://ftp.netcom.com/pub/Tr/TrueTeX/truetex.txt
------------------------------
Date: Wed, 15 Feb 1995 09:07:36 +0000
From: Sebastian Rahtz <s.rahtz@ELSEVIER.CO.UK>
Subject: Re: DOS color dvi previewer and Commands for page selection in Ghostsc
ript
a) color previewers for DOS. there are no
previewers of which I am aware that implement
the full spec of the LaTeX2e colour package. I
suggest using a dvi to PostScript, and then
GhostScript. PCTeX#s dvi to PS is partially
compatible with the colour package, but doesnt
implement everything
b) psview. i use this GhostScript addon every
day. the batch files in the archive are for 4DOS,
since they emanate from the 4AllTeX people. I
suggest reading the file ps_view.ps for
instructions. I append a suitable DOS batch file
for those with ansi.sys loaded. the paths will
need editing
sebastian rahtz
- ------------------- PSVIEW.BAT follows --------------------
@echo off
rem {PAGE} p goto specified page
rem [pgup] goto next page
rem [pgdn] goto previous page
rem {MAG} m set magnification factor
rem g draw grid
rem {HORIZ} {VERT} v view magnified and shifted picture
rem {SHIFT} s set shift
rem [left] shift left
rem [right] shift right
rem [up] shift up
rem [down] shift down
rem q quit with saving the restart information
rem x exit
rem r rotate picture counterclockwise by abs(STEP)*90
rem hf flip picture horizontaly
rem vf flip picture verticaly
rem i view picture with initial parameter settings
rem w view whole picture
rem c redraw current picture
rem {INCR} * undo previous picture
rem {INCR} + redo undone picture
rem { ... } means optional parameter
echo [27;"q";13p
echo [0;72;"u";13p
echo [0;80;"d";13p
echo [0;77;"r";13p
echo [0;75;"l";13p
echo [0;73;"p";13p
echo [0;81;"n";13p
echo [43;"1.4 m";13;"v";13p
echo [45;"0.7 m";13;"v";13p
echo [114;"ro";13p
echo [105;"i";13p
echo [119;"w";13p
echo [99;"c";13p
echo [112;"pn";13;"v";13p
echo [103;"g";13p
echo [118;"v";13p
echo [115;"s";13p
echo [113;"q";13p
echo [120;"x";13p
l:\emtex\gs386 -Il:\emtex\gs -Il:\psfonts -q -sPAPERSIZE=a4 -dNOPAUSE ps_view.p
s ps_p.ps -c (%1) run > nul
echo [27;27p
echo [0;72;0;72p
echo [0;80;0;80p
echo [0;77;0;77p
echo [0;75;0;75p
echo [0;73;0;73p
echo [0;81;0;81p
echo [43;43p
echo [45;45p
echo [114;114p
echo [105;105p
echo [119;119p
echo [99;99p
echo [112;112p
echo [103;103p
echo [118;118p
echo [115;115p
echo [113;113p
echo [120;120p
------------------------------
Date: Wed, 15 Feb 1995 07:40:36 -0200
From: Hedison Kiuity Sato <sato@pppg.ufba.br>
Subject: Macros to upcase/lowercase words with dotless i.
I wonder to know a macro to upcase words with dotless i. By the way, this
necessity arose when I used the package portuges.sty in LaTeX2e.
Portuguese is a language that, frequently, uses the sequence \'\i{}. So,
for example with "book" style, the chapter title is automatically upcased
and put in the running head, but all sequences \'\i{} remain as they are,
instead of the correct \'I. The reason is that the TeX primitive
\uppercase don't do this job.
Thanks in advance.
Hedison Kiuity Sato - PPPG/UFBA Fone: 55(71) 237-0408
E-Mail: sato@pppg.ufba.br Fax: 247-3004
****************************************************************************
Universidade Federal da Bahia
Programa de Pesquisa e Pos-Graduacao em Geofisica
****************************************************************************
------------------------------
Date: Tue, 21 Feb 1995 16:00:20 +0000
From: yoshihiro.kawai@eng.ox.ac.uk (Yoshihiro Kawai)
Subject: Setting Japanese printer
I would like to let me know how to set up when I print out of emTex, English
letter Tex, results to Japanese printer, Cannon ink_jet handy printer.
Thank you very much in advance.
Sincerely yours,
Yoshihiro Kawai
Postgraduate Student
University of Oxford
------------------------------
Date: Mon, 27 Feb 1995 11:27:01 +0000
From: Robin Fairbairns <Robin.Fairbairns@cl.cam.ac.uk>
Subject: Paul Higgins: AMS-LaTeX on approximate PC
This message was sent to me as UK TUG membership enquiries bod:
- ------- Forwarded Message
Date: Mon, 27 Feb 1995 11:16:10 +0000 (GMT)
From: Paul Higgins NO PHONE NO SUPPLIED <higgins@maths.ox.ac.uk>
To: uktug-enquiries@tex.ac.uk
Dear Sir,
I want to install AMS-LaTex onto a pc with a Pentium chip. Is this
possible, and are the necessary programs available from the TeX archive?
If not, what is the best way for me to get a good version of TeX running?
yours faithfully,
Paul Higgins.
- ------- End of Forwarded Message
Robin Fairbairns; please answer to Higgins directly, not to me.
------------------------------
Date: Mon, 27 Feb 1995 07:44:16 -0800
From: Donald Arseneau <asnd@erich.triumf.ca>
Subject: Re: email/path/http macros
I had an idea for a good way to allow linebreaks in email addresses
and such: typeset in math mode and let punctuation characters be
relations and binary operators. This even gives good breakpoints
in "http://whatever" --> http: // whatever
I put together the macros, with no real documentation yet, but I would
like some opinions before finalizing them. Would anyone like to do
a test run? I have some specific questions:
- How is my default list of punctuation characters?
- Are there inappropriate breaks/non-breaks?
- Should I make it easy to define different macros with different
punctuation lists? (despite the added complexity)
- What should the main macro be called? I used "\email", but that
is probably in heavy use already.
- LaTex2e options or plain TeX compatibility?
So send me email, and I'll send you \email!
Donald Arseneau \email{asnd@reg.triumf.ca}
------------------------------
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 6]
****************************************
|