
Ancient Greek Language Support
for LibreOffice / OpenOffice
Version: 1.6-beta8
Handling open inline tags^
As we have already seen, a tag pair may contain other tags which are called "inline" or "nested" tags.
AncientGreek can handle such tags (tag pairs), but will refuse to perform any kind of text conversion when an "open inline tag" exists within the outer tag pair.
Let's see such a tag:
<p class="ancientgreek">πάντες ἄνθρωποι τοῦ εἰδέναι <b>ὀρέγονται<</b> φύσει.</p>
Here we have:
- Outer tag pair: <p class="ancientgreek"> , </p>
- Inline tag pair: <b> , </b>
- Open inline tag: <
In case such a condition is detected, AncientGreek will display the "Open inline tag selection dialog", shown below.
The "Open inline tag selection dialog" on Mac OS
The user can select to either let AncientGreek help resolve the problem, or try to solve it himself, in which case the whole tag conversion operation stops, so that manually editing is possible.
If the user selects to let AncientGreek help resolve the problem, the "Tags editor" dialog will open:
The "Tags editor" dialog on Mac OS
The dialog offers the following functions:
Go to Previous/Next open inline text .
Shortcuts: Ctrl-PgUp / Ctrl-PgDn (Win & Linux) - ⌥↑ / ⌥↓ (Mac OS)
Go to Previous/Next Starting/Ending Char.
Shortcuts: Ctrl-< / Ctrl-> (Win & Linux) - ⌥← / ⌥→ (Mac OS)
Reload original content. This will discard any changes you have made.
Shortcuts: Ctrl-R (Win & Linux) - ⌘R (Mac OS)
Decrease/Increase font size.
Shortcuts: Ctrl-- / Ctrl-+ (Win & Linux) - ⌘↓ / ⌘↑ (Mac OS)
Using these functions, you should be able to correct (remove or complete) any open inline tag. Tag validation is performed as you type, and the result is displayed in red at the top of the window, along with the number of remaining open inline tags.
When all open inline tags are corrected, the "OK" button will be enabled, so you can accept all the changes, exit the dialog and return to the "Tags Conversion" dialog.
At any time you can click "Cancel" and exit the dialog, discarding any changes made. This will take you back to the "Open inline tag selection" dialog.