### 2.4.1File menu

The File menu contains commands that are used to save sessions, save parts of sessions, and load previously saved sessions. This menu contains the following entries:

New Session
  — This creates and opens a new session. The new session will be in a new tab, which will be labeled Unnamed until you save it (using the menu item File▸Save or the keystroke Alt+S).
Open
  — This allows you to open a previously saved session. There will be a submenu with a list of saved session files in the primary directory (see Section 4.2.1) that you can open, as well as a File item which will open a directory browser use to find a session file. This directory browser can also be opened with Alt+O.
Import
  — This allows you to open a session that was created with the Maple CAS, a TI89 calculator or a Voyage 200 calculator. You can execute this session with the Edit▸Execute Session menu entry, but it may be better to execute the commands one at a time to see if any modifications need to be done.
Clone
  — This creates a copy of the current session in a Firefox interface; either using the server at http://www-fourier.ujf-grenoble.fr/~parisse/xcasen.html (Online) or a local copy (Offline).
Insert
  — This allows you to insert a previously saved session, a link to a Firefox session, or a previously saved figure, spreadsheet or program.
Save
  (Alt+S) — This saves the current session.
Save as
  — This saves the current session under a name that you choose.
Save all
  — This saves all currently opened sessions.
Export as
  — This allows you to save the current session in different formats; either in χCAS(which is giac ported to run on various calculators) format, standard Xcas format, Xcas with Python syntax format, Maple format, MuPAD format or TI89 format.
Kill
  — This kills the current session.
Print
  — This allows you to create an image of the session in various ways.

  The Preview menu item saves an image of the current session in a file that you name. The To printer item sends an image of the current session to the printer. The Preview selected levels item saves the images of the commands and outputs of the selected levels, each in a separate file.

LaTeX
  — This has submenu items that render the session in LATEX and give you the result in various ways. The LaTeX preview menu item displays a compiled LATEX version of the current session. The LaTeX print item saves a copy of the session in LATEX form, along with the compiled version in various formats. The LaTeX print selection does the same as LaTeX print, but only for the selected levels.
Screen capture
  — This creates a screenshot that can be saved in various formats.
Quit and update Xcas
  — This quits Xcas after checking for a newer version.
Quit
  (Ctrl+Q) — This quits Xcas.