On Tuesday, 6 August 2019 18:11:03 BST Jean Louis wrote:
> I wish it could be simpler. But I am not getting it to work.
> 
> Find the file in attachment.
> 
> [~/Programming/groff/mom-2.4/examples]
> admin-> pdfmom -k letter.mom > out.pdf
> letter.mom:10: warning: can't find font `U_HR'
> letter.mom:18: warning: can't find special character `u0043_030C'
> 
> This is because of character Č inside.
> 
> Jean


Hi Jean,

Two problems:-

One, my "solution" used underscores when it should have used hyphens, so the 
"magic" is "U-"!!

Two, I have found, in your example, the .FAMILY line needs to come after 
.START.

The attached works Ok on my setup.

Cheers 

Deri
.\" -*- mode: text; coding: utf-8; -*-
\#
\# Copyright (C) 2004-2018 Free Software Foundation, Inc.
\#
\# Copying and distribution of this file, with or without modification,
\# are permitted in any medium without royalty provided the copyright
\# notice and this notice are preserved.
\#
.AUTHOR    "Yannick P. Guique"
.DOCTYPE    LETTER
.PRINTSTYLE TYPESET
.START
.FAMILY U-H
.DATE
August 25, 2013
.TO
GUILLAUME BARRIÈRES
Minidoux Corporation š Š ć Ć č Č đ Đ ž Ž
5000 Pannes Drive
Redmond, Virginia
USA
.FROM
Y.P. GUIQUE
022 Umask Road
St-Sauveur-en-dehors-de-la-mappe, Québec
CANADA
.GREETING
Dear Mr. Barrières,
.PP
It has come to my attention that you have been lobbying the
US government to prohibit the use of open source software by
endeavouring to outlaw so-called "warranty free" applications.
.PP
I feel it is my duty to inform you that the success of your
operating system with its embedded web browser relies heavily
on open source programs and protocols, most notably TCP/IP.
.PP
Therefore, in the interests of your corporation's fiscal health,
I strongly advise that you withdraw support for any US
legislation that would cripple or render illegal open source
development.
.CLOSING
Sincerely,
.\" Local Variables:
.\" mode: nroff
.\" End:
.\" vim: filetype=groff:

Reply via email to