Hey,

Is this conceivably because align is in the amsmath package and we 
> (perhaps) don't include packages in the pdf building? 
>
 I don't know if we use many such environments elsewhere in the doc.  How 
> do these examples look in the pdf (if they are even in the reference 
> manual)?
>  
>
sage: search_src('begin{align')
> coding/linear_code.py:1577:             \begin{aligned}
> combinat/cluster_algebra_quiver/quiver.py:544:                    html( 
> "$\\begin{align*} " + m + "\\end{align*}$" )
>

This is for output in the notebook, so it's not in the doc.
 

> graphs/graph_decompositions/vertex_separation.pyx:151:   
>  \begin{alignat}{2}
>

This one seems to work (I presume it compiles in the pdf doc okay), 
although the html does quite like the \intertext...

Here's the full doc for reference:

.. MATH::
    :nowrap:

    \begin{alignat}{2}
    \intertext{Minimize:}
    &z&\\
    \intertext{Such that:}
    x_v^t &\leq x_v^{t+1}& \forall v\in V,\ 0\leq t\leq n-2\\
    y_v^t &\leq y_v^{t+1}& \forall v\in V,\ 0\leq t\leq n-2\\
    y_v^t &\leq x_w^t& \forall v\in V,\ \forall w\in N^+(v),\ 0\leq t\leq 
n-1\\
    \sum_{v \in V} y_v^{t} &= t+1& 0\leq t\leq n-1\\
    x_v^t-y_v^t&\leq u_v^t & \forall v \in V,\ 0\leq t\leq n-1\\
    \sum_{v \in V} u_v^t &\leq z& 0\leq t\leq n-1\\
    0 \leq x_v^t &\leq 1& \forall v\in V,\ 0\leq t\leq n-1\\
    0 \leq u_v^t &\leq 1& \forall v\in V,\ 0\leq t\leq n-1\\
    y_v^t &\in \{0,1\}& \forall v\in V,\ 0\leq t\leq n-1\\
    0 \leq z &\leq n&
    \end{alignat}
 

> interacts/library.py:984:            \begin{align*}
> interacts/library.py:1103:        \begin{align*}
>

These are used in output, so not in the doc. 
 

> matrix/matrix0.pyx:1893:##         s = "\\left(\\begin{align*}\n"
>

This one is commented out (actually the whole function is), so it's not in 
the doc.
 

> rings/polynomial/padics/polynomial_padic_capped_relative_dense.py:530:     
>    \begin{align*}
>

The one in padics is inside of a _mul_(), so it's not in the doc.

The big thing I'd like is consistency: If the html docbuild works, then the 
pdf should as well and vice versa.

Best,
Travis

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to