Assigning menu entries for the Macros

In this page we are going to assign menu entries for AncientGreek user macros in the Tools / Language menu (add the macros to the menu).

Use this procedure only in case you want to have direct access to one of the AncientGreek macros. Otherwise just use the AncientGreek dialog, menu or Secondary Toolbar

The following table shows the macros a user can safely execute, insert in menus and toolbars and assign keyboard shortcuts for.

Module Icon Macro
modDialog icon_16.png Main
Displays the AncientGreek main dialog
modManageStyles styles_16.png Main
Displays the Manage Styles dialog
modConvertStyles styles-16.png Main
Displays the Styles Conversion dialog
CharacterConversion extended_16.png GreekBasicToExtended
Converts Greek Basic Characters to Greek Extended Characters

basic_16.png GreekExtendedToBasic
Converts Greek Extended Characters to Greek Basic Characters

toNS_16.png ToNominaSacra
Overlines Nomina Sacra expressions

fromNS_16.png FromNominaSacra
Precedes Nomina Sacra expressions with an Overline character

unicode_16.png BetaCodeToUnicode
Converts a document or text selection from Beta Code to Unicode

beta_16.png UnicodeToBetaCode
Converts a document or text selection from Unicode to Beta Code

sp_u_16.png SPIonicToUnicode
Converts a document or text selection from SPIonic to Unicode

spionic_16.png UnicodeToSPIonic
Converts a document or text selection from Unicode to SPIonic

sgu_16.png SgreekToUnicode
Converts a document or text selection from Sgreek to Unicode

sg_16.png UnicodeToSgreek
Converts a document or text selection from Unicode to Sgreek

lgu_16.png LaserGreekToUnicode
Converts a document or text selection from LaserGreek to Unicode

lg_16.png UnicodeToLaserGreek
Converts a document or text selection from Unicode to LaserGreek

gku-16.png GreekKeysToUnicode
Converts a document or text selection from GreekKeys to Unicode

gk-16.png UnicodeToGreekKeys
Converts a document or text selection from Unicode to GreekKeys

Is-u-16.png IsminiToUnicode
Converts a document or text selection from Ismini to Unicode

Is-16.png UnicodeToIsmini
Converts a document or text selection from Unicode to Ismini

wingreek-u-16.png WinGreekToUnicode
Converts a document or text selection from WinGreek to Unicode

wingreek-16.png UnicodeToWinGreek
Converts a document or text selection from Unicode to WinGreek

son-of-wingreek-u-16.png SonOfWinGreekToUnicode
Converts a document or text selection from Son of WinGreek to Unicode

son-of-wingreek-16.png UnicodeToSonOfWinGreek
Converts a document or text selection from Unicode to Son of WinGreek
SPIonic esp_to_w_16.png ExtendedSPIonicToWideCharsWrapper
Converts AncientGreek Extended SPIonic expressions to Fullwidth / Halfwidth Unicode characters
AncientGreekLocale   SetAncientGreekLanguage
Changes text language to "Greek, Ancient"

  TohggleSecToolbar
Turns the Secondary Toolbar on or off
modTagFind itag_16.png openInsertTag
Displays the Insert Tag dialog
tag_16.png Main
Displays the Tags Conversion dialog
quot_16.png fixQuotationMark
Fixes double quotation marks
modInsertNominaSacra nom_16.png Main
Displays the Insert Nomina Sacra dialog
modAlternativeChars altc_16.png Main
Displays the Alternative Characters Conversion dialog
keybIbycus ib_16.png autoIbycus
Activates "Ibycus Keyboard Layout" and toggles "Greek Input" ON
modIbycusFind   Main
Opens Ibycus Keyboard Layout Search and Replace dialog
modHalfFull hfw-16.png Main
Converts half/fullwidth characters to Unicode and vise-versa
modAncCharDetect sampi_16.png Main
Detects Ancient Greek text found in the document and applies an (existing or new) Character Style on it
Composite from_comp_16.png ConvertFromComposite
Converts "composite" to "precomposed" characters

to_comp_16.png ConvertToComposite
Converts "precomposed" to "composite" characters

fix_comp_16.png RunFixComposite
Fixes "composite" characters errors
AncientGreek Extension Library User Macros

The easiest way to access the icons would be to open an offline help page (open AncientGreek Main Window and click on the Help button), and use the browser's location address to navigate to folder AncientGreek.

For example, if the browser's location address was "file:///C:/Users/spiros/AppData/
Roaming/LibreOffice/4/user/uno_packages/cacheuno_packages/lunti5.tmp_/
AncientGreek-1.6-beta7.oxt/
help/doc/macros.html
", you would find the icons in
"C:/Users/spiros/AppData/Roaming/LibreOffice/4/user/uno_packages/cache/
uno_packages/lunti5.tmp_/AncientGreek-1.6-beta7.oxt/
AncientGreek
".

You can use either the 16 or the 26 pixels size icons found in this folder, making sure that whatever you do, you do not remove them from this location.

The procedure shown here is performed on Windows 7 running LibreOffice 4.2.1.1. You may experience some differences depending on your Operating System and version of LibreOffice or OpenOffice.

Furthermore, this procedure is based on AncientGreek v 1.1, so it handles the two macros present in that version, but one can follow it to handle any user macro that may be added in the future (contained in the above table).

menu-1.jpg

Navigate to Tools / Customize... menu and when the Customize window opens, click on the Menus tab.

menu-2.jpg

In the LibreOffice Writter Menus click on the drop-down list (currently selected entry will probably be File), and navigate to Tools | Language.

menu-3.jpg

In the Menu content Entries list select Hyphenation (denoted by the red arrow) and then click on the Modify button and on the Add Separator entry (called Begin a Group in LibreOffice 4.1.3.5), to add a menu separator.

menu-4.jpg

Having the first menu separator selected (denoted by the red arrow), click on the Add button to open the Add Commands window

menu-5.jpg

In the Category list, navigate to LibreOffice Macros > My Macros > AncientGreek > CharacterConversion and click on the Add button twice.

Click Close to get back to the Customize window.

menu-6.jpg

At this point the macros have been inserted in the menu. They can be sorted as desired using the arrows next to the list.

The next thing to do is rename the menu entries. This step is optional; you can leave them as they are if you don't mind seeing the macro name.

If you do, select each macro and click on Modify / Rename....

menu-7.jpg

Insert the name of the menu entry for the macro. I will use "Ancient Greek - Extended To Basic Chars" for GreekExtendedToBasic and "Ancient Greek - Basic To Extended Chars" for GreekBasicToExtended, but you can use whatever you think is better.

menu-8.jpg

When you are done, click OK to close the window.

menu-9.jpg

It's time to see the result!!!

Open the Language menu under Tools and enjoy...

×

Info

If a table is truncated, then you can see all its content by scrolling it to the right and back.