Re: formatting-instruction and jadetex

Subject: Re: formatting-instruction and jadetex
From: Toby Speight <Toby.Speight@xxxxxxxxxxxxxx>
Date: 06 Aug 1998 12:09:17 +0100
Pawel> Pawel Turnau <URL:mailto:uzturnau@xxxxxxxxxxxxx>

0> In article <199808042224.AAA01570@xxxxxxxxxxxxxxxxxxxxx>, Pawel
0> wrote:

Pawel> I need page references in my document, and the only way I
Pawel> could think of doing that is via formatting-instruction.
Pawel> Unfortunately, jadetex produces error messages that I cannot
Pawel> understand. What am I doing wrong?
Pawel> Here is my document, called test.sgml
Pawel> ====================================================
Pawel> <!DOCTYPE test [
Pawel> <!ELEMENT test - - (p+) +(label | pageref)>
Pawel> <!ELEMENT p - - (#PCDATA)>
Pawel> <!ELEMENT (pageref | label) - - EMPTY>
Pawel> <!ATTLIST (pageref | label) name CDATA #REQUIRED>
Pawel> ]>
Pawel> <test>
Pawel>   <p>Foo.<label name="foo"></p>
Pawel>   <p>Bar (see p. <pageref name="foo">).</p>
Pawel> </test>
Pawel> ====================================================

Is there a good reason not to use ID and IDREF attributes?  That would
(a) ensure the referential integrity of your SGML source (to catch
errors well before the TeX stage), and (b) make the use of DSSSL's
cross-referencing features simpler.


 DSSSList info and archive:

Current Thread
  • formatting-instruction and jadetex
    • Pawel Turnau - from mail1.ability.netby (8.8.5/8.6.12) with ESMTP id TAA16389Tue, 4 Aug 1998 19:11:44 -0400 (EDT)
      • Sebastian Rahtz - from mail1.ability.netby (8.8.5/8.6.12) with ESMTP id GAA08676Thu, 6 Aug 1998 06:49:18 -0400 (EDT)
      • Toby Speight - from mail1.ability.netby (8.8.5/8.6.12) with ESMTP id HAA09091Thu, 6 Aug 1998 07:06:44 -0400 (EDT) <=