🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.sgml
Article #693

Re: Entities in Word Perfect Suite 8 SGML editor

#693
From: Johan Martens
Date: Wed, 14 Jan 1998 00:00
82 lines
3223 bytes

--------------16DE8A12FA8DED2A54E5E7F7
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Dear Luis

As I told you yesterday, I gave you just one part of the solution, another
possibility is not to change the original SGML-declaration.

Instead you insert in your DTD the entity-file you need e.g.

<!ENTITY % wpset1 PUBLIC "-//COREL//ENTITIES WP 6.1 Character Set 1
(Multinational)//EN">
%wpset1;

Then in your compilation parameters for DTD to LGC you use as map-file

"c:\corel\office7\wpwin7\mapfiles\wp_wpc.map"

You compile your DTD and you can start editing in WordPerfect.

When you insert characters like ����... nothing seem to happen. I suggest
you save your file
as an SGML-file and take a look at this file with a dos-editor. You will
notice that
all the characters have been switched to sgml-entities.
When you reopen the file you will not see the sgml-entities but instead
you will see
the characters you typed.

I hope you can use this solution.

With kind regards
Johan Martens
Unisys Belgium
Document Management Consultant
+32-2-728.05.91


--------------16DE8A12FA8DED2A54E5E7F7
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<HTML>
Dear Luis

<P>As I told you yesterday, I gave you just one part of the solution, another
possibility is not to change the original SGML-declaration.

<P>Instead you insert in your DTD the entity-file you need e.g.

<P><FONT FACE="Courier New,Courier"><FONT SIZE=-1>&lt;!ENTITY % wpset1
PUBLIC "-//COREL//ENTITIES WP 6.1 Character Set 1 (Multinational)//EN"></FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT SIZE=-1>%wpset1;</FONT></FONT>

<P>Then in your compilation parameters for DTD to LGC you use as map-file

<P>"c:\corel\office7\wpwin7\mapfiles\wp_wpc.map"

<P>You compile your DTD and you can start editing in WordPerfect.

<P>When you insert characters like &egrave;&ugrave;&eacute;&agrave;&pound;...
nothing seem to happen. I suggest you save your file
<BR>as an SGML-file and take a look at this file with a dos-editor. You
will notice that
<BR>all the characters have been switched to sgml-entities.
<BR>When you reopen the file you will not see the sgml-entities but instead
you will see
<BR>the characters you typed.

<P>I hope you can use this solution.

<P>With kind regards
<BR>Johan Martens
<BR>Unisys Belgium
<BR>Document Management Consultant
<BR>+32-2-728.05.91
<BR>&nbsp;</HTML>

--------------16DE8A12FA8DED2A54E5E7F7--
Technical Details
Message-ID: <34BD2941.5F227686@ping.be>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34b1bb76.94712580@netnews.voicenet.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fa82c,45f1fe968e7f612d
X-Google-Attributes: gidfa82c,public
X-Google-Thread: 10b0e4,a6e376198009bc5a
X-Google-Attributes: gid10b0e4,public
From: Johan Martens <johan.martens@ping.be>
Subject: Re: Entities in Word Perfect Suite 8 SGML editor
Date: 1998/01/14
Message-ID: <34BD2941.5F227686@ping.be>
X-Deja-AN: 315962694
References: <34b1bb76.94712580@netnews.voicenet.com>
Mime-Version: 1.0
To: lmbarrio@omni1.voicenet.com
Content-Type: multipart/alternative; boundary="------------16DE8A12FA8DED2A54E5E7F7"
Organization: EUnet Belgium, Leuven, Belgium
Newsgroups: comp.text.sgml,corel.support.wordperfect7