[LON-CAPA-cvs] cvs: loncom /html/adm/help/tex Print_Library.tex Print_Options.tex Print_Tricks.tex TEXsize_attribute.tex TEXtype_attribute.tex TEXwidth_attribute.tex
felicia
lon-capa-cvs@mail.lon-capa.org
Fri, 16 Sep 2005 22:13:59 -0000
This is a MIME encoded message
--felicia1126908839
Content-Type: text/plain
felicia Fri Sep 16 18:13:59 2005 EDT
Added files:
/loncom/html/adm/help/tex Print_Library.tex
Modified files:
/loncom/html/adm/help/tex Print_Options.tex Print_Tricks.tex
TEXsize_attribute.tex
TEXtype_attribute.tex
TEXwidth_attribute.tex
Log:
Added Print_Library.tex for the new print section in the manual. The rest of the changes were mostly formatting so the manual would print.
--felicia1126908839
Content-Type: text/plain
Content-Disposition: attachment; filename="felicia-20050916181359.txt"
Index: loncom/html/adm/help/tex/Print_Options.tex
diff -u loncom/html/adm/help/tex/Print_Options.tex:1.4 loncom/html/adm/help/tex/Print_Options.tex:1.5
--- loncom/html/adm/help/tex/Print_Options.tex:1.4 Wed Sep 7 06:43:33 2005
+++ loncom/html/adm/help/tex/Print_Options.tex Fri Sep 16 18:13:57 2005
@@ -4,40 +4,42 @@
output looking prettier.
\emph{Print output oriented attributes of standard HTML/LON CAPA tags}
+
\begin{itemize}
-
-\item \ref{TEXsize_attribute} <h1>-<hN> \textbf{TeXsize} attribute
-\item \ref{TEXsize_attribute} <basefont> \textbf{TeXsize} attribute
-\item \ref{TEXsize_attribute} <font> \textbf{TeXsize} attribute
-\item \ref{TEXwidth_attribute} <hr> \textbf{TeXwidth} attribute
-\item \ref{TEXwidth_attribute} <table> \textbf{TeXwidth} attribute
-\item \ref{TEXDropEmptyColumns_attribute} <table> \textbf{TeXDropEmptyColumns} attribute
-\item \ref{TEXwidth_attribute} <td> \textbf{TeXwidth} attribute
-\item \ref{TEXwidth_attribute} <th> \textbf{TeXwidth} attribute
-\item \ref{IMAGE_TEX_attribute} <img> \textbf{TeXwidth} attribute
-\item \ref{IMAGE_TEX_attribute} <img> \textbf{TeXheight} attribute
-\item \ref{IMAGE_TEX_attribute} <img> \textbf{TeXwrap} attribute This attribute
- controls how the generated LaTeX attempts to wrap
- text around figures when a horizontal alignment
- has been requested in the IMG tag. Unfortunately, \LaTeX is
- not really built to do this and there are no known perfect
- solutions. This attribute has two possible values:
- \begin{itemize}
- \item{parbox} - (the default) uses \\newline and \\parbox to position the
- image. This positioning method ensures that the image is placed at
- the appropriate side of the page, however very little or no text wrapping
- is attempted. On the other hand, this method will never place text
- on top of the image.
- \item{parpic} - uses the picins package \\parpic to attempt to get text to
- wrap around the image. This method places the remainder of the text of
- the paragraph containing the picture to the left or right of the picture.
- This scheme has two drawbacks: If the remainder of the paragraph text is
- insufficient to fill the area to the side of the image, the text from the
- following paragraph will run through the image, parpic also seems to not
- do a good job of honoring the end of the page, and images can spill below
- the page footers generated by Lon-CAPA.
+
+\item \ref{TEXsize_attribute} \texttt{<h1>-<hN>} \textbf{TeXsize} attribute
+\item \ref{TEXsize_attribute} \texttt{<basefont>} \textbf{TeXsize} attribute
+\item \ref{TEXsize_attribute} \texttt{<font>} \textbf{TeXsize} attribute
+\item \ref{TEXwidth_attribute} \texttt{<hr>} \textbf{TeXwidth} attribute
+\item \ref{TEXwidth_attribute} \texttt{<table>} \textbf{TeXwidth} attribute
+\item \ref{TEXDropEmptyColumns_attribute} \texttt{<table>} \textbf{TeXDropEmptyColumns} attribute
+\item \ref{TEXwidth_attribute} \texttt{<td>} \textbf{TeXwidth} attribute
+\item \ref{TEXwidth_attribute} \texttt{<th>} \textbf{TeXwidth} attribute
+\item \ref{Problem_LON-CAPA_Image_Options} \texttt{<img>} \textbf{TeXwidth} attribute
+\item \ref{Problem_LON-CAPA_Image_Options} \texttt{<img>} \textbf{TeXheight} attribute
+\item \ref{Problem_LON-CAPA_Image_Options} \texttt{<img>} \textbf{TeXwrap} attribute This attribute controls how the generated LaTeX attempts to wrap
+ text around figures when a horizontal alignment
+ has been requested in the IMG tag. Unfortunately, \LaTeX is
+ not really built to do this and there are no known perfect
+ solutions. This attribute has two possible values:
+ \begin{itemize}
+ \item{parbox} - (the default) uses \\newline and \\parbox to position the
+ image. This positioning method ensures that the image is placed at
+ the appropriate side of the page, however very little or no text wrapping
+ is attempted. On the other hand, this method will never place text
+ on top of the image.
+ \item{parpic} - uses the picins package \\parpic to attempt to get text to
+ wrap around the image. This method places the remainder of the text of
+ the paragraph containing the picture to the left or right of the picture.
+ This scheme has two drawbacks: If the remainder of the paragraph text is
+ insufficient to fill the area to the side of the image, the text from the
+ following paragraph will run through the image, parpic also seems to not
+ do a good job of honoring the end of the page, and images can spill below
+ the page footers generated by Lon-CAPA.
\end{itemize}
-
-
+
+
\end{itemize}
+
+
Index: loncom/html/adm/help/tex/Print_Tricks.tex
diff -u loncom/html/adm/help/tex/Print_Tricks.tex:1.3 loncom/html/adm/help/tex/Print_Tricks.tex:1.4
--- loncom/html/adm/help/tex/Print_Tricks.tex:1.3 Fri Sep 16 13:11:18 2005
+++ loncom/html/adm/help/tex/Print_Tricks.tex Fri Sep 16 18:13:57 2005
@@ -21,11 +21,11 @@
\begin{verbatim}
<p>
-If I had <display>&prettyprint(100,'3e')</display>
+If I had <display>&prettyprint(100,'$2f')</display>
</p>
\end{verbatim}
-Note that the <display> tags must be tightly wrapped around the function call or
+Note that the \texttt{<display>} tags must be tightly wrapped around the function call or
you will get a syntax error in web presentation mode.
Index: loncom/html/adm/help/tex/TEXsize_attribute.tex
diff -u loncom/html/adm/help/tex/TEXsize_attribute.tex:1.2 loncom/html/adm/help/tex/TEXsize_attribute.tex:1.3
--- loncom/html/adm/help/tex/TEXsize_attribute.tex:1.2 Thu Sep 23 09:11:13 2004
+++ loncom/html/adm/help/tex/TEXsize_attribute.tex Fri Sep 16 18:13:57 2005
@@ -1,7 +1,7 @@
\label{TEXsize_attribute}
-\textbf{TeXsize} attribute in \textbf{<h1>-<hN>},\textbf{<basefont>}, and
-\textbf{<font>} tags declares the size of LaTeX fonts used in printing.
+\textbf{TeXsize} attribute in \texttt{<h1>-<hN>},\texttt{<basefont>}, and
+\texttt{<font>} tags declares the size of LaTeX fonts used in printing.
Possible values of \textbf{TeXsize} attribute:
\begin{center}\begin{tabular}{|c|c|}\hline
@@ -25,4 +25,4 @@
<basefont size="4" TeXsize="Large" />
<font color="#FFFFFF" TeXsize="small">
<h1 align="center" TeXsize="Huge">
-\end{verbatim}
\ No newline at end of file
+\end{verbatim}
Index: loncom/html/adm/help/tex/TEXtype_attribute.tex
diff -u loncom/html/adm/help/tex/TEXtype_attribute.tex:1.2 loncom/html/adm/help/tex/TEXtype_attribute.tex:1.3
--- loncom/html/adm/help/tex/TEXtype_attribute.tex:1.2 Thu Sep 23 15:22:39 2004
+++ loncom/html/adm/help/tex/TEXtype_attribute.tex Fri Sep 16 18:13:57 2005
@@ -3,34 +3,51 @@
\textbf{TeXtype} attribute is responsible for the definition of the type of
LaTeX list environment used during printing of available options. Possible
values of this attribute:
+
+\textbf{TeXtype} attribute is responsible for the definition of the type of
+LaTeX list environment used during printing of available options. Possible
+values of this attribute:
\begin{center}
\begin{tabular}{|c|l|}\hline
value & example of list \\ \hline
-1 & \begin{enumerate}
- \item [1.] First Item
- \item [2.] Second Item
- \item [3.] Third Item
- \end{enumerate} \\ \hline
-A & \begin{enumerate}
- \item [A.] First Item
- \item [B.] Second Item
- \item [C.] Third Item
- \end{enumerate} \\ \hline
-a & \begin{enumerate}
- \item [a.] First Item
- \item [b.] Second Item
- \item [c.] Third Item
- \end{enumerate} \\ \hline
-i & \begin{enumerate}
- \item [i.] First Item
- \item [ii.] Second Item
- \item [iii.] Third Item
- \end{enumerate} \\ \hline
+1 & \begin{minipage}[t]{2.0in}
+ \begin{enumerate}
+ \item [1.] First Item
+ \item [2.] Second Item
+ \item [3.] Third Item
+ \end{enumerate}
+ \end{minipage}
+ \\ \hline
+A & \begin{minipage}[t]{2.0in}
+ \begin{enumerate}
+ \item [A.] First Item
+ \item [B.] Second Item
+ \item [C.] Third Item
+ \end{enumerate}
+ \end{minipage}
+ \\ \hline
+a & \begin{minipage}[t]{2.0in}
+ \begin{enumerate}
+ \item [a.] First Item
+ \item [b.] Second Item
+ \item [c.] Third Item
+ \end{enumerate}
+ \end{minipage}
+ \\ \hline
+i & \begin{minipage}[t]{2.0in}
+ \begin{enumerate}
+ \item [i.] First Item
+ \item [ii.] Second Item
+ \item [iii.] Third Item
+ \end{enumerate}
+ \end{minipage}
+ \\ \hline
\end{tabular}
\end{center}
+
Examples:
\begin{verbatim}
<radiobuttonresponse TeXtype="1">
<radiobuttonresponse TeXtype="A">
-\end{verbatim}
\ No newline at end of file
+\end{verbatim}
Index: loncom/html/adm/help/tex/TEXwidth_attribute.tex
diff -u loncom/html/adm/help/tex/TEXwidth_attribute.tex:1.2 loncom/html/adm/help/tex/TEXwidth_attribute.tex:1.3
--- loncom/html/adm/help/tex/TEXwidth_attribute.tex:1.2 Thu Sep 23 10:47:34 2004
+++ loncom/html/adm/help/tex/TEXwidth_attribute.tex Fri Sep 16 18:13:57 2005
@@ -2,9 +2,9 @@
\textbf{TeXwidth} attribute allows you to specify the width of
\begin{itemize}
-\item the table in \textbf{<table>} tag
-\item the table cell in \textbf{<td>} or \textbf{<th>} tags
-\item the length of the line in \textbf{<hr>} tag
+\item the table in \texttt{<table>} tag
+\item the table cell in \texttt{<td>} or \texttt{<th>} tags
+\item the length of the line in \texttt{<hr>} tag
\end{itemize}
You can use the following units:
@@ -23,4 +23,4 @@
\begin{verbatim}
<hr TeXwidth="2 cm">
<td TeXwidth="1 in">
-\end{verbatim}
\ No newline at end of file
+\end{verbatim}
Index: loncom/html/adm/help/tex/Print_Library.tex
+++ loncom/html/adm/help/tex/Print_Library.tex
\label{Print_Library}
Many authors organize their construction space or a directory in their construction space as a problem library. To print out an entire directory of problems to a PDF file, follow the steps below:
\begin{enumerate}
\item First, select to a PDF file, select one of the problems to view.
\item Click PRT on the Inline Menu or Remote Control.
\item Select the option to print all 'Problems from current subdirectory.'
\item Optionally, choose to print the library with Answers. You can choose to print with either the default two column output or with one column.
\item Click the Next button.
\item On the next screen, select which problems you want to print by either clicking on one of the Select buttons or individually checking which problems you want to select.
\item Click the Next button.
\item As long as there were no errors in any of the problems, you should now see a link to a PDF file that you can download and view.
\end{enumerate}
If an error occurs with just one of the problems then entire directory will not be able to print. LON-CAPA will make a guess at which problem(s) had errors. You will need to troubleshoot and fix those problems before the entire directory can be printed. Information about common print errors is available at \ref{Print_Tricks}.
--felicia1126908839--