preservedocbooktags = false

no_attr = true

;; used to highlight the {@source} inline tag
[highlightSourceTokens]
;; format:
;; T_CONSTANTNAME = open
;; /T_CONSTANTNAME = close
T_FUNCTION = <b>
/T_FUNCTION = </b>
T_VARIABLE = <i><b>
/T_VARIABLE = </b></i>
T_CONSTANT_ENCAPSED_STRING = <i>
/T_CONSTANT_ENCAPSED_STRING = </i>
T_COMMENT = <i>
/T_COMMENT = </i>
T_OBJECT_OPERATOR = <b>
/T_OBJECT_OPERATOR = </b>
T_RETURN = <b>
/T_RETURN = </b>
T_SWITCH = <b>
/T_SWITCH = </b>
T_STATIC = <b>
/T_STATIC = </b>
T_IF = <b>
/T_IF = </b>
T_FOREACH = <b>
/T_FOREACH = </b>

[highlightSource]
;; this is for highlighting things that aren't tokens like "&"
;; format:
;; word = open
;; /word = close
& = <b>
/& = </b>
[ = <b>
/[ = </b>
] = <b>
/] = </b>
! = <b>
/! = </b>
; = <b>
/; = </b>
( = <b>
/( = </b>
) = <b>
/) = </b>
, = <b>
/, = </b>
{ = <b>
/{ = </b>
} = <b>
/} = </b>

[desctranslate]
ul = <ul>
/ul = </ul>
ol = <ol>
/ol = </ol>
li = <li>
/li = </li>
code = <font face="Courier" />
/code = <font face="Helvetica" />
var = <i>
/var = </i>
samp = <font face="Courier" /><i>
/samp = </i><font face="Helvetica" />
kbd = <font face="Courier" /><b>
/kbd = </b><font face="Helvetica" />
pre =
/pre = 
p = "    "
/p = "\n"
b = <b>
/b = </b>
i = <i>
/i = </i>
br = "\n"

[ppage]
;; this is the DocBook package page translation section.  All DocBook tags
;; that have a corresponding html tag must be listed here
;;
;; examples:
;; 1)
;; tagname = newtagname
;;
;; This is the simplest case, where all attributes will be added into the
;; starting tag and the ending tag will be html/xml style </tranlatedtagname>
;; <tagname></tagname> becomes <newtagname></newtagname> and
;; <tagname attr="value"></tagname> becomes
;; <newtagname attr="value"></newtagname>
;;
;; 2)
;; tagname = newtagname
;; tagname->attr = newattrname
;;
;; in this case, everything will be like the first case, except tags like:
;; <tagname attr="value"></tagname> will become
;; <newtagname newattrname="value"></newtagname>
;;
;; 3)
;; tagname = newtagname
;; tagname->attr = newattrname
;; tagname->attr+value = newvalue
;;
;; in this case, the value is also translated to another.  This can be useful
;; for instances such as focus="middle" changing to align="center" or something
;; of that nature.
;; <tagname attr="value"></tagname> will become
;; <newtagname newattrname="newvalue"></newtagname>
;;
;; 4)
;; tagname = newtagname
;; tagname!attr = dummy
;;
;; here, the attribute will be ignored.  dummy is not used and may be any value
;; <tagname attr="value"></tagname> will become
;; <newtagname></newtagname>
;;
;; 5)
;; tagname = newtagname
;; tagname! = dummy
;;
;; here, all attributes will be ignored.  dummy is not used and may be any value
;; <tagname attr1="value" attr2="foo"></tagname> will become
;; <newtagname></newtagname>
;;
;; 6)
;; $attr$my_attribute = newattrname
;;
;; tagname = newtagname
;;
;; in this case, all occurences of my_attribute in any tag will be changed to
;; newattrname.  This is useful for changing things like role="php" to
;; class="php," for example.  Note that the text "$attr$" MUST be on the line
;; start for phpDocumentor to recognize it.
;;
;; 7)
;; &entity; = translation text
;; &quot; = &quot;
;; &quot; = """
;; &lt; = <
;;
;; Use this to control translation of entities to their appropriate values

&nbsp; = " "
&quot; = """
&rdquo; = """
&ldquo; = """
&amp; = &
&lt; = &lt;
&gt; = &gt;
&copy; = &copy;

author = <i>
/author = "</i>\n"

authorgroup = <text size="10"><b>Authors:</b>
/authorgroup = </text>

blockquote = blockquote

authorblurb = blockquote

caution = "\n<b>Caution</b>\n<blockquote>"
/caution = "</blockquote>\n"

command = b

copyright = i

emphasis = b

example = "<b>Example:</b>\n<blockquote>"
/example = "</blockquote>\n"

formalpara = "    "
/formalpara = "\n"

important = u

informalequation = blockquote

inlineequation = i

itemizedlist = ul

literal = <font face="Courier" />
/literal = <font face="Helvetica" />

option = " "
/option =

listitem = li

orderedlist = ol

para = "<text size="11" justification="left">"
/para = "\n</text>"

programlisting = "\n<font face="Courier" />"
/programlisting = "\n<font face="Helvetica" />"

refsect1 =
/refsect1 = 

refsect2 =
/refsect2 = 

refsect3 =
/refsect3 = 

refpurpose = <text size="13" justification="center"><i>
/refpurpose = "</i>\n</text>"

simpara = "<text size="11" justification="left">    "
/simpara = "</text>"

warning = "<b>Warning:</b>\n<blockquote>"
/warning = "</blockquote>\n"

;; now begins the attributes that should be tags in cdata
[$attr$id]
open = <pdffunction:addDestination arg="
close = " arg="FitH" arg=$this->y />
cdata! = true
quotevalues = true
separator = "="
;separateall = true
$id = id

;; now begins the sections that deal with <title>
[refentry_title]
;tag_attr = true
;attr_name = title
cdata_start = true
;cdata_end = true
open = <text size="20" justification="centre"><b>
close = "\n</b></text>"

[refsect1_title]
;tag_attr = true
;attr_name = title
cdata_start = true
;cdata_end = true
open = <text size="15" justification="centre"><b>
close = "\n</b></text>"

[refsect2_title]
;tag_attr = true
;attr_name = title
cdata_start = true
;cdata_end = true
open = <text size="13" justification="centre"><b>
close = "\n</b></text>"

[refsect3_title]
;tag_attr = true
;attr_name = title
cdata_start = true
;cdata_end = true
open = <text size="11" justification="centre"><i>
close = "\n</i></text>"

[para_title]
;tag_attr = true
;attr_name = title
cdata_start = true
;cdata_end = true
open = <text size="11" justification="left"><b>
close = "\n</b></text>"

[formalpara_title]
;tag_attr = true
;attr_name = title
cdata_start = true
;cdata_end = true
open = <text size="11" justification="centre"><b>
close = "\n</b></text>"

[example_title]
;tag_attr = true
;attr_name = title
cdata_start = true
;cdata_end = true
open = <text size="11" justification="centre">
close = "\n</text>"
