Changing color of box background or box frame

2024-03-05 Thread Michał Kruszewski via
Hello, I often write documents including short code snippets or shell commands. I usually put such snippets into a box using .B1 and .B2. However, those code snippets are intended to be run on different targets, for example, Raspberry Pi and the host machine. I would like to be able to somehow d

PDF macros case sensitivity

2023-11-14 Thread Michał Kruszewski via
There is one thing about PDF macros I struggle to understand, namely the case sensitivity. Example: .PDFPIC is uppercase .pdfhref is lowercase What is more, when the user types .PDFHREF, there is no warning or error. The link is simply missing in the generated pdf output. Why are some PDF macro

Why does PDFPIC require unsafe mode -U, but PSPIC doesn't?

2023-07-30 Thread Michał Kruszewski via
Why does PDFPIC require unsafe mode -U, but PSPIC doesn't? If I understand correctly one can easily execute shell commands from PostScript. Best regards, Michał Kruszewski Sent with [Proton Mail](https://proton.me/) secure email.

Can't embed eps image

2023-07-29 Thread Michał Kruszewski via
GNU groff version 1.23.0 I have some .png image. I have converted it to the .eps file using convert img.png eps3:img.eps. However, when I generate the pdf using groff -ms -Tpdf -Kutf8 tmp.ms > tmp.pdf, the image is not inserted into the pdf. There is only box with the image file path (which is co

How to contribute

2023-06-03 Thread Michał Kruszewski via
Is there any tutorial on how to contribute to the groff? The https://www.gnu.org/software/groff/ website is rather modest in this term. Where do I need to register? How to prepare pull requests? Best regards, Michał Kruszewski Sent with [Proton Mail](https://proton.me/) secure email.

1.23.0rc4 .sp and .bp backward compatibility issues

2023-04-17 Thread Michał Kruszewski via
Hi Branden, I have tried 1.23.0rc4 and it still has backward compatibility issues with .sp and .bp I have described some time ago. Is it intended? Best regards, Michał Kruszewski Sent with [Proton Mail](https://proton.me/) secure email.

Groff 1.23.0.rc3 changes comparing to version 1.22.4

2023-04-04 Thread Michał Kruszewski via
Because of some bugs related with page numbering in case of ToC placed at the beginning of the document (pdfroff) I have today installed and tried 1.23.0.rc3. However, the generated document layout in my case significantly differs from what is generated with 1.22.4. - .bp seems not to work. It d

Is decreasing top margin with mm macros broken?

2021-05-17 Thread Michał Kruszewski via
Does anyone how to decrease the top margin with mm macros? There is VM macro that is supposed to change it, however it has no effect on the top margin, when one wants to decrease it. I have tried multiple values, both with and without the '-T' option. It works on the bottom margin, but the top mar

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