![]() To simplify semantic encoding, eXist Solutions created a Word plugin for the project, which allows editors to easily encode entities occurring within the text: select a string representing an entity, click a button and the plugin will run a query against the database of the Karl Barth Gesamtausgabe, showing potential matches for each possible category. With another click, the selected entity is inserted into the Word document, including a reference to the entity in the database. A screenshot of the Word plugin is shown below: This proved to be a huge timesaver: what took minutes before – switching to a different window, doing a search and copying the ID – is now done in seconds. The plugin also allows editors to get a preview of how the current text would look like in TEI and how it would be rendered to HTML by TEI Publisher’s ODD-based transformations. The preview feature sends the underlying Word XML to a TEI Publisher instance, which transforms it first to TEI, and then – if requested – to HTML. Editors can thus see the text as it would later appear on the website. However, the Word-workflow only covers the new volumes: we still have 54 already published volumes in TEI, which need to be extended. Parts of this is done automatically (via entity detection), but there’s still a lot of manual editing involved. WHERE ARE VISUAL STUDIO EXTENSIONS MANUAL Thus the question arised if the Word plugin could be ported to an XML editor.įor sure, oXygen would have been the obvious choice, but since the Word Plugin was already written in javascript/typescript, we decided to give Visual Studio Code a try. It turned out to be rather straightforward and the first usable version was done within one evening. Thrilled by the success, we invested two more days to make the plugin more generic, in particular, add connectors for other authority databases. Beyond the Karl Barth Gesamtausgabe, we now have connectors for the German GND, metagrid, Geonames and Google places. The TEI snippet to be inserted for each of the entity types can be configured in the settings. For example, you could replace with if you like. The HTML preview feature has been ported as well: pressing a keyboard shortcut or clicking the toolbar icon will present you with a list of ODDs available for transformations, and then open a new editor panel showing the transformation result in HTML. ![]() WHERE ARE VISUAL STUDIO EXTENSIONS CODEĪll you need is a TEI Publisher 7 instance which has a matching ODD installed.WHERE ARE VISUAL STUDIO EXTENSIONS MANUAL.
0 Comments
Leave a Reply. |