bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @anchor


From: Stepan Kasal
Subject: Re: @anchor
Date: Fri, 23 Apr 2004 13:32:41 +0200
User-agent: Mutt/1.4.1i

Hello,

On Thu, Apr 15, 2004 at 09:23:43AM -0400, Karl Berry wrote:
>     running texi2dvi, have a certain tendency to get the page number one
>     less than it should be.

the problem is that the "invisible anchor object" is before the paragraph,
and page break occurs between them.  In fact, it's much more tied with the
previous paragraph then the next one.

So the immediate workaround is this:
if you want to refer to the beginning of a paragraph, place the @anchor after
the first word of the paragraph, so that it appears inside the first line
of formatted text.

Some TeXnical details for you, Karl:
we probably get this:

- last line of prev. par.
- write whatisit
- parskip glue
- first line of the new paragraph.

To get the write whatisit next to the new paragraph, we'd have to at least
\leaveverticalmode, by @noindent or @indent (@indent is not part of texinfo
language, I'm afraid).
I don't know what could possibly follow the @anchor in texinfo source, so I'm
afraid there is no better solution then to document the above workaround
in the texinfo manual.  Seems quite ugly, from user's point of view, though.

Life is difficult.

Stepan Kasal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]