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:
Bob Stayton
Sagehill Enterprises
b...@sagehill.net
On 5/4/2014 11:02 PM, Natalie Kershaw wrote:
Is anyone syntax highlighting programlistings in webhelp
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 pr
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 s
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
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/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/
I'm
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 WebK
> 7 dec 2013 kl. 21:35 skrev Jirka Kosek :
>
>> 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 ap
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
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 w
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?
Bo
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:
>
You must have this templates in xslthl mode like
Jirka
--
--
Jirka Kosek e-mail: ji...@kosek.cz http://xmlguru.cz
---
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 Je
| -Original Message-
| From: Andreas Reuleaux
| java \
| -cp
|
"/opt/saxonhe/saxon9he.jar:/opt/dbk/xslt2/lib/docbook-xsl2-saxon.jar:/usr/sh
are/java/jython.jar" net.sf.saxon.Transform \
| -init:docbook.Initializer \
| -s:myfile.dbk \
| -xsl:fo-xslt2.xsl \
| -o:myfile.fo \
| -xi
Juri Memmert wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Mike wrote:
Thanks very much man, I hope you're asleep now, but here's my
response if you come back tomorrow.
*chuckles* Nah... no such luck... ;-)
First I got:
$ ./build.sh Error at xsl:import on line 5 of
file:/w
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Mike wrote:
> Thanks very much man, I hope you're asleep now, but here's my
> response if you come back tomorrow.
*chuckles* Nah... no such luck... ;-)
> First I got:
>
> $ ./build.sh Error at xsl:import on line 5 of
> file:/www/notlive/Hig
Juri Memmert wrote:
-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 sh
-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 index.ht
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Mike wrote:
>>> If you get yours to run from command line then I give up too! thanks Juri
>> As for giving up... ANT is not the only way this could be done...
>> writing a bash script would serve the same purpose.
>> Would that be of more use to
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 saxon.jar]:[
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
che
-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 style
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 that
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 that'
-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 lay
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
Mike wrote:
>
> 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 po
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 Hi
-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 Highlighter:
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...
Yes
-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
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 documentatio
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 co
| -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, unfortun
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 highli
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 java
> -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 java version an
On 3/15/07, Keith Fahlgren <[EMAIL PROTECTED]> wrote:
On 3/15/07, Keith Fahlgren <[EMAIL PROTECTED]> wrote:
> On 3/15/07, Bob Stayton <[EMAIL PROTECTED]> wrote:
> > Well, I tried your command and it did not work. When I replaced the -jar
> > $SAXON with the classname com.icl.saxon.StyleSheet, it
On 3/15/07, Keith Fahlgren <[EMAIL PROTECTED]> wrote:
On 3/15/07, Bob Stayton <[EMAIL PROTECTED]> wrote:
> Well, I tried your command and it did not work. When I replaced the -jar
> $SAXON with the classname com.icl.saxon.StyleSheet, it worked. Anyone know
> why that would happen?
There were s
On 3/15/07, Bob Stayton <[EMAIL PROTECTED]> wrote:
Well, I tried your command and it did not work. When I replaced the -jar
$SAXON with the classname com.icl.saxon.StyleSheet, it worked. Anyone know
why that would happen?
More like this?
$ ./highlight-fo6.sh -o ch09.fo ch09.xml
/work/tools/ke
Keith Fahlgren" <[EMAIL PROTECTED]>
To: "Bob Stayton" <[EMAIL PROTECTED]>
Cc: "apps docbook"
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
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:
$ ./highlight-fo
I've used xslthl.jar with 1.72.0 and Saxon 6.5.5. I think it is the best
approach.
Can you provide more details on how you are using it?
Bob Stayton
Sagehill Enterprises
DocBook Consulting
[EMAIL PROTECTED]
- Original Message -
From: "Keith Fahlgren" <[EMAIL PROTECTED]>
To: "apps do
43 matches
Mail list logo