Special markup for sessions

The session d.t.d. provides the following environments for computer algebra sessions:

<session|body>

Environment for marking a session. All macros below are only for use inside sessions.

<input|prompt|body>

An input field with a prompt and the actual input.

<output|body>

An output field.

<textput|body>

Fields with ordinary text. These may for instance be used for comments and explanations.

<errput|body>

This macro is used inside output fields for displaying error messages.

In fact, these environments are based on environments of the form lan-session, lan-input, lan-output, lan-textput and lan-errput for every individual language lan.

If language-specific environments do not exist, then generic-session, generic-input, generic-output, generic-textput and generic-errput are taken instead. It is recommended to base the language-specific environments on the generic ones, which may have different implementations according to the style (e.g. the varsession package). For this purpose, we also provide the generic-output* environment, which is similar to generic-output, except that margins remain unaltered.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".