Re: [sphinx-users] Re: Problem With \newcommand in latexpdf

2020-08-13 Thread Matthias Geier
On Thu, Aug 13, 2020 at 4:14 PM bradley...@gmail.com wrote: > > I am trying to get the same source code to produce both the html pages and a > pdf document. I think this is one of the advantages of sphinx ? Yes it is! But sometimes there are a few unexpected hurdles one has to overcome ... > I

[sphinx-users] Re: Problem With \newcommand in latexpdf

2020-08-13 Thread bradley...@gmail.com
I am trying to get the same source code to produce both the html pages and a pdf document. I think this is one of the advantages of sphinx ? I was not expecting the scope of commands to be different for the two cases, html and pdf. I am using a file called preamble.rst to get my definitions

[sphinx-users] Re: Problem With \newcommand in latexpdf

2020-08-13 Thread jfbu
Hi, Le 12/08/2020 à 14:19, bradley...@gmail.com a écrit : The index.rst file below demonstrates that \newcommand does not work with latexpdf. Below is my conf.py file # For conf.py documentation see # http://www.sphinx-doc.org/en/master/config # project