On Monday, 14 August 2023 18:37:26 BST Alejandro Colomar wrote: > Hi Deri, Branden, > [...] > > > Another change which would need to be accepted is > > to allow a fourth parameter to .MR which is the destination name. Normally > > the name of the destination is derived from the first two parameters > > concatenated with "_", but if the name part of the .MR call to the man > > page includes non- ascii characters (such as ".MR my\-lovely\-page 7 ,") > > then it needs to provide a "clean" destination name. > > Is this really needed? Can't gropdf just translate them internally? Say, > do unconditionally the equivalent of `| tr - _ |` or something like that. See other email. [...] > > Do you have an estimate of how long your branch could take to merge? > As in, more than a month or less than a month? I'm really hoping Branden's going to help me with that, I think he intimated that he might when he suggested I start a branch for the work. I have one more push to the branch to do, but I need to contact Peter since there is a minor tweak to om.tmac to make expandos work in mom. > > Makefile > > > > The simplest option would be to add a new rule to the Makefile which is > > dependent on all the man pages have been built, and cd's into the scripts/ > > LinuxManBook directory and calls the program with the location where the > > man pages exist. However, I suspect Alex fancies something more > > complicated by replacing the perl with a hybrid of shell command and make > > magic. > > You suspect well. :) Just like my wife, she often tells me I'm "No longer required on the journey!". :-) Cheers Deri > > I attach a new copy of BuildLinuxMan.pl which is an amalgam of mine and > > Brian's code. This has the new -paper flag. > > > > Alex's MR branch > > > > The new program now recognises existing .MR's in the document and provides > > the "clean" destination name, so it should run against the new branch.> > >> nodemask ... on- > >> ... > >> line, ... > >> > >> There appear to be 24 single word instances of online and 12 outdated > >> hyphenated compound word instances of on-line across all man pages. > >> > >> UI: I also noticed, while looking for tables to compare, that pages are > >> ordered by filename not like rpmvercmp/ls -v/RPM::VersionSort e.g > >> ISO_8859-2 is after ISO_8859-16 which may not be as expected. > >> Used rpmvercmp in last line of perl sub sortman and works as expected. > > > > I have used Sort::Versions (see above), thanks for the suggestion. > > > >> Tech nitpick: .Z is still recognized by GUIs as compress output > >> (UNIX-compressed file) - is there no other file type suffix used for > >> > >> ditroff intermediate output? Aha - Alex says .set: > >> https://lists.gnu.org/archive/html/groff/2023-04/msg00213.html > > > > Well, that's settled. > > > >> Added variables and changed those also in BLM-letter.pl: copy attached. > >> > >>> Thanks for your help. > >> > >> Happy to help in any way. > > > > Hope you're happy with this version. > > Let's open the improved Christmas present! :D > > Cheers, > Alex