From 5fa5e234007fa5d165b4a24cae66213ef0babb14 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 22 May 2025 13:53:23 -0400 Subject: [PATCH] manual: Add title pages with Freedoom logo Since we want this to become an actual book, we need the generated PDF to properly look like one. This required a bit of Asciidoc mangling but mostly looks right. --- manual/freedoom-manual-en.adoc | 33 +++++++++++++++- manual/freedoom-manual-es.adoc | 32 ++++++++++++++- manual/freedoom-manual-fr.adoc | 32 ++++++++++++++- manual/images/freedoom-logo.svg | 69 +++++++++++++++++++++++++++++++++ 4 files changed, 163 insertions(+), 3 deletions(-) create mode 100644 manual/images/freedoom-logo.svg diff --git a/manual/freedoom-manual-en.adoc b/manual/freedoom-manual-en.adoc index 263018c2..85b55090 100644 --- a/manual/freedoom-manual-en.adoc +++ b/manual/freedoom-manual-en.adoc @@ -1,7 +1,38 @@ = Freedoom Manual // SPDX-License-Identifier: BSD-3-Clause -:toc: +:toc: macro :toc-title: +:showtitle!: + +// This is the title page; it looks weird in Asciidoc but makes more +// sense in the PDF output. + +{empty} + +{empty} + +{empty} + +{empty} + +{empty} + +{empty} + + +image::images/freedoom-logo.svg[Freedoom Logo,align="center",width=500,pdfwidth=70vw] +[.text-center] +*Game Manual* + + +// We leave a blank page before the Table of Contents. + +[%always] +<<< + +[%always] +<<< + +toc::[] + +[%always] +<<< + +== Introduction image::../graphics/titlepic/titlepic.png[Freedoom Title Image,align="center",width=380,pdfwidth=50vw] diff --git a/manual/freedoom-manual-es.adoc b/manual/freedoom-manual-es.adoc index b31b5602..f0c1b18b 100644 --- a/manual/freedoom-manual-es.adoc +++ b/manual/freedoom-manual-es.adoc @@ -1,7 +1,37 @@ = Manual de Freedoom // SPDX-License-Identifier: BSD-3-Clause -:toc: +:toc: macro :toc-title: +:showtitle!: + +// This is the title page; it looks weird in Asciidoc but makes more +// sense in the PDF output. + +{empty} + +{empty} + +{empty} + +{empty} + +{empty} + +{empty} + + +image::images/freedoom-logo.svg[Freedoom Logo,align="center",width=500,pdfwidth=70vw] +[.text-center] +*Manual del Juego* + +// We leave a blank page before the Table of Contents. + +[%always] +<<< + +[%always] +<<< + +toc::[] + +[%always] +<<< + +== Introducción image::../graphics/titlepic/titlepic.png[Freedoom Title Image,align="center",width=380,pdfwidth=50vw] diff --git a/manual/freedoom-manual-fr.adoc b/manual/freedoom-manual-fr.adoc index c3f870aa..522ac9ea 100644 --- a/manual/freedoom-manual-fr.adoc +++ b/manual/freedoom-manual-fr.adoc @@ -1,7 +1,37 @@ = Manuel Freedoom // SPDX-License-Identifier: BSD-3-Clause -:toc: +:toc: macro :toc-title: +:showtitle!: + +// This is the title page; it looks weird in Asciidoc but makes more +// sense in the PDF output. + +{empty} + +{empty} + +{empty} + +{empty} + +{empty} + +{empty} + + +image::images/freedoom-logo.svg[Freedoom Logo,align="center",width=500,pdfwidth=70vw] +[.text-center] +*Manuel du Jeu* + +// We leave a blank page before the Table of Contents. + +[%always] +<<< + +[%always] +<<< + +toc::[] + +[%always] +<<< + +== Introduction image::../graphics/titlepic/titlepic.png[Freedoom Title Image,align="center",width=380,pdfwidth=50vw] diff --git a/manual/images/freedoom-logo.svg b/manual/images/freedoom-logo.svg new file mode 100644 index 00000000..99e77046 --- /dev/null +++ b/manual/images/freedoom-logo.svg @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + +