This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fw: sgml to html


On Wed, 2002-08-07 at 08:17, Andrew Lunn wrote:
> > > What version of jade are you using? We have
> > > 
> > > jade -v
> > > jade:I: Jade version "1.2.1"
> > > jade:I: SP version "1.3.4"
> > > 
> > > which seems to be working OK.
> > > 
> > 
> > The same.
> 
> Strange. 
> 
> Whats the command line it is using? I have
> 
> jade -t sgml -i html -c /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/sgml.catalog -d ../../packages/pkgconf/stylesheet.dsl#html ecos.sgml
> 

The problem is that my stylesheets are named differently!

gthomas@artemis:/work2/ecos/doc/sgml$ ls -l /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/
total 36
-rw-r--r--    1 root     root            8 Feb 22 03:36 VERSION
-rw-r--r--    1 root     root          774 Jul  5  2001 catalog
drwxr-xr-x    2 root     root         4096 Aug  7 07:25 common
drwxr-xr-x    6 root     root         4096 Aug  7 07:25 dtds
drwxr-xr-x    2 root     root         4096 Aug  7 07:25 html
drwxr-xr-x    3 root     root         4096 Aug  7 07:25 images
drwxr-xr-x    2 root     root         4096 Aug  7 07:25 lib
drwxr-xr-x    2 root     root         4096 Aug  7 07:25 olink
drwxr-xr-x    2 root     root         4096 Aug  7 07:25 print

So, it can't find the stylesheets.

> Maybe we have hacked makemakefile in different ways?
> 

Actually I've not changed that - I just added a symlink of
ecos/packages-> ecos/ecc

>       Andrew
> 
> Index: makemakefile
> ===================================================================
> RCS file: /cvs/ecos/ecos/doc/sgml/makemakefile,v
> retrieving revision 1.1
> diff -c -u -r1.1 makemakefile
> cvs server: conflicting specifications of output style
> --- makemakefile        20 May 2002 22:19:26 -0000      1.1
> +++ makemakefile        7 Aug 2002 14:14:07 -0000
> @@ -53,7 +53,7 @@
>  #####DESCRIPTIONEND####
>  #=============================================================================
>  
> -TOPLEVEL   := ../../ecc
> +TOPLEVEL   := ../../packages
>  EOF
>  /bin/echo -n MAIN_SGML   := ecos.sgml >> makefile
>  
> @@ -70,12 +70,12 @@
>  for i in `cat doclist`; do
>    line="`echo $i | sed 's/#.*//;'`"
>    if (test ! -z $line); then
> -   /bin/echo -n " ../../ecc/$i" >> makefile
> +   /bin/echo -n " ../../packages/$i" >> makefile
>     entityi="`echo $i | sed 's@/@-@g; s@\.@-@g; s@_@-@g'`"
> -   echo "<!ENTITY $entityi SYSTEM \"../../ecc/$i\">" >> ecos.sgml
> +   echo "<!ENTITY $entityi SYSTEM \"../../packages/$i\">" >> ecos.sgml
>    fi
>  done
> -echo "<!ENTITY hal-common-current-doc-porting-sgml SYSTEM \"../../ecc/hal/common/current/doc/porting.sgml\">" >> ecos.sgml
> +echo "<!ENTITY hal-common-current-doc-porting-sgml SYSTEM \"../../packages/hal/common/current/doc/porting.sgml\">" >> ecos.sgml
>  
>  cat >> makefile <<EOF
>  
> 
> 
> -- 
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]