TeXhax Digest Sunday, June 9, 1991 Volume 91 : Issue 025 Moderators: Tiina Modisett and Pierre MacKay %%% The TeXhax digest is brought to you as a service of the TeX Users Group %%% %%% in cooperation with the UnixTeX distribution service at the %%% %%% University of Washington %%% %%Moderator's note: Apologies for the delay. Computer trouble again. Today's Topics: Re: dvijep on sgi psfig and dvitps problem?? RE: Use of \footnotemark Horizontal footnotes Re: TeXhax Digest V91 #021 Memory size in TeX ------------------------------------------------------------------------------ Date: Sat, 11 May 91 02:15:14 EDT From: karron@karron.med.nyu.edu (Dan Karron (karron@nyu.edu)) Subject: Re: dvijep on sgi Keywords: dvijep, sgi Here is the solution to the problem. I had the exact same difficulty. The problem is actually that your lp script is clipping off the 8th bit when dvijep downloads the soft font to your printer. The solution is to use a raw stty for your printer. I append my lp interface script. Note that I run at 38400 baud. That blasts output to a serial-parallel buffer box. You will probably want to lower the baud rate to 9600. Be careful of handshake. I had to make a special cable, as the laser jet printers use DTR for character flow control that gets crossed to CTR for sgi. I found that narrow font items were corrupted, and the font looked generally sloppy with that 8th bit missing. This interface script is for use with a removable Pacafic Data post script cart that is so slow that I use it only for ps specials. %-----------------------lp interface for HP LaserJet 2 printer----------------- #!/bin/sh ESC="\033" CTL_D="\004" PS_TO_PCL="${ESC}&l5257.1058J" RESET="${ESC}E" FFCRLFSTRING="${ESC}&k2G" INITSTRING="${RESET}${FFCRLFSTRING}" # no init while ps is working! #INITSTRING="${RESET}${FFCRLFSTRING}" #INITSTRING="${PS_TO_PCL}" #INITSTRING="${RESET}${FFCRLFSTRING}" LANDSCAPE="${ESC}&l1O" HEADSTRING="${INITSTRING}" EXITSTRING="${INITSTRING}" BAUDRATE=38400 #BAUDRATE=19200 #BAUDRATE=9600 STTYPARAMS="raw cs8 -parenb" #BANNER=1 #TRAILER="$BANNER" printer=`basename $0` LOGFILE=/usr/spool/lp/log seqid=$1 name=$2 title="$3" copies=$4 options="$5" shift; shift; shift; shift; shift files="$*" # # Parse printer-specific options specified with lp(1) -o option # # # Initialize port parameters # stty $BAUDRATE $STTYPARAMS <&1 #cat < /dev/ttyf4 >> $LOGFILE & #CPID=$! echo >> $LOGFILE stty -a <&1 2>&1 >> $LOGFILE echo >> $LOGFILE echo "`date` PRINT started\n\ttitle=\"$title\" file=\"$files\" options=\"$optio ns\" " >> $LOGFILE set -- $options while test $# -ne 0 do case $1 in landscape|LANDSCAPE) echo $1 option selected >> $LOGFILE SYMBOL_SET="${ESC}""(0N" SPACING="${ESC}""(s1P" PITCH="${ESC}""(s16.6H" POINT="${ESC}""(s8.5V" STYLE="${ESC}""(s0S" STROKE="${ESC}""(s0B" TYPEFACE="${ESC}""(s0T" INITSTRING="${RESET}${FFCRLFSTRING}${LANDSCAPE}${SYMBOL_SET}${SPACING}${PITCH}$ {POINT}${STYLE}${STROKE}${TYPEFACE}" ;; envelope|ENVELOPE) echo $1 option selected >> $LOGFILE LETTER_ENV="${ESC}&l80A" TOP_MARGIN="${ESC}&l20E" PAGE_LENGTH="${ESC}&l100P" TEXT_LENGTH="${ESC}&l100F" LEFT_MARGIN="${ESC}&a25L" RIGHT_MARGIN="${ESC}&a100M" SYMBOL_SET="${ESC}(0U" SPACING="${ESC}(s1P" PITCH="${ESC}(s12H" POINT="${ESC}(s12V" STYLE="${ESC}(s0S" STROKE="${ESC}(s3B" TYPEFACE="${ESC}(s6T" INITSTRING="${RESET}${FFCRLFSTRING}${LANDSCAPE}${TOP_MARGIN}${TEXT_LENGTH}${LEF T_MARGIN}${RIGHT_MARGIN}${PAGE_LENGTH}" INITSTRING="${INITSTRING}${SYMBOL_SET}${SPACING}${PITCH}${POINT}${STYLE}${STROK E}${TYPEFACE}" ;; notrailer) echo $1 option selected >> $LOGFILE TRAILER=0 ;; trailer|TRAILER) echo $1 option selected >> $LOGFILE TRAILER=1 ;; banner|BANNER) echo $1 option selected >> $LOGFILE BANNER=1 ;; nobanner) echo $1 option selected >> $LOGFILE BANNER=0 ;; raw|RAW)echo "$1 option selected" >> $LOGFILE HEADSTRING="$HEADSTRING""$FFCRLFSTRING" INITSTRING="" STTYPARAMS="raw -icanon -opost -xcase -isig istrip -ixany -brkint cread cloc al cs8 -ixon" ;; ps|PS) echo $1 option selected >> $LOGFILE INITSTRING="" ;; tex|TEX) echo $1 option selected >> $LOGFILE ;; *) ;; esac shift done if [ "$BANNER" ] then x="=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-" X="$x\n$x\n$x\n$x\n\n" echo "$HEADSTRING""\c" echo $X banner "$name" echo "\n\n" user=`grep "^$name:" /etc/passwd | line | cut -d: -f5` if [ "$user" = "" ] then user=`(ypmatch $name passwd | line | cut -d: -f5) 2> /dev/null` fi if [ -n "$user" ] then echo "User: $user\n" else echo "\n" fi echo "Request id: $seqid Printer: `basename $0`\n" date echo "\n" echo $X if [ -z "$title" ] then title="STD_IN" fi echo "\n""$title""\n" banner `echo "$title" | cut -c1-10` echo "\n""$title""\n" echo $X echo "\014\c" else echo NO BANNER >> $LOGFILE fi if [ -z "$INITSTRING" ] then echo "NO INIT" >> $LOGFILE else #echo "${PS_TO_PCL}""\c" #sleep 3 echo INITSTRING=`echo $INITSTRING | od -c|cut -c8-` >> $LOGFILE echo "$INITSTRING""\c" fi i=1 while [ $i -le $copies ] do for file in $files do cat "$file" 2>&1 echo "\014\c" done i=`expr $i + 1` done if [ "$TRAILER" ] then echo "$HEADSTRING""\c" echo $X banner $name echo $X echo "\n""$title""\n" banner `echo "$title" | cut -c1-10` echo "\n""$title""\n" echo $X banner COMPLETED echo $X echo "\014\c" echo "$EXITSTRING""\c" fi echo "`date` PRINTING Completed" >> $LOGFILE #kill -9 $CPID exit 0 %----------------------------------------------------------------------------- >Date: 9 May 91 02:39:43 GMT >From: "T.C. Zhao" >I am having some trouble isolating problems with dvijep on an SGI. >Specifically, when 11pt fonts are used, the print out will miss i(Roman) >verywhere. I got dvijep compiled without any warning and 10pt document >seems ok. The 300dpi 11pt preview rules out problems with the font >itself. >I am really lost here. Any help will be greatly appreciated. >System: SGI 4D/210GTX running 3.3 with HP LaserJet series II. > >Thanks in advance. > | karron@nyu.edu (e-mail alias ) Dan Karron, Research Associate | | Phone: 212 263 5210 Fax: 212 263 7190 New York University Medical Center | | 560 First Avenue Digital Pager <1> (212) 397 9330 | | New York, New York 10016 <2> 10896 <3> | ------------------------------------------------------------------------------ Date: Fri, 10 May 91 08:37:53 CST From: coleman@di.uregina.ca (Dr. Coleman) Subject: psfig and dvitps problem?? Keywords: psfig, dvitps I have the TeXPS package installed on a sparcstation 1+ running SUN OS 4.1. The TeXPS package was obtained from the Washington Unix TeX distribution tape. The version of dvitps is 3.5. The problem is the following. If I take a ps file and just drop it onto pageview the image appears normally. If I use psfig to include the figure in a plain TeX document and use dvitps to generate a ps file which is then dropped onto pageview, the appropriate amount of space is left with text above and below, but the figure is placed above that space and is inverted. The top of the figure which is the bottom of the inverted figure is the right amount of space above the text at the top. It looks as if something has a minus sign in front of it. The files psfig.tex and psfig.pro are from the same distribution. Please reply directly. Robert Coleman Mathematics Department University of Regina ----------------------------------------------------------------------------- Date: Wed, 8 May 91 15:37 GMT From: Peter Flynn UCC Subject: RE: Use of \footnotemark Keywords: \footnotemark Further to my request for help with this, it turns out all you have to do is say \protect\footnotemark and it works fine inside the argument of \section. RTFM. ///Peter ------------------------------------------------------------------------------- Date: Tue, 7 May 91 14:11 GMT From: Peter Flynn UCC Subject: Horizontal footnotes Keywords: LaTeX, footnotes, horizontal I need to get footnotes spread horizontally across the bottom of the page because there are a lot of them and they're very short. I would prefer LaTeX because the user has a lot of sectioning, TOC etc. Is there a style file for this anywhere; if not, is it possible to do it. I would normally use EDMAC, but while that can spread footnotes, I would have to write all the sectioning etc by hand, which seems a bit of a waste of time. ///Peter ---------------------------------------------------------------------------- Date: Tue, 07 May 91 13:15:36 EDT From: mckeehan@math.utk.edu Subject: Re: TeXhax Digest V91 #021 Keywords: TeX, troff, conversion Is there a utility that can convert troff input to TeX input? or maybe troff output to TeX input? Anything would be greatly appreciated... \ / /\ /\ | // Only | \/\/illiam / \/ \cKeehan | \X/ Amiga!| Internet: mckeehan@math.utk.edu Bitnet: willie@utkvx BBS: Amiga Central (615) 984 - 1325 (Motor Mouse, sysop) Telephone: (615) 974 - 4258 Fax: (615) 974 - 6576 Mail: 863 Long Rd. Alcoa, TN 37701 ------------------------------------------------------------------------------ Date: Wed, 08 May 91 15:21:27 +1000 From: ajd@mullauna.cs.mu.OZ.AU Subject: Memory size in TeX Keywords: TeX, memory size, IRIX I have a question on changing the memory size of Tex/LaTeX. Our current system has only a 64K limit. Several people have had documents which cause this limit to be exceeded. Is there any way to change the memory size?? The system here runs under IRIX 3.3.2. The version of Tex we are using is : TeX, C Version 2.99 LaTeX Version 2.09 <24 May 1989> I don't have the source code here (I ftp'ed) the binaries from a local site. I don't know if the source code has to be hacked at in order to change the size, but I guess that's why I'm asking this question. IF I do need need the source, where could I find the latest version that will run under IRIX ??? P.S: I don't read news all that often, so a mailed reply would be much appreciated. Thanks, Ashley Dreier (ajd@cs.mu.oz.au). ----------------------------------------------------------------------- %%% Further information about the TeXhax Digest, the TeX %%% Users Group, and the latest software versions is available %%% in every tenth issue of the TeXhax Digest. %%% %%% Concerning subscriptions, address changes, unsubscribing: %%% %%% BITNET: send a one-line mail message to LISTSERV@xxx %%% SUBSCRIBE TEX-L % to subscribe %%% or UNSUBSCRIBE TEX-L %%% %%% Internet: send a similar one line mail message to %%% TeXhax-request@cs.washington.edu %%% JANET users may choose to use %%% texhax-request@uk.ac.nsf %%% All submissions to: TeXhax@cs.washington.edu %%% %%% Back issues available for FTPing as: %%% machine: directory: filename: %%% JUNE.CS.WASHINGTON.EDU TeXhax/TeXhaxyy.nnn %%% yy = last two digits of current year %%% nnn = issue number %%% %%%\bye %%% End of TeXhax Digest ************************** -------