Re: Long Heading lines using mom

2023-12-05 Thread Heinz-Jürgen Oertel
Hello Peter,

thanks again for your valuable help.

Am Freitag, 1. Dezember 2023, 22:38:06 CET schrieb Peter Schaffter:
>  [...]
> > I'm sure I did update om.tmac.  Can I see the used mom version
> > somewhere in the output text?
> 
> At the command line, 
> 
>   echo | pdfmom -dVERSION=1
> 
> will return the mom version number.

this gave me the solution. I did update mom in /usr/local/share/groff instead 
of /usr/share/groff

Now, I'm happy again.

Greetings
Heinz





Re: Long Heading lines using mom

2023-12-01 Thread Peter Schaffter
I'm CCing this to the list because emails to Heinz are being
returned as undeliverable.

Heinz --
 
On Fri, Dec 01, 2023, Heinz-Jürgen Oertel wrote:
> I just saw, that a new mom version, 2.6, should solve my problem
> with large heading lines.  But unfortunately, it doesn't work for
> me.

That's odd.  It's working with my test files.

> I'm sure I did update om.tmac.  Can I see the used mom version
> somewhere in the output text?

At the command line, 

  echo | pdfmom -dVERSION=1

will return the mom version number.

> What else can I check?

Hard to say.  If you are using 2.6 or 2.6_a and the problem
persists, please send me a file exhibiting the error.  Occasionally,
when testing mom, I inadvertently set up conditions that give
perfect results but which overlook some real world scenarios.

Cheers.

-- 
Peter Schaffter
https://www.schaffter.ca



Re: Long Heading lines using mom

2023-12-01 Thread Heinz-Jürgen Oertel
Hello Peter,

I just saw, that a new mom version, 2.6, should solve my problem with large 
heading lines.
But unfortunately, it doesn't work for me. I'm sure I did update om.tmac.
Can I see the used mom version somewhere in the output text?
What else can I check? May be print some mom variables while generating the 
output file?

Greetings
   Heinz


Am Dienstag, 29. August 2023, 10:57:27 CET schrieb Heinz-Jürgen Oertel:
> Hello,
> 
> I'm translating from English to German so I have to overtake more ore less 
> the long heading lines from a book.
> Using mom i can split the text like 
> 
> .HEADING 2 "Splitting this very long heading" "in two or more parts"
> 
> So far this works within the text part of the PDF document.  But if 
> generating the TOC, the long lines will not break.
> What can I do?
> 
> 
> 


-- 
mit freundlichen Grüßen aus Halle (Saale)
   Heinz-Jürgen Oertel





Re: Long Heading lines using mom

2023-09-11 Thread Heinz-Jürgen Oertel
Am Montag, 11. September 2023, 20:47:29 CEST schrieb Peter Schaffter:
> Heinz-Jürgen --
> 
> On Tue, Aug 29, 2023, Peter Schaffter wrote:
> > On Tue, Aug 29, 2023, Heinz-Jürgen Oertel wrote:
> > > I'm translating from English to German so I have to overtake more
> > > ore less the long heading lines from a book.  Using mom i can
> > > split the text like
> > > 
> > > .HEADING 2 "Splitting this very long heading" "in two or more parts"
> > > 
> > > So far this works within the text part of the PDF document.  But
> > > if generating the TOC, the long lines will not break.
> > > What can I do?
> > 
> > This is something I didn't take into account when setting up the
> > formatting for TOC heading entries in mom.  For very long titles
> > there's TITLE_SHORT, but nothing equivalent for headings.
> > 
> > I'm working on a solution.
> 
> I believe the problem of super-long TOC entries is solved.  We can
> thank Tadziu for that.  Who'd'a thunk you needed to stick leaders in
> a diversion in order to tack them onto filled copy?
> 
> There is a lot of checking that has to be done with TOCs--they're
> tricky beasts--but the changes should be in the repo and on mom's
> web page within the next couple of days.  I've a few other issues
> to take care of beforehand.

Thanks Peter, Thanks Tadziu

Grüße
Heinz





Re: Long Heading lines using mom

2023-09-11 Thread Peter Schaffter
Heinz-Jürgen --

On Tue, Aug 29, 2023, Peter Schaffter wrote:
> On Tue, Aug 29, 2023, Heinz-Jürgen Oertel wrote:
> > I'm translating from English to German so I have to overtake more
> > ore less the long heading lines from a book.  Using mom i can
> > split the text like
> > 
> > .HEADING 2 "Splitting this very long heading" "in two or more parts"
> > 
> > So far this works within the text part of the PDF document.  But
> > if generating the TOC, the long lines will not break.
> > What can I do?
> 
> This is something I didn't take into account when setting up the
> formatting for TOC heading entries in mom.  For very long titles
> there's TITLE_SHORT, but nothing equivalent for headings.
> 
> I'm working on a solution.

I believe the problem of super-long TOC entries is solved.  We can
thank Tadziu for that.  Who'd'a thunk you needed to stick leaders in
a diversion in order to tack them onto filled copy?

There is a lot of checking that has to be done with TOCs--they're
tricky beasts--but the changes should be in the repo and on mom's
web page within the next couple of days.  I've a few other issues
to take care of beforehand.

-- 
Peter Schaffter
https://www.schaffter.ca



Re: Long Heading lines using mom

2023-08-30 Thread Heinz-Jürgen Oertel
Hi Peter, 
Am Mittwoch, 30. August 2023, 04:08:54 CEST schrieb Peter Schaffter:
> Heinz-Jürgen --
> 
> On Tue, Aug 29, 2023, Heinz-Jürgen Oertel wrote:
> > I'm translating from English to German so I have to overtake more
> > ore less the long heading lines from a book.  Using mom i can
> > split the text like
> > 
> > .HEADING 2 "Splitting this very long heading" "in two or more parts"
> > 
> > So far this works within the text part of the PDF document.  But
> > if generating the TOC, the long lines will not break.
> > What can I do?
> 
> This is something I didn't take into account when setting up the
> formatting for TOC heading entries in mom.  For very long titles
> there's TITLE_SHORT, but nothing equivalent for headings.
> 
> I'm working on a solution.

Peter, that sounds good to me. It is not very urgent, but would be very nice.

Thanks
Heinz






Re: Long Heading lines using mom

2023-08-29 Thread Peter Schaffter
Heinz-Jürgen --

On Tue, Aug 29, 2023, Heinz-Jürgen Oertel wrote:
> I'm translating from English to German so I have to overtake more
> ore less the long heading lines from a book.  Using mom i can
> split the text like
> 
> .HEADING 2 "Splitting this very long heading" "in two or more parts"
> 
> So far this works within the text part of the PDF document.  But
> if generating the TOC, the long lines will not break.
> What can I do?

This is something I didn't take into account when setting up the
formatting for TOC heading entries in mom.  For very long titles
there's TITLE_SHORT, but nothing equivalent for headings.

I'm working on a solution.

-- 
Peter Schaffter
https://www.schaffter.ca