Article View: comp.text.sgml
Article #694Re: Entities in Word Perfect Suite 8 SGML editor
From: Johan Martens
Date: Tue, 13 Jan 1998 00:00
Date: Tue, 13 Jan 1998 00:00
199 lines
8319 bytes
8319 bytes
--------------C1F6B431E78E62AFE12DF0D5
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Dear
With respect to the problems of entities I found in WP7 (I read somewhere
in WP8 it should be easier)
the following solution:
Adapt your SGML-declarations with e.g. the following lines:
...
CHARSET
BASESET "ISO 646-1983//CHARSET International Reference Version
(IRV)//ESC 2/5 4/0"
DESCSET
0 9 UNUSED
9 2 9
11 2 UNUSED
13 1 13
14 18 UNUSED
32 95 32
127 1 UNUSED
<ADD THIS>
BASESET "Upper half of IBM code page 850 (Multilingual - Latin 1)"
DESCSET 128 128 128
</ADD THIS>
CAPACITY
PUBLIC "ISO 8879-1986//CAPACITY Reference//EN"
SCOPE
...
Then you have to declare somewhere this CHARSET-file in your map-file
e.g.:
-- ISO entity sets
...................................................... --
<ADD THIS>
PUBLIC "Upper half of IBM code page 850 (Multilingual - Latin 1)"
CHARSET CP850.SET
</ADD THIS>
PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN"
ENTITIES isodia.ent
PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN"
ENTITIES isonum.ent
...
Then recompile your dtd and start an sgml-doc in WordPerfect. When you try
to insert
a special character you will see that the characters (����....) have
become red.
Before you insert the character you have to check a small box below the
character set.
In dutch it says : "Invoegen als teken verwijzing" so I guess in English
it will be
something like : "Insert as character reference". Once you checked it,
click on insert save
your document as SGML.
There is an inconvenience however: open the sgml-document with an
ASCII-editor and you will
see it right away.
These and other explanation are written in the help instruction of the DTD
to LGC-converter,
so not in the help-files of WordPerfect where you might expect it.
I hope I 've been helpful so far. I will continue to look for other
solutions and when I
found them I will let you know.
With kind regards
J. Martens
Unisys Belgium
Document Management Consultant
+32-2-7280591
--------------C1F6B431E78E62AFE12DF0D5
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<HTML>
Dear
<P>With respect to the problems of entities I found in WP7 (I read somewhere
in WP8 it should be easier)
<BR>the following solution:
<BR>Adapt your SGML-declarations with e.g. the following lines:
<P><FONT FACE="Courier New,Courier"><FONT SIZE=-1>...</FONT></FONT>
<P><FONT FACE="Courier New,Courier"><FONT SIZE=-1>CHARSET</FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT SIZE=-1>
BASESET "ISO 646-1983//CHARSET International Reference Version (IRV)//ESC
2/5 4/0"</FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT SIZE=-1>
DESCSET</FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT SIZE=-1>
0 9 UNUSED</FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT SIZE=-1>
9 2 9</FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT SIZE=-1>
11 2 UNUSED</FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT SIZE=-1>
13 1 13</FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT SIZE=-1>
14 18 UNUSED</FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT SIZE=-1>
32 95 32</FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT SIZE=-1>
127 1 UNUSED</FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT SIZE=-1> </FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT COLOR="#FF0000"><FONT SIZE=-1><ADD
THIS></FONT></FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT SIZE=-1>
BASESET "Upper half of IBM code page 850 (Multilingual - Latin 1)"</FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT SIZE=-1>
DESCSET 128 128 128</FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT COLOR="#FF0000"><FONT SIZE=-1></ADD
THIS></FONT></FONT></FONT>
<P><FONT FACE="Courier New,Courier"><FONT SIZE=-1>CAPACITY</FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT SIZE=-1>
PUBLIC "ISO 8879-1986//CAPACITY Reference//EN"</FONT></FONT>
<P><FONT FACE="Courier New,Courier"><FONT SIZE=-1>SCOPE</FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT SIZE=-1>...</FONT></FONT>
<BR>
<P>Then you have to declare somewhere this CHARSET-file in your map-file
e.g.:
<BR>
<BR>
<P><FONT FACE="Courier New,Courier"><FONT SIZE=-1> -- ISO entity
sets ...................................................... --</FONT></FONT>
<P><FONT FACE="Courier New,Courier"><FONT COLOR="#FF0000"><FONT SIZE=-1><ADD
THIS></FONT></FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT SIZE=-1>PUBLIC "Upper
half of IBM code page 850 (Multilingual - Latin 1)"</FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT SIZE=-1>CHARSET CP850.SET</FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT COLOR="#FF0000"><FONT SIZE=-1></ADD
THIS></FONT></FONT></FONT>
<P><FONT FACE="Courier New,Courier"><FONT SIZE=-1>PUBLIC "ISO
8879:1986//ENTITIES Diacritical Marks//EN"</FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT SIZE=-1>ENTITIES isodia.ent</FONT></FONT>
<P><FONT FACE="Courier New,Courier"><FONT SIZE=-1>PUBLIC "ISO
8879:1986//ENTITIES Numeric and Special Graphic//EN"</FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT SIZE=-1>ENTITIES isonum.ent</FONT></FONT>
<BR><FONT FACE="Courier New,Courier"><FONT SIZE=-1>...</FONT></FONT>
<BR>
<P>Then recompile your dtd and start an sgml-doc in WordPerfect. When you
try to insert
<BR>a special character you will see that the characters (éàèù....)
have become red.
<BR>Before you insert the character you have to check a small box below
the character set.
<BR>In dutch it says : "Invoegen als teken verwijzing" so I guess in English
it will be
<BR>something like : "Insert as character reference". Once you checked
it, click on insert save
<BR>your document as SGML.
<P>There is an inconvenience however: open the sgml-document with an ASCII-editor
and you will
<BR>see it right away.
<P>These and other explanation are written in the help instruction of the
DTD to LGC-converter,
<BR>so not in the help-files of WordPerfect where you might expect it.
<P>I hope I 've been helpful so far. I will continue to look for other
solutions and when I
<BR>found them I will let you know.
<P>With kind regards
<BR>J. Martens
<BR>Unisys Belgium
<BR>Document Management Consultant
<BR>+32-2-7280591</HTML>
--------------C1F6B431E78E62AFE12DF0D5--
Technical Details
Message-ID:
<34BBEB5C.47BA14D2@ping.be>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<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,start 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/13 Message-ID: <34BBEB5C.47BA14D2@ping.be> X-Deja-AN: 315674877 References: <34b1bb76.94712580@netnews.voicenet.com> Mime-Version: 1.0 To: lmbarrio@omni1.voicenet.com Content-Type: multipart/alternative; boundary="------------C1F6B431E78E62AFE12DF0D5" Organization: EUnet Belgium, Leuven, Belgium Newsgroups: comp.text.sgml,corel.support.wordperfect7