[LON-CAPA-cvs] cvs: loncom /html/adm/help/tex Authoring_Output_Tags.tex
albertel
lon-capa-cvs-allow@mail.lon-capa.org
Mon, 21 May 2007 16:43:17 -0000
albertel Mon May 21 12:43:17 2007 EDT
Modified files:
/loncom/html/adm/help/tex Authoring_Output_Tags.tex
Log:
- add info about window's attrs
Index: loncom/html/adm/help/tex/Authoring_Output_Tags.tex
diff -u loncom/html/adm/help/tex/Authoring_Output_Tags.tex:1.6 loncom/html/adm/help/tex/Authoring_Output_Tags.tex:1.7
--- loncom/html/adm/help/tex/Authoring_Output_Tags.tex:1.6 Mon Nov 14 18:34:31 2005
+++ loncom/html/adm/help/tex/Authoring_Output_Tags.tex Mon May 21 12:43:17 2007
@@ -100,9 +100,18 @@
\item \textbf{displaytitle}\index{displaytitle}: This will insert the title
of the problem from the metadata of the problem. Only the first \textbf{displaytitle}
in a problem will show the title; this allows clean usage of \textbf{displaytitle}
-in stylesheets.
-\item \textbf{window}\index{window}: The text inbetween is put in a pop-up
-javascript window.
+in LON-CAPA style files.
+
+\item \textbf{window}\index{window}: This creates a link that when clicked shows the intervening information in a pop-up window. By default the window will be 500 pixels wide and 200 pixels tall, and the link text will be a superscript * (so as to look like a footnote). These can be changed using the attributes
+
+\begin{itemize}
+\item[width] controls the starting width of the popup window
+\item[height] controls the starting height of the popup window
+\item[linktext] the text that should appear as the link that causes the creation of the window
+\end{itemize}
+
+When printing this included text will get turned into a real footnote.
+
\item \textbf{m}\index{m}: The inside text is \LaTeX{}, and is converted
to HTML (or MathML) on the fly. If the attribute \textbf{eval} is set