[publican-list] [Bug 718717] enabling line numbering disables code highlighting

bugzilla at redhat.com bugzilla at redhat.com
Fri Jul 19 06:28:51 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=718717

--- Comment #4 from Jeff Fearn <jfearn at redhat.com> ---
Well I spent most of the day on this and although I can point to the XSL where
this is triggered I am no closer to solving it.

In the upstream verbatim.xsl in template match="programlisting|screen|synopsis"
when using line numbers the apply-highlighting template is called and the
results stored in a variable. It is that storing in the variable that seems to
be the problem.

If you just call the highlighting template, works fine, but if you try and
store the result in a variable it uses the original node and not the
transformed one.

Of course without storing the result in a variable you can't pass on the
modified content to the line numbering routine.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=NYPVBeeMee&a=cc_unsubscribe




More information about the publican-list mailing list