Re: [Groff] grops error message

2010-01-18 Thread Chuck Robey
Miklos Somogyi wrote: > 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 "$D_grl" is odd, is there a D_grl in your environment somewhere? Or, is that line part

Re: [Groff] mmhtml.tmac with Werner's fixes

2010-01-18 Thread Chuck Robey
Larry Kollar wrote: > > Chuck Robey wrote: > >> Mike, I had a local computer emergency, had to rebuild a bunch of >> stuff (which I >> like doing anyhow) so I didn't get down to fixing this until today. I >> found >> that I only needed to replace

Re: [Groff] mmhtml.tmac with Werner's fixes

2010-01-11 Thread Chuck Robey
Mike Bishop wrote: > On Tue, Jan 05, 2010 at 02:38:55PM -0500, Chuck Robey wrote: >> This has the fixes suggested by Werner, mostly formatting changes (attached >> file). I'm hoping for someone with some old mm sources with lists in them to >> give it a try in -Thtml, s

Re: [Groff] mmhtml.tmac with Werner's fixes

2010-01-09 Thread Chuck Robey
Mike Bishop wrote: > Well, I tried with two documents, one a set of race rules, the other > minutes. Lists used were .VL, .BL, .AL and formatted correctly > except, in each case, for the first list entry. > > The first entry prints the list symbol (bullet, 1, var-text), followed > by a blank lin

[Groff] mmhtml.tmac with Werner's fixes

2010-01-05 Thread Chuck Robey
This requires the use of the www macros. .\" Author: Chuck Robey (chu...@telenix.org), January 2010. .\" Best to copy the groff@gnu.org list, it's a goldmine of help. .\" .\" Want to give the whole groff list credit, but especially Werner, .\" Gaius, and Larry, very

Re: [Groff] testing?

2010-01-05 Thread Chuck Robey
Werner LEMBERG wrote: >> Anyone willing to give my new mmhtml.tmac macros a test? > > I'm not of much help here since I don't use the mm stuff. However, > here some remarks regarding the coding style and other minor issues. OK, I'm going back and doing that now. Note that I personally disagree

[Groff] that last mmhtml.tmac I sent

2010-01-04 Thread Chuck Robey
t; Adapting the mm list macros for HTML output. .\" .\" Wrap EVERYTHING in a check for html. Everything below activates .\" ONLY if in html mode, where the regular mm list macros are heavily .\" modified for html output. This requires the use of the www macro

[Groff] Re: testing?

2010-01-04 Thread Chuck Robey
Chuck Robey wrote: > Anyone willing to give my new mmhtml.tmac macros a test? You have to kick > them > off with a line like: groff -mwww -m -mmhtml -Thtml sources > That'll get you html outputs. I worked on the lists only, because that was > what > was bugging me. >

[Groff] testing?

2010-01-04 Thread Chuck Robey
r html output. This requires the use of the www macros. .\" Author: Chuck Robey (chu...@telenix.org), January 2010. .\" Best to copy the groff@gnu.org list, it's a goldmine of help. .\" .\" Want to give the whole groff list credit, but especially Werner, .\" Gaius, a

[Groff] need html question for grohtml

2010-01-03 Thread Chuck Robey
I've been coding the VL macro's html equivalent (the DL node), trying to see if I can control the indents for that list. My embedding works fine, but the indents so far only work if I default them. In the html code, I've tried to add in STYLE notes in the node, but setting left-margin doesn't see

[Groff] html styles

2010-01-03 Thread Chuck Robey
I'm experimenting, trying to use STYLE attributes to allow for the various mm macro indents. They come in various units, but I note especially the "pt" which is defined as "points". Does anyone know how the html points relate to the various groff measurements (especially the groff points)? html

[Groff] mm*html status

2010-01-03 Thread Chuck Robey
Just FYI, I have the AL, BL, LI, and LE macros tested and working, still working on ML and VL. I've committed the *stupidest* mistakes!!

Re: [Groff] groff data structures

2009-12-31 Thread Chuck Robey
Werner LEMBERG wrote: >> I got a reply from Tadziu Hoffman who gave me an idea of making a >> real stack, > > As I mentioned in a previous mail, this works fine for arguments > without spaces only. Well, my requirements actually allow me to fit inside that limitation. > >> OK, off to your 2nd

[Groff] html-mm stuff

2009-12-30 Thread Chuck Robey
Peter Schaffter wrote: > On December 30, 2009 01:09:07 pm Chuck Robey wrote: >> In a language like groff, anything that works is beautiful. > > ROTFL > > Elegantly said, Chuck, and true. It ought to be the official motto > of the list. I've got a friend named Tom

[Groff] more data structures

2009-12-30 Thread Chuck Robey
I was looking over the web to see if I could find any notes on how the mm macros stack implementation (which confused me) worked, when I found the reference to the manpage groff-www. I hadn't realized it existed, and it showed me a lot of work by Larry Kollar about stacks, and his code made more s

Re: [Groff] groff data structures

2009-12-30 Thread Chuck Robey
Werner LEMBERG wrote: >> I need to have (for an html project of mine, which you all know >> about by now) a stack data structure. I know one *really* klugy way >> to do it, by having a number register which counts the depth of my >> stack, and then having a variable which is concatenated to form a

Re: [Groff] groff data structures

2009-12-29 Thread Chuck Robey
Tadziu Hoffmann wrote: >> I need to have [snip] a stack data structure. > > Here's a very rudimentary implementation using strings -- items > on the stack cannot contain spaces, and no error checking is > performed, but you get the idea. If necessary, the macros > can be generalized to accept the

[Groff] groff data structures

2009-12-29 Thread Chuck Robey
I need to have (for an html project of mine, which you all know about by now) a stack data structure. I know one *really* klugy way to do it, by having a number register which counts the depth of my stack, and then having a variable which is concatenated to form a name like "name0", "name1", etc,

Re: [Groff] grohtml

2009-12-29 Thread Chuck Robey
Larry Kollar wrote: > Chuck, did you see my response on 9 Dec? > http://lists.gnu.org/archive/html/groff/2009-12/msg8.html > > One way or another, you have to get an HTML list wrapper to appear in the > output, that should give you the break you need. No, I hadn't seen that, it occurred (ap

Re: [Groff] grohtml again

2009-12-29 Thread Chuck Robey
Meg McRoberts wrote: > I just checked and Amazon has 9 used copies available, two for > less that $10: > > http://www.amazon.com/gp/offer-listing/0810462915/ref=dp_olp_used?ie=UTF8&condition=used > > Six are available at half.com: > > http://product.half.ebay.com/Unix-Text-Processing_W0QQtgZinfo

Re: [Groff] grohtml again

2009-12-29 Thread Chuck Robey
Miklos Somogyi wrote: > > 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 ... I'm forever interested in new sources of roff info ... so could you please amplify on that reference? I mean, exact

Re: [Groff] grohtml again

2009-12-28 Thread Chuck Robey
Robert Thorsby wrote: > On 29/12/09 12:35:37, Chuck Robey wrote: >> You ever see the Sam's book on Unix system >> typesetting? I think I saw a pdf of it on >> the web a year or two ago, (I have TWO >> printed copies of it!), and you ought to >> consid

Re: [Groff] grohtml again

2009-12-28 Thread Chuck Robey
Robert Thorsby wrote: > On 29/12/09 12:01:07, Chuck Robey wrote: >> Look, I think I'm going to probably bore >> the list to death over the rather dense >> topic of the html macros, so unless I get >> some comments here and now, I'll take >> this

Re: [Groff] grohtml again

2009-12-28 Thread Chuck Robey
Keith Marshall wrote: > On Monday 28 December 2009 21:32:26 Chuck Robey wrote: >> I don't want to violate anyone's privacy, but would it be proper >> to ask the email address of the programmer who wrote the www.tmac >> code? > > Did you read the header in ww

[Groff] grohtml again

2009-12-28 Thread Chuck Robey
I don't want to violate anyone's privacy, but would it be proper to ask the email address of the programmer who wrote the www.tmac code? I have some questions (and not an avalanche of them) which I'm afraid no one else can answer. I've never been especially good at git (personal prejudice I have

Re: [Groff] grohtml

2009-12-27 Thread Chuck Robey
Mike Bianchi wrote: > Chuck, > > As a fellow lover of mm (since the mid-1970s) I will try to help. > Please send along: > example files that illustrate your issues, both sources and results > the simpler the examples, the better > > the command lines you use to create th

Re: [Groff] grohtml

2009-12-26 Thread Chuck Robey
Gaius Mulley wrote: > Chuck Robey writes: >> My problem is in trying to use mm macro's list macros, for html output only. >> I'm currently working around this by using chapters instead, but that's a >> very >> unsatisfactory solution. The problem is

[Groff] grohtml

2009-12-23 Thread Chuck Robey
I'm a very long-term user of groff (with the mm macros), I have a problem with my new attempts to get html output, and I'd appreciate either knowing if my problem has already been attended to, or if I need to try to do it myself, then maybe a pointer telling me where the files that are most likely

[Groff] gro html problem

2009-12-07 Thread Chuck Robey
I was told this is the best place to ask grohtml questions ... I'm having problems, The macro set I use is mm (please don't just tell me to use ms, I LIKE mm), but a fairly basic thing in there doesn't seem to be working: the use of the list macros, like the .AL/.LI/.LE things. What comes out see