In Sage 7.6:

sage: latex(QQ)
\Bold{Q}

but \Bold is not a standard LaTeX macro. However,

sage: show(QQ)
\newcommand{\Bold}[1]{\mathbf{#1}}\Bold{Q}

shows that the macro is defined somewhere in Sage itself.

Next, if I create a file mini.tex containing

\documentclass{article}
\usepackage{sagetex}
\begin{document}
\title{A Sage\TeX\ document}
The rational field is \sage{QQ}.
\end{document}

and run

pdflatex mini
sage mini.sagetex.sage
pdflatex mini

then the second time pdflatex runs there's an error when it encounters
the undefined \Bold macro.  This can be fixed by adding the line
\newcommand{\Bold}[1]{\mathbf{#1}}
into the preamble, but surely this should not be necessary, and there
might be more "missing" macros.

I checked that the version of sagetex.sty being used is exactly the
one in the Sage version I was running.

John

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

Reply via email to