XimeraProject / ximeraLatex

Author tools for creating Ximera activities
LaTeX Project Public License v1.3c
40 stars 35 forks source link

Symbolic answer #55

Closed oguzkurt closed 5 years ago

oguzkurt commented 7 years ago

Hi folks,

I would like to have a symbolic answer to a problem.

Here is what I did?

\begin{sagesilent}
p=var('p')
k=var('k')
\end{sagesilent}

$\answer{\sage{p}}$ worked fine!

$\answer{\sage{p^k}}$ did not work!

interestingly, by mistake, I left $\answer{\sage{p}}$ in the next problem but, this time, it did not work.

So, my questions are:

  1. How do I make the symbolic input work?

  2. Why does $\answer{\sage{p}}$ work the first time and not the second time? (I decided to enter sagesilent-part before each of the answers and try with it. It still did not work!)

  3. I care about using sage since I am also trying to have problems which will have factorials and binomials involved. any idea?

Thanks, Oguz

bartsnapp commented 5 years ago

This is a server issue