groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] problem with preconv and sample_docs.mom


From: G. Branden Robinson
Subject: [Groff] problem with preconv and sample_docs.mom
Date: Thu, 2 Nov 2017 04:41:27 -0400
User-agent: NeoMutt/20170113 (1.7.2)

Hi folks,

There is some misbehavior in git HEAD involving preconv and the -k flag
that affects sample_docs.mom but not other documents.

-K ascii works around it for this one document but it seems wrong to
hack mom.am to force that flag for _all_ mom documents, and even more
wrong to special-case it before I understand the problem, which I don't.

Any ideas?

$ LC_ALL=C GROFF_COMMAND_PREFIX= GROFF_BIN_PATH=".../groff" PDFMOM_BIN_PATH="." 
.../groff/pdfmom -F.../groff/font -F.../groff/font -M.../groff/tmac 
-M.../groff/tmac -M./contrib/mom -M./contrib/mom -k 
contrib/mom/examples/sample_docs.mom >|contrib/mom/examples/sample_docs.pdf
preconv: encoding `' not supported, not a portable encoding
$ cksum contrib/mom/examples/sample_docs.pdf
2396494197 6362 contrib/mom/examples/sample_docs.pdf
$ LC_ALL=C GROFF_COMMAND_PREFIX= GROFF_BIN_PATH=".../groff" PDFMOM_BIN_PATH="." 
.../groff/pdfmom -F.../groff/font -F.../groff/font -M.../groff/tmac 
-M.../groff/tmac -M./contrib/mom -M./contrib/mom -K ascii 
contrib/mom/examples/sample_docs.mom >|contrib/mom/examples/sample_docs.pdf
contrib/mom/examples/sample_docs.mom:128: can't transparently output node at 
top level
contrib/mom/examples/sample_docs.mom:298: can't transparently output node at 
top level
contrib/mom/examples/sample_docs.mom:477: can't transparently output node at 
top level
$ cksum contrib/mom/examples/sample_docs.pdf
3625347935 52588 contrib/mom/examples/sample_docs.pdf

I didn't check the document contents closely; the one with the preconv
problem is a single blank page, and the -K ascii one is 12 pages with a
nice-looking title page.  That was enough to convince me of serious
trouble.

(The "..." is just me censoring my build path; it's not interesting.)

-- 
Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]