[Groff] Automated Reference Numbering with Refer & MM

2006-01-07 Thread Damian McGuckin
I have never used refer to its fullest capabilities. Luckily I have only ever had only tens of references in my papers, I have just numbered them manually and used a '.RL' to print them. I need to do this properly now because I have to worry about 100+ references in the current report. If I u

Re: [Groff] Automated Reference Numbering with Refer & MM

2006-01-10 Thread Damian McGuckin
On Tue, 10 Jan 2006, Joerg van den Hoff wrote: > this is probably not helpful, but could'nt you just switch to MS (where the > necessary macros exit and auto-numbering is not a problem)? As far as I can tell, even the MS macros only autonumber in footnote style. They do not do automatic numberin

Re: Updating eqn

2023-12-07 Thread Damian McGuckin
On Thu, 7 Dec 2023, Carl Milsted wrote: Also, I'm contemplating making a version of eqn which supports far more symbols. I was figuring on just using the TeX names without the annoying backslashes and adding them to the list of pre-made macros. (Actually, I'd do a separate list in order to be

Re: big braces in eqn

2023-12-12 Thread Damian McGuckin
On Tue, 12 Dec 2023, Douglas McIlroy wrote: In this real life example, the bigger brace has a lot more freeboard* than the smaller one does. groff -ms < Hi Doug, I noticed that the freeboard is heavily influenced by the size of the "to" phrase on the top element of the pile and the "from" ph

Re: Is there a Groff showcase?

2023-12-14 Thread Damian McGuckin
On Thu, 14 Dec 2023, Larry McVoy wrote: Agreed, I plugged -ms because after trying other stuff, I came back to -ms. Haven't tried mom, I'm retired, but I hear good things. But your point that this is pure troff is spot on. No macro package required. There are times when I prefer to use othe

Re: Proper or correct way to display tables, figures, illustrations

2023-12-16 Thread Damian McGuckin
On Sat, 16 Dec 2023, Oliver Corff wrote: What is the canonical way to display a title/and or small caption (like "Table 1: Distribution of Events over Time")? .TB "Dictribution of Events over Time" See "man groff_mm" Regardss - Damian

Re: Proper or correct way to display tables, figures, illustrations

2023-12-16 Thread Damian McGuckin
On Sat, 16 Dec 2023, Oliver Corff wrote: wonderful! That does the trick. I had been digesting the mm manual page this afternoon, however .TB somehow managed to evade my attention. The .TC table of contents macro automatically summarizes them at the end of the document. - Damian

Re: Title woes with mm

2023-12-16 Thread Damian McGuckin
On Sun, 17 Dec 2023, Oliver Corff wrote: 2. Is there a realistic chance to add an authors' affiliation line somewhere, or should I include this information, as a work-around in abstract block? Some of us skip the cover sheet stuff and just spell it out. E.g. .\" kill Header on first pag

Re: Title woes with mm

2023-12-17 Thread Damian McGuckin
On Sun, 17 Dec 2023, Oliver Corff wrote: not long after yesterday's question I went to sleep. This morning I woke up thinking "why bother with the macros, just do the layout yourself", and in the meantime you had written. Your answer was exactly what I wanted to do. It gives you the flexibil

Re: [TUHS] Re: Original print of V7 manual? / My own version of troff

2024-01-09 Thread Damian McGuckin
On Wed, 10 Jan 2024, Tadziu Hoffmann wrote: A reasonable default would be: 1-4: R, I, B, BI(standard text fonts) 5: CW (computer/monospaced) 6-9: SS, S, ZD, ZDR (special) but this is simply convention, it is not hardcoded into groff (and can be modified by specifying a d

Re: thesis help

2024-03-02 Thread Damian McGuckin
Hi CM, On Sat, 2 Mar 2024, G. Branden Robinson wrote: Initially, I tried using an mm template for "external papers" from Gehani [0], p. 306. Here is a stripped-down version: I have used *roff with MM for 40+ years. I have not used cover sheet stuff 39+ years ago. I have used it for a thes

Rotated Table in the middle of text

2024-03-05 Thread Damian McGuckin
Hi all, The rotated table within a document is a commonly used paradigm within a document, i.e. an A4 landscape page within a document full of A4 portraint pages. What is the best way to achieve this? Does anybody have examples of how they achieve this? Thanks - Damian

Re: Changing header/footer font in mm

2024-04-18 Thread Damian McGuckin
On Thu, 18 Apr 2024, Thomas Dupond wrote: You can add .fp 1 HR after .fam H, it will do the trick. Although I have to admit I would have expected .fam H to be enough to also change header/footer font. Headers are, I think, processed is a different environment to main text. It needs somebody

Re: Changing header/footer font in mm

2024-04-18 Thread Damian McGuckin
The original MM was done by John Mashey and D.W. Smith from Bell Labs at Piscataway. They worked on the Programmers Workbench UNIX variant at Bell Labs. Doug can enlighten you on where that fells into the overall Bell Labs structure. - Damian

Re: More on writing academic papers

2024-05-21 Thread Damian McGuckin
Bento, On Tue, 21 May 2024, Bento Borges Schirmer wrote: I think I will stop reproducing templates for conferences for now. Wise move. I just tweak my standard template every time. different template, such as that of ACM! Mine is close to this. That's the entire idea after all, right!

Re: More on writing academic papers

2024-05-22 Thread Damian McGuckin
On Wed, 22 May 2024, Thomas Dupond via wrote: Also did an ersatz of this at my previous job to generate numbered invoices. The hardest part was finding the company logo in postscript format :D In a past life, some of us programmed in Postscript so that solved that problem. - Damian

Re: Putting a bunch of jpg files on an mm document - too slow

2024-06-02 Thread Damian McGuckin
On Sun, 2 Jun 2024, Blake McBride wrote: I have a bunch of jpg files I need to put into an mm file. The way I am doing it right now is: 1. convert jpg files to ps files using: convert pic.jpg pic.ps 2. Include the pics in the mm file using: .PSPIC pic.ps 4in 3. Run groff: groff -mm file.mm

Re: [PATCH] nextup.3: minor improvements

2024-08-08 Thread Damian McGuckin
On Fri, 9 Aug 2024, John Gardner wrote: So ideally, the fallback for "?0" should be "+0 or -0", which is much more readable and less ambiguous than "+-0" or "+/-0". For approximating ? in ASCII, is there some reason \z_+0 hasn't been considered? I had forgotten that approach. The problem o

Re: .CW usage by a new user

2024-09-05 Thread Damian McGuckin
On Thu, 5 Sep 2024, Tadziu Hoffmann wrote: .CW "this phrase is spicy with \[lq]Courier\[rq] powder" . Also, within a double-quoted request or macro argument, you can use a double double-quote to get a single double-quote in the argument: .CW "| ` ' \[aq] \[lq] \[rq] \[dq] "" |" but you'll o

Re: On computerese

2024-09-14 Thread Damian McGuckin
On Sun, 15 Sep 2024, hoh...@posteo.de wrote: 'catenate' is missing in Oxford learners and Oxford Compact Dictionary as well. It's objected by my mail client also. Seems to be American English. 'concatenate' seems to be a more common technical term. I learned it in study. Oxford mentioned it t

Richard Steven's Macros

2024-09-14 Thread Damian McGuckin
Can somebody point me at the macros to which people refer that Steven's used in his book please? Thanks - Damian

Re: Richard Steven's Macros

2024-09-15 Thread Damian McGuckin
On Sun, 15 Sep 2024, Meg McRoberts via wrote: Which book? _Advanced Programming in the UNIX Environment_ mentions a groff package written by James Clark.The _Network Programming Vol 1: Network APIs and Sockets" also mentions this package as well as some tools andscripts written by Dave Hanson

Re: Richard Steven's Macros

2024-09-15 Thread Damian McGuckin
On Sun, 15 Sep 2024, Meg McRoberts wrote: Rich's homepage is still available. Maybe it will give some clues? I see he references a document about the -ms macros. Any chance that is what you are seeking? I didn't know that he had defined special macros for the books but who knows? He did.

Re: Richard Steven's Macros

2024-09-15 Thread Damian McGuckin
On Sun, 15 Sep 2024, Meg McRoberts wrote: Whoops, forgot to include the link: Thanks. I had already gone fishing there. Thanks - Damian

[Groff] MM Macros

2015-06-29 Thread Damian McGuckin
Who is looking after these at the moment please? I note that if you try and use .DS 1 .EQ LABEL equation .EN .DE that EQ does not respect the right margin, or more correctly, distance from the left margin to the right margin which a "DS 1" has done. Basically EQ seems to think that it has the

Re: [Groff] comments

2015-06-30 Thread Damian McGuckin
Hi Carsten, To where should I send my examples. Is just an attachment OK. The TGZ file with raw text and postscript output is 30K. Also, my line 2086 in m.tmac says .ds@set-new-ev \\n[ds*old-ll] which is from contrib in 1.22.3. Looking at your diffs, it seems you have replaced thi

Re: [Groff] MM Macros

2015-06-30 Thread Damian McGuckin
With correct Subject this time Hi Carsten, To where should I send my examples. Is just an attachment OK. The TGZ file with raw text and postscript output is 30K. Also, my line 2086 in m.tmac says .ds@set-new-ev \\n[ds*old-ll] which is from contrib in 1.22.3. Looking at your

Re: [Groff] MM Macros

2015-07-01 Thread Damian McGuckin
OK. Have resubscribed so should be good from now on. Anyway, I said Also, my line 2086 in m.tmac says address@hidden \\n[ds*old-ll] which is from contrib in 1.22.3. Looking at your diffs, it seems you have replaced this with +.nr ds*div-ll \\n[ds*old-ll] +.if \\n[ds*forma

Re: [Groff] MM Macros

2015-07-01 Thread Damian McGuckin
On Wed, 1 Jul 2015, carsten.ku...@arcor.de wrote: No, please delete the line .ds@set-new-ev \\n[ds*old-ll] and insert .nr ds*div-ll \\n[ds*old-ll] .if \\n[ds*format]=1 .nr ds*div-ll -\\n(Sin .ds@set-new-ev \\n[ds*div-ll] I figured I had the lines around the wrong way. Yes. Did that. All g

Re: [Groff] Trouble switching to groff, macro gives syntax error...

2015-09-15 Thread Damian McGuckin
Hi Marisa, On Tue, 15 Sep 2015, Marisa Giancarla wrote: Im trying to convert my plain text documents to groff with -mm macro so that i can generate plain text and pdf formats automaticly. When processing it i get a syntax error. Here is the command I'm using: groff -p -t -mm -Tascii conimp

Re: [Groff] Trouble switching to groff, macro gives syntax error...

2015-09-15 Thread Damian McGuckin
On Tue, 15 Sep 2015, Marisa Giancarla wrote: Ok, trying that gave me an improvement but i still have these issues: There is several lines of whitespace and a page number. I want the first line of text to be on the first line of output and no page numbers. I have never used 'groff' for such

Re: [Groff] -mm formatting macros question

2015-09-27 Thread Damian McGuckin
Marisa, Because I always use command line arguments to do what PGFORM does, I have remained ignorant of PGFORM. So my comments might not be exactly what you need. If you disable your lines with PGFORM and PGNH, i.e. .\".PGFORM .\".PGNH and use .P or even

Re: [Groff] How to move page format definition to command line options

2015-10-01 Thread Damian McGuckin
On Thu, 1 Oct 2015, Dale Snell wrote: On Thu, 01 Oct 2015 00:12:32 -0700, in message dee5c46f-d4b7-4426-8068-571e2eb09...@me.com, Marisa Giancarla wrote: Right now i have the pages defined at the top of each with ".PGFORM 80 1000 0 1" but i would like to move this to the command line arguments

[Groff] Groff - weird error with line spacing

2015-10-05 Thread Damian McGuckin
Gurus, My document, file 'oops' attached, uses .S 12 24 to get double line spacing. The command groff -mm oops bombs when going to the second page. oops:48: fatal error: input stack limit exceeded (probable infinite loop) Changing the above to .S 12 18 avoids the

Re: [Groff] Groff - weird error with line spacing

2015-10-06 Thread Damian McGuckin
On Tue, 6 Oct 2015, Ralph Corderoy wrote: Hi Damian, The command groff -mm oops bombs when going to the second page. oops:48: fatal error: input stack limit exceeded (probable infinite loop) ... Any ideas of where the problem lies? What version of groff are you using? It works fin

Re: [Groff] Does groff match my needs?

2015-11-11 Thread Damian McGuckin
On Wed, 11 Nov 2015, Clarke Echols wrote: I started using troff in 1985. I've been using groff since 2009. Myself since 1978. There are others on this list which go back longer. I used troff to produce the HP-UX Reference (Unix man pages manual for HP for most of five years (3000 pages in 3

Re: [Groff] Does groff match my needs?

2015-11-11 Thread Damian McGuckin
On Wed, 11 Nov 2015, Peter Schaffter wrote: On Wed, Nov 11, 2015, carsten.ku...@arcor.de wrote: Consider that groff itself is somehow like plainTeX. You may need a macro package for creating documents. But traditional macro packages do (AFAIK) not provide TOC, index, cross references *compare

Re: [Groff] Does groff match my needs?

2015-11-11 Thread Damian McGuckin
On Wed, 11 Nov 2015, Peter Schaffter wrote: On Wed, Nov 11, 2015, carsten.ku...@arcor.de wrote: Consider that groff itself is somehow like plainTeX. You may need a macro package for creating documents. But traditional macro packages do (AFAIK) not provide TOC, index, cross references *compare

Re: [Groff] Does groff match my needs?

2015-11-11 Thread Damian McGuckin
On Thu, 12 Nov 2015, Jones, Larry wrote: In conjunction with .IX or similar facilities, you can use the makeindex program that is typically used for formatting TeX/LaTeX indexes, you just need a troff style file. That's how the index in the ISO C Standard (which is formatted with groff and MM)

Re: [Groff] bullets render as question marks

2015-11-30 Thread Damian McGuckin
On Mon, 30 Nov 2015, Ingo Schwarze wrote: on RHEL 6.7, 1.18.1.4; on RHEL 5.11, 1.18.1.1 Oh wow. Those are extremely old versions of groff. I haven't seen versions that old in production since 2009. As a user of RHEL, I found I had to update to avoid lots of problems. I am less than happy t

[Groff] Problem with MM spacing with macro immediately after a heading (H)

2015-12-23 Thread Damian McGuckin
Around August 2014, there was a discussion started by Blake McBride Problem with MM spacing I looks like Werner fixed something but I cannot exactly figure out what it was from that discussion. The problem I have could be related but it is subtly different. Let me know if I should r

Re: [Groff] Problem with MM spacing with macro immediately after a heading (H)

2015-12-23 Thread Damian McGuckin
On Wed, 23 Dec 2015, Carsten Kunze wrote: what do you mean here--Damian didn't use \#? The use of \# looks like a fudge to fix a problem. Which sounds like a recipe for disaster. Or are my ideas too rooted in the past? Comments (Doug)? Regards - Damian Pacific Engineering Systems Internat

Re: [Groff] Problem with MM spacing with macro immediately after a heading (H)

2015-12-23 Thread Damian McGuckin
On Wed, 23 Dec 2015, Carsten Kunze wrote: Damian McGuckin wrote: Or are my ideas too rooted in the past? Comments (Doug)? I think Doug is not to blame here :) I was not blaming Doug. Sorry Doug. I was after some words of wisdom or more precisely, insight, from somebody who had used such

Re: [Groff] Problem with MM spacing with macro immediately after a heading (H)

2015-12-23 Thread Damian McGuckin
On Wed, 23 Dec 2015, Mike Bianchi wrote: On Wed, Dec 23, 2015 at 04:44:40PM +0100, Carsten Kunze wrote: Hello Mike, what do you mean here--Damian didn't use \#? Carsten His example was .H 2 "A Heading" .TS .\" some table of something . .TE or .H 2 "

Re: [Groff] groff performance in respect to hardware platform

2016-03-20 Thread Damian McGuckin
On Sun, 20 Mar 2016, Steve Izma wrote: I'm wondering how CPU configurations affect groff processing speed. Groff consumes very little time, even when it is used to format a 200 page documents with tables, graphs, pictures, and so on. 30 years on a Motorola 68000, I sat and waited a minute or

Re: [Groff] groff performance in respect to hardware platform

2016-03-23 Thread Damian McGuckin
On Wed, 23 Mar 2016, Steve Izma wrote: I assume that another way of asking this: "is groff multithreaded?" I don't know enough about this kind of programming to answer this by looking at the source code. Not as far as I know. I'm only considering this in a Linux environment (Debian stable, fa

[Groff] Document Templates

2016-04-07 Thread Damian McGuckin
Does anybody have document templates, or even rigorous style guides, for things like a) proposals, b) reports, c) papers, I have some definitions which cover fonts, heading styles, footers and headers, hyphenation, justification and paragraphs. I then sometimes enhance that

Re: [Groff] Converting basic units to inches in PostScript

2016-08-03 Thread Damian McGuckin
On Wed, 3 Aug 2016, Larry Kollar wrote: Is there some reason you can?t use device-independent units like inches or ens? .in 1i \? One inch indent on all devices .in 6n \? Six ens, (1 en is roughly the current text size) Sadly, I was under the 35 year impression you could. But in my letterhea

[Groff] 'mm' Spacing Problem

2016-10-03 Thread Damian McGuckin
Hi All, I set the spacing to double spaced, i.e. instead of .S 12 14 I used .S 12 28 However, the text waffle, waffle, waffle .H 2 "Rubbish" More waffle comes out as waffle, waffle, waffle < this is wrong Rubbish (in bol

Re: [Groff] *roff for desktop publishing - is it feasible?

2016-10-23 Thread Damian McGuckin
On Sun, 23 Oct 2016, Gerard Lally wrote: Well the sample is meaningless; I searched for a "desktop publishing" image and chose that one at random as a reasonably complex example of what I had in mind. Good typography is one of the reasons I am hoping to standardize on *roff. It's going to be a l

Re: [Groff] *roff for desktop publishing - is it feasible?

2016-10-23 Thread Damian McGuckin
On Mon, 24 Oct 2016, Robert Thorsby wrote: Groff works very close to the metal so, in broad terms, it can do anything because you are not fettered by unavoidable "presets". In fact, although groff has many presets and default values that are designed to make life easier for the user, they can

Re: [Groff] *roff for desktop publishing - is it feasible?

2016-10-24 Thread Damian McGuckin
On Mon, 24 Oct 2016, Gerard Lally wrote: I anticipate *roff satisfying 95% of my needs Damian: articles, letters, reports, technical papers. It's great to hear from you people who have been using it "from the dawn of creation"! I think that is a compliment??? Regards - Damian Pacific Enginee

Re: [Groff] *roff for desktop publishing - is it feasible?

2016-10-25 Thread Damian McGuckin
On Tue, 25 Oct 2016, Steve Izma wrote: I think the whole point of typography is to make texts more readable than impressionist paintings. I like to read what I typeset, not just look at it. Yes. For books, reports, manuals, etc, the key feature is readability. For an advertisement, it is mor

Re: [Groff] Nesting font macros in man pages

2017-04-27 Thread Damian McGuckin
On Thu, 27 Apr 2017, James K. Lowden wrote: The troff system was designed to be typed at a keyboard. The dot-on-the-left rule might be ugly, and the requests/macros terse, but the benefit to the user is relatively few keystrokes above those needed for the text. A corollary of this is that i

[Groff] Refer with MM

2017-07-17 Thread Damian McGuckin
Hi, The last time I used refer with MM was over a decade ago so my brain might be playing tricks. There is a command used in macro .]- to explicitly clear the fields .rm [A [B [C [D [E [G [I [J [N [O [P [Q [R [S [T [V This means that the fields from one reference do not pollute the

[Groff] Hypenation of References generated by 'refer' with MM macros

2017-07-17 Thread Damian McGuckin
I noticed that in a document whose hypenation is nominally controlled by the MM-defined register Hy this value is ignored when processing references. Are references not counted as being part of the text-body? Or was this an oversight? Regards - Damian Pacific Engineering Systems Int

Re: [Groff] Refer with MM

2017-07-18 Thread Damian McGuckin
I needed more flexibility with references when using the MM macros. I needed to modify the heading display, the hyphenation/font/line-spacing during the display of the references, and so on. I have introduced the concept of 2 new macros, RZ and RH. The 'RH' is a newly defined macro which wi

Re: [groff] 04/04: tmac: Move macro diagnostics away from `quotes'.

2017-11-20 Thread Damian McGuckin
On Mon, 20 Nov 2017, G. Branden Robinson wrote: At 2017-11-20T11:35:13+, Ralph Corderoy wrote: Hi Branden, Are you familiar with the U.K. practice[3] that says an abbreviation doesn't get a period if the abbreviation ends with the final letter of the abbreviated word? Nothing has been b

Re: [groff] More on stripping

2018-03-11 Thread Damian McGuckin
On Sun, 11 Mar 2018, Doug McIlroy wrote: The variance in running times pretty well swamped the difference between -ms padded and unpadded. The difference was at most a few percent. I tried some hypothetic similar tests and got similar results. Even on a low power, slowish (firewall) CPU. Mind

Re: [groff] mark/lineup in eqn

2018-05-01 Thread Damian McGuckin
On Tue, 1 May 2018, Doug McIlroy wrote: Fellow groffers, what do you think of generalizing the application of "mark" and "lineup" in eqn to work in columns and piles as well as in equations. The typical use of mark and lineup is to align = signs in a sequence of equations. If the = signs signify

Re: [groff] mark/lineup in eqn

2018-05-01 Thread Damian McGuckin
Doug, On Tue, 1 May 2018, Doug McIlroy wrote: In fact the matrix trick is so painful that with tongue hardly in cheek I'd claim that for the present example raw troff would be simpler: \h'\w'longidentifier'u-\w'shortid'u'\c shortid = expression1 .br longidentifier = expression2 When I try (

Re: [groff] mark/lineup in eqn

2018-05-01 Thread Damian McGuckin
On Wed, 2 May 2018, Doug McIlroy wrote: I agree it lines things up right horizontally. What I complained about is that (at least in -ms) a separate EQ-EN pair for each line introduces extra vertical space, so the sequence does not look like a coherent whole. Is that because of the spacing insi

Re: [groff] Groff & tbl as a report generator

2018-07-24 Thread Damian McGuckin
I used *roff ages ago for creating invoices and accounting reports driven by a timesheeting/debtors system which was built over an SQL database. It worked really well. groff pulled in Postscript templates which contained logos and colored stuff for nice looking pages. Regards - Damian Pa

Re: [groff] man-page fixes

2018-11-23 Thread Damian McGuckin
On Fri, 23 Nov 2018, Larry Kollar wrote: Nowadays, minimalism is all the rage. Omit needless words, as Professor Strunk wrote in 1918. A (shortened?? 26-page) version of which is at https://faculty.washington.edu/heagerty/Courses/b572/public/StrunkWhite.pdf The 4th and latest editio

Re: [groff] Design and Implementation of *roff

2018-11-30 Thread Damian McGuckin
On Fri, 30 Nov 2018, Tadziu Hoffmann wrote: I'm in search of any documentation that provides insight into the design and implementation of a *roff. Not sure if this helps more than it confuses, but perhaps looking into the "amazingly workable formatter", an nroff-workalike written in awk, migh

Re: [groff] 04/05: {g, n}roff.1.man: Give assistance to pager users.

2019-07-02 Thread Damian McGuckin
On Wed, 3 Jul 2019, John Gardner wrote: *Some terminals, the Tek 401x series especially, could* *be configured to tell the host to stop sending text on* *a "page full" condition. Some sent the proper RS-232**hardware signals, some sent /.* Really? That's interesting. What did do? On the ter

Re: [groff] 04/05: {g, n}roff.1.man: Give assistance to pager users.

2019-07-02 Thread Damian McGuckin
On Wed, 3 Jul 2019, John Gardner wrote: There were 24 lines per page unless over-ridden on the command line. The tool was real unix tool, lean and mean with only a few arguments. It was far less functional than either 'more' or 'less' but it did let you

Re: [groff] 04/05: {g, n}roff.1.man: Give assistance to pager users.

2019-07-02 Thread Damian McGuckin
On Wed, 3 Jul 2019, John Gardner wrote: Surely 300 baud was a more refreshing[1] experience than an electromechanical teletypewriter, right? Never used one. I am NOT that old! Although I saw maybe 2 in my life. Regards - Damian Pacific Engineering Systems International, 277-279 Broadway, Gle

Re: [groff] 04/05: {g, n}roff.1.man: Give assistance to pager users.

2019-07-02 Thread Damian McGuckin
On Wed, 3 Jul 2019, John Gardner wrote: I've lost the link, but I remember somebody got hold of a hard-copy terminal somehow and used it to display his Twitter's newsfeed by threading output through a serial port hooked up to his Linux workstation. The output wasn't much to look at, but the effo

Re: [groff] mom date string

2019-07-08 Thread Damian McGuckin
On Tue, 9 Jul 2019, Ingo Schwarze wrote: Logically, inserting the date at compile time doesn't really make sense. You don't want the date of compiling there, you want the date the letter was written and originally sent. So there is really value in having the author enter the date manually.

Re: [groff] groff + PDF/A?

2019-08-13 Thread Damian McGuckin
On Wed, 14 Aug 2019, John Gardner wrote: Hi Paul, No, it doesn't. If PDF/A compliancy is a concern, you could try rendering to PostScript and using a program like GhostScript or Adobe Distiller to generate a PDF (which may or may not have an option to generate PDF/A-compliant documents). See

Re: [groff] Support groups

2019-08-16 Thread Damian McGuckin
On Fri, 16 Aug 2019, ansgoati al wrote: I need a table with a title in the center and then two numbered columns of mathematical equations. It might not be a table but I don't know how to make a list of several columns. My questions are: How to change row height of tables? How to move the equati

Re: Cannot find the module of “pfbtops"

2019-12-01 Thread Damian McGuckin
On Mon, 2 Dec 2019, wong kevin wrote: checking for pfbtops... no configure: error: Please install pfbtops from groff package at ftp://ftp.gnu.org/gnu/groff/ before installing. Isn't this is the 'psutils' package? Regards - Damian Pacific Engineering Systems International, 277-279 Broadway,

Re: eqn spacing issue

2019-12-14 Thread Damian McGuckin
On Sat, 14 Dec 2019, Chris Sadiq wrote: For some reason the spacing on one side of the relation is more than the other. Is there any way to fix this? I have tried looking for a solution and simply cannot find one. Thank you [image: Screenshot from 2019-12-14 18-10-11.png] I tried a single file

Space After A Heading with groff -mm

2019-12-21 Thread Damian McGuckin
When using the 'mm' macros, I try .H 1 "A Heading" .AL 1 .LI My List under 1.18.1.4, if gives me a single space between the space and the list. 1. A Heading My List This is the correct behaviour and has been since the days of DWB/MM. Some of u

RE: Space After A Heading with groff -mm

2019-12-21 Thread Damian McGuckin
On Sun, 22 Dec 2019, Jeff Conrad wrote: I ran into the same problem; it looks really, really bad. I reported it last year as bug #54909 (https://savannah.gnu.org/bugs/?54909); the problem arises from the code that generates HTML. I don't have a real fix, but have a hack to produce the long-st

RE: Space After A Heading with groff -mm

2019-12-22 Thread Damian McGuckin
On Sun, 22 Dec 2019, Damian McGuckin wrote: On Sun, 22 Dec 2019, Jeff Conrad wrote: I ran into the same problem; it looks really, really bad. I reported it last year as bug #54909 (https://savannah.gnu.org/bugs/?54909); the problem arises from the code that generates HTML. I don't h

Re: [groff] Re: Space After A Heading with groff -mm

2019-12-22 Thread Damian McGuckin
Hi Mike, On Sun, 22 Dec 2019, Mike Bianchi wrote: When using the 'mm' macros, I try ... Look at groff_mm(7) , for the documentation of the .H macro. The .H macro is highly customizable. In particular, the Hs register says: Tried that. Does not fix it. If I do .rm misc@tag

Re: GNUism in groff tests, was: pic anomalies

2020-01-03 Thread Damian McGuckin
On Fri, 3 Jan 2020, Larry McVoy wrote: yep, agreed. I'd throw in some stuff I did in http://little-lang.org which was really sort of a prototype for what I wanted C to evolve to. I was always sad that the development of C that became Alef never got off the ground. Regards - Damian Pacific

Re: Question about groff file

2020-03-31 Thread Damian McGuckin
On Wed, 1 Apr 2020, Gr?goire Babey wrote: I tried this with a simple file named aa, containing only two characters. "aa". If I type: groff aa I should find at some place a file named aa.ps. That is incorrect - 'groff' send its output to standard output. You need to type groff aa >

Re: [d...@cs.dartmouth.edu: Re: weird \s]

2020-04-04 Thread Damian McGuckin
On Sun, 5 Apr 2020, Robert Thorsby wrote: While the cognoscenti continue to debate how many angels can stand on the head of a pin I am prepared to regard Larry & Doug as definitive. I have been using *roff pre-ditroff so slightly longer than old Larry, but not as long as young Doug, and I con

Re: Learning troff - where to start?

2020-10-13 Thread Damian McGuckin
On Wed, 14 Oct 2020, Greg 'groggy' Lehey wrote: An excellent book, and one that I have used a lot. But nobody can claim that it's up-to-date (it predates groff), and there are many features in groff that weren't in the troff version described. Isn't it sad that nothing more modern is availab

Re: Learning troff - where to start?

2020-10-13 Thread Damian McGuckin
On Wed, 14 Oct 2020, Greg 'groggy' Lehey wrote: I do, notably the PostScript display requests. If you mean the \X'ps: file ' OK. Point taken although older troff could handle that also from memory. But it is so long ago, I cannot remember how. That was in the days when the Postsc

Re: Learning troff - where to start?

2020-10-13 Thread Damian McGuckin
On Wed, 14 Oct 2020, Greg 'groggy' Lehey wrote: On Wednesday, 14 October 2020 at 11:12:26 +1100, Damian McGuckin wrote: On Wed, 14 Oct 2020, Greg 'groggy' Lehey wrote: I do, notably the PostScript display requests. If you mean the \X'ps: file '

Re: Learning troff - where to start?

2020-10-13 Thread Damian McGuckin
On Tue, 13 Oct 2020, Peter Schaffter wrote: On Wed, Oct 14, 2020, Damian McGuckin wrote: How many people use features of 'groff' that are not in 'troff'? The mom macros rely heavily on extensions to groff that were implemented during Werner's term. Since many (mos

Re: Learning troff - where to start?

2020-10-13 Thread Damian McGuckin
On Wed, 14 Oct 2020, Damian McGuckin wrote: Would O'Reilly release the source code of the book so it could be updated? The UTP Revival Project recreated the source code because Tim and Sale were unable to locate a copy of the original source. It is located at:

Re: Learning troff - where to start?

2020-10-13 Thread Damian McGuckin
While we are on this topic, anyone know where there is a copy of Writers Workbench Thanks - Damian Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037 Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here Views & opinions here are mine an

Re: Learning troff - where to start?

2020-10-14 Thread Damian McGuckin
On Wed, 14 Oct 2020, Mike Bianchi wrote: Isn't it sad that nothing more modern is available? Since it is open source, it might make sense to have a team produce a groff version? I did follow up with that site. In case you missed it: http://home.windstream.net/kollar/utp/ And Deri

groff_mm : problems with .DS

2020-10-17 Thread Damian McGuckin
Hi, I went back to a very old document using troff and MM. It is a tutorial on using troff at the macro package level without needing to know much about the low level troff. I was contemplating updating it and putting it out there. I am trying to use a display with fill mode on, i.e.

Re: UTP Revisited: scoping the project

2020-10-19 Thread Damian McGuckin
On Tue, 20 Oct 2020, Larry Kollar wrote: To be honest, I can?t believe over a fourth of my life has gone by since we started the transcription. The scarier thought is when you realize that you wrote your first tutorial for using the antecedents of groff more than half your lifetime ago! - D

Re: groff_mm : problems with .DS

2020-10-23 Thread Damian McGuckin
On Fri, 23 Oct 2020, Anton Shepelev wrote: Does not the current behavior agree with the groff_mm manpage, which states for .DS that: `rindent shortens the line length by that amount. If you don't pass the `rindent' as the third parame- ter, you get the same line length, but indente

Re: groff_mm : problems with .DS

2020-10-23 Thread Damian McGuckin
Thanks for your advice. The bug is that while .DS 1 uses the standard indent, .DS 1 1 does NOT use the standard indent. However .DS 1 1 5 works (but the third argument is supposed to be option). So, yes, it is a bug! Regards - Damian Pacific Engineering Systems

Re: groff_mm : problems with .DS

2020-10-25 Thread Damian McGuckin
Hi Anton, If not, please retest with the latest version. 1. http://ftp.gnu.org/gnu/groff/groff-1.22.4.tar.gz I was using 1.22.3 which is reasonably up-to-date. I should have thought of that but it did not occur to me that something as fundamental as my own problem wou

Re: [DRAFT] Revised groff ms manual for review

2020-10-31 Thread Damian McGuckin
On Sun, 1 Nov 2020, Ingo Schwarze wrote: The ability to define macros to tackle the particular needs of an individual document is among the strengths of roff - and, as you recently documented, it has been since AT&T Version 3 UNIX in 1973. Well before my time! I'm regularly using a small num

Re: [DRAFT] Revised groff ms manual for review

2020-10-31 Thread Damian McGuckin
On Sun, 1 Nov 2020, Robert Thorsby wrote: The ease with which documents can be created in a layout that meets the author's (or publisher's) precise requirements is *roff's most important feature. Were Richard Steven's macros that he used with troff on his networking books ever published? J

Re: Changing section header autogenerated by 'refer'?

2020-11-11 Thread Damian McGuckin
On Wed, 11 Nov 2020, Dorai Sitaram via wrote: Is there a way to change the text used for the section header inserted by 'refer' before the accumulated references? By default, it is "References". Hopefully it isn't hardcoded. With '-mm', it is defined by the string \*(Rp I hacked t

Re: Changing section header autogenerated by 'refer'?

2020-11-12 Thread Damian McGuckin
On Thu, 12 Nov 2020, Dave Kemper wrote: On 11/11/20, Damian McGuckin wrote: That said, I think the whole 'refer' package and how it fits into the process of producing a document could do with some further explanation. There is some in the context of MoM but it needs to be generic.

Re: GNU eqn question/suggestion

2020-11-13 Thread Damian McGuckin
On Fri, 13 Nov 2020, Olle L?gdahl wrote: I solved it. Most of the characters are documented in 'man troff_char'; element of set is '\[mo]'. Would it still be logical to expand the synax for eqn to add it as a keyword? No. Do not over-complicate things. Keep it simple. Regards - Damian Pacif

Re: One groff file outputting multiple pdfs?

2020-11-19 Thread Damian McGuckin
On Thu, 19 Nov 2020, Richard Morse wrote: However, it sounds increasingly like this is not something that can be solved in groff, but rather I will have to explore modifying the rest of the process to handle this. That has been my experience when generating invoices with groff, although in m

Re: How to make groff use local timezone?

2020-12-14 Thread Damian McGuckin
On Mon, 14 Dec 2020, Colin Watson wrote: On Mon, Dec 14, 2020 at 02:12:28PM +1100, G. Branden Robinson wrote: At 2020-12-12T21:19:38-0800, Jim Avera wrote: I suspect groff is always in UTC (but haven't confirmed).   No, that is not true, at least not in groff as provided by GNU. A downstrea

  1   2   3   >