Hi all,

I often use \newcommand{} LaTeX definitions in my rst files and Sphinx
processes them correctly via

latex_elements = {'preamble' : '\\usepackage{local}'}
latex_additional_files = ['local.sty']

when I generate PDF output. However this doesn't seem to carry over to
the HTML output. I use jsmath and I get a bunch of 'Unknown control
sequence' errors in my HTML pages.

I'm placing local.sty in the sources/ directory. If I try to use
pngmath instead of jsmath and add

pngmath_latex_preamble = '\\usepackage{local}'

to conf.py, Sphinx complains that it cannot find local.sty. I tried
placing it in sources/.static with no more success.

Is there an easy workaround for this? I'm probably missing something.
I'm using Sphinx 0.6.2 but the changelist for 0.6.3 doesn't suggest
any differences in that respect.

Thanks in advance.
D.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to