On Jul 3, 2009, at 10:01 AM, Chris Kees wrote:

>
> Hi,
>
> I noticed that in math mode when I do :math:`\nabla` it generates
> "abla". If I use it with the .. math:: directive then it also
> generates a carriage return. I'm guessing the parser is picking up
> just \n when the latex really needs to be treated as a raw string. Has

So, I guess I should be USING a raw string r""""...\nabla"""". Duh.  
Sorry for the stupid question. I also found the latex_elements/ 
preamble configuration options that I needed to introduce my macros.  
Thanks to the developers and documentation authors for a nice, well- 
documented tool.

Chris

> anybody seen this? I'm working on Mac OS X 10.5.7 with  python 2.6 and
> sphinx built yesterday from Sphinx 0.6.2.  Is there a way to provide
> user-defined latex macros to the tex parser (e.g. mymath.tex so that I
> can do \grad and \div instead of \nabla and \nabla \cdot)?
>
> Thanks,
> Chris
>
> >


--~--~---------~--~----~------------~-------~--~----~
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