On Wednesday, 26 July 2017 09:30:24 UTC+2, jfbu wrote:
>
> Le 26/07/2017 à 08:55, jfbu a écrit :
> > Thus we are led to
> >
> > 'passoptionstopackages' : r'''
> > \let\paragraph\section
> > \let\subparagraph\section
> > \let\definitions\relax
> > \let\enddefinitions\relax
> > ''',
> >
> >
> > with this make latexpdf completes on hello world document.
> >
> > I am sure there will be many issues.
>
> I tried this with Sphinx own docs and there are issues
> the first one is
>
> ! Undefined control sequence.
> \FNH@spewnotes ...@gobbletwo \FNH@H@@footnotetext
> {\unvbox \FNH@notes
> }\endg...
> l.9256 \sphinxattableend\end{savenotes}
>
> ? R
> OK, entering \nonstopmode...
> [268] [269] [270] [271] [272] [273] [274] [275]
>
>
> where I suspect a problem with hyperref+beamer as is confirmed a bit later
> on
>
> ! Undefined control sequence.
> \capstart ->\ifcapstart \H@refstepcounter
> \@captype \hyper@makecurrent
> \@cap...
> l.10520 \capstart
>
> ! Undefined control sequence.
> \capstart ...counter \@captype \hyper@makecurrent
> \@captype \global \let
> \hc...
> l.10520 \capstart
>
> strangely there is then this error
>
>
> ! Package xcolor Error: Undefined color `OldLace'.
>
>
> and then we reach
>
> [829] [830] [831] [832] [833] [834] [835] [836] [837] [838] [839] [840]
>
> ! LaTeX Error: Environment theindex undefined.
>
> and from then one hundreds of errors of the type
>
> ! LaTeX Error: Lonely \item--perhaps a missing list environment.
>
>
> due to the missing theindex environment.
>
> and LaTeX aborts.
>
> But it has almost completed successfully (800 "pages" produced before
> catastrophic failure at the time of typesetting the indices)
>
> Thus it should be possible perhaps with enough hacking around to make it
> work,
> Ah I see in the log file
>
> Package footnotehyper-sphinx Warning: Footnotes will be sub-optimal,
> sorry. Thi
> s is due to the document class or
> some package modifying macro \@makefntext.
> You can try to report this incompatibility at
> https://github.com/sphinx-doc/sphinx with this info:.
>
> macro:#1->\def \insertfootnotetext {#1}\def \insertfootnotemark
> {\@makefnmark }
> \usebeamertemplate ***{footnote}
>
>
> So here we need footnotehyper-sphinx to contain a special detection
> routine of beamer class. The message only says footnote will be
> "sub-optimal" and at this stage I don't know if this problem with
> \@makefntext explains the error reported above with \FNH@H@@footnotetext
>
> I will ping the author of footnotehyper.
>
> I am a bit more worried about the
>
> ----
> ! Undefined control sequence.
> \capstart ->\ifcapstart \H@refstepcounter
> \@captype \hyper@makecurrent
> \@cap...
> l.10520 \capstart
>
> The control sequence at the end of the top line
> of your error message was never \def'ed. If you have
> ----
>
> Because investigating Hyperref issues is very demanding.
>
> I can't investigate at all now, perhaps a bit later today but I am short
> on time.
> And may not be able to return to this until a few weeks
>
> Thus, currently it is not possible to use Beamer class.
>
> Best,
>
> Jean-Francois
>
>
>
Dear Jean-Francois,
thank you very much for the very thorough investigation! The confusing
nature of the error output remind me of my past (thesis) day when I was
fighting with Latex. :D
I think for the moment I won't try to convince Sphinx of my intentions, and
will try to make either https://github.com/myint/rst2beamer work ("A
docutils script converting reStructuredText into Beamer-flavoured LaTeX."),
or try to find willing maintainers to fix bugs in
https://github.com/nyergler/hieroglyph/ (it is "recommended"/mentioned in
the sphinx faq, after all).
All the best,
Christoph
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.