This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


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: 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


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