Skip to content

Regression fixes & improvements in build scripts/preamble

Akira Yokosawa perfbook 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8defer/rcuapi: Force break between two API in Table 9.3defer/rcuapi.tex+2 -20 replies
2/8Makefile: Fix recipe of target 'perfbook-msn.pdf'Makefile+1 -10 replies
3/8Makefile: Add check of font package availabilityMakefile+37 -50 replies
4/8Specify PDF minor version 1.7perfbook.tex+3 -00 replies
5/8Suppress warning from pdfTeX on figures transformed by Inkscapeperfbook.tex+4 -00 replies
6/8Makefile: Add optional recipe to detect conflict in page group object.gitignore Makefile pagegroup +1 more+60 -10 replies
7/8Makefile: Don't remove .fcv and .ltms files in target 'clean'Makefile+3 -30 replies
8/8Widen tabsize of code snippets for 1c layoutperfbook.tex+9 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] Regression fixes & improvements in build scripts/preamble

Hi Paul,

This patch series consists of regression fixes of commit ff9ddf1a7a8f ("defer/rcuapi: Tweak Table 9.3 with nimbusmononarrow font") and improvements in build scripts and the preamble.

Patches #1 and #2 are regression fixes.

Patch #3 adds LaTeX font-package availability check to the experimental targets. "make" used to print info on necessary font packages but always ran pdflatex, which could end up in error. Now "make" aborts with a message telling where to look.

Patches #4 and #5 take care of warnings from pdfTeX.
Patch #4 resolves mismatch of PDF minor version. The warning is caused by the change in Ghostscript 9.26 to make PDF 1.7 the default. Now pdflatex also uses PDF 1.7 for its output.

Patch #5 is to suppress warning from pdfTeX indicating possible incompatible page group objects within a page. Page group objects are generated by Inkscape in ".svg -> .pdf" transformation. As of now, there is no .svg file with a different page group object. I've not figured out the way to generate such a page group object by Inkscape. Note that this change does not affect TeX Live 2013/Debian.

Before these changes,
grep -i "pdftex warning" -c perfbook.log
returns 128 (can vary depending on page layout).

After these patches are applied, it returns 0 (on TeX Live 2014 or later).

Patch #6 adds a recipe to detect conflicting page group object. You need to set an environment variable to enable the recipe.

Patch #7 tweaks target "clean" to keep .fcv and .ltms files.

Patch #8 increases tabsize of fancyvrb snippets for 1c layout. "tabsize=8" should be easier to read for kernel developers.

You might notice slowdown of "make" due to patch #3. Hopefully, it wouldn't be irritating for you.

Thanks, Akira
--
Akira Yokosawa (8):
defer/rcuapi: Force break between two API in Table 9.3
Makefile: Fix recipe of target 'perfbook-msn.pdf'
Makefile: Add check of font package availability
Specify PDF minor version 1.7
Suppress warning from pdfTeX on figures transformed by Inkscape
Makefile: Add optional recipe to detect conflict in page group object
Makefile: Don't remove .fcv and .ltms files in target 'clean' Widen tabsize of code snippets for 1c layout

 .gitignore                |  2 ++
 Makefile                  | 64 ++++++++++++++++++++++++++++++++++++++++-------
 defer/rcuapi.tex          |  4 +--
 pagegroup                 |  6 +++++
 perfbook.tex              | 19 +++++++++++---
 utilities/extpagegroup.pl | 37 +++++++++++++++++++++++++++
 6 files changed, 118 insertions(+), 14 deletions(-)
 create mode 100644 pagegroup
 create mode 100755 utilities/extpagegroup.pl
Signature · 1 line
2.7.4