Re: ATTN groff Savannah administrators: category request

2020-07-24 Thread G. Branden Robinson
At 2020-07-25T08:48:42+0200, Werner LEMBERG wrote: > > I'm either looking in the wrong place or we've found the source of > > the trouble. I get no "Select Fields" item. Attaching screenshot. > > Your administrator bit was missing. Please try again. Confirmed. Menu items are sprouting like mu

Re: ATTN groff Savannah administrators: category request

2020-07-24 Thread Werner LEMBERG
> I'm either looking in the wrong place or we've found the source of the > trouble. I get no "Select Fields" item. Attaching screenshot. Your administrator bit was missing. Please try again. Werner

Re: ATTN groff Savannah administrators: category request

2020-07-24 Thread G. Branden Robinson
Hi Werner! At 2020-07-25T07:10:11+0200, Werner LEMBERG wrote: > > > Sorry for the somewhat loud subject line, but we don't often see > > Werner or Bertrand on this list anymore and to my recollection, I've > > never seen Vaibhaw[1]. > > I still read the list. Excellent! Good to hear from you.

Re: ATTN groff Savannah administrators: category request

2020-07-24 Thread Werner LEMBERG
> Sorry for the somewhat loud subject line, but we don't often see > Werner or Bertrand on this list anymore and to my recollection, I've > never seen Vaibhaw[1]. I still read the list. > Can we have a Savannah bug category for "Macro - me", please? Added. > I'd do it myself, but even as a "ma

Re: how far can i go with grotty?

2020-07-24 Thread John Gardner
> > also: i need "sed '/^$/q'" at the end of my filter because groff > renders a lot of empty lines at the end of the output whenever i > use b in my tbl format. i don't know how to remove it. sed -e :a -e '/^\n*$/{$d;N;};/\n$/ba' On Sat, 25 Jul 2020 at 04:28, Tadziu Hoffmann wrote: > > > als

\: re-enables hyphenation--should it?

2020-07-24 Thread G. Branden Robinson
It seems that \: does more than I expected, and I'm wondering if that's my fault or groff's fault. Consider the following: .pl 1v .ll 1u .hy 4 http://metathesis.com/foobar.html .sp 1v \%http://metathesis.com/foobar.html .sp 1v \%http

ATTN groff Savannah administrators: category request

2020-07-24 Thread G. Branden Robinson
Sorry for the somewhat loud subject line, but we don't often see Werner or Bertrand on this list anymore and to my recollection, I've never seen Vaibhaw[1]. Can we have a Savannah bug category for "Macro - me", please? I'd do it myself, but even as a "manager" for the tracker, ah cain't. As Dave

Re: how far can i go with grotty?

2020-07-24 Thread Tadziu Hoffmann
> also: i need "sed '/^$/q'" at the end of my filter because groff > renders a lot of empty lines at the end of the output whenever i > use b in my tbl format. i don't know how to remove it. I don't understand how empty lines at the end can be related to making things bold (which is what "b" is

how far can i go with grotty?

2020-07-24 Thread Marc Chantreux
hello roffers, i wrote this filter sed ' 1i.TS\ tab(:);\ lB l l l. $a.TE ' | tbl |groff -kTutf8 | sed '/^$/q' so i can get readable tables as stdout of my shell scripts. i wrote it as a hack but now i'm wondering ... * I already know (using man command) that groff is goo

Re: Future of groff Texinfo manual (was: documentation of hyphenation)

2020-07-24 Thread Larry Kollar
G. Branden Robinson wrote: > > Hmm! It seems the ms stuff in our Texinfo manual may have started life > as an ms document after all. > > IIRC, Larry Kollar is sometimes seen on this list. Maybe he'd be > willing to share a copy of the ms sources so we don't have to backport > it from Texinfo

Re: Quick question: how to do .index in groff?

2020-07-24 Thread Denis M. Wilson
To implement .index as a macro one could consider using .substring together with the Knuth-Morris-Pratt algorithm. I've done simpler things eg the equivalent of The C library substr(). Denis On Thu, 23 Jul 2020 16:13:41 -0700 B 9 wrote: > Heirloom Troff has a handy string search function calle

Re: Quick question: how to do .index in groff?

2020-07-24 Thread John Gardner
> > Indexing is quite complicated Denis: he's not referring to *content* indexing, but a Heirloom Troff request named `.index` which should arguably be named `.indexof` instead. It simply returns the index of a substring if found within a larger string, presumably returning -1 to indicate nothing

Re: Quick question: how to do .index in groff?

2020-07-24 Thread Denis M. Wilson
I have an indexing package which uses 'makeindex', and the results are good. Indexing is quite complicated. If you care to look at the source it is in Index,pkg part of http://www.oxytropis.plus.com/groff/markup-1.0.7a.tar.gz Denis On Thu, 23 Jul 2020 16:13:41 -0700 B 9 wrote: > Heirloom Troff h

Re: Format-agnostic hyperlinks

2020-07-24 Thread John Gardner
In any case, handling line-wrapping isn't the responsibility of the hyperlink macro. Mono is more of a general-purpose utility-belt for low-level Roff programming than a high-level document preparation package (in the sense of ms, mm, mom, mdoc, etc). No need to implement the Boyer-Moore algorithm