Subject: Re: Tags in Abiword XML
From: Ralph Shumaker (email@example.com)
Date: Sat Jan 12 2002 - 18:46:47 CST
I think hyperlinks should be used more. (personal opinion)
HTML emails however, should be a rare beast. (personal
January Weiner 3 wrote:
> You could use "list-tag" which is totally ignored by the formatter but
> preserved upon import/export.
(top) I got a better idea: hyperlinks. I put something like
<a xlink:href="#bibliography-smith73-nobrackets">Smith and Wesson
...and in the bibliography at the end of the document, something like:
<bookmark type="start" name="bibliography-start">
<bookmark type="end" name="bibliography-start">
<bookmark type="start" name="bibliography-smith73-nobrackets">
Smith and Wesson (1873) "Winchester deluxe short rifle". Wild West.
</bookmark type="end" name="bibliography-smith73-nobrackets">
<bookmark type="start" name="bibliography-end">
<bookmark type="end" name="bibliography-end">
This is nice, because it allows you to directly jump from the reference to
the apropriate bibliography entry; however, I don't know how it looks in
print -- having a link in a document (even a link created by Abiword) seems
to crash Abiword whenever I'm trying to print it. (top)
> Alternatively you could invent your own tag just add a line or two to
> make sure it is recognised by the abiword importer.
> see src/wp/impexp/ap/ie_imp_AbiWord_1.cpp
> Just add you own tag to the list of recognised tags you'll find in the
OK, I'll try it. Would it be then included in the Abiword source?
> AbiWord will automatically export the tag to it's XML fileformat for you.
> > I know, something like that should be coded as a plugin, but I am a
> > full-time scientist and there is a huge time-consumption difference between
> > writing a simple, yet useful perl script (which I did with a couple of
> > hours investement, and the results are already functional) and coding a
> > plugin.
> Actually for a plugin you could just subclass ie_imp_AbiWord_1.cpp with
> your own custom importer methods. Most of the rest of the code is boiler
I could probably subclass it or whatever you say :-) but my humble
programming experience does not include C++ (only C/gtk and perl). I know
this is not an arcane art, but I've got not much time right now :-(
However, the bibliography perl script will be ready Real Soon Now(TM).
> Look at Dom's Open Office importer plugin for clues.
(You were looking at it.)
Ralph (upstart Perl programmer) mailto:firstname.lastname@example.org
Less frequently accessed alternate: mailto:email@example.com
All I want is root access to reality and maybe a few admin facilities.
--Author Unknown (ripped from Christel Dahlskjaer)
---------------------------------------------------- Sign Up for NetZero Platinum Today Only $9.95 per month! http://my.netzero.net/s/signup?r=platinum&refcd=PT97 ----------------------------------------------- To unsubscribe from this list, send a message to firstname.lastname@example.org with the word unsubscribe in the message body.
This archive was generated by hypermail 2b25 : Sat Jan 12 2002 - 18:55:19 CST