Re: man(7), the hyperlink tagging challenge, and what's a node?

2025-01-23 Thread Alexis
recommendations are not yet implemented, due to lack of Tuits - assistance with improvements would certainly be welcome.) Alexis.

Re: ripgrep author seems happy with groff_man_style(7)

2024-11-04 Thread Alexis
er. Sure; as i said, i'll remove that text. When i was putting that piece together, i was primarily focused on trying to demonstrate how mdoc(7) _macros_ are used to write man pages, not "this is how to write a man page in general, using mdoc(7)". Yet the title i used for the document was "Writing man pages with mdoc(7)". :-P So i need to change that title, and perhaps i should just use lorem ipsum in the contents of the example man page Alexis.

Re: ripgrep author seems happy with groff_man_style(7)

2024-11-03 Thread Alexis
between them). Sure. When you write: Note that we made no roff requests directly; only roff macros were used. I feel like s/roff/mdoc/2 would convey the meaning better. Yeah, fair enough. I can also imagine that a section about tbl would come in handy. In a complete guide to writing man pages with mdoc, definitely. :-) But yeah, as i wrote above, i'm just trying to give people the flavour of writing man pages with mdoc, hopefully convincing them that it's not as scary and difficult as they might have thought. :-) Thanks for the feedback! Alexis.

Re: ripgrep author seems happy with groff_man_style(7)

2024-11-03 Thread Alexis
ded semantics and particular presentational markup to be discouraging. i don't know how i stumbled across mdoc(7), but once i did, and discovered that it could be used for man pages on Linux via groff, i focused on learning and using mdoc(7). To try to demystify it for others, i wrote this quickstart guide: https://github.com/flexibeast/guides/blob/master/mdoc-quickstart.md Alexis.

Re: ripgrep author seems happy with groff_man_style(7)

2024-10-25 Thread Alexis
API documentation for something like 15 years. i'm sure "contributions are welcome" - you have nothing else on your plate, so why not become familiar with the codebase and write the documentation based on your understanding of how it all seems to work? /snark Alexis.

Re: ripgrep author seems happy with groff_man_style(7)

2024-10-25 Thread Alexis
t (setting aside case): man(7) 'SY', Synopsis Start, vs mdoc(7) 'Sy', Symbolic i.e. boldface. Use man(7) or mdoc(7), but if you're writing mdoc(7), write mdoc(7). :-) Alexis.

Re: Debian Salsa and groff license

2024-07-05 Thread Alexis
i don't have any projects on GitLab myself, but do their heuristics look for a file named LICENSE, rather than one named COPYING? "G. Branden Robinson" writes: This seems a bit dubious. I'm logged in and can't see how to fix it. I guess GitLab is doing their part is the glorious strugg

Re: Hungarumlauts in built-in fonts

2024-05-11 Thread Alexis
Gáspár Gergő writes: Maybe it's just some issue with the Void gsfonts package then. What's the output of `xbps-query -f gsfonts`? Alexis.

Re: Re: Why does groff require psutils?

2024-04-08 Thread Alexis (surryhill)
On Thu, Apr 04, 2024 at 08:26:44PM -0500, G. Branden Robinson wrote: > Alexis, would you like to look into this more deeply, and maybe find a > solution that will enable us to use ps2ps after all? Of course, Branden. Just to be sure I use the same code-path as you did which command(s) did y

Re: Re: Why does groff require psutils?

2024-03-25 Thread Alexis
n name, but a different email address. The important bit is: the change is coming to Groff :) Best Alexis ¹ https://git.savannah.gnu.org/cgit/groff.git/commit/?id=3bde75a958f5f3eea84f1e0098c7b457358792b3

Re: Re: Why does groff require psutils?

2024-03-17 Thread Alexis
st be given in increasing order, you cannot process pages out of order or repeat pages and this will generate an error."² Do let me know if you desire or require further testing or changes, or if I can be helpful in other ways to drive this change forward. Best Alexis ¹ Checking the differences

Re: [PATCH]: Set .lt to \n[.l] in papersize.tmac?

2024-01-10 Thread Alexis
d to serve as a reference? And what is preferred procedure to propose a change to groff if it's not through patches to this list? Grüße vom Landwehrkanal Alexis

Re: [PATCH]: Set .lt to \n[.l] in papersize.tmac?

2024-01-10 Thread Alexis
detail which parts of the documentation exactly you were referring to and how they explain your disapproval to the proposed change? Best Alexis

[PATCH]: Set .lt to \n[.l] in papersize.tmac?

2024-01-08 Thread Alexis
le's thoughts on this? And what have I possibly overlooked that this isn't already the case? Best Alexis diff --git a/tmac/papersize.tmac b/tmac/papersize.tmac index e10219ad5..e1eab7c03 100644 --- a/tmac/papersize.tmac +++ b/tmac/papersize.tmac @@ -126,11 +126,13 @@ .ie '\

Re: Macros for writing (German) letters?

2024-01-08 Thread Alexis
sk the groff developers to incorporate it, either via a Savannah > ticket or this mailing list. Will do > If you read through the thread starting at > https://lists.gnu.org/archive/html/groff/2021-01/msg4.html That's very helpful! Thanks, Alexis

Re: Macros for writing (German) letters?

2024-01-08 Thread Alexis
Here's the din-5008-dimensions.roff I forgot to attach in my previous mail. Best Alexis \# Use the following command to typeset this document: \# groff -Tpdf -p -dpaper=a4 -P-pa4 din-5008-dimensions.roff > din-5008-dimensions.pdf .nop \X'ps: exec 2 setlinecap' .nop \X'ps:

Re: Macros for writing (German) letters?

2024-01-08 Thread Alexis
est-practices from long-term users and macro package developers and maintainers is especially welcome and much appreciated! Best Alexis ¹ using the special print bundle of the DIN 5008 https://www.beuth.de/de/publikation/paket-din-5008-das-praxispaket/321130650 ² Also happy to share my previous

Re: Raw colored ASCII/UTF art for manpages

2023-12-28 Thread Alexis
/bookworm/ffmpeg/ffmpeg.1.en.html Alexis.

Re: First impressions: strange groff default font behaviour after system upgrade

2023-12-18 Thread Alexis
perhaps by default) to support at-spi services. Alexis.

Re: Pic rounded box corners misplaced with devpdf and landscape doc

2023-12-13 Thread Alexis
. It seems I need to understand a bit more about gnulib and its role when building groff. Best Alexis ¹ https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-develop.html ² https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-build.html ³ https://github.com/NixOS/nixpkgs/blob/master/p

Re: Pic rounded box corners misplaced with devpdf and landscape doc

2023-12-11 Thread Alexis
Hi Deri, thank you for addressing this so quickly. Unfortunately I have yet to succeed in building groff from the deri-gropdf-ng branch using nixpgs, yet am happy to report back once I do. Best Alexis

Re: Pic rounded box corners misplaced with devpdf and landscape doc

2023-12-10 Thread Alexis
able to use a4l for both is very convenient. Looking forward to seeing further improvements the deri-gropdf-ng branch brings once it's merged. If I can help with the -P-l investigation or testing the deri-gropdf-ng branch please let me know. Best Alexis

Pic rounded box corners misplaced with devpdf and landscape doc

2023-12-10 Thread Alexis
Hi all, when drawing rounded box corners with the pic preprocessor using the pdf device while orienting the document in landscape format the arcs for the rounded corners are misplaced (see attached box_rad_devpdf.pdf). The issue does not occur when using the ps device (see attached box_rad_devps.p

Re: Why does groff require psutils?

2023-12-01 Thread Alexis
grohtml is invoked in a common groff pipeline or can be invoked manually for testing purposes. Anyone willing to share some insights or ideas? Best Alexis diff --git a/src/preproc/html/pre-html.cpp b/src/preproc/html/pre-html.cpp index cbcc2ccda..1668c9f67 100644 --- a/src/preproc/html/pre-html

Re: Why does groff require psutils?

2023-11-26 Thread Alexis
off, ghostscript, and psselect. The support for pdf conversion is added for those who have the (mis)fortune of working on macOS, which sadly has removed support for PostScript. Best Alexis PAGENO := 3 TOTAL_PAGES := 9 all: psPageName.pdf # Extract page PAGENO from the multi-page example do

Re: `\c`, mdoc(7), and man(7) extension macros (was: [PATCH 1/2] man*/: srcfix)

2023-11-05 Thread Alexis
ted in Ingo's answer here, but in that specific case, i'd simply leave 'Li' out, as it's not required. (i presume because the 'Oo' has effectively "opened a new formatting context" in which text is literal until a new macro is invoked, but i'd be happy to be corrected.) Alexis.

Re: [PATCH] [grotty]: Use terminfo.

2023-08-22 Thread Alexis
. On Gentoo as well (and i switched to it myself). Alexis.

Re: [PROPOSAL] Generating consistent papersizes

2023-08-17 Thread Alexis
r now then. > Anyone who'd need to be involved in this follows this email list, so > you're covered there. Great! > Thanks for offering a patch! My pleasure. Happy to continue to work on this with the guidance of groff developers and the community :) Best Alexis

QR codes in pic

2023-08-16 Thread Alexis
ave a GitHub account, stating your interest on the PR might help in getting it merged and a new release out. Best Alexis ¹ https://github.com/fukuchi/libqrencode/pull/208

Re: [PROPOSAL] Generating consistent papersizes

2023-08-11 Thread Alexis
nt for myself on savannah.gnu.org to continue the conversation there or is this mailing list the right place for this? Which other people should be contacted and get involved? Best Alexis[

[PROPOSAL] Generating consistent papersizes

2023-08-05 Thread Alexis
te and possibly even improve the current definition of paper sizes and whether there is merit to an approach as proposed by the prototype. How could something like this be done in a way that possibly better fits groff's development philosophy? Does autoconf support code generation? Should pape

Re: [PATCH] gropdf: Fix papersize control command

2023-08-05 Thread Alexis
. Best Alexis

Re: [PATCH] gropdf: Fix papersize control command

2023-08-05 Thread Alexis
this introduces a little inconsistency with other paper format specifications. What are your thoughts about naming the argument for the papersize control command `paper-size` to distinguish it from the `paper-format` argument of the -p option? Best Alexis

[PATCH] gropdf: Fix papersize control command

2023-08-05 Thread Alexis
argument handling code a bit more in line with the code handling the -p option argument. Should my current understanding of groff and the implementation have lead me astray to falsely believe there is an issue where in fact things work the way they are supposed to I'd appreciate explanations and

Re: Visual Color Reference with Swatches

2023-07-31 Thread Alexis
Thank you for the clarification, Deri, that makes a lot of sense. I should've read pdf.tmac more closely and not just grep'ed for '^\.defcolor' before making such a claim :)

Re: [PATCH] man page typo in spelling of lsn and lss registers?

2023-07-12 Thread Alexis
macro implementations to learn more about groff and its capabilities. Best Alexis

[PATCH] man page typo in spelling of lsn and lss registers?

2023-07-12 Thread Alexis
ects and things in regards to the aforementioned inconsistency and things are as they should be. In that case I'd appreciate pointers that would help me understand why the things are the way they are. Otherwise please find attached a patch that removes the leading period `.` from the \n[lsn] a

Re: man-db test failures [was: unrecognized X command 'sgr 0' ignored (was: early adopters of] groff 1.23.0)

2023-07-11 Thread Alexis
Thank you, Colin. For folks interested to follow along or participate in the conversation the related man-db issue is: https://gitlab.com/man-db/man-db/-/issues/25

man-db test failures [was: unrecognized X command 'sgr 0' ignored (was: early adopters of] groff 1.23.0)

2023-07-10 Thread Alexis
the right place for this conversation or whether it should rather be held elsewhere. Best, Alexis

Re: unrecognized X command 'sgr 0' ignored (was: early adopters of groff 1.23.0)

2023-07-08 Thread Alexis
on on the PR now needs to be around what the default output format for manpages on NixOS should be default, i.e. SGR and OSC enabled vs legacy, i.e. SGR and OSC shut off. This is likely going to be an interesting conversation. Happy to report back once there is a path forward. Thanks again! A

Re: early adopters of groff 1.23.0

2023-07-06 Thread Alexis
ake on it and how to possibly fix the test failures should they be related to the update to groff 1.23.0? Regardless of any NixOS/nixpkgs related woes: Thank you for all the work and effort put into the release!! Best Alexis ¹ https://github.com/NixOS/nixpkgs/pull/241870 ² https://savannah.gnu.org/bugs/?61561

Re: Computer Modern Font

2023-06-08 Thread Alexis
e parts might need changing and possible have a first go at it. What are your thoughts? Best Alexis # Generate Computer Modern Unicode font files for use with groff # https://cm-unicode.sourceforge.io/ VERSION := 0.7.0 HASH:= f7c9209524dfe1dd40e680139645d07b2c34b187a4121ec444909d6429e2c76e

Re: Computer Modern Font

2023-06-07 Thread Alexis
tion file validation[1] than > 1.22.4 did. It seems I was using groff 1.22.4 the whole time while working on this unaware that groff 1.23.0 does a lot more validation. > Maybe the Makefile from this thread should be updated to run sed(1) on > the generated font description file--just a guess, I haven't even looked > at it yet. I'll look into changing the Makefile to work better with groff 1.23.0. Alexis

Re: Computer Modern Font

2023-06-07 Thread Alexis
e. `-mcmu` or from within your document via `.mso cmu.tmac`. As an example the following command produces the documentation for the ms macro package using Computer Modern Unicode: % groff -Tpdf -t -ms -mcmu doc/ms.ms > doc/ms.pdf Hope this helps Alexis ¹ For those wondering: The Makefile

Re: Behaviour of .so differs between mandoc and groff

2023-05-04 Thread Alexis
13578&w=2 and in particular Ingo's comment: https://marc.info/?l=mandoc-discuss&m=160668087317110&w=2 (This is all a result of my stubborn insistence on using mandoc on Gentoo. :-) ) Alexis.

Re: Behaviour of .so differs between mandoc and groff

2023-05-03 Thread Alexis
#c1 On Gentoo, man page compression is affected by user-specified values for PORTAGE_COMPRESS and PORTAGE_COMPRESS_EXCLUDE_SUFFIXES; PORTAGE_COMPRESS is set to 'bzip2' by default. Alexis.

Re: Behaviour of .so differs between mandoc and groff

2023-05-02 Thread Alexis
y were still doing so as late as glibc 2.30, 3 years ago.) Does this help? Thanks, i've just opened a bug on the Gentoo bug tracker about this, "man pages for alternatives: Use of .so instead of symlink creates issue when using mandoc": https://bugs.gentoo.org/905624 in which i reference this thread. Alexis.

Re: Behaviour of .so differs between mandoc and groff

2023-04-29 Thread Alexis
Ping. Does anyone have any thoughts on this? It's a small but persistent irritation on my system. :-) Alexis writes: [1. text/plain] Hi all, On my Gentoo system, awk.1 simply contains an .so request whose argument is the man page for the actual awk implementation in use, i.e.

Behaviour of .so differs between mandoc and groff

2023-04-21 Thread Alexis
t .so in the mandoc TODO list[b]. i've no idea what the 'correct' behaviour 'should' be, from whatever perspective (historical / security / groff-compatibility / etc.), so am cross-posting to what i believe to be the relevant lists. Alexis. [a] https://cvsweb.bs

Re: Accessibility of man pages (was: Playground pager lsp(1))

2023-04-08 Thread Alexis
pp-text/mandoc bzip2 support" https://bugs.gentoo.org/854267 "Remove /usr/share/man from default inclusion list for docompress" https://bugs.gentoo.org/836367 Alexis.

Re: groff for epub/e-books (was: groff 1.22.4 mandb 2.11.2 man -H tbl not rendered)

2023-02-23 Thread Alexis
lob/master/minimal-epub.md together with an accompanying POSIX shell script: https://github.com/flexibeast/epub-create Alexis.

Re: groff 1.23.0.rc3 available for testing

2023-02-22 Thread Alexis
ROR: 0 I'd be happy to answer all your questions in your previous email if you see value in it. Otherwise in the interest of your valuable time I'll keep it short :) Cheers Alexis

Re: groff 1.23.0.rc3 available for testing

2023-02-22 Thread Alexis
=groff Please find attached the mentioned test-suite.log. Happy to answer any questions regarding my build and test setup and test patches as needed. Hope this helps! Alexis === GN

Re: rc3: groff man pages truncated by mandoc(1)

2023-02-21 Thread Alexis
m documentation, and not only managed to tag releases without crucial Makefile changes, but also amended the commits instead of tagging new releases. :-/ Release process checklist updated. :-P Alexis.

Re: [platform-testers] verification instructions for groff 1.23.0.rc2

2023-02-21 Thread Alexis
as intrigued by that one, and did some research. The gss-group1-sha1-* algorithms were deprecated via a "SHOULD NOT" in RFC8732, published in February 2020, due to having "small key lengths and are no longer strong in the face of brute-force attacks": https://www.rfc-editor.org/rfc/rfc8732#name-deprecated-algorithms Alexis.

rc3: groff man pages truncated

2023-02-21 Thread Alexis
g, or not doing something right? Alexis.

Re: [platform-testers] verification instructions for groff 1.23.0.rc2

2023-02-20 Thread Alexis
man-group1-sha1 i believe the relevant ssh option is 'KexAlgorithms', e.g.: ssh -o KexAlgorithms=diffie-hellman-group1-sha1 Alexis.

Re: macOS 12.6.3, static_assert, and vasnprintf compilation failure

2023-02-10 Thread Alexis
lt.nix $ ls -lsa outputs/out/bin/groff 416 -rwxr-xr-x 1 $USER staff 209808 Feb 10 07:21 outputs/out/bin/groff $ ./outputs/out/bin/groff --version | head -1 GNU groff version 1.23.0.rc2.22-55d3 Best Alexis

Re: Modular C library

2022-12-29 Thread Alexis
html More generally, refer to: https://wiki.musl-libc.org/compatibility.html Or have I mis-understood i understood Alejandro to be talking about a 'modularised' libc, i.e. one containing multiple components ('microlibraries'), but i'll let Alejandro clarify. Alexis.

Re: using the SS (slanted symbol) font with gropdf

2022-11-26 Thread Alexis
Engine.cc: fprintf(stderr, "some font thing failed\n"); Alexis.

Re: Standardize roff

2022-08-16 Thread Alexis
05 i doubt i'd have had as much enthusiasm for creating the man page ports of s6-related documentation if i'd had to use DocBook, rather than being able to use mdoc(7). In fact i probably wouldn't have done them at all. Alexis.

Re: Fixes for several contrib/mom/momdoc files

2022-07-31 Thread Alexis
not ideal. If this is any use you can build the pdf with:- gunzip mom-book.mom.gz pdfmom mom-book.mom > mom-book.pdf Oh wow, thank you! Very kind of you. :-) Alexis.

Re: Fixes for several contrib/mom/momdoc files

2022-07-29 Thread Alexis
Peter Schaffter writes: Thanks for the doc fixes for mom. I've been meaning to get out the broom and clean them up. This is a great help. Ah good! You're welcome. :-) Alexis.

Fixes for several contrib/mom/momdoc files

2022-07-28 Thread Alexis
t allowed in this context" and "Unknown element" errors. The latter were caused by the use of ''; i gather one one is supposed to instead use the 'white-space' CSS property. Alexis. diff --git a/contrib/mom/momdoc/docelement.html b/contrib/mom/momd

"Writing my PhD using groff"

2022-07-23 Thread Alexis
laggy Word and inconsistent styling issues. I don’t want KOMA-Script woes and minutes–long compile times. I want something simple that works: groff!" -- https://jstutter.netlify.app/#220721-writing-my-phd-using-groff Alexis.