OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: RE: DOCBOOK-APPS: more docbook transformation questions


If you're using Saxon or Xalan, Norm has provided an extension function for
doing exactly what you want to do:
  1) In the programlisting you want to be numbered, set the "linenumbering"
attribute to "numbered"
  2) Add the appropriate extension jar file for your processor (distributed
with the XSL stylesheets) to your CLASSPATH
  3) Set the use.extensions parameter to '1'

Jeff

-----Original Message-----
From: Robert P. J. Day [mailto:rpjday@mindspring.com]
Sent: Monday, August 05, 2002 2:25 PM
To: docbook apps list
Subject: DOCBOOK-APPS: more docbook transformation questions



  i'm just about to go through the docbook elements carefully so
i may run across the answer myself, but i'm trying to figure out
how to mark up program code with line annotations so that the
annotations are left-aligned, for aesthetics.

  is there a way to do this?  one solution, as ugly as it would
be, would be to do this as a table, but that makes me queasy.
is there a better way?  fyi, once again, at least for now, i'm
just concerned about generating HTML, but will be going after
other output formats soon.

rday


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC