Skip to content

Commit

Permalink
Extend docs on updating to 9
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgangmm committed Jan 25, 2024
1 parent 0fe449e commit 88820d3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 16 additions & 0 deletions data/doc/documentation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4496,6 +4496,22 @@ git checkout v9.0.0</programlisting>
<para>If you did not change the annotation ODD to match your own requirements, you may also want to copy <filename>odd/annotations.odd</filename>
from TEI Publisher 9 into <filename>resources/odd/</filename> of you app</para>
</step>
<step>
<para>To update the HTML page for annotations, it is best to use the version from TEI Publisher 9 and copy over the sections you customized. While
the Publisher 9 version may look very different on first sight, the relevant, user-customizable parts have not changed much:<itemizedlist>
<listitem>
<para>copy any customized toolbar buttons (class <option>annotation-action</option>) into the corresponding header element in the Publisher 9
version</para>
</listitem>
<listitem>
<para>in the same way copy modified form controls (class <option>annotation-form</option>). In the new version those appear further down in the
HTML, but still look the same</para>
</listitem>
<listitem>
<para>copy element <tag>pb-authority-lookup</tag>, including your custom authoritiy definitions</para>
</listitem>
</itemizedlist></para>
</step>
</procedure></para>
</section>
</section>
Expand Down
2 changes: 0 additions & 2 deletions templates/pages/annotate.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,10 @@
data-template="pages:parse-params">
<paper-icon-button icon="icons:folder-open"></paper-icon-button>
</a>
<!--paper-icon-button id="tocToggle" class="toc-toggle" icon="icons:view-list"/-->
<pb-zoom emit="transcription" direction="in" icon="icons:zoom-in"/>
<pb-zoom emit="transcription" direction="out" icon="icons:zoom-out"/>
</span>
<span class="icon-group">
<!--paper-icon-button id="clear-all" icon="icons:refresh"></paper-icon-button-->
<paper-icon-button class="annotation-action authority" data-i18n="[title]annotations.person" title="Person" data-type="person" data-shortcut="⌘+⇧+p,ctrl+⇧+p" icon="social:person" disabled="disabled"></paper-icon-button>
<paper-icon-button class="annotation-action authority" data-i18n="[title]annotations.organisation" title="organization" data-type="organization" data-shortcut="⌘+⇧+o,ctrl+⇧+o" icon="social:people" disabled="disabled"></paper-icon-button>
<paper-icon-button class="annotation-action authority" data-i18n="[title]annotations.place" title="Place" data-type="place" icon="maps:place" data-shortcut="⌘+⇧+q,ctrl+⇧+q" disabled="disabled"></paper-icon-button>
Expand Down

0 comments on commit 88820d3

Please sign in to comment.