osmith has uploaded this change for review. (
https://gerrit.osmocom.org/c/pysim/+/40953?usp=email )
Change subject: docs: fix authors line exceeding the page
......................................................................
docs: fix authors line exceeding the page
Fix that the authors get cut off as they exceed the page in the PDF
version. This can currently be seen here:
https://downloads.osmocom.org/docs/pysim/master/osmopysim-usermanual.pdf
Change-Id: Iacbba6c2f74bf2b9f96057e71bde017a11f703a8
---
M docs/conf.py
1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/53/40953/1
diff --git a/docs/conf.py b/docs/conf.py
index 8455007..9091878 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -21,6 +21,14 @@
copyright = '2009-2023 by Sylvain Munaut, Harald Welte, Philipp Maier, Supreeth
Herle, Merlin Chlosta'
author = 'Sylvain Munaut, Harald Welte, Philipp Maier, Supreeth Herle, Merlin
Chlosta'
+# PDF: Avoid that the authors list exceeds the page by inserting '\and'
+# manually as line break (
https://github.com/sphinx-doc/sphinx/issues/6875)
+latex_elements = {
+ "maketitle":
+ r"""\author{Sylvain Munaut, Harald Welte, Philipp Maier, \and
Supreeth Herle, Merlin Chlosta}
+\sphinxmaketitle
+"""
+}
# -- General configuration ---------------------------------------------------
--
To view, visit
https://gerrit.osmocom.org/c/pysim/+/40953?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Iacbba6c2f74bf2b9f96057e71bde017a11f703a8
Gerrit-Change-Number: 40953
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>