Groff/Troff General

Just encode your document as UTF-8 and set the encoding for groff.


фаггот

It is set as my default encoding in vim, exporting seems fine.
Which command will exactly do this?

troff only supports ascii text by default.
The preconv preprocessor can be used to convert any unicode characters into a format which troff can understand. Alternatively you can pass the -k option to troff which will automatically pass any input through preconv.

All variants are printing this:
[code]warning: can't find special character `u044B'
warning: can't find special character `u0432'
warning: can't find special character `u0444'[code]

Haha, yeah I watched Luke's video on groff too.

I have been using groff for the last few weeks for all my school papers and i'm really starting to like it.

luke smith pls go and stay go

Attached: 1536875226139.jpg (480x480, 24.92K)

I had a quick search and it seems to a problem with the ps/pdf output.
This stackoverflow post may help.
unix.stackexchange.com/questions/361274/how-do-i-convert-a-troff-manpage-with-utf-8-characters-czech-to-be-precise-to

Fuck off luke lol
Now that that's out of the way i do like groff because it isn't as bloated as LaTeX. I am too lazy to learn any new markup language so i just use md2roff to convert my md files to man files which i then convert to pdfs.

Attached: fa29e6683434134b4a00a02b6068959cadbac35efa2bbe7fab3d220622220cff.jpg (300x188, 17.37K)

You could use it to make websites, like make an HTML version of the documents you have already created.