You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sphinx-users
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
Komiya Takeshi
unread,
Jan 7, 2020, 11:18:55 AM1/7/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sphinx...@googlegroups.com
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