Article View: comp.text
Article #2877Annoying ?roff-ism
From: Bob Donahue
Date: Wed, 23 Dec 1992 15:00
Date: Wed, 23 Dec 1992 15:00
32 lines
1503 bytes
1503 bytes
I hesitate to call this a bug, but it is a non-feature as far as I am concerned. IF anyone has a suggestion/fix for this, I'm all ears. I have set up several macros to keep track of figures, tables, etc. for my thesis, e.g.: .\" tX ----- TABLE CAPTION .de tX 'tm T|\\n%|\\n(cC.\\n+(tT|\\$1| .. which pumps out things to stderr, and lets me keep track of the the table/figure number, etc. auto-magically. Cool. However, I also keep my tables and figures in floating keeps. I realized yesterday that the \\%n register records the page groff was on when the keep is FIRST ENCOUNTERED, and not the page where the KEEP is finally executed! Therefore, any contents page I generate from this output is nearly always wrong (usually of by 1, sometimes 2 rarely is it correct). Since I can't think of any reason you'd care to know what page the text would ideally be on, this I suppose does constitute a problem for big documents. So, if anyone has an idea or can otherwise "correct" the macro above, I'd be grateful. BBC
Technical Details
Message-ID:
<1992Dec23.150031.5068@spdcc.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!olivea!mintaka.lcs.mit.edu!ai-lab!prep.ai.mit.edu!gnulistsShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!olivea!mintaka.lcs.mit.edu!ai-lab!prep.ai.mit.edu!gnulists From: rdonahue@spdcc.com (Bob Donahue) Newsgroups: comp.text,gnu.groff.bug Subject: Annoying ?roff-ism Message-ID: <1992Dec23.150031.5068@spdcc.com> Date: 23 Dec 92 15:00:31 GMT Followup-To: comp.text,gnu.groff.bug Organization: insert anything here Lines: 32 Approved: info-gnu@prep.ai.mit.edu Apparently-To: gnu-groff-bug@rutgers.edu