5

I require Polish diacritics, such as ą, ć, ę, etc.

Of course, I can always pre-process the file to replace UTF-8 characters with escaped characters but that's not elegant.

  • you mean like this (press and hold) then pick one ç ,ć, č, ß, ś, š – Ruskes Nov 5 '18 at 19:44
  • Sorry for the confusion. The problem is not to enter the characters into the .ms file but to have groff render then properly in PS output. – Marek Kowalczyk Nov 5 '18 at 20:02
3

As of today, macOS Mojave ships with a quite outdated version of groff (1.19 or something...) which apparently cannot handle the -K option. Thus it fails to recognise any fancy diacritics (german umlauts in my case), if you run groff -Kutf8 ....

You can get a newer version of groff on macOS by installing it via Homebrew, as per this post

brew install groff gs

(not sure if gs for ghostscript is actually required; I installed it anyway)

1

The following convoluted way works:

groff -Kutf8 -Tdvi -mec -ms test.ms > test.dvi
dvipdfm -cz 9 test.dvi
open test.pdf

Via the [Groff] latin2 polish special characters thread on lists.gnu.org.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .