[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Request "cf"
From: |
Miklos Somogyi |
Subject: |
Re: [Groff] Request "cf" |
Date: |
Sat, 1 Mar 2008 16:14:14 +1100 |
Werner, I am glad to see the light at the end of the tunnel.
In one of my early posts regarding actions a) .. e) I said that
processing an eps image needed something
"pre", then the image, then something "post".
I reported the problem that with the current tools this required the
making of three different sections (\Y, \X, \Y)
and grops neatly encapsulated these sections with EBEGIN/EEND pairs.
This caused a problem of communications between the sections and
required redoing things in section 3 and, in
general, it looked rather messy.
You say that the solution is to use \X with hooks for before and after.
This is not "the" solution, this is "a" solution.
My suggestions (".cf-I-go-where-you-want-me-to-go or .trf-I-don't-cook-
the-books") too could work just as well.
Both ways there would be one section, one EBEGIN/EEND pair, no
communication problems, no duplications.
For me it does not matter which one. Perhaps I would miss a true "cp"
from groff that is after all a
programming-language-like creature.
For the time being I'll save and re-define EBEGIN/EEND in section 1,
and restore them in section 3.
It will look ughhhly but at least it will work.
Werner, I much appreciate that you are willing to deal with this
problem even though probably it does not strictly
fit into the guidelines for maintenance.
Thanks,
Miklos
On 01/03/2008, at 4:54 AM, Werner LEMBERG wrote:
After a lot of cutting it is now under 100k, I hope it will get
through.
Just curiosity. At nabble the three pdf attachments are of sizes 49,
14, 48k whilst at my end they are 40, 12, and 36.
That's under 100 in toto here and over 100 there.
I think I begin to understand. What you want has absolutely nothing
to do with .cf, I believe: If you say
\X'ps: file foo'
grops produces
BEGIN
<contents of foo>
END
However, you want to insert some stuff right after `BEGIN' and
directly before `END', right?
BEGIN
<hook before foo>
<contents of foo>
<hook after foo>
END
This could be implemented via \Y, using the yet-to-be-implemented
grops specials
ps: before-file
ps: after-file
Werner
- Re: [Groff] Request "cf",
Miklos Somogyi <=
- Re: [Groff] Request "cf", Werner LEMBERG, 2008/03/01
- Re: [Groff] Request "cf", Miklos Somogyi, 2008/03/01
- Re: [Groff] Request "cf", Werner LEMBERG, 2008/03/02
- Re: [Groff] Request "cf", Miklos Somogyi, 2008/03/12
- Re: [Groff] Request "cf", Werner LEMBERG, 2008/03/13
- Re: [Groff] Request "cf", Miklos Somogyi, 2008/03/14
- Re: [Groff] Request "cf", Werner LEMBERG, 2008/03/14
- Re: [Groff] Request "cf", Miklos Somogyi, 2008/03/15
- Re: [Groff] Request "cf", Werner LEMBERG, 2008/03/16
- Re: [Groff] Request "cf", Miklos Somogyi, 2008/03/16