Hi Angel, How about using latex_elements['preamble'] ? It is inserted into preamble part of the document. So you can build \sphinxmaketitle macro dynamically. https://www.sphinx-doc.org/en/master/latex.html
Thanks, Takeshi KOMIYA 2020年1月7日(火) 2:57 Angel Diaz <[email protected]>: > > I've overridden the custom class with my own class and am having issues with > variables, > is it possible to pull in a custom variable defined config.py? > > config.py > my_custom_variable='foobar' > > my_custom_class.cls (trimmed down) > \newcommand{\sphinxmaketitle}{% > {\Huge \@my_custom_varaible} \par} %<- I need something like this... > } > > Thanks in advance, > -Angel > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/sphinx-users/029bd2d0-d6a7-403f-a6c7-ad4e18af3107%40googlegroups.com. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/CAFmkQAOJ_o_h6su8AmSmohAWHCdGetb_GwTrWQ1hkGC0%3Du875g%40mail.gmail.com.
