Improve Your Groff and Troff Pipeline - Using a Shell Script and Makefiles
Gavin Freeborn
This is the 14 in a series of videos taking you from a beginner to a pro at using Troff/Groff.
This tutorial is focused on helping understand the pipeline used in troff programs.
Compiler Script: https://github.com/Gavinok/scripts/blob/master/tools/compiler
Luke Smith's Compiler: https://github.com/LukeSmithxyz/voidrice/blob/master/.local/bin/compiler
Makefile Shown In This Video: https://gist.github.com/Gavinok/c5df6686526c547a326e85fc87cd2846
Makefile Templates: https://github.com/Gavinok/dotvim/tree/master/extra/snip/_make
Let me know what you think and if there is anything specific you would like to learn about.
Github: https://www.github.com/gavinok vimrc: https://github.com/Gavinok/dotvim
lbry: https://open.lbry.com/@GavinFreeborn:d?r=FVxxdjxLmbpPS5K4EdMsLjBjkxv9eEGs https://www.patreon.com/creator-home Discord: https://discord.gg/JJk5KKU
⏱️TIMESTAMPS⏱️ 00:00:00 Intro 00:01:15 Script Explanation 00:02:52 Using The Script 00:03:11 Tip For Using With Vim 00:03:44 Alternate Between Compiler And Make 00:04:26 Setting Up A Makefile 00:05:07 Using Suffix Rules 00:06:00 .SUFFIXES: 00:07:22 Abstracting From Groff 00:08:23 Setting Up Your Preprocessors 00:11:51 Porting This To Neatroff 00:14:17 Adding A Clean Command 00:17:53 Creating Makefiles Faster 00:20:45 Outro ... https://www.youtube.com/watch?v=-WG6ozhRtZs
116656193 Bytes