#47201 [Fbk->Opn]: use an external highlight source-code engine
ID: 47201
User updated by: pear at laurent-laville dot org
Reported By: pear at laurent-laville dot org
-Status: Feedback
+Status: Open
Bug Type: Doc Build problem
PHP Version: Irrelevant
Assigned To: cweiske
New Comment:
Hannes,
I've looked inside PhD code (themes handling), and I don't see how to
do.
Perharps you can explain me more.
What do you mean by "using my own programlisting/CDATA functions" ?
Related to my external guide, link [3], the corresponding docbook
source code in peardoc repository is
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-quickform-advmultiselect/firstform.xml?view=log
As you can see, line 33 and +, I used only a standard way
<programlisting role="php">
<![CDATA[
<?php
...
?>
]]>
</programlisting>
Previous Comments:
------------------------------------------------------------------------
[2009-01-23 23:41:02] bjori@php.net
You mean at the theme level?
That is already possible by providing your own programlisting/CDATA
functions..
------------------------------------------------------------------------
[2009-01-23 15:08:42] pear at laurent-laville dot org
Description:
------------
This is not a BUG, just a REQUEST to use an external highlight
source-code engine !
Standard PHP highlight source code functions [1] does not provided line
numbering, and its a regret (for me). I prefer to use GeSHi [2] that
give ability to build such result [3] extends to lot of language. Which
I consider better to follow a tutorial step by step.
Laurent Laville
[1] http://www.php.net/manual/en/function.highlight-file.php
http://www.php.net/manual/en/function.highlight-string.php
[2] http://qbnz.com/highlighter/
[3]
http://www.laurent-laville.org/pear/HTML_QuickForm_advmultiselect/docs/TDG/en/ch05.html
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47201&edit=1
Thread (7 messages)