[PATCH 2/8] Makefile: Fix recipe of target 'perfbook-msn.pdf'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 2a6f16a97317ef5fc9f21edfa7351cef1d950e6d Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@xxxxxxxxx>
Date: Fri, 22 Feb 2019 20:39:24 +0900
Subject: [PATCH 2/8] Makefile: Fix recipe of target 'perfbook-msn.pdf'

Commit ff9ddf1a7a8f ("defer/rcuapi: Tweak Table 9.3 with
nimbusmononarrow font") botched target 'perfbook-msn.pdf'
and "lmtt" became the default monospace font.
This is because the second "\usepackage{nimbusmononarrow}
in the preamble does nothing.

This can be fixed by removing "\renewcommand*\ttdefault{lmtt}"
instead of adding the redundant "\usepackage{nimbusmononarrow}".

Fixes: ff9ddf1a7a8f ("defer/rcuapi: Tweak Table 9.3 with nimbusmononarrow font")
Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 4547256..89abea2 100644
--- a/Makefile
+++ b/Makefile
@@ -173,7 +173,7 @@ perfbook-msr.tex: perfbook.tex
 	@echo "## This target requires font package nimbus15. ##"
 
 perfbook-msn.tex: perfbook.tex
-	sed -e 's/%msfontstub/\\usepackage{nimbusmononarrow}/' \
+	sed -e 's/\\renewcommand\*\\ttdefault{lmtt}//' \
 	    -e 's/{lmttforcode}{true}/{lmttforcode}{false}/' \
 	    -e 's/{nimbusavail}{false}/{nimbusavail}{true}/' < $< > $@
 	@echo "## This target requires font package nimbus15. ##"
-- 
2.7.4





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux