[PATCH] common: Support Sphinx 2.0.0

2019-04-03 Thread Sebastian Huber
Without this chage there is no custom RTEMS title page with Sphinx
2.0.0.

Maybe it is better to use the 'maketitle' option:

https://www.sphinx-doc.org/en/master/latex.html
---
 common/rtemsstyle.sty | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/rtemsstyle.sty b/common/rtemsstyle.sty
index 15f80b5..1f88bce 100644
--- a/common/rtemsstyle.sty
+++ b/common/rtemsstyle.sty
@@ -54,6 +54,7 @@ gobble=0,
   \if@openright\cleardoublepage\else\clearpage\fi
   \spx@tempa
 }
+\renewcommand{\sphinxmaketitle}{\maketitle}
 
 \fancypagestyle{normal}{
   \fancyhf{}
-- 
2.16.4

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH] common: Support Sphinx 2.0.0

2019-04-03 Thread Chris Johns
On 3/4/19 6:25 pm, Sebastian Huber wrote:
> Without this chage there is no custom RTEMS title page with Sphinx
> 2.0.0.
> 
> Maybe it is better to use the 'maketitle' option:
> 

Yes but I need to get enough time to sort this out. I was heading down this path
until we received excellent advice from the sphinx community on solving the
issue we had.

> https://www.sphinx-doc.org/en/master/latex.html
> ---
>  common/rtemsstyle.sty | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/common/rtemsstyle.sty b/common/rtemsstyle.sty
> index 15f80b5..1f88bce 100644
> --- a/common/rtemsstyle.sty
> +++ b/common/rtemsstyle.sty
> @@ -54,6 +54,7 @@ gobble=0,
>\if@openright\cleardoublepage\else\clearpage\fi
>\spx@tempa
>  }
> +\renewcommand{\sphinxmaketitle}{\maketitle}
>  
>  \fancypagestyle{normal}{
>\fancyhf{}
> 

Does this work with older versions?

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH] common: Support Sphinx 2.0.0

2019-04-03 Thread Sebastian Huber

On 03/04/2019 10:35, Chris Johns wrote:

https://www.sphinx-doc.org/en/master/latex.html
---
  common/rtemsstyle.sty | 1 +
  1 file changed, 1 insertion(+)

diff --git a/common/rtemsstyle.sty b/common/rtemsstyle.sty
index 15f80b5..1f88bce 100644
--- a/common/rtemsstyle.sty
+++ b/common/rtemsstyle.sty
@@ -54,6 +54,7 @@ gobble=0,
\if@openright\cleardoublepage\else\clearpage\fi
\spx@tempa
  }
+\renewcommand{\sphinxmaketitle}{\maketitle}
  
  \fancypagestyle{normal}{

\fancyhf{}


Does this work with older versions?


I didn't test with older versions.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel