Subject: RE: [Q] Using comments. From: Sean Hennessy <shennessy@xxxxxxxxxx> Date: Thu, 27 Aug 1998 09:01:30 -0700 |
Jun Seong Hak wrote: |..used a comment in SGML document as follows. |But, Jade cannot process style file.. | |<!-- This is SGML Document --> |<!-- Date : 1998. 8.18 --> |<!-- Time : 20:28:30 --> |<!-- Created by : Jun --> | |<!DOCTYPE ARTICLE SYSTEM "EFart.dtd" []> | --- Try placing your document header comments after the DOCTYPE as I think Jade expects to see the DOCTYPE first? Here is a sample of the style-sheet header we are using.. NOTE: we adopted the use of ";;" for simple comments. NOTE: and "<!--" "-->" for blocks comments. <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA DSSSL> <!ENTITY MPAClist.dsl SYSTEM "MPAClist.dsl"> <!ENTITY MPACtbl.dsl SYSTEM "MPACtbl.dsl"> <!ENTITY MPACcmn1.dsl SYSTEM "MPACcmn1.dsl"> ]> <style-sheet> <style-specification id="sgml2ods-plain" use="docbook"> <style-specification-body> ;; $Id: sgml2odsp.dsl 1.0 1998/05/30 16:00:10 wsh Exp $ ;; ;;[implemented] ;; This notation means the component has been tested. ;; ;;[work in progress] ;; This notation means the component is untested. ;; (define %gARTLBEG% "ARTICLE BEGINNING" ) (define %gARTLEND% "END OF ARTICLE" ); (define %gNewLine% "&#RS;&#RE;" ) (define %gX1% "®X1¯") ; The start of a heading. ;====================================== <!-- ;;[implemented] ;; SGML Source Markup ;; ;; XYWrite Result Markup.. ;; ;;®X1¯ARTICLE BEGINNING ;; ;;®X1¯END OF ARTICLE --> ;====================================== (root ( make simple-page-sequence start-indent: %body-start-indent% (literal %gX1%) (literal %gARTLBEG%) (process-children) (literal %gNewLine%) (literal %gX1%) (literal %gARTLEND%) );eomsequence ) DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[Q] Using comments., Jun Seong Hak | Thread | AW: PostScript?, Dr. Markus Hönicka |
Simple WinHelp package, Wayne Richards | Date | jadetex (latest & greatest from tug, Glenn Kronschnabl |
Month |