Print

Print


Hello:
You need to look at the style sheet in Dynaweb. This can either be done
in a text editor or using Insted, which comes with Dynatext.

I think in your case you might consider using <note> rather than <ptr>.
<ptr> cannot contain text so you will need to physically locate the text
of your footnote somewhere else and point to it, which raises the
question of where it goes (<ptr> behaviour is closer to an endnote-type
layout). If you use <note> you embed the text in the element, and hide
its contents substituting them with an icon (see EAD Tag Library, p.180
but ignore the element <footnotes> mentioned which is a typo).
So, encode footnotes like this:
<note actuate="user" show="new"></p>FOOTNOTE TEXT</p></note>
and edit your style sheet.
The problem now is that all your <note> elements will behave like
footnotes, so you need to distinguish footnote <note> from any other
usage of the element.
If you don't use Insted, load the correct stylesheet (fulltext.v) in a
text editor and find the section

<style name="NOTE">
.....
</style>
 copy this to a blank document and replace it with
<style name="NOTE">
        <select>        NOTE.attr(actuate)      </>
</style>

and paste back the original entry for NOTE and add a full stop after
NOTE and before " thus -
<style name="NOTE.">
.....
</style>
(this will now be your default <NOTE> style for elements without the
actuate attribute set).

<style name="NOTE.USER">
        <hotness>       True    </>
        <hide>  Children        </>
        <icon-position> Right   </>
        <!cript>        ebt-reveal title="Footnote" width="400" height="100"    </>
        <icon-type>     note    </>
</style>

Now any element <note> with actuate attribute "user" will appear as an
icon which, when clicked, will pop up a new window of dimensions 400x100
containing your footnote text.

To get this to work in Dynaweb you also have to edit the dynaweb.wv
stylesheet. Do the same for <note> as above, but use the following for
the note.user style:

<style name="NOTE.USER">
        <hotness>       True    </>
        <hide>  Children        </>
        <icon-position> Right   </>
        <!cript>        ebt-reveal window="new" title="Footnote"        </>
        <icon-type>     note    </>
        <text-after>endtag(a)<br></>
</style>
(the text-after line may not be necessary but it was useful for us)
Look in the Dynatext/web documentation for ebt-reveal for more
information.
Hope this helps
--
# Richard Higgins
# Durham University Library
# Archives & Special Collections
# Palace Green
# Durham
# DH1 3RN
# E-Mail: [log in to unmask]

Xiping Liu wrote:
>
> Sorry for repeating the questions, if they are.
>
> Hi
> I met some problems when I coded the finding aid. Any suggestions would be
> greatly appreciated.
>
> I tried to use <Ptr> to do footnotes but they didn't work.
> I followed the examples on EAD Tag Library:
>
> <ptr actuate="user" show="replace" target="xxxx">
>
> I put it at the end of the sentence where there should appear an icon. But
> when we uploaded it in our dynaweb, an SGML browser through HTML, the icons
> didn't show up. I was just wondering whether this has anything to do with
> the stylesheet (someone else did the stylesheet and set it on the dynaweb.
>
> Also, anyone has met a long long container list? Is there a way to create a
> macro so that when I hit certain key certain tags will appear?
>
> Thanks very much!
>
> Xiping