Manage Workspace, History and Session

Save the working configuration, navigate the associations and return to a saved project.

Tell the article, the interface Workspace and the Session apart

The Workspace menu manages a saved configuration of the viewer, which includes the association with the article and the state of the interface. In the Session the article has its own ID and contains source, assets and build revisions. The New, Open and Save buttons in the toolbar act on the article. The New workspace… item instead creates a new configuration of the viewer. Open or create an article in the new window when you want to start working.

If Recover unsaved History appears on opening, Yes resumes the most recent draft, No archives the draft and opens a new configuration, and Cancel leaves it where it is. In the test, No made it possible to start a new Workspace and then open the manager.

Workspace → Save updates the current configuration and can save the draft of the open article before recording the state. Save As… asks for a name and saves the configuration with an identity of its own. Use different names for article and configuration so you can recognise them easily. Refer to the revision in the Article project panel when you check the source.

The Save As form asks for the name of the interface configuration.
The Save As form asks for the name of the interface configuration.
After saving, the commands tied to a registered Workspace become available.
After saving, the commands tied to a registered Workspace become available.

Use Session Workspaces and reopen the configuration

Open workspace… and Session Workspaces… open the configuration manager. In the Name / type / provider field filter by name. Reset clears the filter. The provider is fixed when you arrive from the viewer. The columns show Name, Type, Provider and Preview. Select the configuration and press Open. In the acceptance test, opening the saved configuration recovered article, revision and the history of associations in the same Session.

Rename… changes the name of the configuration through the Name form. Notes… opens the configuration’s notes in a dedicated window. Preview… opens the manager, where the row highlights the availability of the preview and the details. Refresh refreshes the manager. Actions lists any provider actions. For this configuration No owner-defined actions appears.

In the manager, Duplicate… copies the selected configuration with a new name. The scientific document keeps its own ID. Under More the manager groups Preview, Import…, Export… and Refresh. Close closes the active configuration through the viewer. Examine any save dialog before accepting. Delete… asks for confirmation for the selected configuration. The dialog states that its notes and history are deleted and that the scientific resources it referred to are kept.

Manager opened from the Workspace menu. The filter and the selection determine which commands are available.
Manager opened from the Workspace menu. The filter and the selection determine which commands are available.

Export and reimport a configuration

Workspace → Export… saves a .gxtxt-workspace.zip ZIP of the interface configuration. Import… lets you choose the ZIP and asks for a Unique Workspace name. In the acceptance test the same Session obtained a second configuration with the chosen name; the article that was kept had its own ID. To reproduce the article in another Session use the .tex files and the assets from the exercise or the package obtained with Export .tex.

Publishing a Workspace uses the separate Export workspace package dialog.
Publishing a Workspace uses the separate Export workspace package dialog.

Explore the associations with History

In the strip at the bottom choose Description for the current state and History for the timeline. Details and History → History details… show the detail of the chosen view. Show / hide Description / History strip shows or hides the strip.

Undo and Redo in the History menu move the cursor of the configuration’s history. The strip’s context menu offers Previous history step and Next history step to examine the steps, and Return to latest to go back to the active cursor. If several actions are grouped, Expand / collapse individual operations lets you see the single entries. The associations reopen the current canonical source of the article concerned. To undo text changes use Ctrl+Z with the focus in the editor instead.

Restart here / discard later local history… appears when navigation has reached an earlier step. The dialog asks whether to truncate the later steps. Clear History… is available at the last step. Choose Yes and give a ZIP file to save a protected copy before clearing. No proceeds without an archive and Cancel keeps the history. After a successful confirmation the cursor returns to 0 and the current scientific state stays available. To examine the steps and keep them, use Cancel in the truncation confirmation and go back with Return to latest.

Context menu of the History strip, with the actions allowed at the current step.
Context menu of the History strip, with the actions allowed at the current step.
The detailed view shows Baseline, cursor and association actions.
The detailed view shows Baseline, cursor and association actions.

Save a resume point with Named History

After saving the configuration, choose History → Save History As…, enter a name and press Apply. Open Named History… and select the row. The columns show Name, Count and Cursor. Inspect also shows the owner, the schema, the revision and the hash.

Rename changes the label of the archive. Restore restores the history from the configuration’s archive with the ownership checks. Delete asks for confirmation to delete the chosen archive. The active history and the scientific resources stay available.

Named History shows the recorded resume point and the management commands.
Named History shows the recorded resume point and the management commands.

Change Session with the article open

Save your work and switch to the new Session from the main controls. If the Workspace has changes, the save prompt appears. After confirming the save, in the test the window of the previous Session and its preview close. Reopen the tile to use the articles of the new Session. If the Session is empty the list is empty. To resume work, reopen the original Session and the configuration already saved in its Session Workspaces list.

Before the Session change, GX-TXT asks whether to save the current configuration.
Before the Session change, GX-TXT asks whether to save the current configuration.
On returning to the original Session, the saved Workspace recovers the article and the PDF of the current revision.
On returning to the original Session, the saved Workspace recovers the article and the PDF of the current revision.