Change manual to build as A5 paper size.

This seems like a better choice for the manual since it is a "booklet"
size similar to the original Doom manual, rather than a "full page"
size that is rather unusual for a book.

Several changes are needed to allow asciidoctor to successfully produce
a PDF. The main change is to set a bunch of images to 100% width,
especially in tables where this means "100% of cell width". This allows
the tables to scale down successfully to the smaller size. I have also
adjusted the column widths of various tables to accommodate the smaller
size without the text wrapping awkwardly.
This commit is contained in:
Simon Howard 2022-06-09 19:57:37 -04:00
parent 496ed91b69
commit 89f918f517
2 changed files with 32 additions and 31 deletions

View file

@ -1,7 +1,8 @@
ASCIIDOCTOR_FLAGS = -a toc -a pdf-page-size=A5
all: freedoom-manual.pdf
freedoom-manual.pdf: manual.adoc
-asciidoctor-pdf -a toc manual.adoc -o $@
-asciidoctor-pdf $(ASCIIDOCTOR_FLAGS) manual.adoc -o $@
clean:
$(RM) freedoom-manual.pdf