This is the second paragraph. This is a word in
italics. This is a word in bold.
Here is an inlined xbm image: .
This is the third paragraph. Here is a hypertext link from the word foo to a document called "foo.html".
The cat in the hat fell to the ground and went splat.This is a bulleted list with two items:
Chris Stoughton 10. How can I look at what I have done to see if it looks good? To view this file with xmosaic, use the command: % xmosaic $INT_DIR/help/example.html & 11. What else should I read to learn how to write these files? While you are using Xmosaic, you can take a look at the .html file that creates the display. This is the quickest way to answer the question, "How did they do that?" On the menu bar, hold the left button down on File, and drag down to Document Source. This will open another window that shows you the plain text source, with all the html markings, that creates the page you are looking at. Since there are only a few html commands to learn, you can learn most of what you need to know by looking at a few of these examples. Note that when we use links to other files, make the pathname relative to the home page ( use ../../whatever) rather than an absolute pathname. This makes the html files work when they move to different disks or machines. 12. What are good documents to read? The style guide, FNAL PN473 can be found in: % setup www_server % cd $WWW_SERVER_DIR/doc The file is called pn473.ps. A couple of templates, for authors, a "home" page, and an index, are in: % setup unix_tools % cd $GENERIC_TOOLS_DIR/template There is also a reference written by Pete Deuel. See the file ref_README and the postscript files evenpage.ps and odd_page.ps in $INT_DIR/help. 13. What about command line help from dervish? You can access help for most dervish, pgPlot, and TCL commands directly from the dervish command line using the help command: dervish> help pgBegin pgBegin USAGE: pgBegin [device [xsub ysub]] Begin PGPLOT, open the plot file dervish> help expr expr expr arg Calls the expression processor to evaluate arg, and returns the result as a string. See the section EXPRESSIONS in tcl Man Pages for a detailed description dervish> help -search=expr -full (Will search for and print any help text that contains "expr".) 14. Can I define command line help in TCL? Yes, use the ftclHelpDefine command. In dervish, you enter: dervish> ftclHelpDefine facility command helpText Where facility is the general class of command you are entering. Command is the TCL command or procedure that you wish to define help for. helpText is the help string. You can embed newlines "\n" in it. The user can access it via the help text. For example: dervish> ftclHelpDefine myPipeLine myCommand "Help for my command" dervish> help myCommand myCommand Help for my command