File:  [LON-CAPA] / loncom / html / adm / help / tex / Creating_New_Content_Pages.tex
Revision 1.17: download - view: text, annotated - select for diffs
Wed Feb 1 21:18:43 2017 UTC (7 years, 5 months ago) by damieng
Branches: MAIN
CVS tags: HEAD
added doc for math, chem, hints, customresponse, essayresponse, organicresponse, reactionresponse

    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}.
   16: Clicking the link for the Rich Formatting displays the HTML WYSIWYG editor (CKEditor)
   17: with buttons to help you create html entities
   18: with correct tags as shown in the figure \ref{Rich Text HTML Editor}. If the rich layout is not as you expect, look
   19: for the button to view/edit the source, and then manually make adjustments to the html tags.
   20: Note that buttons are available to select graphics to include in the HTML file.
   21: Buttons are also provided to create/edit links. See below how to create and edit equations.
   22: 
   23: 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}
   24: 
   25: The URL of the page in the root of your space would look something like
   26: \\
   27: \emph{http://(your library server)/priv/domain/username/new\_resource.html} .
   28: \begin{figure}
   29: \begin{center}\includegraphics[  width=0.80\paperwidth]{html_page_plaintext}\end{center}
   30: 
   31: 
   32: \caption{Plain Text HTML Editor}\label{Plain Text HTML Editor}
   33: \end{figure}
   34: \begin{figure}
   35: \begin{center}\includegraphics[  width=0.80\paperwidth]{html_page_richtext}\end{center}
   36: 
   37: 
   38: \caption{Rich Text HTML Editor}\label{Rich Text HTML Editor}
   39: \end{figure}
   40: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>