Item1402: Italic line numbering out of order in SyntaxHighlightingPlugin
Priority: Low
Current State: No Action Required
Released In:
Target Release: n/a
When using line numbering and the code renders a comment (only tested with language ksh) then the line numbers are:
- rendered italic in front of the italic code comment (which already may be an issue)
- the rendered italic line numbers are moved 1 line down (out of order)
- italic line numbering is out of order:
--
IngoKappler - 01 Apr 2009
Yep the same thing happened to me as well, using similar
ksh
code.
All the plugin does is give the code to
enscript
, which returns the HTML. So the problem is with how
enscript
renders the code.
The
enscript
home page (
http://www.codento.com/people/mtr/genscript/) does not seem to have been updated since 2003, so I doubt this will ever be fixed.
I will add this to the documentation as a known issue, but unfortunately there is nothing much I can do.
--
AndrewJones - 01 Apr 2009
Thank you for the clarification. I changed the state of this task to
No Action Required.
However, on
http://www.codento.com/people/mtr/genscript/ enscript-1.6.1
was released
Mon Jul 6 10:09:30 WET 1998
while
enscript-1.6.2
was released
Wed Mar 5 11:02:01 EET 2003
. This shows that although there was no new release for several years, it doesn't mean there will not be another one at some point.
I then also found this page
http://www.gnu.org/software/enscript/ which seems more up to date (2008) and also lists a maintainer but there the latest version for download is 1.6.1. So I asked for clarification by sending this mail:
Hi,
I just tried to figure out the latest enscript version and found on http://www.codento.com/people/mtr/genscript/ the version 1.6.2 which is not listed in the download areas of http://www.gnu.org/software/enscript/.
So what would be the version to officially rely on?
Thank you,
Ingo
What version are we actually using at Foswiki?
If someone feels to report that issue to enscript, it might be worth doing it nevertheless.
--
IngoKappler - 03 Apr 2009
Thanks Ingo. It would be interesting to see if you get a reply to your email, so at least we know the project is active.
enscript is installed on the server, so you can find out which version you are using by running
enscript -V
from the command line. For us, we have 1.6.4, which im guessing was taken from
http://www.codento.com/people/mtr/genscript/, where it was listed as 'Beta' in 2003 (under the 'News Flash' heading near the top).
$ enscript -V
GNU enscript 1.6.4
Copyright (C) 2003 Markku Rossi.
GNU enscript comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU enscript under the terms of the GNU
General Public License. For more information about these matters, see
the files named COPYING.
I will add a report to the bugs database at
https://savannah.gnu.org/bugs/?group=enscript once I can re-create it using enscript from the command line.
--
AndrewJones - 03 Apr 2009