HDTenEightyP/NetNews huggingface dataset:
From: <barr@triples.Math.McGill.CA>
Newsgroups: comp.text.tex
Subject: Problems with false conditionals
Date: Mon, 25 Jan 93 19:54:11 EST
Organization: Info-Tex<==>Comp.Text.Tex Gateway
X-Gateway-Source-Info: Mailing List


The following four lines cause an error:
\iffalse
\newif\iftest
\fi
\bye

On the other hand, these four don't:
\iftrue
\newif\iftest
\fi
\bye

I am trying to do something with conditional compilation.  So I defined
a \newif that can be set true or false to determine which of two paths
to follow.  The problem is that the false path included the use of a
macro named \ifnnull (if non-null) that included an \if in its
definition and in use was to be complemented by a \fi.  Here is a
simplified version of what it all looked like:

\newif\ifTotOnly
\TotOnlytrue

\def\ifnnull#1{\def\next{#1}\ifx\next\empty\else}

\ifTotOnly
%%%% Next line cases trouble when \TotOnlyfalse:
\newif\ifnnull

%% stuff when \TotOnlytrue

\else


%% stuff when \TotOnlyfalse that uses \ifnnull ... \fi

\fi

%% rest of file

Now what happened was that when \TotOnlyfalse, then the TeX skipping
mechanism didn't recognize the pairing of \ifnnull with \fi.  So I put
in a useless \newif\ifnnull to fool the parser, but then, to my
surprise, I discovered that when \TotOnlytrue, I got this error message:
! Incomplete \iffalse; all text was ignored after line 43.
<inserted text>
                \fi
<to be read again>
                   \newif
l.44 \newif
           \ifnnull

It appears that you cannot put a \newif inside a false conditional, but
you can inside a true one.  Finally, I reduced the question to the
minimal files above.  I think the correct explanation is really the same
thing that led me to this kludge in the first place: the parser sees
\ifnnull as an \if, even when it is just being defined.  But it does not
see it as an \if when it is just a control sequence.

Michael Barr
From: rivers@lexmark.com (Martin G. Rivers)
Newsgroups: comp.text.tex
Subject: Conditional LaTeX macro
Date: 26 Jan 93 14:47:38 GMT
Article-I.D.: lexmark.1993Jan26.144738.100182
Distribution: comp.tex.tex
Organization: Lexington, KY
X-Disclaimer: These views are the poster's and not necessarily those of Lexmark


I'm trying to define a LaTeX macro (\newcommand) conditionally based
on the value of another macro and can't figure out how to do this.
What I'm wanting is for the user to be able to select the picture
format by setting a macro (\picturetype) to either "latex" or
"postscript".  Then, I will define a macro (\getpicture) based on the
value of this variable.  If I could write this in C it would look
something like:

if( strcmp( \picturetype, "postscript" ) == 0 )
    \newcommand{\getpicture}[1]{\center{\psfig{file=#1.ps}}}
else if( strcmp( \picturetype, "latex" ) == 0 )
    \newcommand{\getpicture}[1]{\center{\input{#1.latex}}}
else
    \typeout{Unknown picturetype \picturetype.  Valid ones are
"postscript" and "latex".}

The documents must be able to be 'latex'ed (not 'tex'ed).

I understand (pretty sure at least) latex doesn't have conditional
operators, all that's available are the one's in TeX.
I have tried to read Mr. Knuth's TeX book's section on \if but am as
confused as before I opened it.

Any help is definely appreciated.  Thanks in advance.  Please send
responses to:

rivers@lexmark.com

martin rivers
programmer
rivers@lexmark.com
(606) 232-1549
Newsgroups: comp.text.tex
From: hanche@ams.sunysb.edu (Harald Hanche-Olsen)
Subject: Re: Problems with false conditionals
Organization: University at Stony Brook, NY
Date: Wed, 27 Jan 1993 21:31:57 GMT

The question of how to write if tests so they nest properly is one
which leads people with short memories (like me) into trouble every
time.  So I thought about it for a while, and came up with the
following test building macro (for people who favour the \if\test style):

\def\maketest#1#{\m@ketest{#1}}
\def\m@ketest#1#2{\def#1{..\fi#2}}

For example, here is how you can use it to define a macro to test
whether a control sequence has a given expansion:

\maketest\expands #1->#2{{\def\temp{#2}\expandafter}\ifx#1\temp}

Example:  The following prints "Good." on the console.
\def\foo{bar} \if\expands \foo->{bar}\message{Good.}\fi

You can even put \global or \long in front of \maketest, and it will
do what is expected.  But if a \maketest invocation ever occurs in
text that might be skipped, you'll still have to, you'll still have to
put a \ifx\fi\relax\fi after it, because a \maketest usage by its
nature must always contain an unbalanced \ifsomething.
From: eijkhout@cupid.cs.utk.edu (Victor Eijkhout)
Newsgroups: comp.text.tex
Subject: Re: Which is better, OzTeX or Textures?
Date: 26 Jan 93 12:10:51
Organization: /pearl/homes/eijkhout/.organization
	<1993Jan26.015518.12345@maths.tcd.ie> <1k2an0INNkjj@pith.uoregon.edu>
NNTP-Posting-Host: cupid.cs.utk.edu
In-reply-to: scavo@cie.uoregon.edu's message of 26 Jan 93 03:21:04 GMT

In article <1k2an0INNkjj@pith.uoregon.edu> scavo@cie.uoregon.edu (Tom Scavo) writes:

   But my question is:  Does Textures have the memory constraints
   that OzTeX suffers from?

No. This is the major argument against OzTeX: I hardly know of any
TeX that doesn't come with a Big, ie >64K, version. Textures has
a larger memory than any other implementation, so with Mac virtual
memory it will gladly fill your whole hard drive if you have a page
that is 3 foot square of commutative diagrams :-)

   I'd give anything
   for a BIG OzTeX!

Anything? As in 'money'?
--
Victor Eijkhout ................................ `There are also a few bugs,
Department of Computer Science .......... though not as many as I've come to
University of Tennessee ............... expect in new [MS]Windows products.'
Knoxville TN 37919 ................................ (from a software review)
Newsgroups: comp.text.tex
Subject: Re: Bigtimes
From: jeremy@cs.aukuni.ac.nz (Jeremy Gibbons)
Date: Thu, 28 Jan 1993 01:59:51 GMT
Organization: Computer Science Dept. University of Auckland
Cc: jeremy@cs.aukuni.ac.nz

In <26JAN93.24005700.0158.MUSIC@MUSICA.MCGILL.CA> "Brendan S. Gillon" <CXBG@MUSICA.MCGILL.CA> writes:

>Richard Hayes                                      cxev@musica.mcgill.ca
>Religious Studies           McGill University           Montreal, Quebec
>--------------------------- Original Message ---------------------------
>I am trying to find a mathematical symbol which does not appear
>in the latex repertoire. The symbol used for the cartesian product
>is called times and is the x we are familiar with from arithmetic.
>I want the large version of that for generalized cartesian product.

The St Mary's Rd font contains a big cartesian product symbol.

Jeremy

---
Jeremy Gibbons <jeremy@cs.aukuni.ac.nz>         tel: +64 9 373 7599
   Department of Computer Science,              fax: +64 9 373 7453
   University of Auckland, Private Bag 92019, Auckland, New Zealand.

Newsgroups: comp.text.tex
From: hebert@lusignan.inra.fr (Yannick Hebert)
Subject: Bibliography
Reply-To: hebert@lusignan.inra.fr (Yannick Hebert)
Organization: Institut National de la Recherche Agronomique
Date: Wed, 27 Jan 93 14:05:10 GMT

   I would like to know weather it could be possible to build two separate
bibliographies within a unique document. Actually, I intend to make a
main reference list (in file main.bib) and a second one containing
miscellanous references (in file misc.bib). Obviously, I use:

     \bibliography(main,misc)

which works perfectly. My only problem is that a unique numbering of
the references cited is performed by TeX. Is it possible to arrange
the th
Newsgroups: comp.text.tex
From: rafia@ravel.udel.edu (Rafia N Bhore)
Subject: \LaTeX\ logo in \title
Organization: University of Delaware
Date: Fri, 22 Jan 1993 14:31:51 GMT

Hello netters,

I am having difficulty in getting the \LaTeX\ logo in the \title command
in my LaTeX document.

The commands that I am using are:   

\document[xypic,11pt,twocolumn] {article}

\begin{document}
\title{\bf Typesetting Diagrams with \protect\XY-pic\ in \LaTeX\ and \TeX\ }

 Lots of stuff here.

\end{document}

In this document, I am using the \XY-pic\ macro package developed by
Kristoffer H. Rose of the University of Copenhagen, Denmark.  However, I 
guess that, that shouldn't make a difference to the \LaTeX\ logo.

My difficulty here, is that all the letters in the title including the 
\TeX\ logo are in bold font, except for \LaTeX\.  I tried \protect -ing
\LaTeX\, but that didn't help, nor did removing the twocolumn option
in \documentstyle.

A few months ago, Anita Hoover from University of Delaware, U.S. had
posed a question in reference to creating a symbol in the \title command
that did not appear in bold font.  Later, she pointed that there was some
bug in lfonts.tex and had corrected the bug. 

Does my problem have anything to do with lfonts.tex?

Can anybody take a look at my problem?  Any help will be much appreciated.

Thanks

Rafia Bhore
University of Delaware.
From: wenk@convex.rz.uni-duesseldorf.de (H. Wenk)
Newsgroups: comp.text.tex
Subject: True HPLJ 4 DVI-Driver, it works !
Date: 24 Jan 1993 16:05:39 +0100
Organization: Heinrich-Heine-Universitaet Duesseldorf
Distribution: world
NNTP-Posting-Host: convex.rz.uni-duesseldorf.de
Keywords: dvi,HPLJ4,PCL5
From: dona@nwra.com (Don Altman)
Subject: Re: Introductory LaTeX notes: covering post
Keywords: latex, notesn
Organization: Northwest Research Associates, Inc.
Date: Thu, 28 Jan 1993 21:11:30 GMT

Add my thanks to the list.  A couple more typo's...

Greek letters .. 3.3.1   $\tai\epsilon\chi$ should be
$\tau\epsilon\chi$

Theorems... 3.6  \newtheorm{conjec} should be
\newtheorem{conjec}

In 3.7 you refer to the next chapter.  It's eagerly awaited.

Don Altman
-- 
Don Altman                                 Northwest Research Associates, Inc.
dona@nwra.com                              Bellevue, WA
(206) 453-8141                             (206) 646-9123 (FAX)
Newsgroups: comp.text.tex,uw.tex
From: gamiddle@math.uwaterloo.ca (Guy Middleton)
Subject: looking for Canon BJ-10 driver
Organization: University of Waterloo Software Liberation Army
Date: Mon, 25 Jan 1993 19:00:20 GMT


I am looking for a printer driver to print *.dvi files on my Cannon BJ-10
printer (the whole is on IBM compatible (386) system).

Thanks in advance.
From: kuku@acds.physik.rwth-aachen.de (Christoph Kukulies)
Newsgroups: comp.text.tex
Subject: gs problem
Date: Thu, 28 Jan 93 15:22:44 GMT
Organization: Info-Tex<==>Comp.Text.Tex Gateway
X-Gateway-Source-Info: Mailing List

Hi TeXers,
though this is not really a TeX problem I hope that someone here could give
me some help.

I'm using gs (2.5.2) with a hpljet3 driver built in. When printing
with the following script:

gs -sDEVICE=hpljet3 -q -sPAPERSIZE=a4 -dNOPAUSE -sOutputfile=\|lpr $*

through gs in quite modethe following unpleasant behaviour occurs:

o gs ends printing with a GS> or GS<1> prompt which makes queued printing
  impossible.

o the ljet IIIp printer is set into manual paper feed mode before each
  page. This is also not very neat when you have to print a 100 page
  document.

o when printing a file I sent through dvips before the lower edge
  of the page is chopped off. I thought giving PAPERSIZE=a4 would cure
  this but there is near to no change after giving this switch.

Does anyone have an idea how I can get these things corrected?

--Chris
Christoph Kukulies
I.Physikalisches Institut
RWTH-Aachen
Aachen Germany

kuku@acds.physik.rwth-aachen.de
From: npn@alice.att.com (Nils-Peter Nelson)
Newsgroups: comp.text
Subject: Re: pic question - what is line by?
Summary: you've got a rogue pic
Date: 27 Jan 93 19:51:43 GMT
Article-I.D.: alice.24724
Organization: AT&T Bell Laboratories, Murray Hill NJ



The one-and-only official DWB pic accepts line by A,B
just fine. It means "relative direction"; e.g.
	line by 1,1 by 1,-1
means "draw a line at 45 degrees from the current
position, then -45 degrees, each segment being the
default line length."
The documentation is exceedingly circumspect on the
semantics of "line by" so I will guess that you have
a reverse engineered version of pic (eg from groff)
and the person doing the reverse engineering couldn't
figure out what it meant.
My conclusion is that the more inscrutable our
documentation, the more difficult our code is to
clone. I'll try to keep that in mind.:-)
From: dberry@sei.cmu.edu (Daniel Berry)
Newsgroups: comp.text
Subject: RE: refer question
Date: 27 Jan 93 16:06:28 GMT
Article-I.D.: sei.1993Jan27.110628.21062
Reply-To: dberry@sei.cmu.edu (Daniel Berry)
Organization: Software Engineering Institute, Pittsburgh, PA

Weidong Wang writes:
(wwang@osf.org)

"Anyway: I have to use the numbering (superscript format) for 
references. And if there are several consecutive references, say 
3,4,5,6,7, I am required to do it as 3-7, instead of 3,4,5,6,7 which
is what refer gives me."

This is relatively easy if you remember who does what. refer finds the
citations in the data base and replaces them with the full information
or a number or key, as you specifiy in the command line

The macros deal with how the full information, number or key is displayed..

So I will assume that you have a macro package for refer that implements
superscripting of references and you have invoked refer to get numbers as
the reference to a bibligraphy accumulated at the end.

Suppose that the way you would get 

        [3,4,5,6,7]
blah blah

is to say

blah blah
.[
imprecise citation to reference 3
.]
.[
imprecise citation to reference 4
.]
.[
imprecise citation to reference 5
.]
.[
imprecise citation to reference 6
.]
.[
imprecise citation to reference 7
.]


OK what you do is change your input to..

.ig
.[
imprecise citation to reference 3
.]
.[
imprecise citation to reference 4
.]
.[
imprecise citation to reference 5
.]
.[
imprecise citation to reference 6
.]
.[
imprecise citation to reference 7
.]
..
blah blah
.nr XX 1
.[
imprecise citation to reference 3
.]
.nr XX 2
\(en
.[
imprecise citation to reference 7
.]
.nr XX 0

.ig causes troff to ignore the input up to the ..
this is done to allow input to a preprocessor that does not affect the
output from troff.
It is important that the .ig block come just before the blah blah
and its citations to establish the numbering of the references..
and to get the full information to be put in the bibligraphy at the end.
The repeated citations to reference 3 and 7 pick up the numbers already
assigned by the .ig block citations..

Now then you modify the macro package so that when the number register XX
is 1, the closeing bracket symbol is null, when the register XX is 2,
the open bracket symbol is null, and when the register XX is 0 the normal
situation: open bracket symbol means move up half a line and reduce point
size and close bracket symbol means move down a half a line and reduce point
size.

Since each macro package is different, all I can do is give the outlines of
what you're to do..

I have done all of the above except getting the endash inside the
superscript.. When I did it, the style of citation was in-line brackets
and I used the word "through" as in "See references [3] through [37]."

Dan
Dr. Daniel M. Berry, Software Engineering Institute, Carnegie Mellon Institute
Pittsburgh, PA 15213, +1-412-268-7778 dberry@sei.cmu.edu FAX:+1-412-268-5758
Prof. Daniel M. Berry, Computer Science Department, Technion, Haifa 32000
ISRAEL +972-4-294325, DBERRY@TECHSEL.bitnet dberry@cs.technion.ac.il
From: slzg4@cc.usu.edu
Newsgroups: comp.text
Subject: Help! convert a PostScript to ASCII.
Date: 23 Jan 93 20:59:10 MDT
Organization: Utah State University

I am looking for a way to convert a Postscript text file to the ASCII text
file. Could someone give me a direction?
Thank you.
S.Suwat

Xref: sparky comp.text:1624 news.answers:5454 comp.answers:16
From: p00103@mail.psi.net (John Morey)
Newsgroups: comp.text
Subject: Need a way to print documents in Waterloo Script format.
Date: 26 Jan 93 19:22:48 GMT
Organization: Hitachi Telecom
X-Mailer: PSILink (3.11)

I am looking for a way to print documents in Waterloo Script on Unix
workstations.  I was wondering if eithor Waterloo Script was ported to 
Unix or if there is another text processor that runs on Unix that it would
be easy to port the documents to.

Thanks for any help,

John Morey

P.S.  Sorry if this message showed up already but I have had some trouble
with the service that provides my news.
From: npn@alice.att.com (Nils-Peter Nelson)
Newsgroups: comp.text
Subject: Re: extended \*(xx sequence for .RS/.RF; is it possible?
Summary: sorry, two characters is the name limit
Date: 25 Jan 93 21:29:27 GMT
Article-I.D.: alice.24703
Organization: AT&T Bell Laboratories, Murray Hill NJ



Correspondent would like "long register names."
Sorry, but the "twoness" of troff is pervasive.
There are 96 printing characters (not all of which
can appear in string names; eg I would't try backslash)
and you can use one or two char names, so 96*96+96
appears to be the limit.
The way most people solve this is to append to
a diversinon with your own personal "magic cookie"
and then use a companion awk program.
For example: ***REF1 <contents of reference 1>
Of course, this means you need 2 passes, but you
always need two passes due to the potential for
forward referencing. You then insert your simple
awk program between the 2 passes.
From: senderow@diva.Berkeley.EDU (Dan Senderowicz)
Newsgroups: comp.text
Subject: converting different graphics format to grn?
Date: 23 Jan 1993 23:27:38 GMT
Organization: University of California, Berkeley
Distribution: world
NNTP-Posting-Host: diva.berkeley.edu

I was wondering if there are any packages available that would
take different format such as unixplot, pic, fig, etc. and
convert them to grn (gremlin). Thanks,

Dan
From: clewis@ferret.ocunix.on.ca (Chris Lewis)
Newsgroups: comp.text
Subject: Re: extended \*(xx sequence for .RS/.RF; is it possible?
Date: 24 Jan 93 16:10:48 GMT
Organization: Elegant Communications Inc., Ottawa, Canada

In article <1993Jan23.214359.29186@porthos.cc.bellcore.com> tony2@prefect.cc.bellcore.com (gozdz,antoni s) writes:
|I use extensively automatic reference processing
|in troff/Eroff. However, the standard implementation
|allows one to use only a two-character string to name the
|reference (I think that's the way troff was set up to
|recognize the \*( sequence, right?). 

|I'd like to use longer, more descriptive strings,
|e.g., \*(weber91a, whose length could be either
|constant (at least 6 characters) or length. 

|Another, related question: is there an internal limit
|in troff to the number of references a single document
|may have (like the number or registers etc.)?

Most versions of troff (probably including eroff) only support 2
character string names, so you're basically out of luck using the .RS/.RF
mechanism.

However, you can use "refer", which essentially bypasses all these
limits, and allows you to say something like [weber91] in your document.
"refer" is a standard part of DWB, don't know about eroff.  If you
don't have refer, you could probably pick up "grefer", which is
a part of groff.  While you need C++ to compile groff, you may be
able to obtain a pre-compiled binary of grefer for your system.
-- 
Chris Lewis; clewis@ferret.ocunix.on.ca; Phone: Canada 613 832-0541
Psroff 3.0 info: psroff-request@ferret.ocunix.on.ca
Ferret list: ferret-request@ferret.ocunix.on.ca
From: jonathan@gabriel.keele.ac.uk (Jonathan Knight)
Newsgroups: comp.text
Subject: Re: How to REMAP those ?!@#@#@ VI KEYS!!!
Date: 26 Jan 93 12:01:24 GMT
Organization: Keele University, England

kennehra@craft.camp.clarkson.edu (Rich"TheMan"Kennehan) writes:

>Hi!  I was wondering if its possible to remap the VI keys

Read up on the map and map! commands in the 'ex' manual.
From: npn@alice.att.com (Nils-Peter Nelson)
Newsgroups: comp.text
Subject: Re: using foreign languages in troff
Summary: Multibyte support for troff
Keywords: troff, multibyte character sets, font format
Date: 25 Jan 93 21:19:51 GMT
Article-I.D.: alice.24700
Organization: AT&T Bell Laboratories, Murray Hill NJ



There was an implementation by UNIX Pacific, but
just for one of the Japanese character sets.
It's based on our DWB, but uses as special variable-
byte encoding. It can be purchased from UNIX Pacific,
I believe:
USL Pacific - tel: 81-2-5484-8605
        fax: 81-2-5484-8606

Recent Research efforts in Bell Labs are based on UNICODE,
and we are currently considering whether to offer a
UNICODE version on DWB. This would cover Chinese, Korean,
and several hundred other languages, including many
Indian dialects.

The current DWB available from USL and NCR (3.2)
supports only Western European languages, as per
ISO 8859-1.
From: meb4593@galileo.rtn.ca.boeing.com (Michael Bain)
Newsgroups: comp.text.interleaf
Subject: EMACS keystrokes?
Date: 25 Jan 93 16:46:22 GMT
Organization: Boeing Commercial Airplane Group, Seattle


I've looked through the documentation, but I can't find a summary of the
emacs-type of keystrokes that is supported by Interleaf.  Would someone
point me to a source?

(I was pleasantly surprised at the number I have found so far ...)


-- 
Michael Bain                                            (206) 234-6942
Boeing Commercial Airplane Group           meb4593@icdfs.ca.boeing.com
Seattle, WA 98124
From: horen@netcom.com (Jonathan B. Horen -- [408] 736-3923)
Newsgroups: comp.text.interleaf
Subject: File Compatibility Across Platforms
Date: 26 Jan 93 14:26:06 GMT
Distribution: usa
Organization: NetCom -- OnLine Communication Services

Hi!  Our TechPubs group is currently using Interleaf 5 on (ugh!) the DOS
platform; however, we have just become part of Marketing, and discussion
has  been  opened about whether or not to move TechPubs to the Macintosh
platform (like Marketing, of course :-).

One  of the issues raised in Marketing was the one of file compatibility
from DOS to Mac; specifically, will our formatting remain intact if/when
moved across to the Mac?

In  addition  to  this,  are  there  any  other  issues  which should be
discussed and/or investigated with regard to moving from DOS to Mac?

Any  and all information will be *greatly* appreciated (including topics
such as whether or not to run under the X Window System  on  Mac,  which
Mac hardware to use, etc.)

Thanks in advance.


-- 
Jonathan B. Horen       | A man should not strive to eliminate his complexes,
SysAdmin/SrTechWriter   | but to get in accord with them; they are 
Tel: (408) 736-3923     | legitimately what directs his conduct in the world.
Email: horen@netcom.com |                     -- Sigmund Freud
From: julie@CIS.Prime.COM (Julie Barker)
Newsgroups: comp.text.interleaf
Subject: Re: Join two tables
Date: 25 Jan 93 13:47:34 GMT
Reply-To: julie@CIS.Prime.COM
Organization: Computervision R&D Ltd

------------------------- Original Article -------------------------
>It's easy to split a table in two, but how do I join two tables?


This is how I'd do it:

1. Cut or copy the second table (select all rows and cut/copy)
2. Position the component caret (horizontal line in component bar)
   directly underneath the last row of the first table.
3. Paste the 2nd table into the component bar.

This will only work if the two tables have the same number of columns...
.. tables package - doncha love it!


-------------------------------------------------------------------------
| Julie Barker                                    julie@cis.prime.com   | 
| Project Technical Writer                        +44 223 872377 x304   |
|                                                                       |
| Computervision R&D Ltd, Harston Mill, Harston, Cambridge, CB2 5NH, UK |
-------------------------------------------------------------------------
Newsgroups: comp.text.interleaf