version 1.2, 2005/09/12 09:38:26
|
version 1.3, 2005/09/16 17:11:18
|
Line 1
|
Line 1
|
\label{Print_Tricks} |
\label{Print_Tricks} |
|
|
When you print a LonCAPA resource, the XML of your resource is translated into |
When you print a LON-CAPA resource, the XML of your resource is translated into |
LaTeX. The LaTeX is then processed and turned into a PDF document which can |
LaTeX. The LaTeX is then processed and turned into a PDF document which can |
be displayed with your browser's Acrobat plugin and subsequently printed. |
be displayed with your browser's Acrobat plugin and subsequently printed. |
|
|
Line 17 General information about printing withi
|
Line 17 General information about printing withi
|
\emph{\&prettyprint and \&dollarformat look ugly} |
\emph{\&prettyprint and \&dollarformat look ugly} |
|
|
To make these two functions work correctly within the print translator, it is |
To make these two functions work correctly within the print translator, it is |
necessary to wrap them within a <DISPLAY> tag. For example: |
necessary to wrap them within a <display> tag. For example: |
|
|
\begin{verbatim} |
\begin{verbatim} |
<p> |
<p> |
If I had <display>&dollarformat(100)</display> |
If I had <display>&prettyprint(100,'3e')</display> |
</p> |
</p> |
\end{verbatim} |
\end{verbatim} |
|
|