You can specify equations using <equation> and also several others, but what tag must be used to specify code? More specifically, PHP, HTML, CSS and Javascript? Is there a plugin that you can use with OxygenXML to add these features automatically? I need to output as PDF.
You can specify equations using <equation> and also several others, but what tag must
Share
I’m working on a project which uses docbook, and has examples in PHP.
The examples in PHP are using
programlistingtag, like this :Note the language attribute.
It is used later by another tool to add syntax-coloration, when generating the ouput (for HTML output, at least)
For examples that are not specific to one programming language, like configuration files, we are using the
screentag ; for instance, for a part of an Apache-related config file, an example would be :Quoting their documentations :
And :
So, these two seem quite appropriate.