This is the mail archive of the ecos-patches@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]

PDF Docs for 2.0 beta


Hello,

 This patch enables building the reference manual in PDF. To achieve this, 
some pictures in gif format were converted to png format and the sgml sources 
edited accordingly.

 Because of the originally unusually small PDF output format, this patch also 
redefines the PDF output format to A4 or US letter. Thus the appropriate make 
commands are: "make html", "make pdfa4" and make "pdfletter".

Because of this list size limit, the accompanying pictures converted to png 
format can be found at <http://www.ecos2.vsr.si/download/png20b1/>.

The docs produced after applying this patch can be previewed at 
<http://www.ecos2.vsr.si>.

Regards
Iztok
diff -C3 -N -P -r -x '.*' /ecoscvs/orig/ecos/doc/ChangeLog ./doc/ChangeLog
*** /ecoscvs/orig/ecos/doc/ChangeLog	2003-03-17 18:31:06.000000000 +0100
--- ./doc/ChangeLog	2003-03-24 09:50:15.000000000 +0100
***************
*** 1,3 ****
--- 1,8 ----
+ 2003-03-23  Iztok Zupet  <iz at vsr dot si>
+ 
+ 	* sgml/makemakefile: modified copyfiles to copy png-s instead of 
+ 	gif-s.
+ 
  2003-02-25  Andrew Lunn  <andrew dot lunn at ascom dot ch>
  
  	* sgml/doclist: Added the simple network time protocol client
diff -C3 -N -P -r -x '.*' /ecoscvs/orig/ecos/doc/sgml/makemakefile ./doc/sgml/makemakefile
*** /ecoscvs/orig/ecos/doc/sgml/makemakefile	2003-03-17 18:31:06.000000000 +0100
--- ./doc/sgml/makemakefile	2003-03-24 09:21:28.000000000 +0100
***************
*** 80,89 ****
    fi
  done
  
! # Go through again but find GIFs to copy
  for i in `for j in \`cat doclist\` ; do dirname $j ; done | sort | uniq` ; do
    diri=`echo ../../packages/$i | sed "s@/current/@/${PACKAGEVER}/@g"`
!   dirigifs=`ls $diri/*.gif 2>/dev/null | tr '\n' ' '`
    if [ x"$dirigifs" != x ]; then
          copyfiles="$copyfiles $dirigifs"
    fi
--- 80,89 ----
    fi
  done
  
! # Go through again but find PNGs to copy
  for i in `for j in \`cat doclist\` ; do dirname $j ; done | sort | uniq` ; do
    diri=`echo ../../packages/$i | sed "s@/current/@/${PACKAGEVER}/@g"`
!   dirigifs=`ls $diri/*.png 2>/dev/null | tr '\n' ' '`
    if [ x"$dirigifs" != x ]; then
          copyfiles="$copyfiles $dirigifs"
    fi
diff -C3 -N -P -r -x '.*' /ecoscvs/orig/ecos/doc/sgml/README-PDF ./doc/sgml/README-PDF
*** /ecoscvs/orig/ecos/doc/sgml/README-PDF	2002-10-18 03:45:34.000000000 +0200
--- ./doc/sgml/README-PDF	2003-03-24 09:21:28.000000000 +0100
***************
*** 1,5 ****
  To build the PDF version of docs (on Linux), simply use:
! make pdf
  
  If Your pdfjadetex complains with
  	> ! TeX capacity exceeded, sorry [save size=5000].
--- 1,6 ----
  To build the PDF version of docs (on Linux), simply use:
! make pdfa4 for A4 size or
! make pdfletter for US letter size
  
  If Your pdfjadetex complains with
  	> ! TeX capacity exceeded, sorry [save size=5000].
***************
*** 7,12 ****
--- 8,19 ----
  	save_size.pdfjadetex=10000 (at least) in
  	/usr/share/texmf/web2c/texmf.cnf instead of 5000.
  
+ If Your pdfjadetex complains with
+ 	> ! TeX capacity exceeded, sorry [number of strings=55000].
+ then define
+ 	max_strings.pdfjadetex=155000 (for instance) in
+ 	/usr/share/texmf/web2c/texmf.cnf instead of 5000.
+ 
  If You don't get coloured links in Your output, or if You 
  wish to modify the pdfjadetex default behaviour then add
  a file named jadetex.cfg into each directory where the build
***************
*** 15,21 ****
  \hypersetup{pdfpagemode=None,  pdfauthor=eCos (pdfjadetex) ,  colorlinks=true,
   linkcolor=blue,  pdfstartview=FitH}
  
! Regaqrds
  Iztok
  <iz at vsr dot si>
  
--- 22,28 ----
  \hypersetup{pdfpagemode=None,  pdfauthor=eCos (pdfjadetex) ,  colorlinks=true,
   linkcolor=blue,  pdfstartview=FitH}
  
! Regards
  Iztok
  <iz at vsr dot si>
  
diff -C3 -N -P -r -x '.*' /ecoscvs/orig/ecos/packages/ChangeLog ./packages/ChangeLog
*** /ecoscvs/orig/ecos/packages/ChangeLog	2003-03-19 18:39:21.000000000 +0100
--- ./packages/ChangeLog	2003-03-24 09:56:55.000000000 +0100
***************
*** 1,3 ****
--- 1,10 ----
+ 2003-03-23  Iztok Zupet  <iz at vsr dot si>
+ 
+ 	* pkgconf/rules.doc: Use three stylesheets instead of one.
+ 	One for HTML the other for PDF-letter and the third one for PDF-A4
+ 	format. (Sylesheets do not support two printable targets in 
+ 	same stylesheet). Addef copyfiles to PDF targets.
+ 
  2003-03-18  Mark Salter  <msalter at redhat dot com>
  
          * ecos.db: Add support for XScale IXP425, IXDP425, GRG.
diff -C3 -N -P -r -x '.*' /ecoscvs/orig/ecos/packages/devs/eth/synth/ecosynth/current/ChangeLog ./packages/devs/eth/synth/ecosynth/current/ChangeLog
*** /ecoscvs/orig/ecos/packages/devs/eth/synth/ecosynth/current/ChangeLog	2003-03-17 18:31:56.000000000 +0100
--- ./packages/devs/eth/synth/ecosynth/current/ChangeLog	2003-03-24 09:21:37.000000000 +0100
***************
*** 1,3 ****
--- 1,8 ----
+ 2003-02-25  Iztok Zupet  <iz at vsr dot si>
+ 
+ 	* doc/syntheth.sgml: Replaced .gif with .png to get PDF
+ 	output.
+ 
  2003-02-25  Jonathan Larmour  <jifl at eCosCentric dot com>
  
  	* doc/syntheth.sgml: Declare as <part> not <reference> to get
Binary files /ecoscvs/orig/ecos/packages/devs/eth/synth/ecosynth/current/doc/overview.png and ./packages/devs/eth/synth/ecosynth/current/doc/overview.png differ
diff -C3 -N -P -r -x '.*' /ecoscvs/orig/ecos/packages/devs/eth/synth/ecosynth/current/doc/syntheth.sgml ./packages/devs/eth/synth/ecosynth/current/doc/syntheth.sgml
*** /ecoscvs/orig/ecos/packages/devs/eth/synth/ecosynth/current/doc/syntheth.sgml	2003-03-17 18:31:56.000000000 +0100
--- ./packages/devs/eth/synth/ecosynth/current/doc/syntheth.sgml	2003-03-24 09:21:37.000000000 +0100
***************
*** 74,80 ****
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="overview.gif" format="gif" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
--- 74,80 ----
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="overview.png" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
diff -C3 -N -P -r -x '.*' /ecoscvs/orig/ecos/packages/devs/watchdog/synth/current/ChangeLog ./packages/devs/watchdog/synth/current/ChangeLog
*** /ecoscvs/orig/ecos/packages/devs/watchdog/synth/current/ChangeLog	2003-03-17 18:31:57.000000000 +0100
--- ./packages/devs/watchdog/synth/current/ChangeLog	2003-03-24 09:21:48.000000000 +0100
***************
*** 1,3 ****
--- 1,10 ----
+ 2003-03-23  Iztok Zupet<iz at vsr dot si>
+ 
+ 	* doc/synth_watchdog.sgml: Replaced .gif with .png to allow for
+ 	PDF build.
+ 
+ 	* doc/*.gif: Converted to *.png.
+ 
  2003-02-25  Jonathan Larmour  <jifl at eCosCentric dot com>
  
  	* doc/synth_watchdog.sgml: Declare as <part> not <reference> to get
Binary files /ecoscvs/orig/ecos/packages/devs/watchdog/synth/current/doc/asleep.png and ./packages/devs/watchdog/synth/current/doc/asleep.png differ
Binary files /ecoscvs/orig/ecos/packages/devs/watchdog/synth/current/doc/awake.png and ./packages/devs/watchdog/synth/current/doc/awake.png differ
diff -C3 -N -P -r -x '.*' /ecoscvs/orig/ecos/packages/devs/watchdog/synth/current/doc/synth_watchdog.sgml ./packages/devs/watchdog/synth/current/doc/synth_watchdog.sgml
*** /ecoscvs/orig/ecos/packages/devs/watchdog/synth/current/doc/synth_watchdog.sgml	2003-03-17 18:31:57.000000000 +0100
--- ./packages/devs/watchdog/synth/current/doc/synth_watchdog.sgml	2003-03-24 10:00:50.000000000 +0100
***************
*** 240,246 ****
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="asleep.gif" format="gif" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
--- 240,246 ----
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="asleep.png" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
***************
*** 251,257 ****
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="awake.gif" format="gif" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
--- 251,257 ----
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="awake.png" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
diff -C3 -N -P -r -x '.*' /ecoscvs/orig/ecos/packages/hal/synth/arch/current/ChangeLog ./packages/hal/synth/arch/current/ChangeLog
*** /ecoscvs/orig/ecos/packages/hal/synth/arch/current/ChangeLog	2003-03-17 18:32:04.000000000 +0100
--- ./packages/hal/synth/arch/current/ChangeLog	2003-03-24 09:22:18.000000000 +0100
***************
*** 1,5 ****
--- 1,11 ----
  2003-02-24  Jonathan Larmour  <jifl at eCosCentric dot com>
  
+ 	* doc/synth.sgml: replaced .gif with .png to allow PDF
+ 	build
+ 	* doc/*.gif: converted to *.png with 150 DPI resolution.
+ 
+ 2003-02-24  Jonathan Larmour  <jifl at eCosCentric dot com>
+ 
  	* doc/overview.gif, doc/overview.fig: renamed to
  	synth-io-overview.gif and synth-io-overview.fig.
  	* doc/synth.sgml: Add some missing "&gt;"s to header file names.
Binary files /ecoscvs/orig/ecos/packages/hal/synth/arch/current/doc/filters.png and ./packages/hal/synth/arch/current/doc/filters.png differ
Binary files /ecoscvs/orig/ecos/packages/hal/synth/arch/current/doc/layout.png and ./packages/hal/synth/arch/current/doc/layout.png differ
Binary files /ecoscvs/orig/ecos/packages/hal/synth/arch/current/doc/menu_edit.png and ./packages/hal/synth/arch/current/doc/menu_edit.png differ
Binary files /ecoscvs/orig/ecos/packages/hal/synth/arch/current/doc/menu_file.png and ./packages/hal/synth/arch/current/doc/menu_file.png differ
Binary files /ecoscvs/orig/ecos/packages/hal/synth/arch/current/doc/menu_help.png and ./packages/hal/synth/arch/current/doc/menu_help.png differ
Binary files /ecoscvs/orig/ecos/packages/hal/synth/arch/current/doc/menu_view.png and ./packages/hal/synth/arch/current/doc/menu_view.png differ
Binary files /ecoscvs/orig/ecos/packages/hal/synth/arch/current/doc/preferences.png and ./packages/hal/synth/arch/current/doc/preferences.png differ
Binary files /ecoscvs/orig/ecos/packages/hal/synth/arch/current/doc/screen_main.png and ./packages/hal/synth/arch/current/doc/screen_main.png differ
Binary files /ecoscvs/orig/ecos/packages/hal/synth/arch/current/doc/synth-io-overview.png and ./packages/hal/synth/arch/current/doc/synth-io-overview.png differ
diff -C3 -N -P -r -x '.*' /ecoscvs/orig/ecos/packages/hal/synth/arch/current/doc/synth.sgml ./packages/hal/synth/arch/current/doc/synth.sgml
*** /ecoscvs/orig/ecos/packages/hal/synth/arch/current/doc/synth.sgml	2003-03-17 18:32:05.000000000 +0100
--- ./packages/hal/synth/arch/current/doc/synth.sgml	2003-03-24 10:05:08.000000000 +0100
***************
*** 135,141 ****
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="synth-io-overview.gif" format="gif" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
--- 135,141 ----
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="synth-io-overview.png" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
***************
*** 850,856 ****
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="screen_main.gif" format="gif" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
--- 850,856 ----
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="screen_main.png" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
***************
*** 883,889 ****
        <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="menu_file.gif" format="gif" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
--- 883,889 ----
        <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="menu_file.png" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
***************
*** 936,942 ****
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="menu_edit.gif" format="gif" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
--- 936,942 ----
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="menu_edit.png" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
***************
*** 964,970 ****
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="preferences.gif" format="gif" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
--- 964,970 ----
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="preferences.png" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
***************
*** 976,982 ****
       <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="menu_view.gif" format="gif" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
--- 976,982 ----
       <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="menu_view.png" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
***************
*** 989,995 ****
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="menu_help.gif" format="gif" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
--- 989,995 ----
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="menu_help.png" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
***************
*** 1045,1051 ****
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="filters.gif" format="gif" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
--- 1045,1051 ----
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="filters.png" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
***************
*** 1080,1086 ****
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="layout.gif" format="gif" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
--- 1080,1086 ----
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="layout.png" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
***************
*** 2501,2507 ****
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="layout.gif" format="gif" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
--- 2501,2507 ----
      <informalfigure PgWide=1>
        <mediaobject>
          <imageobject>
!           <imagedata fileref="layout.png" Scalefit=1 Align="Center">
          </imageobject>
        </mediaobject>
      </informalfigure>
diff -C3 -N -P -r -x '.*' /ecoscvs/orig/ecos/packages/io/usb/eth/slave/current/ChangeLog ./packages/io/usb/eth/slave/current/ChangeLog
*** /ecoscvs/orig/ecos/packages/io/usb/eth/slave/current/ChangeLog	2003-03-17 18:32:08.000000000 +0100
--- ./packages/io/usb/eth/slave/current/ChangeLog	2003-03-24 09:22:37.000000000 +0100
***************
*** 1,3 ****
--- 1,8 ----
+ 2003-03-23  Iztok Zupet <iz at vsr dot si>
+ 
+ 	* doc/usbseth.sgml: Remove .eps and .gif and introduce .png for
+ 	for PDF output.
+ 
  2003-02-25  Jonathan Larmour  <jifl at eCosCentric dot com>
  
  	* doc/usbseth.sgml: Declare as <part> not <reference> to get
Binary files /ecoscvs/orig/ecos/packages/io/usb/eth/slave/current/doc/simple.png and ./packages/io/usb/eth/slave/current/doc/simple.png differ
Binary files /ecoscvs/orig/ecos/packages/io/usb/eth/slave/current/doc/tcpip.png and ./packages/io/usb/eth/slave/current/doc/tcpip.png differ
diff -C3 -N -P -r -x '.*' /ecoscvs/orig/ecos/packages/io/usb/eth/slave/current/doc/usbseth.sgml ./packages/io/usb/eth/slave/current/doc/usbseth.sgml
*** /ecoscvs/orig/ecos/packages/io/usb/eth/slave/current/doc/usbseth.sgml	2003-03-17 18:32:08.000000000 +0100
--- ./packages/io/usb/eth/slave/current/doc/usbseth.sgml	2003-03-24 09:22:37.000000000 +0100
***************
*** 106,115 ****
  <informalfigure PgWide=1>
  <mediaobject>
  <imageobject>
! <imagedata fileref="simple.eps" format="eps" Scalefit=1 Align="Center">
! </imageobject>
! <imageobject>
! <imagedata fileref="simple.gif" format="gif" Align="Center">
  </imageobject>
  </mediaobject>
  </informalfigure>
--- 106,112 ----
  <informalfigure PgWide=1>
  <mediaobject>
  <imageobject>
! <imagedata fileref="simple.png" Align="Center">
  </imageobject>
  </mediaobject>
  </informalfigure>
***************
*** 134,143 ****
  <informalfigure PgWide=1>
  <mediaobject>
  <imageobject>
! <imagedata fileref="tcpip.eps" format="eps" Scalefit=1 Align="Center">
! </imageobject>
! <imageobject>
! <imagedata fileref="tcpip.gif" format="gif" Align="Center">
  </imageobject>
  </mediaobject>
  </informalfigure>
--- 131,137 ----
  <informalfigure PgWide=1>
  <mediaobject>
  <imageobject>
! <imagedata fileref="tcpip.png" Align="Center">
  </imageobject>
  </mediaobject>
  </informalfigure>
diff -C3 -N -P -r -x '.*' /ecoscvs/orig/ecos/packages/pkgconf/rules.doc ./packages/pkgconf/rules.doc
*** /ecoscvs/orig/ecos/packages/pkgconf/rules.doc	2003-03-17 18:32:11.000000000 +0100
--- ./packages/pkgconf/rules.doc	2003-03-24 10:24:39.000000000 +0100
***************
*** 77,83 ****
      endif
    endif
  endif
! ECOS_STYLESHEET  := $(TOPLEVEL)/pkgconf/stylesheet.dsl
  FIXHTML          := $(TOPLEVEL)/pkgconf/fixhtml.tcl
  
  # The files that will be generated:
--- 77,86 ----
      endif
    endif
  endif
! 
! A4_STYLESHEET  := $(TOPLEVEL)/pkgconf/ssa4.dsl
! LETTER_STYLESHEET  := $(TOPLEVEL)/pkgconf/ssletter.dsl
! HTML_STYLESHEET  := $(TOPLEVEL)/pkgconf/stylesheet.dsl
  FIXHTML          := $(TOPLEVEL)/pkgconf/fixhtml.tcl
  
  # The files that will be generated:
***************
*** 88,93 ****
--- 91,99 ----
   MAIN_PDF         := $(subst .sgml,.pdf,$(MAIN_SGML))
  endif
  
+ MAIN_PDFA4        := $(subst .pdf,-a4.pdf,$(MAIN_PDF))
+ MAIN_PDFLETTER    := $(subst .pdf,-letter.pdf,$(MAIN_PDF))
+ 
  # Rules for generating pictures
  GIFS := $(foreach x,$(PICTURES),$(x).gif)
  EPS  := $(foreach x,$(PICTURES),$(x).eps)
***************
*** 118,135 ****
  # can be ignored.
  html: copyfiles $(MAIN_HTML)
  
! $(MAIN_HTML): $(MAIN_SGML) $(OTHER_SGML) $(GIFS) $(ECOS_STYLESHEET) $(FIXHTML)
! 	jade -t sgml -i html -c $(DSSSL_CATALOG) -d $(ECOS_STYLESHEET)#html $<
  	tclsh $(FIXHTML)
  
  # PDF files can be generated in a similar fashion.
! pdf: $(MAIN_PDF)
  
! $(MAIN_PDF):  $(MAIN_SGML) $(OTHER_SGML) $(PNGS) $(ECOS_STYLESHEET)
! 	jade -o $(subst .pdf,.tex,$(MAIN_PDF)) -t tex -V tex-backend -c $(DSSSL_CATALOG) -d $(ECOS_STYLESHEET)#print $<
! 	pdfjadetex $(subst .pdf,.tex,$(MAIN_PDF))
! 	pdfjadetex $(subst .pdf,.tex,$(MAIN_PDF))
! 	pdfjadetex $(subst .pdf,.tex,$(MAIN_PDF))
  
  #$(MAIN_PDF):  $(MAIN_SGML) $(OTHER_SGML) $(EPS) $(ECOS_STYLESHEET)
  #	jade -o $(subst .sgml,.tex,$(MAIN_SGML)) -t tex -V tex-backend -d $(ECOS_STYLESHEET)#print $<
--- 124,149 ----
  # can be ignored.
  html: copyfiles $(MAIN_HTML)
  
! $(MAIN_HTML): $(MAIN_SGML) $(OTHER_SGML) $(GIFS) $(HTML_STYLESHEET) $(FIXHTML)
! 	jade -t sgml -i html -c $(DSSSL_CATALOG) -d $(HTML_STYLESHEET)#html $<
  	tclsh $(FIXHTML)
  
  # PDF files can be generated in a similar fashion.
! pdfa4: copyfiles $(MAIN_PDFA4)
  
! $(MAIN_PDFA4):  $(MAIN_SGML) $(OTHER_SGML) $(PNGS) $(A4_STYLESHEET)
! 	jade -o $(subst .pdf,.tex,$(MAIN_PDFA4)) -t tex -V tex-backend -c $(DSSSL_CATALOG) -d $(A4_STYLESHEET)#print $<
! 	pdfjadetex $(subst .pdf,.tex,$(MAIN_PDFA4))
! 	pdfjadetex $(subst .pdf,.tex,$(MAIN_PDFA4))
! 	pdfjadetex $(subst .pdf,.tex,$(MAIN_PDFA4))
! 
! pdfletter: copyfiles $(MAIN_PDFLETTER)
! 
! $(MAIN_PDFLETTER):  $(MAIN_SGML) $(OTHER_SGML) $(PNGS) $(LETTER_STYLESHEET)
! 	jade -o $(subst .pdf,.tex,$(MAIN_PDFLETTER)) -t tex -V tex-backend -c $(DSSSL_CATALOG) -d $(LETTER_STYLESHEET)#print $<
! 	pdfjadetex $(subst .pdf,.tex,$(MAIN_PDFLETTER))
! 	pdfjadetex $(subst .pdf,.tex,$(MAIN_PDFLETTER))
! 	pdfjadetex $(subst .pdf,.tex,$(MAIN_PDFLETTER))
  
  #$(MAIN_PDF):  $(MAIN_SGML) $(OTHER_SGML) $(EPS) $(ECOS_STYLESHEET)
  #	jade -o $(subst .sgml,.tex,$(MAIN_SGML)) -t tex -V tex-backend -d $(ECOS_STYLESHEET)#print $<
***************
*** 141,145 ****
  
  # Clean. For now assume that all .html, .gif etc files are generated
  clean:
! 	rm -rf *.html *.tex *.dvi *.aux *.log *.out *.ps *.pdf *.gif *.eps
! 
--- 155,158 ----
  
  # Clean. For now assume that all .html, .gif etc files are generated
  clean:
! 	rm -rf *.html *.tex *.dvi *.aux *.log *.out *.ps *.pdf *.gif *.eps *.png
\ No newline at end of file
diff -C3 -N -P -r -x '.*' /ecoscvs/orig/ecos/packages/pkgconf/ssa4.dsl ./packages/pkgconf/ssa4.dsl
*** /ecoscvs/orig/ecos/packages/pkgconf/ssa4.dsl	1970-01-01 01:00:00.000000000 +0100
--- ./packages/pkgconf/ssa4.dsl	2003-03-23 20:41:32.000000000 +0100
***************
*** 0 ****
--- 1,110 ----
+ <!-- {{{ Banner                 -->
+ 
+ <!-- =============================================================== -->
+ <!--                                                                 -->
+ <!--     stylesheet.sgml                                             -->
+ <!--                                                                 -->
+ <!--     Customize the nwalsh modular stylesheets.                   -->
+ <!--                                                                 -->
+ <!-- =============================================================== -->
+ <!-- ####ECOSGPLCOPYRIGHTBEGIN####                                          -->
+ <!-- This file is part of eCos, the Embedded Configurable Operating System. -->
+ <!-- Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.               -->
+ <!--                                                                        -->
+ <!-- eCos is free software; you can redistribute it and/or modify it under  -->
+ <!-- the terms of the GNU General Public License as published by the Free   -->
+ <!-- Software Foundation; either version 2 or (at your option) any later    -->
+ <!-- version.                                                               -->
+ <!--                                                                        -->
+ <!-- eCos is distributed in the hope that it will be useful, but WITHOUT ANY-->
+ <!-- WARRANTY; without even the implied warranty of MERCHANTABILITY or      -->
+ <!-- FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License  -->
+ <!-- for more details.                                                      -->
+ <!--                                                                        -->
+ <!-- You should have received a copy of the GNU General Public License along-->
+ <!-- with eCos; if not, write to the Free Software Foundation, Inc.,        -->
+ <!-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.                 -->
+ <!--                                                                        -->
+ <!-- As a special exception, if other files instantiate templates or use    -->
+ <!-- macros or inline functions from this file, or you compile this file and-->
+ <!-- link it with other works to produce a work based on this file, this    -->
+ <!-- file does not by itself cause the resulting work to be covered by the  -->
+ <!-- GNU General Public License. However the source code for this file must -->
+ <!-- still be made available in accordance with section (3) of the GNU      -->
+ <!-- General Public License.                                                -->
+ <!--                                                                        -->
+ <!-- This exception does not invalidate any other reasons why a work based  -->
+ <!-- on this file might be covered by the GNU General Public License.       -->
+ <!--                                                                        -->
+ <!-- Alternative licenses for eCos may be arranged by contacting            -->
+ <!-- Red Hat, Inc. at http://sources.redhat.com/ecos/ecos-license/          -->
+ <!-- ####ECOSGPLCOPYRIGHTEND####                                            -->
+ <!-- =============================================================== -->
+ <!-- #####DESCRIPTIONBEGIN####                                       -->
+ <!--                                                                 -->
+ <!-- Author(s):   bartv                                              -->
+ <!--              Based on cygnus-both.dsl by Mark Galassi           -->
+ <!-- Contact(s):  bartv                                              -->
+ <!-- Date:        2000/03/15                                         -->
+ <!-- Version:     0.01                                               -->
+ <!--                                                                 -->
+ <!-- ####DESCRIPTIONEND####                                          -->
+ <!-- =============================================================== -->
+ 
+ <!-- }}} -->
+ 
+ <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
+ <!ENTITY % html "IGNORE">
+ <![%html;[
+ <!ENTITY % print "IGNORE">
+ <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl>
+ ]]>
+ <!ENTITY % print "INCLUDE">
+ <![%print;[
+ <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl>
+ ]]>
+ ]>
+ 
+ <style-sheet>
+ <style-specification id="print" use="docbook">
+ <style-specification-body> 
+ 
+ ;; ====================
+ ;; customize the print (PDF) A4 stylesheet
+ ;; ====================
+ 
+ ;; Set the paper parameters as per other eCos documentation
+ (define %page-width%   210mm)
+ (define %page-height%  297mm)
+ (define %left-margin%  0.75in)
+ (define %right-margin% 0.75in)
+ 
+ ;; Assume that we are only producing books, a reasonable assumption
+ ;; given the primary author :-)
+ (define %two-side% #t)
+ 
+ ;; Use 12pt
+ ;;(define %visual-acuity% "presbyopic")
+ 
+ ;; Do not use graphics in admonitions, our documentation is supposed
+ ;; to look boring :-(
+ (define %admon-graphics% #f)
+ 
+ ;; Justified text please.
+ (define %default-quadding% 'justify)
+ 
+ ;; A separate page for each man page please.
+ (define %refentry-new-page% #t)
+ 
+ ;; The component writer's guide man pages do not describe functions
+ (define %refentry-functions% #f)
+ 
+ ;; Program listings should use smaller font to fit on page width
+ (define %verbatim-size-factor% 0.84)
+ 
+ 
+ </style-specification-body>
+ </style-specification>
+ <external-specification id="docbook" document="docbook.dsl">
+ </style-sheet>
+ 
diff -C3 -N -P -r -x '.*' /ecoscvs/orig/ecos/packages/pkgconf/ssletter.dsl ./packages/pkgconf/ssletter.dsl
*** /ecoscvs/orig/ecos/packages/pkgconf/ssletter.dsl	1970-01-01 01:00:00.000000000 +0100
--- ./packages/pkgconf/ssletter.dsl	2003-03-23 20:41:32.000000000 +0100
***************
*** 0 ****
--- 1,110 ----
+ <!-- {{{ Banner                 -->
+ 
+ <!-- =============================================================== -->
+ <!--                                                                 -->
+ <!--     stylesheet.sgml                                             -->
+ <!--                                                                 -->
+ <!--     Customize the nwalsh modular stylesheets.                   -->
+ <!--                                                                 -->
+ <!-- =============================================================== -->
+ <!-- ####ECOSGPLCOPYRIGHTBEGIN####                                          -->
+ <!-- This file is part of eCos, the Embedded Configurable Operating System. -->
+ <!-- Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.               -->
+ <!--                                                                        -->
+ <!-- eCos is free software; you can redistribute it and/or modify it under  -->
+ <!-- the terms of the GNU General Public License as published by the Free   -->
+ <!-- Software Foundation; either version 2 or (at your option) any later    -->
+ <!-- version.                                                               -->
+ <!--                                                                        -->
+ <!-- eCos is distributed in the hope that it will be useful, but WITHOUT ANY-->
+ <!-- WARRANTY; without even the implied warranty of MERCHANTABILITY or      -->
+ <!-- FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License  -->
+ <!-- for more details.                                                      -->
+ <!--                                                                        -->
+ <!-- You should have received a copy of the GNU General Public License along-->
+ <!-- with eCos; if not, write to the Free Software Foundation, Inc.,        -->
+ <!-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.                 -->
+ <!--                                                                        -->
+ <!-- As a special exception, if other files instantiate templates or use    -->
+ <!-- macros or inline functions from this file, or you compile this file and-->
+ <!-- link it with other works to produce a work based on this file, this    -->
+ <!-- file does not by itself cause the resulting work to be covered by the  -->
+ <!-- GNU General Public License. However the source code for this file must -->
+ <!-- still be made available in accordance with section (3) of the GNU      -->
+ <!-- General Public License.                                                -->
+ <!--                                                                        -->
+ <!-- This exception does not invalidate any other reasons why a work based  -->
+ <!-- on this file might be covered by the GNU General Public License.       -->
+ <!--                                                                        -->
+ <!-- Alternative licenses for eCos may be arranged by contacting            -->
+ <!-- Red Hat, Inc. at http://sources.redhat.com/ecos/ecos-license/          -->
+ <!-- ####ECOSGPLCOPYRIGHTEND####                                            -->
+ <!-- =============================================================== -->
+ <!-- #####DESCRIPTIONBEGIN####                                       -->
+ <!--                                                                 -->
+ <!-- Author(s):   bartv                                              -->
+ <!--              Based on cygnus-both.dsl by Mark Galassi           -->
+ <!-- Contact(s):  bartv                                              -->
+ <!-- Date:        2000/03/15                                         -->
+ <!-- Version:     0.01                                               -->
+ <!--                                                                 -->
+ <!-- ####DESCRIPTIONEND####                                          -->
+ <!-- =============================================================== -->
+ 
+ <!-- }}} -->
+ 
+ <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
+ <!ENTITY % html "IGNORE">
+ <![%html;[
+ <!ENTITY % print "IGNORE">
+ <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl>
+ ]]>
+ <!ENTITY % print "INCLUDE">
+ <![%print;[
+ <!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl>
+ ]]>
+ ]>
+ 
+ <style-sheet>
+ <style-specification id="print" use="docbook">
+ <style-specification-body> 
+ 
+ ;; ====================
+ ;; customize the print (PDF) US letter stylesheet
+ ;; ====================
+ 
+ ;; Set the paper parameters as per other eCos documentation
+ (define %page-width%   8.5in)
+ (define %page-height%  11in)
+ (define %left-margin%  0.75in)
+ (define %right-margin% 0.75in)
+ 
+ ;; Assume that we are only producing books, a reasonable assumption
+ ;; given the primary author :-)
+ (define %two-side% #t)
+ 
+ ;; Use 12pt
+ ;;(define %visual-acuity% "presbyopic")
+ 
+ ;; Do not use graphics in admonitions, our documentation is supposed
+ ;; to look boring :-(
+ (define %admon-graphics% #f)
+ 
+ ;; Justified text please.
+ (define %default-quadding% 'justify)
+ 
+ ;; A separate page for each man page please.
+ (define %refentry-new-page% #t)
+ 
+ ;; The component writer's guide man pages do not describe functions
+ (define %refentry-functions% #f)
+ 
+ ;; Program listings should use smaller font to fit on page width
+ (define %verbatim-size-factor% 0.87)
+ 
+ 
+ </style-specification-body>
+ </style-specification>
+ <external-specification id="docbook" document="docbook.dsl">
+ </style-sheet>
+ 
diff -C3 -N -P -r -x '.*' /ecoscvs/orig/ecos/packages/pkgconf/stylesheet.dsl ./packages/pkgconf/stylesheet.dsl
*** /ecoscvs/orig/ecos/packages/pkgconf/stylesheet.dsl	2002-05-24 01:08:24.000000000 +0200
--- ./packages/pkgconf/stylesheet.dsl	2003-03-24 09:22:45.000000000 +0100
***************
*** 67,108 ****
  
  <style-sheet>
  
- <style-specification id="print" use="docbook">
- <style-specification-body> 
- 
- ;; ====================
- ;; customize the print stylesheet
- ;; ====================
- 
- ;; Set the paper parameters as per other eCos documentation
- (define %page-width%   7.5in)
- (define %page-height%  10.2in)
- (define %left-margin%  0.75in)
- (define %right-margin% 0.75in)
- 
- ;; Assume that we are only producing books, a reasonable assumption
- ;; given the primary author :-)
- (define %two-side% #t)
- 
- ;; Use 12pt
- ;;(define %visual-acuity% "presbyopic")
- 
- ;; Do not use graphics in admonitions, our documentation is supposed
- ;; to look boring :-(
- (define %admon-graphics% #f)
- 
- ;; Justified text please.
- (define %default-quadding% 'justify)
- 
- ;; A separate page for each man page please.
- (define %refentry-new-page% #t)
- 
- ;; The component writer's guide man pages do not describe functions
- (define %refentry-functions% #f)
- 
- </style-specification-body>
- </style-specification>
- 
  <!--
  ;; ====================
  ;; customize the html stylesheet
--- 67,72 ----

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