diff options
author | wl <wl> | 2009-02-18 09:58:41 +0000 |
---|---|---|
committer | wl <wl> | 2009-02-18 09:58:41 +0000 |
commit | d4dbc429e98521f1182b84f8482657dfe7dd4049 (patch) | |
tree | c3a253cec00ae512540b82a0b7fa6d59f07e6205 /doc | |
parent | 71ea99d4c8b847766e48883219b38aa3bca74367 (diff) | |
download | groff-d4dbc429e98521f1182b84f8482657dfe7dd4049.tar.gz |
* doc/groff.texinfo: Improve documentation of `lsm' request.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/groff.texinfo | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/groff.texinfo b/doc/groff.texinfo index a6b26cc8..bc975184 100644 --- a/doc/groff.texinfo +++ b/doc/groff.texinfo @@ -12375,6 +12375,16 @@ register @code{lsn}; the horizontal space which would be emitted if there was no leading space macro is stored in register @code{lss}. Note that @code{lsn} and @code{lss} are available even if no leading space macro has been set. + +The first thing a leading space macro sees is a token. However, some +escapes like @code{\f} or @code{\m} are handled on the fly (see +@ref{Gtroff Internals}, for a complete list) without creating a token +at all. Consider that a line starts with two spaces followed by +@code{\fIfoo}. While skipping the spaces @code{\fI} is handled too so +that groff's current font is properly set to @samp{I}, but the leading +space macro only sees @code{foo}, without the preceding @code{\fI}. +If the macro should see the font escape you have to `protect' it with +something which creates a token, for example with @code{\&\fIfoo}. @endDefreq @c --------------------------------------------------------------------- |