IBM Trademarked Documentation

IBM techexplorer Hypermedia Browser V1.2 User's Guide

IBM's techexplorer* is a Web browser for readers and publishers of scientific articles, books, and journals on the Internet. A Netscape Navigator plug-in, it dynamically formats and displays documents containing expressions coded with the popular TeX and LaTeX markup languages.

Contents

Chapter 1. Getting started with techexplorer

Learn the benefits of techexplorer and how easy it is to install.

Chapter 2. Viewing techexplorer documents

Discover how to navigate in a document formatted and displayed by techexplorer, as well as how to tailor the fonts and colors of the techexplorer display to your liking.

Chapter 3. Creating a techexplorer document

Review the guidelines for effective techexplorer documents. Then use this reference material to begin adding TeX and LaTeX symbols, hyperlinks and multimedia, pop-up menus, colors, and more to your own documents.

Chapter 4. Testing your techexplorer document

Review the advice for getting your documents ready for distribution on the Internet.

Appendix A. Supported and unsupported features

Verify which TeX and LaTeX features are supported by this release of techexplorer.

Appendix B. Change history and known problems

Check to see what's been fixed and what fixes are upcoming.

User feedback form and mailing list

Send us your comments on how we can improve techexplorer for you. And join a public discussion of techexplorer topics, by subscribing to a non-IBM sponsored mailing list.

[ IBM techexplorer product page ]


Chapter 1. Getting started with techexplorer

Choose a topic of interest:

  • What is techexplorer?
  • What are the benefits of techexplorer?
  • How do I install techexplorer?
  • What's next?

  • What is techexplorer?

    The IBM techexplorer Hypermedia Browser is a Web browser plug-in for people who read or publish scientific articles, books, journals, or even homework on the Internet. If you fit that description and use Microsoft Windows 95 or Windows NT with Netscape Navigator version 2.01 or higher or Microsoft Internet Explorer version 3.0 or higher as your browser, then you probably need this accessory!

    IBM techexplorer dynamically formats and displays documents containing scientific and mathematical expressions that are coded with the popular TeX and LaTeX markup languages. techexplorer supports a large subset of these languages.

    Wondering why only a subset? We've chosen the tags that you need for electronic publishing of your documents, the tags that will enhance your Web presence, and extend your commercial reach to readers who perhaps don't have access to or don't subscribe to the hardcopy equivalent of your articles, books, and journals.


    What are the benefits of techexplorer?


    How do I install techexplorer?

    1. Make sure you have installed:
    2. Create a temp directory
    3. Using Microsoft Explorer or File Manager, create a temporary directory. You will download the self-extracting zip file into this directory.

    4. Download the file
    5. Return to the techexplorer page and click download techexplorer now into the temporary directory..

      After you accept the license agreement, download the self-extracting installation file.

    6. Exit Netscape Navigator

    7. Install techexplorer
    8. Using Microsoft Explorer or File Manager, change to the directory where you downloaded the file, and double-click the file.

    9. Restart Netscape Navigator

      Now return to the techexplorer page and try out some of the samples!


    What's next?

    Now that you have techexplorer installed, you can access navigational aids and extensive customization options by clicking the right mouse button within a techexplorer window.

    Note: While viewing a document, you might see some formatting instructions in red within the document, such as \hookrightarrow. This is techexplorer's way of letting you know it could not find the corresponding symbol from the fonts on your machine. techexplorer is honest about what it cannot do or what is unavailable!

    For details on how to use techexplorer to its fullest, see:

  • Viewing a techexplorer document
  • Creating a techexplorer document

  • [ Top of Chapter | Contents | IBM techexplorer product page ]


    Chapter 2: Viewing techexplorer documents

    Choose a topic of interest:

  • Overview
  • Navigating in and between documents
  • Choosing fonts
  • Text fonts
  • Symbol font sets
  • Choosing colors
  • Foreground and background colors
  • Math AutoColor
  • Overview

    To view a document that has been enhanced by techexplorer, just open the document using Netscape Navigator. To do this, start Navigator and choose the "File | Open" menu selection. (If you are using Navigator Gold, the selection may be "File | Open File In Browser".)

    This is a convenient way to view techexplorer files that you have downloaded from the Web or created yourself.

    Note: While viewing a document, you might see some formatting instructions in red within the document, such as \hookrightarrow. This is techexplorer's way of letting you know it tried but couldn't find the corresponding symbol from among the fonts on your machine or didn't understand the command. If you have fonts that you would like to see techexplorer support, please let us know.

    You have several options when viewing documents and expressions formatted by techexplorer. To choose your options, click the right mouse button within the plug-in window, and then select techexplorer Options from the pop-up menu.


    Navigating in and between documents

    techexplorer documents displayed in full-screen mode support the Netscape Navigator back/forward document navigational chain.

    A techexplorer document may contain information that places the document within a hierarchy of network documents. For example, the displayed document might be a section within a chapter within a series of textbooks. In this case, the above topic would be the containing chapter, the previous topic would be the previous section in the chapter (if any), and the next topic would be the next section (if any).

    To link to any of these topics, click your right mouse button on an empty area of the plug-in window, and then choose Above topic, Previous topic, or Next topic from the pop-up menu. See Hierarchical Document Support to learn how to add these features to your documents.


    Choosing fonts

    Click the right mouse button within the plug-in window, and then select techexplorer Options from the pop-up menu. If you do not see a pop-up menu similar to the one above, you may need to right click elsewhere within the plug-in window, since authors can customize the pop-up menus in their techexplorer documents.

    Text fonts

    You can select four font typefaces and point sizes for text display. The size modifiers \tiny, \footnotesize, \small, \normalsize, \large, \Large, \LARGE, and \huge are all computed proportionally to the sizes you select. Use \TrueTypeTextFont locally change the current font.

    techexplorer Font Options

    The Fonts Options page conveniently provides buttons to quickly increase or decrease the sizes of all fonts by one point. The minimum font size is 8 points.

    Your selections are automatically remembered. Click the OK button to update all techexplorer windows. If you wish to experiment, click the Apply button to see the effect of your selections. Click Cancel to undo your Apply.

    Symbol font sets

    In addition to the fonts it uses for regular, italic, san serif, and monospace text, techexplorer supports four different sets of fonts from which it gets its mathematical symbols, Greek letters, and so on. These sets, in decreasing order of completeness, are:

    1. The Monotype Math fonts shipped with Lotus WordPro and Lotus SmartSuite. This set is 100% complete for the basic TeX and LaTeX symbols.
    2. The Lucida Bright Math fonts that are part of the Microsoft TrueType Font Pack. This set is 90% complete.
    3. The WordPerfect Math and IconicSymbols fonts. This set is 90% complete.
    4. The standard Microsoft Windows Symbol and WingDings fonts. This set is 70% complete.

    techexplorer Symbol Font Sets

    The techexplorer plug-in initially looks at what is available on your computer and tries to use the most complete set of fonts, based on the order in the list above. You can choose the font set you wish to use from the Math and Symbols tab of the techexplorer Options. If a font set is not available on your computer, you will not be able to select it. Your selection is automatically remembered. Click the OK button to update all techexplorer windows. If you wish to experiment, click the Apply button to see the effect of your selection. Click Cancel to undo your Apply.

    A symbol that is not available is displayed in red in the document, as in \hookrightarrow. techexplorer provides fixed-size, fixed-color bitmaps for several of the most commonly used symbols that are missing from the standard Microsoft Windows Symbol and WingDingsfonts.

    If you have techexplorer installed, you can look at a "symbols.tex" document containing the available symbols.

    If you know of other TrueType math symbol fonts that we should support, please let us know. Also, we plan to add support for additional symbols, such as those from the AMS Symbol set.


    Choosing colors

    You can choose the foreground and background colors for many elements of the techexplorer display, as well as selectively set the colors for elements within math expressions.

    Foreground and background colors

    The foreground color is the color of the characters in the text. The background color is the color of the screen behind the characters. The colors you can set are:

    techexplorer Color Options

    If you wish to use only black and white in text, uncheck the box labelled "Allow colors other than black and white in text". Your selections are automatically remembered. Click the OK button to update all techexplorer windows. If you wish to experiment, click the Apply button to see the effect of your selections. Click Cancel to undo your Apply.

    Math AutoColor

    By default, mathematical expressions within techexplorer are displayed using the Math Foreground color as described in the above section. It may be easier for you to comprehend an expression if a range of colors is used in its display. You can choose different colors for the standard elements within the expressions from the Math AutoColor tab of the techexplorer Options.

    techexplorer Math AutoColor Options

    Be sure to check the "Automatically add color highlights to math expressions" box to have your color scheme used. Your selections are automatically remembered. Click the OK button to update all techexplorer windows. If you wish to experiment, click the Apply button to see the effect of your selections. Click Cancel to undo your Apply.


    [ Top of Chapter | Contents | IBM techexplorer product page ]


    Chapter 3: Creating a techexplorer document

    Choose a topic of interest:

  • Overview
  • Guidelines for effective techexplorer documents
  • Setting window mode or full-screen mode
  • Including TeX and LaTeX symbols
  • Including hypertext links and multimedia
  • Including pop-up menus
  • Including colors
  • Using macros
  • Conditional evaluation
  • Including other elements
  • Directory lists
  • Bibliographies
  • Button boxes
  • Footnotes
  • Input boxes
  • Document contents
  • TrueType font
  • Overview

    techexplorer supports a large subset of TeX and LaTeX. It adds features for hypertext, multimedia, pop-up menus, and other extensions so that you can produce sophisticated electronic scientific and technical documents for Internet distribution.

    Once you have installed the techexplorer plug-in, you will be able to view a number of examples directly. These are indicated below by techexplorer Example.

    We will not review the definitions of common TeX and LaTeX features; refer to your TeX and LaTeX documentation for details.


    Guidelines for effective techexplorer documents

    When you create a techexplorer document, you should use an editor that can save your file in plain text. That is, if you use a word processor, make sure that you choose to save the file in ASCII format.

    In this release of techexplorer, very long documents may not format correctly and, even if they do, may process very slowly. You should break longer documents into smaller ones and then add hypertext links and hierarchical document support. In fact, this is a good general practice for Internet document distribution, since users of your documents can quickly receive and view document sections on demand. See Cross References for some tips on adding hyperlinks and references between the smaller documents.

    You should build flexibility into your techexplorer documents so that they can display on a variety of users' screens. Avoid thinking in terms of a fixed page width. Also, one document is one page, so control sequences that do page ejects, set running titles, and do similar page-oriented things are usually accepted by techexplorer but have no effect.

    And finally, as you create techexplorer documents, be sure that all contained document names mentioned are absolute (for example: http://...) or relative to the current document (for example: \includegraphics{mylogo.bmp}). techexplorer and Navigator will work together to find the files when your viewers request them.


    Setting window mode or full-screen mode

    techexplorer can display a mathematical or scientific expression within a window in the display of a document. (This is usually an HTML document, but it could also be a document displayed by another plug-in that can itself embed plug-ins.) Or it can display the entire document in the Netscape Navigator display area.

    When the techexplorer plug-in installs itself, it becomes auto-registered with Netscape Navigator to handle Web documents with the following MIME types and corresponding file extensions:

    MIME type

    Corresponding File Extensions

    application/x-tex *.tex, *.bbl
    application/x-latex *.latex, *.ltx
    application/x-techexplorer *.tcx

    For full-screen mode, Netscape Navigator uses the techexplorer plug-in when it is asked to link to a file with the above file extensions or MIME types. The techexplorer plug-in itself can link to other documents on the network in this way, even if they are not techexplorer documents.

    To set a fixed window size for the display of a document containing mathematical or scientific expressions, use the EMBED HTML tag to define the size of the window and the source file containing the techexplorer expression or document to be displayed. The SRC attribute gives the relative or absolute URL (location) of the file to be displayed. The WIDTH and HEIGHT attributes assert the desired size of the plug-in window, in pixels. For example:

    <EMBED SRC="math.tex" WIDTH=500 HEIGHT=200> 

    Note that the SRC attribute name is used to tell Netscape Navigator where to obtain the source markup. If you are using Netscape Navigator 3.0 or a compatible browser, you can also specify the TeX makup directly inline. For example,

    <EMBED TYPE="application/x-techexplorer"
    TEXDATA="\pagecolor{silver}$$\pmatrix{2&\sqrt{3}&\alpha\cr\beta&4&5}^T$$"
    HEIGHT=100 WIDTH=200>

    This looks like the following (without the black border):

    INLINE TEX

    Restrictions: Unfortunately there are just some things you cannot do very well with plug-ins today. These include:

    For the above reasons, we recommend that you use techexplorer to display the full text of your document if there is math embedded within paragraphs or there are more than a few display math expressions.


    Including TeX and LaTeX symbols

    These symbols are obtained from the symbol font set you are using. A symbol that is not available is displayed in red in the document, as in \hookrightarrow. techexplorer provides fixed-size, fixed-color bitmaps for several of the most commonly used symbols that are missing from the standard Microsoft Windows Symbol and WingDings fonts. "symbols.tex" techexplorer Example.

    Greek lowercase

    Greek uppercase

    rrow symbols

    Binary Operation symbols

    Relation symbols

    Miscellaneous symbols

    Variable-sized symbols


    Including hypertext links and multimedia

    A link causes something to happen when the link is executed. When the cursor passes over a link, it turns into the familiar "pointing hand" cursor, indicating a hot spot. In techexplorer, a visible link is executed when you click the left mouse button or press the Ctrl-Enter key when the mouse cursor is over the link. Links are not underlined in techexplorer, because any expression can be contained in the hot spot, even a complicated mathematical one. By default, links are displayed in blue, but you can change this in the Color options page.

    Links are also used with pop-up menus and can be executed in response to user actions in dialog boxes created by \inputboxLink and \yesNoLink.

    Hypertext Links

    Use \docLink to jump to another network document and \labelLink to jump to another location within the same document.

    \docLink{ documentFileName }[ label ]{ textToDisplay }

    \labelLink{ label }{ textToDisplay }

    \label{ label }

    Hierarchical Document Support

    A techexplorer document itself may contain information that places itself within a hierarchy of network documents. For example, the displayed document might be a section within a chapter within a series of textbooks. In this example, the above topic would be the containing chapter, the previous topic would be the previous section in the chapter (if any), and the next topic would be the next section (if any). You link to one of these topics by right clicking on an empty area of the plug-in window and then choosing Above topic, Previous topic, or Next topic from the pop-up menu.

    \aboveTopic{ topicName }

    \nextTopic{ topicName }

    \previousTopic{ topicName }

    Cross References

    Rather than working with a single large document, techexplorer is optimized to work with a series of hyperlinked documents that move quickly to your desktop and onto your screen. When a reference is given to an object in another document, techexplorer needs to know the document location. Use \docLink to jump to another document and \labelLink to jump to another location within the same document.

    Current Restriction: In this release, techexplorer does not handle automatic numbering of sections, figures, and so on. The \ref and \pageref control sequences always display ???.

    We suggest that you now manually label these items and create macros for expressions containing labels and referencing labels. These macros can be changed later if numbering support is enabled. For example,

    The \Section macro accepts a section number (#1), a section title (#2), and a label (#3). It creates a standard heading with a label. The \SectionRef macro accepts a section number (#1), the name of the document containing the section (#2), and the label of the section within the document (#3).

    Here are some additional, similar macros that you may find useful in converting larger files to smaller, cross referenced ones:

    You may find it helpful to create versions of these macros that work with local references (within the same file) and \labelLink.

    Multimedia

    \audioLink{ audioFileName }{ textToDisplay }

    \videoLink{ videoFileName }{ textToDisplay }

    \includegraphics[ lowerLeft ][ upperRight ]{ imageFileName }

    Other Link Types

    \altLink{ secondDisplay }{ firstDisplay }

    \appLink{ commandLine }{ textToDisplay }

    \inputboxLink[ responseLink ]{ controlSequence }{ inputboxText }
      { dialogBoxDescription }{ dialogBoxCaption }{ textToDisplay}

    \popupLink{ popupText }{ popupCaption }{ textToDisplay }

    \yesNoLink[ responseLink ]{ controlSequence }{ dialogBoxQuestion }{ dialogBoxCaption }{ textToDisplay }


    Pop-up Menus

    techexplorer allows you to define and use nested pop-up menus (sometimes called context menus). A pop-up menu appears when you click the alternate mouse button. For most users, this will be the right mouse button. For this reason, we'll refer to clicking the alternate mouse button as "right clicking." Every techexplorer document has a default pop-up menu. This menu is fixed and you cannot modify it. Other menus may appear if you right-click over elements of the text. We'll now show you how to define and use custom pop-up menus that you can attach to any element of the text. You also might want to look at an "menuxmp.tex" example of user-defined pop-up menus.

    \newmenu{ menuName }{ menuDefinition} }

    \usemenu{ menuName }{ menuScope} }


    Including colors

    techexplorer provides the following control sequences for adding color to a document: \color, \colorbox, \colorbuttonbox, \pagecolor, \rgb, and \textcolor. All except \rgb and \colorbuttonbox are defined by LaTeX 2e. The following color names can be used when needed within these control sequences: black, blue, cyan, darkgray, gray, green, lightgray, magenta, red, white, yellow, maroon, olive, navy, purple, teal, silver, lime, fuchsia, and aqua. Some of these colors are not available in LaTeX 2e. Use the Colors options page to change the default colors of document elements.

    If you have already installed techexplorer, you can see "colors.tex" examples of these color commands.

    Current restriction: The LaTeX 2e features \definecolor and \fcolorbox are not supported.

    \color{ colorName }

    \colorbox{ colorName }{ text }

    \colorbuttonbox[ invert ]{ colorName }{ text }

    \fcolorbox{ lineColorName }{ colorName }{ text }

    \pagecolor{ colorName }

    \rgb{ red }{ green }{ blue }

    \textcolor{ colorName }{ text }


    Using macros

    An important difference between TeX and techexplorer currently is that in techexplorer all macros are globally available. This allows macros defined in one document to be used without redefinition in another document. Together with \inputonce, this allows greater document transmission and processing efficiency.

    techexplorer implements a subset of the TeX \def macro facilities and the LaTeX \newcommand, \renewcommand, and \providecommand facilities. \newcommand, \renewcommand, and \providecommand are all treated like \newcommand with no check for previous definition.

    Current restrictions:


    Conditional evaluation

    techexplorer has very basic support for the TeX \if...\else...\fi facility. The \newif construct is currently ignored, as is \techexplorertrue and \techexplorerfalse. This allows you to add

    \newif\iftechexplorer \techexplorerfalse

    to your TeX document and include or exclude techexplorer markup for processing by using

    \iftechexplorer blah blah blah \else nah nah nah\fi

    The first condition will be processed only by techexplorer and the second only by real TeX (assuming you have done the \newif above).

    The \ifmmode construct is available to allow you to selectively do things based on whether or not you are in math mode. For example, "x squared" will be properly displayed by \xsq independent of whether it is used in a math environment.

    \def\xsq{\ifmmode x^2\else $x^2$\fi}


    Including other elements

    Directory lists

    \begin{dirlist}[ format ]... \end{dirlist}

    Bibliographies

    \bibfile{ bibliographyFileName}

    Button boxes

    \buttonbox[ invert ]{ text }
    \dialogbox[ invert ]{ text }

    Footnotes

    \footnote{ footnoteText }

    Input boxes

    \inputbox[ width ]{ controlSequence }{ initialContents }

    Document contents

    \inputonce{documentName}

    TrueType font

    \TrueTypeTextFont{fontName}


    [ Top of Chapter | Contents | IBM techexplorer product page ]


    Chapter 4: Testing your techexplorer document

    To test your document before placing it on a Web site, load it into Netscape Navigator from disk. To do this, start Navigator and choose the "File |Open" menu selection. (If you are using Navigator Gold, the selection may be "File | Open File In Browser".)

    Now use the file and directory listing in the dialog to navigate over to the file you wish to view. After you click the "Open" button, your document will appear in the Navigator Window.

    Now that you can see your document, you may want to make changes. Press Alt+Tab to move back to your editor, make your changes, press Alt+Tab to return to Navigator, and click the "Reload" button or choose "View | Reload" from the menu. Repeat this cycle as many times as necessary to make your document perfect.

    Two common problems you may encounter when testing your document are:

    Before you publish your document on the Web, be sure that all contained document names mentioned are absolute (for example: http://...) or relative to the current document (for example: \includegraphics{mylogo.bmp}). techexplorer and Navigator will work together to find the files when your viewers request them.

    You can control whether techexplorer gives information about parsing errors when it is reading a file.

    Click the "Report document parsing errors" to see messages about problems techexplorer encounters when it reads files. Your selection will be remembered automatically when you click OK. If you have suggestions for improving the document debugging features in techexplorer, please let us know.


    [ Top of Chapter | Contents | IBM techexplorer product page ]


    Appendix A: Supported and unsupported features

    Choose a topic of interest:

  • Additional supported features
  • Environment extensions
  • Partially supported features
  • Commands accepted but ignored

  • Additional supported Features


    Environment extensions


    Partially supported features


    Commands accepted but ignored


    Unsupported features


    [ Top of Chapter | Contents | IBM techexplorer product page ]


    Appendix B: Change history and known problems

    Choose a topic of interest:

  • Change history
  • Known problems

  • Change history

    Version 1.2 Final (3 February, 1997)

    Version 1.2 Beta 6 (17 January, 1997)

    Version 1.2 Beta 5 (23 December, 1996)

    Version 1.2 Beta 4 (12 December, 1996)

    Version 1.2 Beta 3 (14 November, 1996)

    Version 1.2 Beta 1 (19 September, 1996)

    Version 1.0 (July 2, 1996)

    Version 1.0 Beta 2 (May 24, 1996)


    Known problems


    [ Top of Chapter | Contents | IBM techexplorer product page ]


    User feedback form and mailing list

    We'd like to hear from you! For example:


    Please use the form below or send e-mail directly to techexpl@watson.ibm.com. Thanks!

    Your name:

    Your e-mail address:

    Topic:

    Comments & Feedback:

    To subscribe to a non-IBM sponsored techexplorer mailing list and join in public discussion of the product, send e-mail to LISTSERV@LISTSERV.NODAK.EDU. Include SUB techexplorer YourFirstName YourLastName in the body of the note.

    For example, if your name is Pat Jones, send e-mail to LISTSERV@LISTSERV.NODAK.EDU with the text of the note being SUB techexplorer Pat Jones.


    [ Top of Chapter | Contents | IBM techexplorer product page ]