Dear all,

I just want to let you know that the TEI facsimile plugin for Oxygen has 
a few new features. For those of you that are working with TEI digital 
facsimiles and might be interested in the plugin, the improvements can 
grouped in a few categories:

1. More flexibility in adding zones/rectangles (for example when using 
large images)
- there is now Zoom support. There are buttons on the toolbar and you 
can also press CTRL and use the mouse scroll wheel.
- a rectangle/zone can be resized. It means that you can grab an 
existing rectangle by one of its corners and resize it.
- you can duplicate an existing rectangle (there is a Duplicate action 
in the contextual menu presented over a rectangle, in the view)

2. A seamless integration between the document and the view
- for every new rectangle drawn in the view, a new <zone> element will 
be automatically inserted in the document.
- for every rectangle resized in the view, the corresponding <zone> 
element will be automatically updated in the document.
- every change in the document will determine the view to automatically 
reload all the zones

3. Linking a zone with existing transcribed text elements
There is a *Copy/Generate ID* action in the contextual menu presented 
for an area (in the image view). What this action does is:
1. if the zone doesn't have an ID it will generate one. The pattern is 
read from the configuration file *etc/id_pattern.txt* and it accepts 
Oxygen editor variables.
2. copy /#id/ to clipboard
The idea is that after invoking this action you will go on an element 
and just paste the value inside an @facs.

A quick way to install the plugin is to unzip the archive from the URL 
below inside {oXygenInstallDir}/plugins

Make sure to remove any previous version of the plugin and not to create 
any additional directories when unzipping. The file system should look 
like this:

Thank you all again for your feedback!

Best regards,
Alex Jitianu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger

On 1/20/2015 9:33 AM, Alex Jitianu wrote:
> Hello,
> Matthew, I am aware that the synchronization between the view and the 
> editor is far from perfect. The main issue in that regards is that the 
> view doesn't automatically pick up the changes from the editor. I'll 
> have to think on a solution on that so I will add an issue on the GIT 
> project to tackle this issue. A second issue would be about 
> automatically scrolling when you are drawing a rectangle.  The fact 
> that the view doesn't pick up the zone elements from your file also 
> needs investigation. Can you send me the file for debugging? Or you 
> could add an issue yourself on the GIT project [1].
> Immanuel, I think I got the the general idea but it would be great if 
> you could also send me a sample file. I don't work with TEI on a daily 
> basis and sometimes I get lost in all the specific terms and concepts.
> [1]
> Best regards,
> Alex
> -- 
> Alex Jitianu
> <oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
> On 1/16/2015 7:44 PM, Matthew Davis wrote:
>> That would be a useful solution.  Playing around with the tool there 
>> are two issues Iím seeing:  first, that thereís no way to draw a 
>> bounding box around a large zone when the image file is larger than 
>> the screen.  While thatís not something thatís likely to happen 
>> often, it would be useful to have that functionality.  Second (and 
>> potentially something that may be a bug in terms of the described 
>> functionality in  I do not get any zones in my image files 
>> on load, and when I reload the image after creating one that zoneís 
>> bounding box disappears on the image (but not in the xml code if Iíve 
>> pasted the zone in, obviously).
>> All best,
>> óMatt
>>> On Jan 16, 2015, at 10:59 AM, Immanuel Normann 
>>> <[log in to unmask]> wrote:
>>> Hello oXygen team,
>>> we have just played a bit with your plugin - it really looks very 
>>> promising! For whom text-image-linking is a central task having this 
>>> feature integrated in a single tool - oxygen - would make life much 
>>> easier!
>>> Yet, the tool probably needs some twaeks to become a real productive 
>>> tool in some scenarios. The scenario I have in mind is this: you 
>>> already have a TEI-document, i.e. all the zones and lines are 
>>> already present, but you have to link the existing zones or lines to 
>>> rectangles in the facsimile. If you want to link within a zone a 
>>> sequence of lines in the facsimile to their counterparts in TEI it 
>>> would be very convenient to do so just be clicking for each line in 
>>> the facsimilie on the base line. The system should be intelligent 
>>> enough (without image analysis) to choose the suitable length for 
>>> the line rectangle (namely like the width of the parent zone) and a 
>>> reasonable line height. Having this feature would mean one click per 
>>> line for the text-image-link. Whereas in the current plugin linking 
>>> a single line are many more steps: 1) click for the upper left 
>>> corner of the rectangular, 2) drag for the bottom right corner, 3) 
>>> right click for context menu, 4) click to choose "copy" in the 
>>> context menu 5) switching the view from image to xml-file and 6) 
>>> pasting the line-element. That means 6 times as many interaction as 
>>> necessary for the given scenario. If there were the one-click 
>>> solution as mentioned above then the plugin would be the first 
>>> choice for text-image-linking. It isn't yet, but it may become 
>>> without too much development effort.
>>> Best regards,
>>> Immanuel
>>> Am 12/17/2014 um 09:14 AM schrieb Radu Coravu:
>>>> Hello,
>>>> At the DIXIT camp that took place in Gratz, Alex Jitianu (a lead 
>>>> developer from Oxygen XML Editor) had a presentation on how to 
>>>> develop Oxygen plugins for TEI. The sample plugin that we presented 
>>>> was intended to help people working with TEI digital facsimiles. 
>>>> The idea was to offer a side view in which an user could load an 
>>>> image and:
>>>> - see the marked areas (all the zone elements from a TEI document)
>>>> - draw new areas over the image and copy them into the editor
>>>> The reason for this email is that we published the source code of 
>>>> that plugin as open source on Git. Since the time we presented it 
>>>> we did manage to work a little more on it (mainly suggestions 
>>>> received from the DIXIT audience) but there are still a lot of 
>>>> things to improve. If anyone is interested in testing it (and 
>>>> giving us feedback on what it could be improved) or contributing to 
>>>> it (it will require Java skills), here is the link from where you 
>>>> can get it:
>>>> The file should provide instructions on how to install 
>>>> and use the plugin. The plugin is compatible with Oxygen version 15 
>>>> or later.
>>>> We look forward for any feedback you may have.
>>>> Regards,
>>>> Radu
>>>> Radu Coravu
>>>> <oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger