Installing Fonts in Groff - LaTeX fans hate him

preview_player
Показать описание
This video is part of a series taking you from a
beginner to a pro at using Troff/Groff.

This tutorial is focused on installing fonts in Groff
Let me know what you think and if there is anything specific you would like to learn about.

MOM website
Direct link to script

Command to get the zip file for the fonts

Command used in script for roman font

If you have issues with a missing directory this should fix it
$ sudo mkdir -p /usr/local/share/fonts/truetype/

Setting font family
```
.fam cm \" set font family
.ft R \" set font type
This is some text for testing
```

⏱️TIMESTAMPS⏱️
00:00:00 - Intro
00:00:12 - Making Font's look
00:01:11 - Where To Get The Script
00:01:49 - Setting Up The Script
00:02:05 - Over View Of Options
00:03:34 - Installing Computer Modern Fonts
00:05:42 - What Settings To Use
00:07:01 - Demo Of New Font
00:07:32 - Install Italic Font
00:08:05 - Install Bold Font
00:08:33 - Final Example
00:08:55 - Outro
Рекомендации по теме
Комментарии
Автор

Thank you so much, it was driving me crazy tring to install new fonts to Groff!

macprc
Автор

Hi, could you make a video on refer? Especially a guide on making your own reference styles. I am struggling in finding a way to do APA7 referencing in Groff

cannedeals
Автор

Why is it so hard to make this program use a font that's already on my computer??!!?!

BigYoshi
Автор

I made the font family name wrong, how to uninstall that?

zhiychen
Автор

Check out neatroff and heirloom troff if you want better font support and text layout algos.

falafelfajt
Автор

I was wondering about this precisely because of the equations, I guess it's not worth the trouble

nykal
Автор

I was trying to figure this out last weekend for a project proposal that I am writing.

xA
Автор

I basically spent last 4 hours reading on how to get proper unicode fonts working in PDFs. I even had your first groff video open in the background the whole time xD

I successfully converted the Libertine .ttf fonts, which give me those fancy IPA symbols like ⟨ʂ⟩ ⟨ʐ⟩ ⟨ʈ͡ʂ⟩ ⟨ɲ⟩. However some stuff (like ⟨ɔ⟩ or ⟨ʲ⟩) seems to be lost when converting with install-font.sh. Also tone letter ligatures do not work – ⟨˨⟩+⟨˩⟩+⟨˧⟩ ≠ ⟨˨˩˧⟩.

Do you know what could be the problem or how could I use Libertine's sources directly instead of .ttf files?


Btw, the script needs the fonts to be present in the current directory, because of the "`basename "${file}"`" part.

mskiptr
Автор

Do you know how to automatically split a table on various pages using groff/troff? If the table doesn't fit on the page simply doesn't show

juanadriancastroquintana
Автор

For those who want to try making the thumbnail text for your self
```
.ds LATEX
.ce
This is not \*[LATEX]
.ce
tis Groff
```

GavinFreeborn
Автор

Nice tutorial, can you suggest font for cyrillic (utf-8) symbols. I do exactly the same but always got errors **can't find special character 'u0418'** . I use Luke smith compiler script. I try to solve that problem about a week... Kindly ask to help((

lionwolf
Автор

also, how dare you pronounce troff “troff”

humm
Автор

Few seconds in and you already confuse TeX and LaTeX.

humm
visit shbcf.ru