Annotation of loncom/html/adm/help/tex/Creating_New_Content_Pages.tex, revision 1.16
1.9 lira 1: \label{Creating_New_Content_Pages}
2:
1.14 raeburn 3: \index{HTML page}Many users use stand-alone editing programs such as Dreamweaver to create
1.9 lira 4: HTML files. To upload HTML
5: files generated with such tools, you can use the \textbf{Browse...} button in
6: the Authoring Space, locate your HTML file, and use the \textbf{Upload
7: File} button to upload a HTML file in LON-CAPA. Remember to upload any local
8: graphics your generated web pages may have referenced using similar procedures. The links to graphics in your html page must match the relative locations for the uploaded files.
9:
1.11 lira 10: To create a new html page using the Inline Menus, browse to the desired folder using the folder navigation links
1.16 ! raeburn 11: in the lower part of the authoring screen. Then select `HTML file' from the new content dropdown menu on the
1.11 lira 12: right of the authoring space page as shown in the dropdown menu of the figure \ref{New Content Menu}.
13:
1.13 lira 14: When you edit a web page, you will be presented with a plain text editor as shown in the
15: figure \ref{Plain Text HTML Editor}. Clicking
1.11 lira 16: the link for the Rich Formatting displays the HTML WYSIWYG editor with buttons to help you create html entities
17: with correct tags as shown in the figure \ref{Rich Text HTML Editor}. If the rich layout is not as you expect, look
18: for the button to view/edit the source, and then manually make adjustments to the html tags. Note that buttons are
19: available to select graphics to include in the HTML file. Buttons are also provided to create/edit links.
20:
1.16 ! raeburn 21: To create equations, you can use the `Edit Math' button in the plain text editor, or you can type LaTeX equations
! 22: directly in the \texttt{<m></m>} tags in the plain text editor. The `Edit Math' button launches a pop-up window
1.11 lira 23: containing the DragMath equation editor (Java plugin supprt in user's
1.15 raeburn 24: browser required). The pop-up includes a ``Render LaTeX'' button which
1.11 lira 25: can be clicked to insert the math expression composed in Drag Math as
1.14 raeburn 26: LaTeX within $<$m$>$\$ \$$<$/m$>$ in the file editor in the original window.
1.9 lira 27:
28: Note that convenient help links for \textbf{Greek Symbols, Other Symbols, and Output Tags}\index{Greek symbols}\index{symbols, html}\index{output tags} immediately above the editor in the figures. Also note the link to check spelling below the editor.\index{spelling checker}
29:
30: The URL of the page in the root of your space would look something like
31: \\
1.14 raeburn 32: \emph{http://(your library server)/priv/domain/username/new\_resource.html} .
1.9 lira 33: \begin{figure}
34: \begin{center}\includegraphics[ width=0.80\paperwidth]{html_page_plaintext}\end{center}
35:
36:
37: \caption{Plain Text HTML Editor}\label{Plain Text HTML Editor}
38: \end{figure}
39: \begin{figure}
40: \begin{center}\includegraphics[ width=0.80\paperwidth]{html_page_richtext}\end{center}
41:
42:
43: \caption{Rich Text HTML Editor}\label{Rich Text HTML Editor}
44: \end{figure}
45:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>