Hi,
In french, we use comma as decimal separator.  How can I convert the
result of the instruction \sage{} (from sagetex package) ?

%!TEX TS-program = sage
\documentclass{article}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[francais]{babel}
\usepackage{numprint}
\usepackage{sagetex}
\begin{document}
 $\sage{sqrt(3.)}$ % Output is 1.73205080756888, but I would like
1,7320...
 $\mathrm{\sage{sqrt(3.)}}$ % Output is 1.73205080756888
 $\numprint{12.34567}$ % Ok, outpout is 12,345 67 (with comma)
%$\numprint{\sage{sqrt(3.)}}$  % don't work (bad argument for
numprint)
%\numprint{$\sage{sqrt(3.)}$}  % don't work (bad argument for
numprint)
%\numprint{$\mathrm{\sage{sqrt(3.)}}$}  % don't work (Generic Error)
\end{document}

Thanks
iDan

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

To unsubscribe from this group, send email to 
sage-support+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to