Re: [Groff] filled polygons in pic

2010-04-13 Thread Miklos Somogyi
Werner, What is your aim? Putting graphics into groff or putting graphics into pic? Miklos On 13/04/2010, at 05:03 PM, Werner LEMBERG wrote: The fundamental issue is the small repertoire of fillable, colourable or shadeable objects in pic -- basically box, circle, ellipse. Dough, if

Re: [Groff] A not strictly groff question

2010-01-29 Thread Miklos Somogyi
Tadziu, This works like charm, thank you very much. For the time being I take these two without trying to understand them, but eventually I'll have to learn more about vim. So far I only used the old vi subset, but vim seems to be so much more than that. There is a line after the Eatchar funct

Re: [Groff] A not strictly groff question

2010-01-29 Thread Miklos Somogyi
ote: > Am Thu, 28 Jan 2010 22:24:21 +1100 > schrieb Miklos Somogyi : > >> Hello Folks, >> >> This is not a groff question but I suspect that many of you have the >> expertise and experience to solve this riddle. >> >> I bought a diNovo Edge for Mac

[Groff] A not strictly groff question

2010-01-28 Thread Miklos Somogyi
Hello Folks, This is not a groff question but I suspect that many of you have the expertise and experience to solve this riddle. I bought a diNovo Edge for Mac, the best keyboard I have ever had. Except that the function keys can only be programmed with the actions that Logitech deemed worthwhi

Re: [Groff] gs and grops problems

2010-01-23 Thread Miklos Somogyi
Hi Werner, This was enough for me to check TMPDIR, and it was not copied over by the Migration Assistant. The rest was simple enough, and groff now works. Even eqn seems to be ok. Thanks to you and Ralph and Patrik and Joerg and Larry for your kind help. Miklos On 21/01/2010, at 00:06

[Groff] gs and grops problems

2010-01-20 Thread Miklos Somogyi
Hello Folks, As I upgraded to SnowLeopard I have two problems: - I can't build ghostcript, neither binary nor source installation, neither fink nor macport, nor downloading source and install. I wonder whether one of you installed ghostscript successfully under Snow. - it seems that grops th

[Groff] grops error message

2010-01-18 Thread Miklos Somogyi
Hello Folks, groff and grops are on the intel SnowLeopard machines. The following thing: groff -se -I $D_gr1 -P -Pprologue-1.19.2-ms < inputfile > outputfile that worked before, gives the following error message: grops::4:fatal error: cannot create temporary file: No such fi

Re: [Groff] groff on Intel platform

2010-01-15 Thread Miklos Somogyi
On 15/01/2010, at 09:21 PM, joerg van den hoff wrote: > On Thu, 14 Jan 2010 11:48:48 +0100, Miklos Somogyi > wrote: > >> >> On 14/01/2010, at 08:31 PM, Patrik Schindler wrote: >> >>> Hello Miklos, >>> >>> Am 14.01.2010 um 07:57 sch

Re: [Groff] groff on Intel platform

2010-01-14 Thread Miklos Somogyi
On 14/01/2010, at 08:31 PM, Patrik Schindler wrote: > Hello Miklos, > > Am 14.01.2010 um 07:57 schrieb Miklos Somogyi: > >> My questions are: 1) Is there an intel version of groff at all? > > > Groff has been with OS X at least since I use it (10.2) and it&#

[Groff] groff on Intel platform

2010-01-13 Thread Miklos Somogyi
Dear Folks, I upgraded my old PPC with a new iMac 'cause I need Snowleopard. However, I don't have working gs gv groff etc. anymore. They could have been on the computer in Intel forms, but I used the Migration Assistant to copy my things over, and PPC software may have overwritten the intel ver

Re: [Groff] grohtml again

2009-12-28 Thread Miklos Somogyi
My bible is a well-worn photocopy of "Using nroff & troff" from 1990. I wish that a pdf of it would float around somewhere to download and search ... Miklos On 29/12/2009, at 01:37 PM, Chuck Robey wrote: Robert Thorsby wrote: On 29/12/09 12:35:37, Chuck Robey wrote: You ever see the Sa

Re: [Groff] Filling the last line before new indent

2009-12-18 Thread Miklos Somogyi
Thanks Werner, This is a useful thing, I am sure I'll find some applications for it. I guess that the @ characters mark the begin/end of "anything", and that these markers could be any characters not in "anything". Miklos On 18/12/2009, at 04:38 PM, Werner LEMBERG wrote: I'd like to try

Re: [Groff] Filling the last line before new indent

2009-12-17 Thread Miklos Somogyi
Ted, I'd like to try to adapt this to my macro but I can not find the definition of Z anywhere. Not in man groff, not in man grops. What does it do? Miklos On 11/12/2009, at 06:54 AM, (Ted Harding) wrote: On 10-Dec-09 10:26:55, Miklos Somogyi wrote: Ted, The ".ie" is

[Groff] Filling the last line before new indent

2009-12-13 Thread Miklos Somogyi
Dear folks, I am very grateful for your suggestions that I could not answer so far. I am in-an'-out of hospital, with or without my computer. When I'll come out again, I'll go though all your suggestions and answer everybody properly. Thank you for your patience. Good luck with Xmas shopping,

Re: [Groff] Filling the last line before new indent

2009-12-10 Thread Miklos Somogyi
alling the picture drawing macro. Miklos On 10/12/2009, at 08:05 PM, (Ted Harding) wrote: On 10-Dec-09 08:21:52, Miklos Somogyi wrote: Once I solved this problem, but I can't recall it now. Any ideas please? It's not entirely clear what the problem exactly is, but I suspect that y

Re: [Groff] Side coments

2009-11-13 Thread Miklos Somogyi
Werner, Thank you for the mild rebuke, but info.groff is not exactly my friend. We are talking about a silly bug that could be fixed in a few minutes. Much more work is to document it, to circumvent it, writing e-mails back-n-forth about it. The idea that whilst I am working on something, I

Re: [Groff] Side coments

2009-11-13 Thread Miklos Somogyi
Tadziu, Thanks but a string defined by DS (where from?) is not accepted as a parameter to a macro. Miklos On 13/11/2009, at 02:12 AM, Tadziu Hoffmann wrote: and groff is misbehaving if \" starts with tabs and/or spaces. The only situation I can think of where comments can't have prec

Re: [Groff] Side coments

2009-11-13 Thread Miklos Somogyi
Thank you Werner, This is a rather inelegant solution but it works. Interesting thing: .so file\" \" does not work (utter chaos) .so file\" does not work .so file I'd like to add \" side comments, aligned to a few things, e.g. .so setup .ds HE "Somet

[Groff] Side coments

2009-11-12 Thread Miklos Somogyi
I'd like to add \" side comments, aligned to a few things, e.g. .so setup .ds HE "Something - " App 8 and groff is misbehaving if \" starts with tabs and/or spaces. There is an escape that can close such things immediately and let me use \" all aligned at the right. Just I c

Re: [Groff] Integer arithmetic

2009-10-19 Thread Miklos Somogyi
Thank you Denis, This has been a really useful suggestion. Miklos On 20/10/2009, at 03:18 AM, Denis M. Wilson wrote: As another retired gentleman, I have considered making contributions to groff; eg when it was orphaned I thought of offering to maintain TBL, which I use extensively (even for

Re: [Groff] Integer arithmetic

2009-10-17 Thread Miklos Somogyi
On 17/10/2009, at 07:02 PM, Werner LEMBERG wrote: I consider the groff mailing as a kind of archive which collects useful tips regarding the troff suite. Your tar bundle is part of that bundle. I appreciate that. But I don't think that it would inspire people to write directly to the archi

Re: [Groff] Integer arithmetic

2009-10-16 Thread Miklos Somogyi
On 16/10/2009, at 05:30 PM, Werner LEMBERG wrote: Nevertheless I spent a few weeks on this integration thing and produced a longish report on what can be done and how, and gave an example. Graphics, far more complex than what you can hope from pic, embedded in groff. I haven't got a single

Re: [Groff] Integer arithmetic

2009-10-15 Thread Miklos Somogyi
On 15/10/2009, at 11:50 PM, Tadziu Hoffmann wrote: : : And I believe the work everyone contributes to this list is well appreciated. This situation and attitudes towards groff is a lot more complex than this. In my professional life needed a lot of high level Math and graphics ga

[Groff] Integer arithmetic

2009-10-14 Thread Miklos Somogyi
Hello, in real world this is sooo easy: h = 105,5 mm w = h *0.36 In groff world 105.5 and 0.36 needs to come in centimeters, then some correction needs to be applied. Let's say that h is already done and contains roughly 300,000u. The 0.36 may come as some 10,000 for 0.36c and some 28,000 fo

[Groff] Passing a name and the value to a macro

2009-10-08 Thread Miklos Somogyi
Hello Folks, A macro that updates a number register needs the name of the register, its value and the increment. Is it possible to do this with only two parameters? I.e. to recover the name from the \n[reg] value or vice-versa? Miklos

Re: [Groff] EPS importing problem

2009-09-09 Thread Miklos Somogyi
On 10/09/2009, at 01:05 AM, (Ted Harding) wrote: Hi Folks, I'm encountering some problems importing an EPS file into a groff document. This is part of an attempt to resolve difficulties arising in the production of EPS graphics using the R statistical software package, in particular the use of

Re: [Groff] double acute

2009-01-26 Thread Miklos Somogyi
it first. Thanks, Miklos On 26/01/2009, at 00:50 AM, (Ted Harding) wrote: Hi Miklos, On 25-Jan-09 11:47:03, Miklos Somogyi wrote: Ted, thanks for the ideas. I've been using -me since time immemorial. We all have our favourite macro workhorse! (Mine, as you can guess, is -ms, but I have

[Groff] double acute

2009-01-24 Thread Miklos Somogyi
Hi folks, How would you produce o O u U with double acute signs on top? Miklos

[Groff] Debugging info

2009-01-19 Thread Miklos Somogyi
I'm sorry, I've asked a related question before, but still not ok about it. Request .pnr gives me the contents of number registers, a great help. Request .pm gives the lengths of all entries in the symbol table. Not much use to me. Would like to see strings, not their lengths, and macros/requ

[Groff] \m[]

2009-01-18 Thread Miklos Somogyi
It is working. If followed by text. If it is followed by some X creature, it does not turn back black (neither \m[black]). 1.19.2. Bug or feature? Miklos

Re: [Groff] Local/global/my/common

2009-01-04 Thread Miklos Somogyi
Yes. In the request index there are names and page numbers, e.g. `pnr ... 168' If one is looking for a function but does not know the request's name, it takes a long time to find what one wants. Try this, no, try that, no, try this, yeah. However, if there was some text between r

Re: [Groff] Local/global/my/common

2009-01-04 Thread Miklos Somogyi
Werner thank you, Just out of interest. As someone who hates typing a lot and loves silly 2 character names, I would write a Perl script to list and sort number registers in source files. Is there a utility that does that regarding groff and other compiled companions? Perhaps done using th

[Groff] Local/global/my/common

2009-01-03 Thread Miklos Somogyi
Happy New Year Folks, Programming languages are keen on formal mechanisms to make the scope of variables clear. If you write a subroutine in Fortran, everything is local, if you want global reach, you need to work on common. In Perl, everything is common, if you want local, you have to work o

Re: [Groff] Unformatted diversion?

2008-12-12 Thread Miklos Somogyi
Werner, Thank you for this little beauty. I've tried to understand it, but it obviously needs more knowledge than I have. Nevertheless I built it into my routines and lo and behold, nobody spoiled my registers. I had one little problem: .eo and .ec were copied into the PS file literally,

[Groff] Unformatted diversion?

2008-12-03 Thread Miklos Somogyi
macros Description: Binary data

Re: [Groff] Unformatted diversion?

2008-11-26 Thread Miklos Somogyi
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 t

Re: [Groff] Re: Groff] Unformatted diversion?

2008-11-26 Thread Miklos Somogyi
Denis, the problem is that my PS inserts contain references to number registers that my macro calculates. If I put such PS under a macro, then I find in the final PS program my PS insert with the registers already evaluated, using perhaps some old and inappropriate values. I've tried .de

[Groff] Unformatted diversion?

2008-11-24 Thread Miklos Somogyi
Hi, I need to write a manual for PS routines, so I invested time in groff macros with PS capabilities. One of them accepts the name of an external PS file that may contain images or anything one may want. It is working well, and when this external file is big, it better stays external. Howe

Re: [Groff] Groffing a Perl routine

2008-11-21 Thread Miklos Somogyi
Tadziu & Ted, thank you very much for the quick reply. First I tried Tadziu's suggestion with a simple file containing nothing but a short segment of a Perl routine. It worked beautifully. However, when I applied it with the same segment in context, it gave me warnings. Then I tried the sa

[Groff] Groffing a Perl routine

2008-11-21 Thread Miklos Somogyi
Hello all, Perl is full of things that groff doesn't like. How would you include a Perl routine in a groff document? Backslashing all the way until the text is absolutely unrecognizable, or would you tell groff somehow that plse, forget about special characters and leave this thing as it i

Re: [Groff] blm blues

2008-11-17 Thread Miklos Somogyi
Good God, I am so pleased with this outpouring of help. Tadziu, Larry, Ted, thank you very much. It was a nice learning exercise, and I love the simplicity of using a string. I would like to add only two things. In case of .../10u*4u like structures I'd like to add that with integer arith

Re: [Groff] blm blues

2008-11-13 Thread Miklos Somogyi
On 13/11/2008, at 07:46 AM, Miklos Somogyi wrote: That's a nice explanation, Werner. Thank you. About "again": it's good to see that some people have memories. I can't remember what was for dinner yesterday :-) Miklos On 11/11/2008, at 06:15 PM, Werner LEMBER

Re: [Groff] blm blues

2008-11-10 Thread Miklos Somogyi
Tadziu, You are one of the eights order of the ninefold celestial hierarchy. That is you are an archangel. Thank you! Miklos On 11/11/2008, at 06:46 AM, Tadziu Hoffmann wrote: .de blank_aux . sp (\\n[.v]u*\\n[blankreg]u/28340)u .. Your number "28340" does not have a unit and will t

[Groff] blm blues

2008-11-10 Thread Miklos Somogyi
I am trying to produce a macro for request blm that would set space as a given fraction of the current vertical spacing. I did the following: --- .de blank . nr blankreg (c;\\$1) this would accept things like ".

Re: [Groff] Line continuation

2008-10-27 Thread Miklos Somogyi
interesting to see how long it would take on a 2-Ghz machine. :-) I converted all in-line coding to macros; i.e., \fB became .B, etc. and I completely changed the typography conventions from AT&T to current industry practice, and got rid of font inconsistencies too. Powerful stuff... Clarke

Re: [Groff] Line continuation

2008-10-26 Thread Miklos Somogyi
Keith, Ralph & Werner, Thank you all for your suggestions. I think that the .nop thing is very ingenious but perhaps a preprocessor that needs to be done only once is the the better way to go. Folks, I've tried your sed things but either my sed does not work (like eqn) or some special ch

Re: [Groff] Line continuation

2008-10-26 Thread Miklos Somogyi
Hello Ralph, Since I need to do this thing far too many times, your idea of a preprocessor seems just great. I don't know about sed but wrote a few scripts in perl (or Perl?), so this would be an easy job. And it could be placed under the jurisdiction of my groff alias that does a couple

Re: [Groff] Line continuation

2008-10-26 Thread Miklos Somogyi
On 26/10/2008, at 06:50 PM, Keith Marshall wrote: On Sunday 26 October 2008 01:22:38 Miklos Somogyi wrote: I need to start the remainder at the beginning of the next line. That would make my groff source less readable: xxx xxx

Re: [Groff] Line continuation

2008-10-25 Thread Miklos Somogyi
On 26/10/2008, at 02:44 AM, Larry Kollar wrote: Miklos Somogyi wrote: When one needs to break a long line, the continuation needs to start at the beginning of the next line. This spoils the readability of the file. I would like to have something like this: xxx

[Groff] Line continuation

2008-10-25 Thread Miklos Somogyi
Hello, When one needs to break a long line, the continuation needs to start at the beginning of the next line. This spoils the readability of the file. I would like to have something like this: xxx \X ww where \X would cause groff to

Re: [Groff] eqn troubles

2008-09-29 Thread Miklos Somogyi
Dear Ralph, Werner, Clarke, Ted, Walter, Larry, Stefan, Robert, and Zvezdan! I am overwhelmed by your responses to this problem. To sum it up: 1) With Mac OS 10.5.5 Leopard came the groff suite of 1.19.2. It works ok except eqn that is not working at all. Not on Intel, not on IBM platf

Re: [Groff] eqn troubles

2008-09-29 Thread Miklos Somogyi
On 29/09/2008, at 11:06 PM, Werner LEMBERG wrote: 1) eqn filename -> syntax error "context is >>> x=y+z <<<", though it should work According to your mailing program you are using a Mac. Please look up this list for bad groff binaries on Macs (this has been discussed a few t

Re: [Groff] eqn troubles

2008-09-29 Thread Miklos Somogyi
On 29/09/2008, at 11:56 PM, Clarke Echols wrote: I wrote the following: start groff source file .ll 6.5i .pl 11i .sp |2.5i This is some text. .EQ x + y = z .EN This is another line of text. End of text. End of groff file I ran the command: eqn textfile.roff |groff >textfile.

Re: [Groff] eqn troubles

2008-09-29 Thread Miklos Somogyi
On 29/09/2008, at 11:06 PM, Ralph Corderoy wrote: Hi Miklos, (Please keep the list CC'd so it doesn't fall on only me to answer.) Sorry, after a very long lull I forgot this .. Did the two-line pipeline I provided work? No 1) eqn filename -> syntax error "context is >

Re: [Groff] eqn troubles

2008-09-29 Thread Miklos Somogyi
Ralph, 1) eqn filename -> syntax error "context is >>> x=y+z <<<", though it should work 2) grog filename -> groff -e filename groff -e filename -> syntax error 3) groff -e -ms filename -> syntax error (-ms is what you suggested) 4) alias gr "groff -set -I d

[Groff] eqn troubles

2008-09-29 Thread Miklos Somogyi
I worked with eqn quite a lot in troff days of past-not-so-perfect. It was rather easy to use. Now I try my luck with groff's eqn and can't get anything going. A simple groff program like this: .EQ x = y + z .EN .ex indicates a syntax error. No matter what is between .EQ and .EN, it is syn

Re: [Groff] Request "cf"

2008-03-16 Thread Miklos Somogyi
[.] Development is always a matter of time. As you can see, I'm the only one basically who does some coding. And sadly, I can't afford much time for groff these day. [] There is perfection in this world. I've perfectly forgot about this. I am sorry I was pestering you. My apologies.

Re: [Groff] Request "cf"

2008-03-15 Thread Miklos Somogyi
On 15/03/2008, at 03:06 AM, Werner LEMBERG wrote: If you could manage avoiding ‘cooking’ with a a ’one-part series’ (Schemes 3 and 4), that would be GREAT. Then I would not even mind if I could not understand its working :-) Hehe. This would need a new command in groff, and I'm not sure whe

Re: [Groff] Request "cf"

2008-03-14 Thread Miklos Somogyi
[.] If you could manage avoiding ‘cooking’ with a a ’one-part series’ (Schemes 3 and 4), that would be GREAT. Then I would not even mind if I could not understand its working :-) Hehe. This would need a new command in groff, and I'm not sure whether it's worth the trouble. [] T

Re: [Groff] Request "cf"

2008-03-12 Thread Miklos Somogyi
On 02/03/2008, at 09:28 PM, Werner LEMBERG wrote: You say that you've found a solution using `.trf' -- please post it here. I haven't, you did. You taught me about this in bits an' pieces a year or so ago: [...] Uuh, how embarassing :-) Doing some debugging, I've found out that .trf does t

Re: [Groff] Request "cf"

2008-03-01 Thread Miklos Somogyi
On 01/03/2008, at 6:32 PM, Werner LEMBERG wrote: 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 probably didn't understand the situation to comment on this then. You say that the solu

Re: [Groff] Request "cf"

2008-02-29 Thread Miklos Somogyi
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

Re: [Groff] colored background?

2008-02-23 Thread Miklos Somogyi
On 24/02/2008, at 5:52 AM, Clarke Echols wrote: Miklos Somogyi wrote: Yep, colour, just like anything else, can be abused. Also, colour can be elegant and its consistent and moderate use can help organize one's text very well. White only can be very boring, and by lack of its v

Re: [Groff] colored background?

2008-02-22 Thread Miklos Somogyi
On 23/02/2008, at 3:52 PM, Michael(tm) Smith wrote: Tadziu Hoffmann <[EMAIL PROTECTED]>, 2008-02-22 18:07 +0100: I ask because for program listings and other "verbatim" output, dblatex and the DocBook XSL stylesheets for FO output cause the output to be rendered with a light-gray background

Re: [Groff] Request "cf"

2008-02-22 Thread Miklos Somogyi
On 23/02/2008, at 4:28 AM, Werner LEMBERG wrote: Werner, I get all your e-mails in pairs (with the exact same date), a minute or so apart. Yes, one from the groff list, and one directly from me. My mailing program automatically removes such duplicates... Well, PS is not the only output d

Re: [Groff] Request "cf"

2008-02-18 Thread Miklos Somogyi
Werner, I get all your e-mails in pairs (with the exact same date), a minute or so apart. On 18/02/2008, at 7:33 PM, Werner LEMBERG wrote: Yes, .cf copies the external file (A and B) verbatim, but to the wrong place. Well, it works as documented... The documentation does not seem to sa

Re: [Groff] Request "cf"

2008-02-17 Thread Miklos Somogyi
On 18/02/2008, at 5:33 PM, Werner LEMBERG wrote: Yes, .cf copies the external file (A and B) verbatim, but to the wrong place. Well, it works as documented... The documentation does not seem to say that (unlike .trf's) .cf's output goes only to the intermediate file, not any further. I

[Groff] Request "cf"

2008-02-16 Thread Miklos Somogyi
The 1.19.2 edition of groff documentation presents the trf and cf requests for including files in diversions. 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. Unfortunate

Re: [Groff] Gettin' the latest

2007-06-11 Thread Miklos Somogyi
On 11/06/2007, at 7:36 PM, Ralph Corderoy wrote: Hi Miklos, I don't understand why you emailed us an iamge of a web browser instead of telling us the URL or pasting in the page's content? Because it saved you getting to the web page. Because it contained the URL in case you wanted t

Re: [Groff] Integral signs

2007-03-01 Thread Miklos Somogyi
spent quite a few hours to make these integrals so appealing. Thank you very-very much, Miklos On 28/02/2007, at 10:02 PM, Bob Diertens wrote: On Wed, Feb 28, 2007 at 01:42:38PM +1100, Miklos Somogyi wrote: Dear Folks, I need some integral signs with circles/ellipses around them (e.g. for co

Re: [Groff] Integral signs

2007-03-01 Thread Miklos Somogyi
, pic can still be rather useful. Thanks again, Miklos On 28/02/2007, at 7:06 PM, Joerg van den Hoff wrote: On Wed, Feb 28, 2007 at 01:42:38PM +1100, Miklos Somogyi wrote: Dear Folks, I need some integral signs with circles/ellipses around them (e.g. for control volumes). I've experim

[Groff] Integral signs

2007-02-27 Thread Miklos Somogyi
Dear Folks, I need some integral signs with circles/ellipses around them (e.g. for control volumes). I've experimented a lot but only got something that is just acceptable in print, but downright ughhly in Preview and Acrobat. How would you stretch the circle of the double- and triple integra

Re: Re: [Groff] ESR in manpages versus the WEB

2007-01-03 Thread Miklos Somogyi
On 03/01/2007, at 9:18 AM, Clarke Echols wrote: It is important to minimize clutter at the start of the page. and later on :-) the old AT&T page which combined them with a NAME line: cp, mv, ln \- copy, link, or move files Yeah, we had the same thing on our then top-of-the-world SGI syst

Re: [Groff] Unwanted margins in gpresent pdf

2006-12-17 Thread Miklos Somogyi
Tom, I've never used gpresent but I suspect that your .pdf file comes from a conversion from a .ps file. If so, the solution could be to define a cropbox somewhere in the .ps file, e.g. [/CropBox [80 50 520 800] /PAGES pdfmark that sets the cropbox for all pages for the .pdf file, or

[Groff] grops and formfeed

2006-12-07 Thread Miklos Somogyi
Hello Folks, Is there a way to tell grops not to look into side comments in the prologue and complain about "invalid input" if a formfeed is lurking there? Miklos ___ Groff mailing list Groff@gnu.org http://lists.gnu.org/mailman/listinfo/groff

Re: [Groff] Line-drawing escape

2006-11-29 Thread Miklos Somogyi
Ted, What a scholarly expose! This should be part of the manual. I've introduced .rchar and things are working nicely. Thank you very much, Miklos On 29/11/2006, at 9:40 PM, (Ted Harding) wrote: On 29-Nov-06 Miklos Somogyi wrote: Ted, Your solution and Tadziu's are rather s

Re: [Groff] Line-drawing escape

2006-11-28 Thread Miklos Somogyi
Tadziu, Thank you, it's working. Just one question: how do you switch-off `tr ~'? For me `tr ~~' does the job, but is `tr' smart enough not to look for `~' and replace it with `~'? Not a problemi if it is looking, I'm just curious. Thanks, Miklos On 29/11/2006, at 7:11 AM, Tadziu Hoffmann wr

Re: [Groff] Line-drawing escape

2006-11-28 Thread Miklos Somogyi
Clarke, Thank you, but I think that left- and right alignment works without referring to tabs in any way. The reason I am interested in this `line drawing' scheme is that, if it works, it can be used in many other cases as well. Thanks, Miklos On 29/11/2006, at 3:25 AM, Clarke Echols wrote:

[Groff] Line-drawing escape

2006-11-28 Thread Miklos Somogyi
Folks, I used this macro for inserting dots between left- and right aligned test, a la text1 . text2: .de iD \\$1 \\kx\\l'(\\n(.lu-\\nxu-\w'\\$2 'u).' \\$2 .. It worked in troff, it works in groff. I had an "insert space" version of this (replacing `.' with a space). It worked in t

Re: [Groff] Perspective in Pic

2006-10-23 Thread Miklos Somogyi
On 24/10/2006, at 8:46 AM, Werner LEMBERG wrote: PS. Fellas, I haven't received a single post from this forum for a very-very long time. How do you manage? Do you check the archives all the time or your ISP is not taking SpamCop so seriously as mine? Well, I get everything it seems.

[Groff] Perspective in Pic

2006-10-23 Thread Miklos Somogyi
Ted, If you want to do 3d in groff, I think that PS is better suited for this than Pic. Here you can define an object in its own co-ordinate system, introduce modelling transformations to help in putting together complex objects from simple elements, and viewing transformations to rotate the

Re: [Groff] Background Image

2006-09-16 Thread Miklos Somogyi
Hello! Is it possible to insert a graphic as the background for a page? Sort of similar to the `epsf' special escape in enscript. Even better would be a way to define a PostScript `form' to be inserted on each page of output. This could be useful for letterhead or emulating pre-printed forms.

Re: [Groff] List delivery disabled

2006-09-08 Thread Miklos Somogyi
Werner, thanks for the new bounce score. However, things will not improve much if we are regularly blacklisted. Miklos On 08/09/2006, at 4:31 PM, Werner LEMBERG wrote: I've found my list delivery disabled again at http://lists.gnu.org/mailman/options/groff It is due to excessive bounces (5

[Groff] List delivery disabled

2006-09-07 Thread Miklos Somogyi
Fellas, I've found my list delivery disabled again at http://lists.gnu.org/mailman/options/groff It is due to excessive bounces (5 rejects) and this happened to me many times before. At least now I know why it happens. My ISP is legally obliged to bounce messages from blacklisted sites. Thes

Re: [Groff] PostScript in groff

2006-09-02 Thread Miklos Somogyi
Werner, Thank you for your note. I already used the -P switch in the example, and now I changed the intro (page 2) to match this. Also, I deleted the `Draft` underlay so that you may decide to unleash this thing on the unsuspecting world :-) Please find the attachment, less than 40 kB. Mikl

Re: [Groff] A nut to crack

2006-08-06 Thread Miklos Somogyi
Finally I got a `problems' file. The suicidal trap seems to work like this: a) you append a `.rn wh_saved wh' to the macro to be sprung on reaching a certain height b) you rename the wh macro: `.rn wh wh_saved' c) you set-up the trap with wh_saved that will sprung a macro that does somethin

[Groff] PostScript in groff

2006-07-31 Thread Miklos Somogyi
ps-in-groff.tar.gz Description: GNU Zip compressed data ___ Groff mailing list Groff@gnu.org http://lists.gnu.org/mailman/listinfo/groff

Re: [Groff] A nut to crack

2006-07-27 Thread Miklos Somogyi
On 28/07/2006, at 4:25 PM, Miklos Somogyi wrote: Thousand apologies, Werner. I discovered .ptr I discovered a trap I discovered that there is perfection in this world: I perfectly forgot that I ever set one. Mea culpa, maxima culpa. 10 years ago this would not have happened ;-[ May I

Re: [Groff] PostScript in groff

2006-07-27 Thread Miklos Somogyi
Thanks Tadziu, it works. I'll make a note in the pdf attachment about this. Also, it seems, I'm getting list deliveries again. Hallelujah :-) Miklos On 28/07/2006, at 12:02 AM, Tadziu Hoffmann wrote: Unfortunately this one looks for `%!' and does not copy lines starting with these two cha

[Groff] Spam filtering?

2006-07-27 Thread Miklos Somogyi
Hello all, To add to my previous query: I found that my list delivery was disabled due to excessive bounces. Since I did not set up Safari to delete spam, I asked my ISP whether they bounced messages coming from you. This is their answer: Dear Miklos, Thank you for your e

[Groff] Spam filtering?

2006-07-26 Thread Miklos Somogyi
Ted, It seems that I can't communicate with the forum, at least in one direction. I suspect that once I marked a lot of messages from Harry/Molly,... on [EMAIL PROTECTED] as spam and finally Safari now blocks everybody, including Werner, on this address. Just to check whether the other dire

[Groff] A nut to crack

2006-07-26 Thread Miklos Somogyi
Gents, A little problem makes my hair white, because I can not reproduce it in any other context. . ps 10 . vs .5c .de pB \" bulleted text . ne 1 . in \\$1n . ps -1 \\(bu . ne 0 . in +2n . ps . sp -1 .. Text above bulleted stuff . sp .2

[Groff] PostScript in groff

2006-07-26 Thread Miklos Somogyi
In my previous post re this subject I wrote that the \X'ps: file ...' scheme uploaded the named PS file into the final PS form of the document verbatim. Unfortunately this is not true. I stated this because I was only looking at passing parameters, contents of number registers and strings to

Re: [Groff] Diversion of formatted text

2006-04-27 Thread Miklos Somogyi
On 26/04/2006, at 4:33 PM, Werner LEMBERG wrote: By the way, since you have installed the .device and .devicem things, how can one get to use them? `.devicem' is exactly the same as \Y, but `.device' reads its arguments in `copy mode' (which \X doesn't; in most cases this doesn't make any dif

Re: [Groff] PDF printing coming

2006-04-21 Thread Miklos Somogyi
On 21/04/2006, at 7:34 PM, (Ted Harding) wrote: On 21-Apr-06 Michail Vidiassov wrote: though Linux will maintain PostScript support for a long time to ensure backward compatibility. I sincerely hope so. . all agreed that PDF will give them more power, more reliability, and more

[Groff] Diversion of formatted text

2006-04-15 Thread Miklos Somogyi
Hello all, I try to use a diversion to determine the height of a block of text, so that I can paint something underneath this block in PostScript. The following simplified example works nicely if no-fill is turned on. However, there are problems in fill mode. Spaces inserted in the text disappea

[Groff] Diversion of formatted text

2006-04-15 Thread Miklos Somogyi
Hello all, I try to use a diversion to determine the height of a block of text, so that I can paint something underneath this block in PostScript. The following simplified example works nicely if no-fill is turned on. However, there are problems in fill mode. Spaces inserted in the text disappe

Re: [Groff] gtroff & soelim don't recognize ~ in paths

2006-04-11 Thread Miklos Somogyi
I couldn't agree more. In many decades of programming engineering things I never lost sleep about IEEE compliance. And I don't intend to do CFD in groff, I just don't want to be distracted by the workarounds of doing floats with integers. Perl has no integer arithmetic at all. I may sound scary

Re: [Groff] gtroff & soelim don't recognize ~ in paths

2006-04-09 Thread Miklos Somogyi
Ditto. Environment variables too. Everything valid to the shell, should be valid to groff. Why? User convenience. Shouldn't this be consideration No 1? Slight problems: which shell, what OS? Again it raises the question: who is (or whom gnu.org targets as) a customer? From my admittedly self

Re: [Groff] Inserting/importing jpeg photos into groff text?

2006-03-27 Thread Miklos Somogyi
On 28/03/2006, at 6:06 AM, Clarke Echols wrote: I need to place a jpeg photo inside a groff document. I am running cygwin on Windows 98, and there is no indication that the convert utility is available in the Cygwin packages; at least none that I can find... Hence, no jpeg2ps is accessible,

  1   2   >