[Top][All Lists]

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

Re: [Groff] The lowest level of my paragraph processing macros

From: Werner LEMBERG
Subject: Re: [Groff] The lowest level of my paragraph processing macros
Date: Sat, 12 May 2001 09:36:12 +0200 (CEST)

>   - groff isn't intended to keep in memory an unformatted paragraph.

It is.  There are two solutions:

o Use `.de'.  Note that it doesn't work recursively:

    .de Start
    .  de saved-paragraph Stop
    .de Stop
    . chop saved-paragraph

  Now you can say

    some text

      -> Test some text Test

o Use `.unformat' (new in groff 1.17).  Contrary to `.ascii', it only
  unformats horizontal space, i.e., horizontal spaces become
  stretchable again.  Examples are given in doc.mdoc.

> The piece of text can really be whatever you want (the single bug
> for the moment is for the \~ escape sequence).  The piece of text
> isn't read in copy mode.  Really, you shouldn't put something
> different that what you are used to.

Since you use the `.ascii' request, it will fail for everything which
can't converted back to the input level.  Even simplest things like
`\fBtest\fP' don't work, losing the font information.  `.ascii' is
quite useless since the introduction of `.unformat'.


reply via email to

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