|
Subject: links with JADE RTF From: "Michael Schopen" <schopen@xxxxxxxx> Date: Tue, 5 May 1998 08:53:08 +0000 Comments: Authenticated sender is <schopen@pop3host.dimdi.de> |
Hello experts,
I am trying to set up hypertext links in RTF files produced with
JADE. The following SGML file
<!DOCTYPE test [
<!ELEMENT test - - (anchor+, link+) >
<!ELEMENT anchor - - (#PCDATA) >
<!ATTLIST anchor id ID #REQUIRED >
<!ELEMENT link - - (#PCDATA) >
<!ATTLIST link to IDREF #REQUIRED >
]>
<test>
<anchor id="a1">That's anchor 1.</anchor>
<anchor id="a2">And that's anchor 2.</anchor>
<link to="a1">That's a link to anchor 1 ...</link>
<link to ="a2">And that's a link to anchor 2 ...</link>
</test>
works fine with the following style specification:
<!doctype style-sheet PUBLIC "-//James Clark//DTD DSSSL Style
Sheet//EN" >
(element TEST
(make simple-page-sequence
top-margin: 1.25cm
bottom-margin: 1.5cm
left-margin: 1cm
right-margin: 1cm
input-whitespace-treatment: 'collapse
quadding: 'start
(process-children)))
(element anchor
(make paragraph
(process-children)))
(element link
(make paragraph
(make link
destination: (idref-address (attribute-string "TO")))))
But, there is always an extra blank at the start of the link in the
RTF file.
I am not sure whether this is problem of the JADE RTF backend or of
WinWord 97. Any help?
Thanks in advance.
Michael Schopen
--
====================================================
Dr. med. Michael Schopen Tel. +49 221 4724 325
Deutsches Institut fuer Fax. +49 221 41 14 29
medizinische Dokumentation
und Information DIMDI http://www.dimdi.de
Weisshausstrasse 27
D-50939 Koeln email:s#chopen@xxxxxxxx
>>> remove # to use email address <<<
====================================================
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: The DSSSList Digest V2 #34, Ralph Ferris | Thread | Re: links with JADE RTF, G. Ken Holman |
| Re: The DSSSList Digest V2 #34, Ralph Ferris | Date | Re: links with JADE RTF, G. Ken Holman |
| Month |