File:  [LON-CAPA] / loncom / html / adm / help / tex / Creating_New_Content_Pages.tex
Revision 1.16: download - view: text, annotated - select for diffs
Sat Aug 20 17:48:11 2016 UTC (7 years, 11 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, HEAD
- Use LaTeX-style single and double quotes.

    1: \label{Creating_New_Content_Pages}
    2: 
    3: \index{HTML page}Many users use stand-alone editing programs such as Dreamweaver to create 
    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: 
   10: To create a new html page using the Inline Menus, browse to the desired folder using the folder navigation links 
   11: in the lower part of the authoring screen. Then select `HTML file' from the new content dropdown menu on the 
   12: right of the authoring space page as shown in the dropdown menu of the figure \ref{New Content Menu}.
   13: 
   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 
   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: 
   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
   23: containing the DragMath equation editor (Java plugin supprt in user's
   24: browser required).  The pop-up includes a ``Render LaTeX'' button which
   25: can be clicked to insert the math expression composed in Drag Math as
   26: LaTeX within $<$m$>$\$ \$$<$/m$>$ in the file editor in the original window.
   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: \\
   32: \emph{http://(your library server)/priv/domain/username/new\_resource.html} .
   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>