JGloss menus

File

Import

Creates a new document by importing a text file, annotating it on the fly. See the section called “Importing text documents” for details.

Import Clipboard

Creates a new document by importing the content of the clipboard. See the section called “Importing text documents” for details. This item will only be enabled if the clipboard currently contains some text.

Open

Open a JGloss annotated document.

Note

The application can take rather long to display a document for the first time after it is loaded, especially for larger documents.

Open Recent

Open a JGloss annotated document by selecting it from the list of recently opened files.

Save

Saves the current annotated document in the JGloss file format. If the file name has not yet been determined, a file chooser dialog will be shown.

Note

The JGloss file format is basically HTML with a few custom tags. You can open the file in a HTML editor to edit the text of the document, but be careful and don't change any of the special tags and attributes.

Save As

Saves the current document in the JGloss file format under a new name.

Export

The entries in this submenu let you export the current annotated document in several formats. See the section called “Exporting annotated documents” for details.

Print

Print the annotated document. The current settings for font sizes and colors will be used in the printed document. On Linux you can also use this option to generate a Postscript version of the document by selecting the print to file option in the print dialog. If you want to generate a Postscript file on Windows, you have to install a Postscript printer driver and use the print to file option of this driver.

Close

Closes the document window. If the document has unsaved changes, a warning dialog will be shown. If all document windows and the word lookup dialog are closed, the JGloss application will quit.

Edit

Cut/Copy/Paste

These have the standard functionality. Note that because the document view is not editable, the Cut and Paste items are always disabled.

Find

Search for some text in the document. The search will always start at the beginning of the document. If the text found is part of an annotation, the annotation will be selected.

Find Again

Searches for the next occurrence of the text from the last search. The search will start at the position where the last occurrence was found.

Annotate Selection

This will let you annotate to the currently selected text. The Word Lookup dialog will be opened and shows the selected word. You can edit the word and search it in the dictionaries. If you click the Annotate button, the word in the document will be annotated with the current search result. Click Cancel to not annotate the word.

Annotations cannot overlap. If the selected text already contains annotations, these annotations will be deleted. Also, an annotation cannot span paragraphs. If text from more than one paragraph is selected, the annotation will end at the end of the first paragraph.

Document Title

Brings up a dialog which lets you set the title of the document. The title is used when the document is exported in HTML or LaTeX format.

Word Lookup

Selecting this item will show the Word Lookup dialog (see the section called “The Word Lookup Dialog” ). If some text is selected in the current document, this text will be automatically searched using the current dialog settings.

Preferences

Selecting this item will show the preferences dialog (see the section called “The Preferences Dialog” ).

View

Compact View

Enabling compact view will make each annotation take only as much space in the display as the annotated word needs, with the annotation text overlapping the surrounding text. This may look nicer, but will cause long annotations to overlap each other. You should try this with the display of translation annotations switched off.

Show Readings

This item toggles the display of reading annotations in the document view.

Show Translations

This item toggles the display of translation annotations in the document view.

Show Annotation Tooltips

If this item is selected, a window will pop up if you move the mouse over an annotation in the document view, showing all dictionary entries of this annotation.

Annotation

The items in this entry manipulate the annotations of the entry currently selected in the annotation editor. The items also appear in the context menu for annotation editor items and annotated words in the document view.

Use this Reading

Makes the currently selected item the reading of the annotation. The menu entry is only selectable if the item is a reading item or a dictionary entry word/reading item.

Use this Translation

Makes the currently selected item the translation of the annotation. The menu entry is only selectable if the item is a dictionary entry translation item.

Hide Annotation

Toggles the visibility of the reading and translation of this annotation. If an annotation is hidden, the document view will only display the word, but not the reading and annotation. This also influences how this annotation is treated when the document is exported (see the section called “Exporting annotated documents” ).

Remove Annotation

Removes the annotation from the currently selected word. It will be removed from the annotation editor, and the word will be changed to normal text in the document view.

Remove Anno. & Duplicates

Removes the annotation from the currently selected word, and all duplicate annotations. An annotation is a duplicate if it has the same word, reading and translation as the selected entry.

Use for All

Changes all annotations with an annotated word identical to the currently selected word to use the same reading, translation and dictionary form.

Add to Exclusions

Adds the word of the currently selected annotation to the list of words excluded from automatic annotation (see the section called “Exclusions” ).

Add to Dictionary

Adds the word of the currently selected annotation to the user dictionary (see the section called “The User Dictionary” ).

Hide all Duplicates

This will hide all annotations which are duplicates of a previous annotation. An annotation is a duplicate if it has the same word, reading and translation as a previous entry. Note that if an annotation is edited, duplicate annotations will not be changed. This command will work on all annotations, not just the currently selected item.

Show all Annotations

This item will remove the hidden status from all annotations.