Syntax highlight examples

From: Date: Wed, 10 Dec 2003 21:39:41 +0000
Subject: Syntax highlight examples
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969357340@lists.php.net to get a copy of this message
Hello! I've updated html_syntax.php to accept parameter whether generate output for HTML or PHP. I'm sending just diff of Makefile for now. I think that postprocess generated PHP or HTML files by PHP script is much easier and transparent than processing in DSSSL. Despite the fact that I don't know anything about DSSSL :-). Is there something that prevent syntax highlighting in examples now? The size of PHP files is sometimes even smaller than original file - e.g. function.substr is 10 bytes smaller! :-) (Gabor, you are right that highlighting on the fly is better in this case of course, I'm just kidding.) Jakub Vrana

--- Makefile.in 12 Oct 2003 12:11:36 -0000 1.139 +++ Makefile.in 10 Dec 2003 21:27:57 -0000 @@ -163,6 +163,7 @@ @test -d html || mkdir html $(PHP) -q $(scriptdir)/rtlpatch/hackmanuallang.php $(LANGDIR) $(JADE) $(CATALOG) -d $(HTML_STYLESHEET) -V use-output-dir -t sgml $(XMLDCL) manual.xml + $(PHP) -q $(scriptdir)/html_syntax.php html html/ $(PHP) -q $(scriptdir)/rtlpatch/hackmanuallang.php en $(HACK_RTL_LANGS_PAGES) @@ -191,6 +192,7 @@ @test -d php || mkdir php $(PHP) -q $(scriptdir)/rtlpatch/hackmanuallang.php $(LANGDIR) -$(JADE) $(CATALOG) -d $(PHPWEB_STYLESHEET) -V use-output-dir -t sgml $(XMLDCL) manual.xml + $(PHP) -q $(scriptdir)/html_syntax.php php php/ $(PHP) -q $(scriptdir)/rtlpatch/hackmanuallang.php en $(PHP) -q $(scriptdir)/phpweb-entities.php `pwd` remove $(HACK_RTL_LANGS_PHPWEB)
« previous php.doc (#969357340) next »