Re: Using macros in escape sequences

2025-04-16 Thread Thomas DUPOND via GNU roff typesetting system discussion
Le 2025-04-15 à 15:59, Sigfrid Lundberg a écrit : Dear all of you, There is something I would like to know how to do, if it is at all possible: I'd like to use a macro like .BX text a macro as an escape sequence. I'd like to use that in strings in pic or eqn Is this possible? I recall that

Re: public inbox for groff

2025-03-31 Thread Thomas DUPOND via GNU roff typesetting system discussion
Le 2025-03-31 à 20:02, Morten Bo Johansen a écrit : I use gmane.io. It is a mail-to-news gateway, that you may access via NNTP at news.gmane.io. I do the same with either Gnus or Thunderbird, very comfortable indeed. -- Thomas

Re: refer.tmac

2025-03-06 Thread Thomas DUPOND via GNU roff typesetting system discussion
Le 2025-03-05 à 21:37, Sigfrid Lundberg a écrit : So, now my questions have changed: How do I make sure that a URL isn't hyphenated? And how do I enforce a break using an escape sequence rather than .br? You could use .nh to stop hyphenation and \p to break after the next word. If you need t

Re: [PATCH] [pic] Add support for arbitrary polygons

2024-10-10 Thread Thomas DUPOND via
Hello Duncan, Le 2024-09-30 à 09:03, Duncan Losin via a écrit : Hi folks, I have written a patch to add support for drawing arbitrary polygons in pic using the existing syntax for multi-segment lines. They can be shaded and filled as expected of other closed objects. Examples attached in polyg

Re: adjusting font picks for code snippets and math

2024-09-09 Thread Thomas DUPOND via
Le 2024-09-06 à 11:38, Norwid Behrnd a écrit : Hello, Hello Norwid, I would like a different font for the display of snippets of source code in pdf the default installation of groff in Linux Debian (version 1.23.0) renders with Courier, and improve the one of mathematics. Unsure if this a qu

Re: More on writing academic papers

2024-05-22 Thread Thomas Dupond via
"G. Branden Robinson" a écrit : > At 2024-05-22T09:28:46+0200, Thomas Dupond via wrote: >> Damian McGuckin a écrit : >> > Yes. We process a database to automatically generate the invoice >> > details which is then run through 'groff -mm' to p

Re: More on writing academic papers

2024-05-22 Thread Thomas Dupond via
Hello Bento, Damian McGuckin a écrit : > 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 clos

Re: Changing header/footer font in mm

2024-04-24 Thread Thomas Dupond via
"G. Branden Robinson" a écrit : > Hi Jan, > > At 2024-04-24T07:53:51+0200, Jan Eden wrote: >> On 2024-04-24 00:07, G. Branden Robinson wrote: >> > At 2024-04-21T23:52:48-0500, G. Branden Robinson wrote: >> > > For mm, what I would do is set up the mounting positions to replace >> > > Times with He

Re: Avoid page break in tables without box option

2024-04-23 Thread Thomas Dupond via
Jan Eden a écrit : > Unfortunately, I failed to describe my requirements properly – sorry > again. My document contains multiple relatively small tables, and each > table should appear on exactly one page (i.e. should not cross page > boundaries). > > I attached sample documents and the respective

Re: Is there a Groff showcase?

2023-12-08 Thread Thomas Dupond via
Le 2023-12-07 à 22:35, Mike a écrit : I was thinking of a website or web page which demonstrates the extent of groff's capabilities. If there isn't anything like this, currently. Has this been considered? I have only just learned of groff. The manual is awesome (though tough reading for me in p

Re: Using .[ and .] in a macro

2023-12-05 Thread Thomas Dupond via
Le 2023-12-03 à 07:47, hbezemer--- via a écrit : Dear all,I would like to create a macro along the lines of:.de CITE.[\\$2\\$1.]\\$3..Which would result in:.CITE The problem that arises is that refer sees the definition of the macro asa citation (of course).Is there an elegant way to get this

Re: Multi-columns in ms, again

2023-11-22 Thread Thomas Dupond via
Le 2023-11-20 à 19:55, Oliver Corff a écrit : Dear All, Hello, in April 29, I asked whether there is a possibility to resume one-column text after a two-column text on the same page. Your answers, uni sono, said what the the manual says: returning to one-column mode will always finish the pag

Re: An example of a multiplication table: some unresolved questions

2023-05-30 Thread Thomas Dupond via
Dear Oliver, Le 2023-05-30 à 09:17, Oliver Corff a écrit : Dear Thomas, thank you very much indeed. Beyond your critical correction of using a genuine tab (0x09) character instead of \t, it was \c which does the trick. Furthermore, my setting of tab stops had been flawed. Using .nf is also

Re: An example of a multiplication table: some unresolved questions

2023-05-29 Thread Thomas Dupond via
Dear Oliver, Oliver Corff wrote: > Dear All, > > the attached attempt to create a multiplication table was inspired by > https://rosettacode.org/wiki/Multiplication_tables > > but I fail to do the right thing with regard to typesetting the computed > output. > > I followed the groff manual, s