Hi,
Can you import the file from the xhtml directory. I don't know how the
urn: syntax is interpreted, but could you use something like:
xsl:import href=urn:docbkx:stylesheet/../xhtml/highlight.xsl/
Bob Stayton
Sagehill Enterprises
b...@sagehill.net
On 5/4/2014 11:02 PM, Natalie Kershaw
Is anyone syntax highlighting programlistings in webhelp format?
I use the maven-docbkx-plugin and in
HTML and PDF output, I add the following to my customization layer:
xsl:import href=urn:docbkx:stylesheet/highlight.xsl/
But there is no highlight.xsl file in the webhelp directory.
Is
On Sat, 2013-12-07 at 15:26 -0600, David Cramer wrote:
On 12/07/2013 01:38 AM, davep wrote:
On 06/12/13 21:53, Norman Walsh wrote:
Hello world,
A fair bit of effort in the DocBook stylesheets goes into parsing,
decomposing, annotating, and recomposing program listings for the
purpose
On 12/09/2013 08:10 AM, Shaun McCance wrote:
Yelp uses jQuery.Syntax for syntax highlighting, which we've been pretty
happy with. I've had no problems with it clobbering markup inside code
blocks, which is something I deal with pretty often.
That looks interesting. I experimented by adding
On Mon, 2013-12-09 at 10:38 -0600, David Cramer wrote:
On 12/09/2013 08:10 AM, Shaun McCance wrote:
Yelp uses jQuery.Syntax for syntax highlighting, which we've been pretty
happy with. I've had no problems with it clobbering markup inside code
blocks, which is something I deal with pretty
On 2013-12-06 Norman Walsh wrote:
I'm also tempted to abandon the XSL stylesheets and
work instead on a purpose-built HTML+CSS rendering
for printing.
While I don't plan to upgrade my generating workflow to XSL 2.0 stylesheets
in the near future, I am quite curious whether the proposed
On 12/6/2013 1:53 PM, Norman Walsh wrote:
...
As long as I'm airing dirty laundry, I'm also tempted to abandon the
XSL stylesheets and work instead on a purpose-built HTML+CSS rendering
for printing.
Hi Norm,
What composition engines do you have in mind for rendering HTML+CSS to
print?
On 6.12.2013 22:53, Norman Walsh wrote:
It appears that modern systems do this in the JavaScript layer on the
client. They also use tables to render line numbers.
I'm tempted to move in this direction. Comments?
I have used both approaches. Problem with Javascript one is that it
doesn't work
On 12/07/2013 01:38 AM, davep wrote:
On 06/12/13 21:53, Norman Walsh wrote:
Hello world,
A fair bit of effort in the DocBook stylesheets goes into parsing,
decomposing, annotating, and recomposing program listings for the
purpose of adding line numbers to them. There's also a bunch of work
7 dec 2013 kl. 21:35 skrev Jirka Kosek ji...@kosek.cz:
On 6.12.2013 22:53, Norman Walsh wrote:
It appears that modern systems do this in the JavaScript layer on the
client. They also use tables to render line numbers.
I'm tempted to move in this direction. Comments?
I have used both
On 7.12.2013 23:05, Frank Arensmeier wrote:
Actually, there is a renderer that is able to generate PDF from HTML with
really good results. Wkhtmltopdf (https://code.google.com/p/wkhtmltopdf/).
It's basically a wrapper for the WebKit engine used by safari, chrome etc.
Not sure if the WebKit
On 12/7/2013 5:05 PM, Frank Arensmeier wrote:
Actually, there is a renderer that is able to generate PDF from HTML with
really good results.
Wkhtmltopdf (https://code.google.com/p/wkhtmltopdf/).
There's also htmltolatex (with LaTeX to create the PDF):
http://htmltolatex.sourceforge.net/
Hello world,
A fair bit of effort in the DocBook stylesheets goes into parsing,
decomposing, annotating, and recomposing program listings for the
purpose of adding line numbers to them. There's also a bunch of work
that goes into syntax highlighting them.
Occasionally, this takes a *long* time.
On 06/12/13 21:53, Norman Walsh wrote:
Hello world,
A fair bit of effort in the DocBook stylesheets goes into parsing,
decomposing, annotating, and recomposing program listings for the
purpose of adding line numbers to them. There's also a bunch of work
that goes into syntax highlighting them.
On 16.4.2013 18:36, John Brown wrote:
xsl:template match=xslthl:keyword
You must have this templates in xslthl mode like
xsl:template match=xslthl:keyword mode=xslthl
Jirka
--
--
Jirka Kosek
Hello All,
It seems that by default, keywords are bold. In addition to that,
I want to make keywords blue and comments green. I copied the code
to do it from
http://www.sagehill.net/docbookxsl/SyntaxHighlighting.html,
but it is not working. The text in the program listing is bold
but black.
My
OK, thanks a lot.
While your explanations are certainly very precise and I understand
a lot better now, what's going on and how it is supposed to work,
it is still not working for me (for html). - Will try to reduce
my example document to the absolute minimum / dig further.
-Andreas
Mauritz
I am trying to get syntax hightlighting working as described in
http://norman.walsh.name/2011/08/31/xsltPygments
which was a response to a mail thread:
http://lists.oasis-open.org/archives/docbook-apps/201108/msg00132.html
respectively for the beginning of the thread:
Juri Memmert wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Mike wrote:
(Bump.) Has *anyone* been able to successfully get syntax highlighting
to work in linux with the latest DocBook, Saxon 6.5.5, and xslthl-2.0.1?
I want to know if this is even possible or a fatal bug...
Juri Memmert wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Mike wrote:
I could send you a version of my build scripts (using ANT) with an
example, if that helps.
Yes please. At this point I need all the help I can get. I'm following
all directions 100% and I still get XSLT
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Mike wrote:
Hi Mike,
Could you send me the following file (if possible):
/www/notlive/docbook/docbook-xsl-1.74.3-pre/chunkohp.xsl
It is not part of the official Stylesheet release, it seems, so I am
assuming that that's your custimization
Juri Memmert wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Mike wrote:
Hi Mike,
Could you send me the following file (if possible):
/www/notlive/docbook/docbook-xsl-1.74.3-pre/chunkohp.xsl
It is not part of the official Stylesheet release, it seems, so I am
assuming that
Juri Memmert wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Mike wrote:
Sure, actually, now I've switched to this one, mfsite.xsl, here it is:
This is most peculiar.
I replaced the stylesheet styles/custimization.html.xsl with the one you
provided and adjusted the paths so
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Mike wrote:
But that's about the last idea... for when I use your command-line in
the test directory (with adjusted paths), I do get the highlights.
So, even if you think I am a moron for even suggesting it, could you
check your stylesheet
Juri Memmert wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Mike wrote:
But that's about the last idea... for when I use your command-line in
the test directory (with adjusted paths), I do get the highlights.
So, even if you think I am a moron for even suggesting it, could you
Juri Memmert wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Mike wrote:
Alright... let's see... I'll try to summarize what I have in terms of
settings... maybe you can spot what's missing:
The Java call to transform from Docbook to HTML:
java \
- -classpath [Path to
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Alright... my last attempt for today since it's getting late over here.
Attached you'll find a new version of my example project. It now has a
build.sh file. I added all paths you mentioned in your previous mails
and it should produce an
Mike wrote:
Mauritz Jeanson wrote:
| -Original Message-
| From: Mike | | I'm following the instructions here to make syntax
| highlighting work, | are these the wrong instructions to follow?
| | http://www.sagehill.net/docbookxsl/SyntaxHighlighting.html
That
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Mike wrote:
(Bump.) Has *anyone* been able to successfully get syntax highlighting
to work in linux with the latest DocBook, Saxon 6.5.5, and xslthl-2.0.1?
I want to know if this is even possible or a fatal bug...
Yes, I have gotten it to
I'm following the instructions here to make syntax highlighting work,
are these the wrong instructions to follow?
http://www.sagehill.net/docbookxsl/SyntaxHighlighting.html
java -cp
| -Original Message-
| From: Mike
|
| I'm following the instructions here to make syntax
| highlighting work,
| are these the wrong instructions to follow?
|
| http://www.sagehill.net/docbookxsl/SyntaxHighlighting.html
That documentation is not completely up-to-date,
Mauritz Jeanson wrote:
| -Original Message-
| From: Mike
|
| I'm following the instructions here to make syntax
| highlighting work,
| are these the wrong instructions to follow?
|
| http://www.sagehill.net/docbookxsl/SyntaxHighlighting.html
That documentation is not
I'm trying to get the syntax highlighting stuff to work but I'm running into a
few problems:
1. My callouts are not working. They produce errors and the graphics don't show
up in the code listings.
2. Places where I've added emphasis elements to my code listing to callout a
particular line
: [docbook-apps] Syntax Highlighting in synopsis elements
Mathias Schindler wrote:
In Bob Stayton's DocBook XSL: The Complete Guide it says that
Highlighting works with programlisting, screen, and synopsis elements
that have a language attribute..
But in your source there is no synopsis
Dear docbook users,
I use the xslthl.jar file to highlight my Java and XML programlistings
and it works very well. I also generate an Appendix of my
JavaDoc-Documentation with the dbdoclet(www.dbdoclet.org) and include
it at the end of my document.
In this Appendix, every class is written
Mathias Schindler wrote:
In Bob Stayton's DocBook XSL: The Complete Guide it says that
Highlighting works with programlisting, screen, and synopsis elements
that have a language attribute..
But in your source there is no synopsis element, only classsynopsis etc.
Generally syntax highlighting
Mauritz Jeanson a écrit :
-Original Message-
From: Thierry B.
just to avoid that someone else search for a long time like me:
- use java = 1.5, not 1.4 or 1.6. While all other docbook things I do
works with my previous java 1.4.2, I got a java error with
xslthl.jar
with this
Hi,
just to avoid that someone else search for a long time like me:
- use java = 1.5, not 1.4 or 1.6. While all other docbook things I do
works with my previous java 1.4.2, I got a java error with xslthl.jar
with this java version and 1.6.01. I use 1.5.06
- With the correct java runtime,
On 3/15/07, Bob Stayton [EMAIL PROTECTED] wrote:
I've used xslthl.jar with 1.72.0 and Saxon 6.5.5. I think it is the best
approach.
Ah, glad to see that someone got it going.[1] :-)
Can you provide more details on how you are using it?
Yeah, here is my Saxon6.5 attempt:
$
[EMAIL PROTECTED]
To: Bob Stayton [EMAIL PROTECTED]
Cc: apps docbook docbook-apps@lists.oasis-open.org
Sent: Thursday, March 15, 2007 7:47 AM
Subject: Re: [docbook-apps] Syntax Highlighting
On 3/15/07, Bob Stayton [EMAIL PROTECTED] wrote:
I've used xslthl.jar with 1.72.0 and Saxon 6.5.5. I
Hey,
Just wanted to get the current consensus on the state of syntax
highlight for FO. XSLTHL[1] looks nice, but I can't get it
running...[2]. Bob mentions JEdit Syntax[3], which I think I can find
more on in the archives[4].
Does anyone have a syntax coloring technique that they particularly
41 matches
Mail list logo