home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / text / tex / 14690 < prev    next >
Encoding:
Text File  |  1993-01-06  |  2.4 KB  |  63 lines

  1. Newsgroups: comp.text.tex
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!caen!destroyer!wsu-cs!vela!jafortun
  3. From: jafortun@vela.acs.oakland.edu (James Fortune)
  4. Subject: More on altnline.sty LaTeX style file
  5. Message-ID: <1993Jan6.223235.3776@vela.acs.oakland.edu>
  6. Summary: Getting rid of \box255 error message
  7. Keywords: altnline.sty, output routine, line numbering
  8. Organization: Oakland University, Rochester, Michigan
  9. Date: Wed, 6 Jan 1993 22:32:35 GMT
  10. Lines: 51
  11.  
  12. Michal Jaegermann suggested the following way to get rid of the
  13. \box255 error message.  It seems to incorporate nicely Victor's suggestion.
  14. As for the problem with hanging indentation I am going to try
  15. using another method for indenting quotations for now since the
  16. indent at the beginning of paragraphs is preserved.  Again,
  17. once I get the results I want I would be delighted if someone more
  18. knowledgeable such as Michal or Victor would oversee the process
  19. of turning this output routine into something more generally useful.
  20.  
  21. >From NTOMCZAK@vm.ucs.UAlberta.CA Tue Jan  5 21:14:23 1993
  22. >Date:         Tue, 05 Jan 93 19:10:53 MST
  23. >From: Michal Jaegermann <NTOMCZAK@vm.ucs.UAlberta.CA>
  24. >Subject:      altnline and output
  25. >To: jafortun@vela.acs.oakland.edu
  26. >
  27. >Hi James,
  28. >I found that setting output routine for altnline.sty like this:
  29. >
  30. >\output={\ifnum\outputpenalty <-\@M
  31. >  \output={\LaTeX@output}
  32. >\else
  33. >  \lin@Count=\lin@sSoFar
  34. >  \setbox\brk=\vbox{\unvcopy\@cclv\count@lines}
  35. >           \global\setbox1=\vbox{}
  36. >           \lin@rem=\total@Rem
  37. >  \global\lin@sSoFar=\lin@Count
  38. >  \setbox\brk=\vbox{\unvcopy\@cclv\@duplicate}
  39. >  \ifdim\ht\brk>\z@\message{Incomplete breakup}\fi
  40. >  \ht1=\z@\dp1=\z@
  41. >  \global\setbox\@cclv=\vbox to\vsize{\unvbox1}% attempt to get glues back
  42. >  \@makecol\@opcol
  43. >\fi
  44. >\setbox\brk=\box\@cclv
  45. >\deadcycles=0
  46. >}
  47. >
  48. >shuts down these error messages about \box255.  I do not know what else
  49. >and if this is what I would not like to shut down. :-)
  50. >
  51. >I tried that trick before at the bottom of \else branch and it did
  52. >not work.  Once again - do not ask me what may go wrong.  I have not
  53. >a slightest clue.
  54. >
  55. >   Michal
  56.  
  57. JAF
  58. -- 
  59. James Fortune                  - Internet: Thousands of people mostly unaware
  60. Oakland University             - of the sight and sound of each other, linked
  61. jafortun@vela.acs.oakland.edu  - together by the bits of our souls that can
  62. Disclaimer: Not O.U. opinions  - fit through computer keyboards.
  63.