Editing sessions

Inside input fields of sessions, the cursor keys have a special meaning: when moving upwards or downwards, you will move to previous or subsequent input fields. When moving to the left or to the right, you will never leave the input field; you should rather use the mouse for this.

Some facilities for editing input, output and text fields are available in the SessionInsert fields and SessionRemove fields menus. Most operations directly apply to matching input/output fields. Optionally, an additional explanatory text field can be associated to an input field using SessionInsert fieldsInsert text field. Keyboard shortcuts for inserting fields are A-up (insert above) and A-down. Keyboard shortcuts for removing matching text/input/output fields are A-backspace (remove backwards) and A-delete (remove current fields).

It is possible to create “subsessions” using SessionInsert fieldsFold input field or A-right. In that case, the current text/input/output field becomes the body of an unfolded subsession. Such a subsession consists of an explanatory text together with a sequence of text/input/output fields. Subsessions can be folded and unfolded using M-A-up resp. M-A-down. Subsessions have a nice rendering on the screen when using the varsession package in DocumentUse packageProgram.

Other useful editing operations for text/input/output fields are SessionRemove fieldsRemove all output fields, which is useful for creating a demo sessions which will be executed later on, and SessionSplit session, which can be used for splitting a session into parts for inclusion into a paper.

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".