Gents, before you take a dim view of the orgy of colours in this example, it is about manuals, not white
scientific papers. I can do these too (sorry, I could).And it is about to show as many aspect of it as poss, from which users may select two or three :-)
Werner, at the bottom of the third page there is 3-liner PS. Currently I read them in from a file into a macro somehow without interpretation and dump it in the ps auxiliary of .end_under1 routine where it is dumped. It works well, but I don't like the idea of hundreds of such little snippets lying around outside the groff program.
If I were to include such stuff (that includes references to just set number registers) then there are 2 questions:
a) How to get this ps code to the right place without pre-evaluated.b) At the top of page 2 are the .end_macro1 parameters. If possible, I would like to see .end_under1 clever enough to see that the 5th parameter is the name of a file to be read-in, or a macro/whatever that
only needs to be dumped. If too difficult, I can introduce a sixth parameter ... Miklos On 26/11/2008, at 09:02 AM, Werner LEMBERG wrote:
Is there a way to define a diversion that just works raw?If you define a macro, you get something unformatted.If the above is possible, then is it possible too that my macro seeing a parameter can decide that this must be a file name or the name of a macro (that contains my raw material)?Please provide a real-case example, this is, please show what you want to input and what you expect as output. This makes it much easier for me to think about a solution. Werner
tmp-std.pdf
Description: Adobe PDF document
