[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Request "cf"
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] Request "cf" |
Date: |
Sun, 17 Feb 2008 07:29:28 +0100 (CET) |
> The 1.19.2 edition of groff documentation presents the trf and cf
> requests for including files in diversions.
Yes, the wording is a bit unfortunate.
> The trf request works well, but it does some processing of its
> input. The cf request is supposed to do the same as trf except it
> would not process its input in any way. Unfortunately cf does not
> seem to do a thing.
It does:
file foo:
***A***
***B***
file foo.tr:
***1***
.di bar
***2***
.cf foo
***3***
.br
.di
***4***
.bar
***5***
now troff -Tascii foo.tr gives:
...
t***1***
n40 0
V160
H0
t***4***
n40 0
V200
H0
***A***
***B***
x font 1 R
f1
s10
V240
H0
t***2***
wh24
t***3***
n40 0
V320
H0
t***5***
...
Perhaps it's helpful to think that, within a diversion, each line of a
file inserted with .cf is handled as if it was preceded with `\!\\!'.
I'll add this to the documentation.
Werner
- [Groff] Request "cf", Miklos Somogyi, 2008/02/16
- Re: [Groff] Request "cf",
Werner LEMBERG <=
- Message not available
- Message not available
- Re: [Groff] Request "cf", Miklos Somogyi, 2008/02/18
- Re: [Groff] Request "cf", Werner LEMBERG, 2008/02/18
- Re: [Groff] Request "cf", Miklos Somogyi, 2008/02/18
- Re: [Groff] Request "cf", Werner LEMBERG, 2008/02/22
- Re: [Groff] Request "cf", Miklos Somogyi, 2008/02/22
- Re: [Groff] Request "cf", Werner LEMBERG, 2008/02/24
- Re: [Groff] Request "cf", Miklos Somogyi, 2008/02/27
- Re: [Groff] Request "cf", Werner LEMBERG, 2008/02/27
- Re: [Groff] Request "cf", Werner LEMBERG, 2008/02/29