Re: One Page Dungeon Layout in groff?

2022-08-16 Thread Ralph Corderoy
Hi Deri, > It starts a hash with "<<" but fails to close it with ">>". Each hash > entry is a key/value pair where the key is preceded by a "\". The > endstream should follow after a stream but that is missing. Thanks for digging deeper. > Interestingly if you use the command "convert file.png f

Re: One Page Dungeon Layout in groff?

2022-08-16 Thread Dave Kemper
On 8/15/22, Ralph Corderoy wrote: > First, pdfinfo(1) was writing a NUL byte as part of the name of the PDF > produced by ImageMagick's convert(1) This has been reported as a bug (http://gitlab.freedesktop.org/poppler/poppler/-/issues/776) but doesn't seem universally regarded as such by the popp

Regarding groff and eqn

2022-08-16 Thread Riza Dindir
Hello All, I am using groff 1.22.4 on FreBSD 13.1. Wanted to write inline equations (in a document that uses ms macros), and it does not give me any inline equations. I must be missing something or doing something wrong. Here is my simple document. .TH Inline math .NH Start .LP .EQ delim $$ .EN

Re: Regarding groff and eqn

2022-08-16 Thread G. Branden Robinson
At 2022-08-16T12:56:30+0300, Riza Dindir wrote: > I am using groff 1.22.4 on FreBSD 13.1. Wanted to write inline > equations (in a document that uses ms macros), and it does not give me > any inline equations. I must be missing something or doing something > wrong. > > Here is my simple document.

Savannah bug->email gateway problems affecting groff

2022-08-16 Thread G. Branden Robinson
[CCing Bob Proulx] This message just is not showing up on the savannah-hackers-public list (after two attempts 6 hours apart), so maybe there is more than one email problem going on. groff list subscribers may wish to consult https://lists.gnu.org/archive/html/savannah-hackers-public/2022-08/inde

Re: Standardize roff (was: *roff `\~` support)

2022-08-16 Thread Ingo Schwarze
Hi Alejandro, Alejandro Colomar wrote on Mon, Aug 15, 2022 at 01:59:24PM +0200: > On 8/14/22 21:43, DJ Chase wrote: >> Do you think that a descriptive/trailing standard could be beneficial >> or would you still say that it could mostly hinder *roff >> implementations? When prepared with diligenc

Re: One Page Dungeon Layout in groff?

2022-08-16 Thread Deri
On Tuesday, 16 August 2022 10:18:17 BST Ralph Corderoy wrote: > > Interestingly if you use the command "convert file.png file.pdf" a > > valid pdf is produced which works with gropdf. > > That was Laurens' original command but I found the convert(1) here > sticks an ASCII NUL after the title, whic

Re: [BUG] italics run past where they should

2022-08-16 Thread Alejandro Colomar
Hi Branden, On 8/16/22 03:59, G. Branden Robinson wrote: I didn't realize you were waiting on me--sorry. It would be good if you could collect the pager output _including terminal escape sequences_, for instance using the script(1) command (as Ralph pointed out). Attach it to your email. It s

Re: [BUG] italics run past where they should

2022-08-16 Thread Alejandro Colomar
On 8/16/22 13:57, Alejandro Colomar wrote: Hi Branden, On 8/16/22 03:59, G. Branden Robinson wrote: I didn't realize you were waiting on me--sorry.  It would be good if you could collect the pager output _including terminal escape sequences_, for instance using the script(1) command (as Ralph

Re: Standardize roff

2022-08-16 Thread Ingo Schwarze
Hi San, Sam Varshavchik wrote on Sun, Aug 14, 2022 at 08:20:34PM -0400: > Ingo Schwarze writes: >> DJ Chase wrote on Sat, Aug 13, 2022 at 05:27:34PM +: >>> Have we ever considered a de jure *roff standard? >> No, i think that would be pure madness given the amount of working >> time availabl

Re: [BUG] italics run past where they should

2022-08-16 Thread Alejandro Colomar
On 8/16/22 14:40, G. Branden Robinson wrote: Hi Alex, At 2022-08-16T13:57:00+0200, Alejandro Colomar wrote: On 8/16/22 03:59, G. Branden Robinson wrote: I didn't realize you were waiting on me--sorry. It would be good if you could collect the pager output _including terminal escape sequence

Re: Regarding groff and eqn

2022-08-16 Thread Riza Dindir
Oh oh. Tooo many mistakes. What was i thinking. Will try these. Thanks. On Tue, Aug 16, 2022, 13:17 G. Branden Robinson < g.branden.robin...@gmail.com> wrote: > At 2022-08-16T12:56:30+0300, Riza Dindir wrote: > > I am using groff 1.22.4 on FreBSD 13.1. Wanted to write inline > > equations (in a d

Re: [BUG] italics run past where they should

2022-08-16 Thread G. Branden Robinson
Hi Alex, At 2022-08-16T13:57:00+0200, Alejandro Colomar wrote: > On 8/16/22 03:59, G. Branden Robinson wrote: > > I didn't realize you were waiting on me--sorry. It would be good if > > you could collect the pager output _including terminal escape > > sequences_, for instance using the script(1)

Re: [BUG] italics run past where they should

2022-08-16 Thread G. Branden Robinson
At 2022-08-16T15:13:54+0200, Alejandro Colomar wrote: > That's weird; I used both xterm and xfce-terminal, and both seem to > reproduce it. I documented all of the software I used to reproduce it > in this message: > > Ah right, th

Re: Regarding groff and eqn

2022-08-16 Thread Riza Dindir
Thank you Branden, that was it. Now I can create an inline math expression, although the inline math expression was nonsense in the document :) On Tue, Aug 16, 2022 at 4:23 PM Riza Dindir wrote: > > Oh oh. Tooo many mistakes. What was i thinking. Will try these. Thanks. > > On Tue, Aug 16, 2022,

About groff and dformat

2022-08-16 Thread Riza Dindir
Hello All, I am trying to get dformat to work. What I did was this. I first tried to include an example dformat script into my document. I got the first example from the troff.org site (https://troff.org/prog.html). The first example for the dformat processor. That example has been using inline e

Re: [BUG] italics run past where they should

2022-08-16 Thread Alejandro Colomar
On 8/16/22 15:31, G. Branden Robinson wrote: printf '\e[1mbold\e[7minversebold\e[27mbold\e[22mnormal\e[0m\n' I see what the words tell. Nothing weird. -- Alejandro Colomar OpenPGP_signature Description: OpenPGP digital signature

Re: [BUG] italics run past where they should

2022-08-16 Thread Alejandro Colomar
Hi Branden, On 8/16/22 15:31, G. Branden Robinson wrote: At 2022-08-16T15:13:54+0200, Alejandro Colomar wrote: That's weird; I used both xterm and xfce-terminal, and both seem to reproduce it. I documented all of the software I used to reproduce it in this message:

Re: About groff and dformat

2022-08-16 Thread Thomas Dupond
Riza Dindir wrote: > Hello All, Hi! > I am trying to get dformat to work. What I did was this. > > I first tried to include an example dformat script into my document. I > got the first example from the troff.org site > (https://troff.org/prog.html). The first example for the dformat > process

Re: [BUG] italics run past where they should

2022-08-16 Thread Alejandro Colomar
Hi Branden, On 8/16/22 18:58, Alejandro Colomar wrote: Heh, I just installed three virtual machines: debian stable, testing, and unstable.  Guess what?  None of them reproduce the issue. This is very weird.  AFAIR, the only difference that I have compared to a clean Sid install, is that I hav

Re: [BUG] italics run past where they should

2022-08-16 Thread Alejandro Colomar
Hi Branden, On 8/16/22 22:52, Alejandro Colomar wrote: Hi Branden, On 8/16/22 18:58, Alejandro Colomar wrote: Heh, I just installed three virtual machines: debian stable, testing, and unstable.  Guess what?  None of them reproduce the issue. This is very weird.  AFAIR, the only difference th

Re: Standardize roff

2022-08-16 Thread Sam Varshavchik
Ingo Schwarze writes: Hi San, Sam Varshavchik wrote on Sun, Aug 14, 2022 at 08:20:34PM -0400: > Ingo Schwarze writes: >> DJ Chase wrote on Sat, Aug 13, 2022 at 05:27:34PM +: >>> Have we ever considered a de jure *roff standard? >> No, i think that would be pure madness given the amount of

Re: Standardize roff

2022-08-16 Thread Alexis
Sam Varshavchik writes: I believe that for man pages, roff should've been replaced by Docbook XML a long time ago. Personally, i'm grateful that it hasn't. Apart from Ingo's thorough critique of DocBook: https://undeadly.org/cgi?action=article&sid=20190419101505 i doubt i'd have had

deroff availability

2022-08-16 Thread DJ Chase
Hi everyone, Does anyone know how I could get a copy of deroff(1) on my machine (Fedora Linux 36)? It’s not in the repos — or seemingly any Linux repos for that matter — and I can’t seem to find the source for it. I’ve also tried to find similar tools, such as roff2text, but that actually (poorly

Re: About groff and dformat

2022-08-16 Thread Riza Dindir
Hello Thomas, To make sure, I have this in my dformat.sh awk -f dformat.awk $* I tried with the dformat.awk that I have found (https://github.com/arnoldrobbins/dformat) and the dformat.awk that you have pointed out (https://github.com/sathlan/dformat). But still I am getting the same error messa

Re: About groff and dformat

2022-08-16 Thread Riza Dindir
Hello Thomas, Finally I was able to use the dformat without problems. The problem was the order in the pipe. In the original paper the author provided an example on the order of the preprocessors. I did not have the correct order. It should have been !sh dformat.sh format-test.ms | pic | tbl | eq

Re: deroff availability

2022-08-16 Thread Laurens Kils-Hütten
Am Wed, Aug 17, 2022 at 03:47:31AM + schrieb DJ Chase: > Does anyone know how I could get a copy of deroff(1) on my machine > (Fedora Linux 36)? It’s not in the repos — or seemingly any Linux repos > for that matter — and I can’t seem to find the source for it. The Arch Linux User Repository (

Re: [BUG] italics run past where they should

2022-08-16 Thread G. Branden Robinson
Hi Alex, At 2022-08-16T23:36:40+0200, Alejandro Colomar wrote: > Okay, so I tried with Debian stable, and groff built from source > doesn't have a bug there. > > To reproduce the bug you need: > > - Debian Sid > - Any pager that does highlighting will do (tried less and batcat). > - Any terminal