Re: Adding macro for code listings title to the mm macros.

2021-05-22 Thread Dave Kemper
On 5/18/21, Oliver Corff wrote: > Wouldn't it be a good idea to collect macros of this kind (and previous > contributions to this list) in a contrib directory? Since Mike Bianchi proposed a similar idea a couple years ago (http://lists.gnu.org/archive/html/groff/2018-11/msg00028.html), I've been

Re: Adding macro for code listings title to the mm macros.

2021-05-18 Thread Oliver Corff
Hi, I must confess that I've never perceived the issue from this perspective. "Back then" (which is anything before the 2000s) I found browsing contrib directories a rewarding experience. Best regards, Oliver. On 18/05/2021 18:13, Ingo Schwarze wrote: Hi, Oliver Corff wrote on Tue, May 18,

Re: Adding macro for code listings title to the mm macros.

2021-05-18 Thread Ingo Schwarze
Hi, Oliver Corff wrote on Tue, May 18, 2021 at 05:48:36PM +0200: > there used to be a good tradition to collect these things in a dedicated > directory aptly named contrib. > > Wouldn't it be a good idea to collect macros of this kind (and previous > contributions to this list) in a contrib dire

Re: Adding macro for code listings title to the mm macros.

2021-05-18 Thread Oliver Corff
Hi Dave, there used to be a good tradition to collect these things in a dedicated directory aptly named contrib. Wouldn't it be a good idea to collect macros of this kind (and previous contributions to this list) in a contrib directory? Then they could be made available to everybody without caus

Re: Adding macro for code listings title to the mm macros.

2021-05-16 Thread Dave Kemper
On 5/11/21, Michał Kruszewski wrote: > I just wanted to know if such macro would be merged to the mm macros if the > support was added. Michał, It is rare but not unheard of for new macros to be added to the historical macro packages these days. I would suggest that, once you have a macro worki

Re: Adding macro for code listings title to the mm macros.

2021-05-11 Thread Michał Kruszewski
You approach is fine when you can treat listing as a figure. However, when there is a strong requirement that the listing is a listing and the figure is a figure one needs a macro for listings titles. I just wanted to know if such macro would be merged to the mm macros if the support was added.

Re: Adding macro for code listings title to the mm macros.

2021-05-11 Thread Damian McGuckin
On Tue, 11 May 2021, Micha? Kruszewski wrote: I normally just use .FG to title my code listings. But in such case you need to modify the "Lifg" dynamically. What is more, you increase the register 'Fg' counter on listings. When a write a paper, I treat a small isting as one of my figures whe

Re: Adding macro for code listings title to the mm macros.

2021-05-11 Thread Michał Kruszewski
> I normally just use .FG to title my code listings. But in such case you need to modify the "Lifg" dynamically. What is more, you increase the register 'Fg' counter on listings. And what about the list of figures? Does it become list of figures and listings? Best regards, Michał Kruszewski Sen

Re: Adding macro for code listings title to the mm macros.

2021-05-11 Thread Damian McGuckin
On Tue, 11 May 2021, Micha? Kruszewski via wrote: I have been looking for an alternative to the Latex for writing academic thesis and I have found groff and mm macros to be the best choice. The only thing that I am missing by default is the macro for code listings titles. I was wondering wheth

Adding macro for code listings title to the mm macros.

2021-05-11 Thread Michał Kruszewski via
I have been looking for an alternative to the Latex for writing academic thesis and I have found groff and mm macros to be the best choice. The only thing that I am missing by default is the macro for code listings titles. I was wondering whether the groff mm macros are considered to be frozen an