Bug #47201 [Tbd->Csd]: use an external highlight source-code engine
Edit report at http://bugs.php.net/bug.php?id=47201&edit=1
ID: 47201
Updated by: cweiske@php.net
Reported by: pear at laurent-laville dot org
Summary: use an external highlight source-code engine
-Status: To be documented
+Status: Closed
Type: Bug
Package: Doc Build problem
PHP Version: 0.4.3
Assigned To: cweiske
Block user comment: N
New Comment:
fixed in svn.
Previous Comments:
------------------------------------------------------------------------
[2010-08-27 11:07:37] cweiske@php.net
Automatic comment from SVN on behalf of cweiske
Revision: http://svn.php.net/viewvc/?view=revision&revision=302846
Log: Write about writing own source code highlighters. This fixes bug
#47201: use an external highlight source-code engine
------------------------------------------------------------------------
[2009-01-26 12:40:32] cweiske@php.net
documentation needed
------------------------------------------------------------------------
[2009-01-25 20:02:10] cweiske@php.net
Fixed in version 0.4.4. You can specify an own highlighting class with
--highlighter/-h
See a dummy geshi highlighter:
http://tmp.cweiske.de/PhD_Highlighter_Geshi.phps
One would put it into PhD/Highlighter/Geshi.php, so that it is in the
include path, and specify "-h PhD_Highlighter_Geshi" to phd on cmdline.
------------------------------------------------------------------------
[2009-01-24 09:20:07] pear at laurent-laville dot org
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>
------------------------------------------------------------------------
[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..
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=47201
--
Edit this bug report at http://bugs.php.net/bug.php?id=47201&edit=1
Thread (7 messages)