[Main topics] [Navigation]

Indicating German Deutsche fassung

Replacement of the dialogue Insert Special Symbols

The standard repertoire of special symbols in FM is very limited. Hence I wrote an ExtendScript replacing this dialogue. This allows you to modify the table of symbols in the script to your needs.

The script adapts its UI language to the FM-UI-language (de, en, fr).
L'interface utilisateur française a été créée avec le service web DeppL (https://www.deepl.com/translator).

Note: This function is integrated in ETB14up

Insert Special Symbol screenshot

Some of the symbols in the list display as a box, because the UI-font does not support these. In an appropriate font they will display correctly, for example in Segoe UI Symbol: ⌀§.

To insert a symbol

  1. Place the cursor at the desired location (body text, table cell, graphic text line).
  2. User the context menu item Insert Special Symbol [ETB] at the end of the menu or the button Symbols.
  3. Scroll to the desired symbol in the left pane (I have not yet implemented a type-ahead fast access).
  4. Double click on the line. This will show the symbol in the right area which uses the font Consolas.
  5. In place of a selection from the list you may also directly enter a 2 hex digit FM-code (ab for «) or a 4 hex digit Unicode (05d0 for .א)
  6. Click Insert Symbol to insert the symbol.

Installation

Note: All software from D+DD is Donationware - if you find it helpful for your work, think about supporting also my work.

  1. Download the script file
  2. FM version Date Version Installation file(s) Latest changes
    10 and later 2019-04-27 1.0 ETBinsertSymbol..zip First issue of /ETBinsertSymbol stand alone version
    2020-03-10
    • Support of all western UI languages (en, de, fr)
    • Added access by context menues
    • Symbol table in external file for easier handling
  3. Expand the ZIP to any location, typically to the desktop
  4. Move the 2 files ETBinsertSymbol.jsx and ETBinsertSymbol.cfg to %appdata%Adobe\FrameMaker\vv\Startup\ (vv is the FM version 10 … 15).
  5. In the action according to points 6 and 7 remember the definition of the image file! This mast be preserved, because it depends on the FM-version..
  6. Edit the tool bar file quick_access.xml in
    \vv\WorkSpaces\UnStructured\WYSIWYGView\toolbars and
    \vv\WorkSpaces\Structured\WYSIWYGView\toolbars
    as follows:
  7. from
    <FLYOUT command="SpecialSymbolsPopup" tooltip="Special Symbols">
      <images base="S_SPECIALSYMBOLS"/>
    </FLYOUT>
  8. to
    <!-- <FLYOUT command="SpecialSymbols"> replaced by script -->
    <ACTION command="ETB_InsertSymbol" tooltip="Insert special symbol [ETB]">
      <images base="S_SPECIALSYMBOLS"/>
    </ACTION>
  9. That's it

Note: This procedure changes only the habit of the button in the tool bar, but not the menu item Insert > Symbols. To change this would be more elaborate (it depends on too many circumstances).

Modifying the symbol table

The list of symbols is located in the file ETBinsertSymbol.cfg in the Startup folder in %appdata%\Adobe\FrameMaker\vv\. This file contains three flavours of the symbol table: English, German, French.

Note: When editing the symbol table, use only a Unicode capable text editor. Use a font with fixed pitch (e.g. Consolas).

Let's say, you want to add a math symbol for inequality (≠):

  1. Open file ETBinsertSymbol.cfg .
  2. Locate symbol table for your language: [ETBsymbols-de], [ETBsymbols-en] or [ETBsymbols-fr].
  3. To avoid renumbering, you may wish to add at the end of the table. But I will place it in the group of the mathematical symbols.
  4. Observe the alphabetical order of the symbol names.
  5. In the table [ETBsymbols-en] I find the line
    en_32 = Math Sum|Σ
    NOTE: The vertical bar separates the symbol name from the symbol itself.
  6. Below I insert the line
    en_33 = Math Unequal|≠
  7. I copy and rename this line to the German ([ETBsymbolsde]) and French ([ETBsymbols-fr]) table:
    de_40 = Math ungleich|≠
    fr_35 = Mathém. inégalité|≠
  8. The higher numbers in the various flavours must be renumbered!
  9. The total number of items must be adapted, for example from 58 to 59.
    [ETBsymbols]
    nSymbols = 59
  10. The number of definitions must be the same in all flavours.
  11. Note: Some symbols might be represented by a question mark or some other mark (e.g. boxed question mark). These are Unicode characters with no glyph in the font of your editor.

[To top/bottom of page] Ersatz des dialogs Sonderzeichen Einsetzen

Das repertoire an sonderzeichen im dialog von FrameMaker ist rudimentär und vor allem nicht anpassbar. Daher erstellte ich ein ExtendScript, das diese mängel beheben soll.

Das skript stellt sich auf die FrameMaker benutzher-sprache ein. (de, en, fr).

Hinweis: Diese funtkon ist in ETB14up integriert.

Dialog Sonderzeichen einfügen

Einige der zeichen in der liste erscheine als ? oder gerahmtes ?, weil die UI-schrift diese zeichen nicht enthält. Mit einer entsprechenden schrift-defintion erscheinen die zeichen im text korrekt. Zb mit der schrift Segoe UI Symbol: ⌀.

Einfügen eines symbols

  1. Den zeiger an die entsprechende stelle im text setzen (text, tabellen zelle, graphische text zeile).
  2. Kontext menu Sonderzeichen einfügen [ETB] am ende des menus oder schaltfläche Symbole verwenden.
  3. In der liste zum gesuchten symbol rollen.
  4. Die gesuchte zeile doppel-klicken. Dies übernimmt das symbol in die grosse darstellung mit font Consolas.
  5. Anstelle der auswahl in der liste kann auch direkt ein 2-hex-zeichen FM code (zb ab für «) oder ein 4-hex-zeichen Unicode (05d0 für א) eingegeben werden.
  6. Symbol einfügen anklicken.

Installation

Hinweis: Alle D+DD software ist Donationware - Wenn meine arbeit hilfreich für Deine arbeit ist, denke daran, meine arbeit zu unterstürzen

  1. ZIP datei herunter laden
  2. FM version Datum Version Installationsdatei Letzte änderungen
    10 und höher 2019-04-27 1.0 ETBinsertSymbol..zip Erste ausgabe der einzel-version von ETBinsertSymbol
    2020-03-10
    • Unterstützung der drei UI sprachen en, de und fr
    • Zugang auch durch kontext-menus
    • Symbol-tabelle in externer datei ist leichter zu ändern.
  3. ZIP datei an einen beliebigen ort expandieren (zb auf den Desktop)
  4. Dateien ETBinsertSymbol.jsx und ETBinsertSymbol.cfg ins verzeichnis %appdata%Adobe\FrameMaker\vv\Startup\ kopieren/verschieben (vv ist die FM version 10 … 15).
  5. Für die aufgaben gemäss den punkten 6 und 7 den pfad für das icon der schaltfläche festhalten. Dieser pfad muss erhalten bleiben - er hängt von der FM-version ab.
  6. Die tool bar dateien quick_access.xml in
    \vv\WorkSpaces\UnStructured\WYSIWYGView\toolbars und
    \vv\WorkSpaces\Structured\WYSIWYGView\toolbars
    wie folgt editieren:
  7. von
    <FLYOUT command="SpecialSymbolsPopup" tooltip="Sonderzeichen">
      <images base="S_SPECIALSYMBOLS"/>
    </FLYOUT>
  8. zu
    <!-- <FLYOUT command="SpecialSymbols"> replaced by script -->
    <ACTION command="ETB_InsertSymbol" tooltip="Sonderzeichen einfügen [ETB]">
      <images base="S_SPECIALSYMBOLS"/>
    </ACTION>
  9. Das ist alles

Hinweis: Dieses vorghen ändert lediglich das verhalten der schaltfläche in der Schnellzugriffsleiste, nicht aber das verhalten des menu punktes Einfügen > Symbol. Dies zu ändern wäre viel aufwendiger, da von etlichen umständen abhängig..

Symboltabelle erweitern

Die liste der symbole befindet sich in der datei ETBinsertSymbol.cfg im verzeichnis %appdata%\Adobe\FrameMaker\vv\Startup\. Diese datei enthält drei sprach-versionen der liste: deutsch, englisch, französisch.

Hinweis: Die datei nur mit einem Unicode-fähigen text editor ändern! Dabei eine schrift fester teilung verwenden.

Es sei angenommen, dass das mathematische symbol für ungleichheit (≠) zugefügt werden soll.

  1. Datei ETBinsertSymbol.cfg öffnen.
  2. Die tabelle mit den symbol namen auf deutsch aufsuchen [ETBsymbols-de].
  3. Um die neu nummerierung zu vermeiden, kann ein symbol auch einfach am schluss angefügt werden.
  4. Die alphabetische ordnung der symbol-beschreibungen sollte beachtet werden.
  5. In der tabelle [ETBsymbols-de] findet sich die zeile
    de_39 = Math. unendlich|∞
    Hinweis:
    Der senkrechte strich (|) trennt symbol-name und symbol.
  6. Unter diese zeile fügen wir ein
    de_40 = Math. ungleich|≠
  7. Wir kopieren diese zeile in die anderen sprachen an geeignetem ort und übersetzen den symbol-namen.
    en_33 = Math Unequal|≠
    fr_35 = Mathém. inégalité|≠
  8. Die zeilen nach dieser einfügung müssen jetzt neu nummeriert werden.
  9. Die gesamtzahl der symbole muss nachgetragen werden
    [ETBsymbols]
    nSymbols = 59
  10. Die anzahl der symbole sollte in allen sprach-tabellen die gleiche sein.
  11. Hinweis: Wenn symbole im editor als ? oder umrandetes ? dargestellt werden, kann lediglich die gewählte schrift dieses zeichen nicht darstellen. Allenfalls eine andere UniCode geeignete schrift einstellen.
[Main topics] [Navigation]
 URL:  Created: 2019-04-27  Updated:
© Docu+Design Daube, Zürich    
  Business of Docu + Design Daube Documentation issues Sharing information Klaus Daube's personal opinions Guests on this site Home of Docu + Design Daube To main page in this category To first page in series To previous page in series To next page in series To bottom of page To top of page Search this site Site map Mail to webmaster To bottom of page To top of page