Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The WYSIWYM (=“What You See Is What You Mean”) Editing View provides a word processor-like interface and hides the raw XML tags from the user. It uses the TEI schema and a standard CSS stylesheet to define the document layout.

To edit other XML formats or define a custom layout you can use your own schema and CSS stylesheet. Your stylesheet should declare paragraph-type elements as “display:block”.

If your document was not recognized as a TEI document, and no stylesheet association was found, you have the alternative to associate a stylesheet before proceeding. Use the Import Tool to import a CSS first or to proceed at your own risk.


PIC

 

Figure 12.6:WYSISYM View

 


Features of the WYSIWYM View

The main features of the WYSIWYM View are:

Block and Inline Markers: In the default setting no tags are displayed in the WYSIWYM Editing View. To show the Block Markers, which mark nested divisions of an XML file, select PIC in the main toolbar. To show the Inline Markers, which mark the single elements of an XML file, select PIC in the main toolbar.


PIC

 

Figure 12.7:Block and Inline Markers

 


Insert Elements: You can insert new elements by right-click at a certain position in the editor and selecting “Insert Element” (alternatively select “XML > Insert Elements” in the menu bar). In case some text is highlighted in the editor when selecting “Insert Element(s)”, the new element will surround the highlighted text fragment. In both cases after selecting ’Insert Element(s)’ a list of suggested elements allowed at this position will appear. You can use the Up and Down keys on your keyboard to select an element and press “return” to insert it or double-click on an element in the list. To insert an element not provided in the proposal list, enter the element’s name in the editing field and click “Insert New”. To rename an element in the proposal list enter the new element’s name in the editing field and click “Rename”. Placing the caret in the WYSIWYM Editor is supported by the XPath shown in the TextGridLab status bar at the bottom of the whole TextGridLab window. You can change the font size and weight clicking ’Fonts’ in the main toolbar and select your settings in the dialog box.

 

Context Menu

The Context Menu in the WYSIWYM View is similar to the Source View. But some options you can only find here, for example adding elements to the WYSIWYM View.

  • No labels