I found an answer to the 3rd question, but the 1) - 2) are still
interesting!
пятница, 8 ноября 2013 г., 23:47:47 UTC+4 пользователь Lukashevichus Ksenia
написал:
>
> Thank you, I finally managed to get PDF.
> There are some more questions:
> 1) I'm using pngmath for HTML, is it possible to increase a resolution of
> equation images?
> 2) How to change color of internal references in Latex? Now it is a bit
> faint.
> 3) I have several source files, but I need to refer equation and titles
> from one chapter in another one. I tried to put all the source rst to one
> file, but it's not good. Is there a way to keep chapters separate?
>
> понедельник, 4 ноября 2013 г., 12:25:56 UTC+4 пользователь Guenter Milde
> написал:
>>
>> On 2013-11-02, Lukashevichus Ksenia wrote:
>>
>> > 2) In math directive I use some symbols from amssymb package for latex,
>> but
>> > when LaTeX is produced, there is no "usepackage" for amssymb and of
>> course
>> > I get the mistakes. What's wrong?
>>
>> While the Docutils LaTeX writer always inserts a "usepackage{amsmath} if
>> there is "math" in the document, this may be not the case with the Sphinx
>> LaTeX writer. You may need to add this to your configuration setup
>> (latex_preamble in conf.py).
>>
>> > 3) Is there something wrong with this code:
>> > .. math::
>> > :label: valign2
>> > &&S = \begin{pmatrix}
>> > c & s\\
>> > -s & c
>> > \end{pmatrix},\quad c = \langle\hat{v_1},\ \hat{v_2}\rangle,\
>> \quad
>> > s = \sqrt{1 - c^2},\ \quad \hat{v_i} = \dfrac{v_i}{\|v_i\|}\\
>>
>> Why do you start with && and end with \\?
>>
>> > Because when I make latexpdf, these lines look like:
>>
>> However, running through Docutils and then pdflatex, the code works.
>>
>> In my view, the result of \hat{v_1} looks not as good as \hat{v}_1,
>> though
>> (with Latin Modern and standard mathematical CM fonts).
>>
>> Günter
>>
>>
--
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 http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/groups/opt_out.