home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!news.service.uci.edu!unogate!mvb.saic.com!info-tex
- From: Roegel Denis <Denis.Roegel@loria.fr>
- Newsgroups: comp.text.tex
- Subject: HELP ! many marginal notes
- Message-ID: <9211212019.AA00347@berge.loria.fr>
- Date: Sat, 21 Nov 92 21:19:12 +0100
- Organization: Info-Tex<==>Comp.Text.Tex Gateway
- X-Gateway-Source-Info: Mailing List
- Lines: 80
-
-
- You may have seen this message already. However, I got no feedback from
- comp.text.tex, so I am posting it directly on Info-TeX. Here it goes.
-
- This is for LaTeX gurus:
-
-
- I already posted two messages related to my problem, but got no answer so far.
- So, let me state it more clearly:
-
- I have a text in which I want to put many notes. However, many of these notes
- have little importance for the most of the readers. So I don't want to make
- the text unreadable, in having many little signs in it. That is why I want to
- put the notes on a page per se, but put the calls in the margin of the point
- where they appear. This call is only a number. Furthermore, I am using the
- twocolumn style in LaTeX.
-
- So, to summarize, I wish to have such a kind of text:
-
-
- 57 bla bla bla bla bla bla bla bla
- bla bla bla bla bla bla bla bla 65
- bla bla bla bla bla bla bla bla
- 58 bla bla bla bla bla bla bla bla 66
- 59 bla bla bla bla bla bla bla bla
- bla bla bla bla bla bla bla bla
- 60 bla bla bla bla bla bla bla bla
- .. bla bla bla bla bla bla bla bla
- bla bla bla bla bla bla bla bla 67
- .. bla bla bla bla bla bla bla bla ..
- ............... ................
-
- To do this I wrote this little macro:
-
- \newwrite\typ
- \immediate\openout\typ=typonotes
-
- \newcount\@cmarg % counter for marginal notes
- \@cmarg0
-
- \def\typo#1{\advance\@cmarg1\if@firstcolumn\marginpar[\small\the\@cmarg]{}%
- \else\marginpar[]{\small\the\@cmarg}\fi\immediate\write\typ{#1}}
-
- When I run LaTeX on my file, I get errors stating "too many unprocessed floats".
- I went through latex.tex and noticed there is a rather limited (so to say)
- number of float registers. I then increased this number in that I added about
- 15 lines like
-
- \newinsert\bx@a
- \newinsert\bx@b ...
-
- at the beginning of my file. I also added the new registers in \@freelist.
-
- This didn't avoid the problem but seems to decrease it. I do now have only
- two such errors when I process my file (which is about 20 pages long, and
- has an average of 20 notes call per page, that is 10 per column; there
- are no figures).
- I then thought the problem maybe comes from too close floats, and put the
- parameters \@fpsep and \floatsep to zero.
-
- \@fpsep=0pt plus 2.0fil
- \floatsep=0pt plus 2.0fil
-
- This did not solve the problem.
-
- I suspect, the reason is maybe the fact that two calls happen sometimes on the
- same line. In order to handle this case, I would like to put something like
- 23-24 in the margin when calls for note 23 and note 24 happen in the same line.
-
-
- Another problem that occurs is that I get problems when the \typo macro is
- called in the first line of a column. I have even sometimes a blank line as
- first line.
-
- I would really appreciate if some LaTeX-guru could help me.
-
- Thanks in advance
-
- Denis (roegel@loria.fr)
-
-