Replace <term><command><arg> with <term><property><parameter> to describe
options in the config file because: * <arg> can only be used within <cmdsynopsis>. * <cmdsynopsis> does not allow text outside <command> and <arg>. * <arg> does not allow decorating elements like <literal> or <emphasis>. This fixes #2803057. Add shortcut entities for commonly used parameters (yes/no, size). Remove Debian patch which is obsoleted by above changes.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<!-- Entity for a yes/no parameters with yes as default value -->
|
||||
<!ENTITY parameters.yesdefno "
|
||||
{
|
||||
<emphasis><parameter><literal>yes</literal></parameter></emphasis> |
|
||||
<parameter><literal>no</literal></parameter>
|
||||
}" >
|
||||
|
||||
<!-- Entity for a yes/no parameters with no as default value -->
|
||||
<!ENTITY parameters.yesnodef "
|
||||
{
|
||||
<parameter><literal>yes</literal></parameter> |
|
||||
<emphasis><parameter><literal>no</literal></parameter></emphasis>
|
||||
}" >
|
||||
|
||||
<!-- Entity for a typical size parameter -->
|
||||
<!ENTITY parameters.size "
|
||||
<parameter>
|
||||
<replaceable>WIDTH</replaceable>
|
||||
<literal>x</literal>
|
||||
<replaceable>HEIGHT</replaceable>
|
||||
</parameter>" >
|
||||
Reference in New Issue
Block a user