Re: Groff hdtbl tables disappear near the footer

2023-12-16 Thread Bjarni Ingi Gislason
There are bugs in "page-a.ms". The last one is for a trailing space. Found by using the options "-ww -b -z" (except the trailing space) and patched HDTBL macros. --- page-a.ms 2023-12-16 17:42:06.0 + +++ page-a.new.ms 2023-12-16 18:06:58.0 + @@ -3,7 +3,7 @@

Re: Groff hdtbl tables disappear near the footer

2023-12-13 Thread Bjarni Ingi Gislason
On Wed, Dec 13, 2023 at 02:59:15AM +0100, Tadziu Hoffmann wrote: > > > > Here is another example where, when the table doesn't fit on the page, > > it vanishes and is not carried over to the following page. > > As far as I can tell, hdtbl does not start a new page by itself > when a table does

Re: Groff hdtbl tables disappear near the footer

2023-12-06 Thread Bjarni Ingi Gislason
I get a somewhat different result as the paragraph "Company Four" is entirely on the first page. That is without any change to the provided files. There are also these warning, but the do not seem to interfere with the output. The pdf-file with "Page size = letter" is in the attachment.

Re: Groff hdtbl tables disappear near the footer

2023-12-05 Thread Mike
> Seems to work if you add:- > > .am pg@top > . t*hm > .. That appears to have worked. Thank you for pointing that out. Very much appreciated! Kind regards, Mike

Re: Groff hdtbl tables disappear near the footer

2023-12-05 Thread Deri
On Tuesday, 5 December 2023 16:57:26 GMT Mike wrote: > > Can you prepare a pair of exhibits for us to test? One that doesn't > > show the problem, and one with as minimal a change as you can make to > > cause it to happen? > > Yes. I am attaching 3 documents: > >- A stripped down section of

Re: Groff hdtbl tables disappear near the footer

2023-12-05 Thread Mike
> Can you prepare a pair of exhibits for us to test?  One that doesn't > show the problem, and one with as minimal a change as you can make to > cause it to happen? Yes. I am attaching 3 documents: - A stripped down section of the CV template (hdtbl-issue.ms). - A macro file

Re: Groff hdtbl tables disappear near the footer

2023-12-04 Thread G. Branden Robinson
[Mike CCed just to be sure he gets this] Hi Mike, At 2023-12-04T18:43:15+, Mike wrote: > I am new to groff. I am more a designer than a coder, so my > understanding here may be lacking. No worries. This list is definitely not just for programmers. > I created a CV template using groff +

Groff hdtbl tables disappear near the footer

2023-12-04 Thread Mike
Hello, I am new to groff. I am more a designer than a coder, so my understanding here may be lacking. I created a CV template using groff + ms macros + tbl + hdtbl. To be fair, it worked wonderfully. I was able to replicate what I had previously done with LaTeX. Including adding hdtbl table

Re: [Groff] HDTBL

2014-10-12 Thread Ralph Corderoy
Hi Yves, I'm running: pdfmom -mhdtbl felicidad.mom felicidad.pdf The table in my doc is: .TBL .TR .TD contents of the table cell .ETB But nothing happens after running the command line. My cursor just goes to the next line and sits there. I have to CTRL+X to get my prompt

Re: [Groff] HDTBL

2014-10-12 Thread Yves Cloutier
Hello Ralph, I'm not sure what the term is, but I use CTRL-X to stop a process that seems to just hang in the terminal. Like endless loops etc.. Ok thanks for the -mtrace tip. I ended up going back to try to workout my table using tbl, since although HDTBL was working in a virgin document, when

[Groff] HDTBL

2014-10-11 Thread Yves Cloutier
Hi list, I'm currently working on a project and would be interested in communicating with the author of HDTBL for making tables. Joachim, would you be able to send me a msg? As an aside, can anyone tell me if I need to include any special argument at the command line to be able to use HDTBL?

Re: [Groff] HDTBL

2014-10-11 Thread Ralph Corderoy
Hi Yves, As an aside, can anyone tell me if I need to include any special argument at the command line to be able to use HDTBL? I know for TBL I need to include -t, but what about for HDTBL? I wasn't able to find that out. I think it's implemented entirely as macros? No preprocessor, as

Re: [Groff] HDTBL

2014-10-11 Thread Werner LEMBERG
As an aside, can anyone tell me if I need to include any special argument at the command line to be able to use HDTBL? I know for TBL I need to include -t, but what about for HDTBL? I wasn't able to find that out. I think it's implemented entirely as macros? No preprocessor, as with

Re: [Groff] HDTBL

2014-10-11 Thread Yves Cloutier
hmmm, I think this is not compatible with Peter's MOM macros? the -hdtbl command line arg does not seem to be taken in by pdfmom. Just having a real hard time doing a really simple table one col table with tbl and thought I would try hdtbl... .TS H center box; c l l. PENSAMIENTOS NEGATIVOS QUE

Re: [Groff] HDTBL

2014-10-11 Thread Ralph Corderoy
Hi Yves, the -hdtbl command line arg does not seem to be taken in by pdfmom. You should be using -mhdtbl. -m takes the name of a macro file to find and load; hdtbl. http://manned.org/pdfmom.1 says it's happy to take groff options and pass them along. If it still doesn't work, paste us the

Re: [Groff] HDTBL

2014-10-11 Thread Peter Schaffter
Yves -- On Sat, Oct 11, 2014, Yves Cloutier wrote: hmmm, I think this is not compatible with Peter's MOM macros? I've never tested mom with hdtbl. Just having a real hard time doing a really simple table one col table with tbl and thought I would try hdtbl... Mom's implementation of .TS

Re: [Groff] HDTBL

2014-10-11 Thread Yves Cloutier
Hello Ralph, I'm running: pdfmom -mhdtbl felicidad.mom felicidad.pdf The table in my doc is: .TBL .TR .TD contents of the table cell .ETB But nothing happens after running the command line. My cursor just goes to the next line and sits there. I have to CTRL+X to get my prompt back. On

Re: [Groff] HDTBL

2014-10-11 Thread Yves Cloutier
Ok wait, I have got it working. I decided to try in a virgin doc, with only the table. .TBL cols=1 . TR .TD smallcaps, size +2Pensamientos Negativos Que Nutren Al Ego . TR .TD [list:bullet] * Cuando me juzgo a mi o alguien * Cuando chismeo, ya sea en positivo o negativo * Cuando me critico o

Re: [Groff] hdtbl for tables of many pages in man

2013-01-31 Thread Clarke Echols
I had that problem in the HP-UX Reference back about 30 years ago. No 3-page tables, but there was an occasional splash across from one page to a second. We concluded it wasn't worth the effort to make a global macro that works because it's rare in the world of man pages. Just stay with the

Re: [Groff] Hdtbl rowspan bug

2006-11-06 Thread Werner LEMBERG
I've been playing with the hdtbl macros and I noticed this anomaly. I'm using groff 1.18.1 (the latest via cygwin). Here's the input: .TBL cols=2 .TR .TD January rowspan=2 .TD 1 .TR .TD 2 .TR .TD February rowspan=2 .TD 3 .TR .TD 4 .TR .TD March rowspan=2 .TD 5 .TR .TD 6

[Groff] Hdtbl rowspan bug

2006-10-20 Thread Barry Nisly
Greetings, I've been playing with the hdtbl macros and I noticed this anomaly. I'm using groff 1.18.1 (the latest via cygwin). Here's the input: .TBL cols=2 .TR .TD January rowspan=2 .TD 1 .TR .TD 2 .TR .TD February rowspan=2 .TD 3 .TR .TD 4 .TR .TD March rowspan=2 .TD 5 .TR .TD 6 .ETB