specs/XKB: fixup newlines between tags and punctuation

Get rid of unwanted whitespace before punctuation by moving them to the
lines with the tags, instead of before & after.

perl -i -0 -p -e 's{\>\s*\n([\.,;:])}{>\1\n}g' *xml

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Alan Coopersmith 2014-07-19 09:01:26 -07:00
parent 6d5ec492cd
commit 3576587ff1
14 changed files with 56 additions and 56 deletions

View file

@ -22,8 +22,8 @@ functions.
<para>
<filename class="headerfile">XKBstr.h</filename> declares types and
constants for Xkb. It is included automatically from
<filename class="headerfile">&lt;X11/XKBlib.h&gt;</filename>
; you should never need to reference it directly in your application code.
<filename class="headerfile">&lt;X11/XKBlib.h&gt;</filename>;
you should never need to reference it directly in your application code.
</para>
</listitem>
<listitem>
@ -33,8 +33,8 @@ constants for Xkb. It is included automatically from
<para>
<filename class="headerfile">XKB.h</filename>
defines constants for Xkb. It is included automatically from
<filename class="headerfile">&lt;X11/XKBstr.h&gt;</filename>
; you should never need to reference it directly in your application code.
<filename class="headerfile">&lt;X11/XKBstr.h&gt;</filename>;
you should never need to reference it directly in your application code.
</para>
</listitem>
<listitem>
@ -284,8 +284,8 @@ The
is present in the server. If a compatible extension is present,
<function>XkbQueryExtension</function>
returns
<symbol>True</symbol>
; otherwise, it returns
<symbol>True</symbol>;
otherwise, it returns
<symbol>False</symbol>.
</para>

View file

@ -33,8 +33,8 @@ calling either
requests Xkb events by their event type and causes them to be reported to your
client application under all circumstances. You can specify a finer granularity
for event reporting by using
<function>XkbSelectEventDetails</function>
; in this case events are reported only when the specific detail conditions you
<function>XkbSelectEventDetails</function>;
in this case events are reported only when the specific detail conditions you
specify have been met.
</para>
@ -289,8 +289,8 @@ generated */
int xkb_type; /* Xkb minor event code */
unsigned int device; /* Xkb device ID, will not be
<symbol>XkbUseCoreKbd</symbol> */
} <structname>XkbAnyEvent</structname>
;
} <structname>XkbAnyEvent</structname>;
</programlisting></para>
<para>

View file

@ -991,8 +991,8 @@ typedef struct {
<structfield>req_minor</structfield> non zero */
char req_major; /* major request code if program trigger, else 0 */
char req_minor; /* minor request code if program trigger, else 0 */
} <structname>XkbStateNotifyEvent</structname>
;
} <structname>XkbStateNotifyEvent</structname>;
</programlisting></para>
<para>

View file

@ -324,8 +324,8 @@ description in
does not include virtual modifier bindings,
<function>XkbVirtualModsToReal</function>
returns
<symbol>False</symbol>
; otherwise, it returns
<symbol>False</symbol>;
otherwise, it returns
<symbol>True</symbol>.
</para>

View file

@ -470,8 +470,8 @@ The
<structfield>groups</structfield>
field is treated as a group mask. The keyboard group latch is changed to the
lowest numbered group specified in
<structfield>groups</structfield>
; if
<structfield>groups</structfield>;
if
<structfield>groups</structfield>
is empty, the keyboard group latch is changed to zero.
</entry>
@ -484,8 +484,8 @@ The
<structfield>groups</structfield>
field is treated as a group mask. If the indicator is explicitly extinguished,
keyboard group latch is changed to the lowest numbered group not specified in
<structfield>groups</structfield>
; if
<structfield>groups</structfield>;
if
<structfield>groups</structfield>
is zero, the keyboard group latch is set to the index of the highest legal
keyboard group.

View file

@ -322,8 +322,8 @@ If the X server does not support a compatible version of Xkb or the Xkb
extension has not been properly initialized,
<function>XkbChangeEnabledControls</function>
returns
<symbol>False</symbol>
; otherwise, it sends the request to the X server and returns
<symbol>False</symbol>;
otherwise, it sends the request to the X server and returns
<symbol>True</symbol>.
</para>
@ -1098,8 +1098,8 @@ they have requested otherwise.
and off it
<parameter>detectable</parameter>
is
<symbol>False</symbol>
; it then waits for a reply. If
<symbol>False</symbol>;
it then waits for a reply. If
<parameter>supported_rtrn</parameter>
is not
<symbol>NULL</symbol>,

View file

@ -557,8 +557,8 @@ To change the state of the Library Controls, use
<para>
<function>XkbSetXlibControls</function>
modifies the state of the controls selected by
<parameter>bits_to_change</parameter>
; only the controls selected by
<parameter>bits_to_change</parameter>;
only the controls selected by
<parameter>bits_to_change</parameter>
are modified. If the bit corresponding to a control is on in
<parameter>bits_to_change</parameter>

View file

@ -144,8 +144,8 @@ considering key aliases supplied by the keycodes.</para></note>
<listitem>
<para>
The top-level keyboard geometry description includes a list of
<structfield>shapes</structfield>
; other keyboard components refer to shapes by their index in this list. A
<structfield>shapes</structfield>;
other keyboard components refer to shapes by their index in this list. A
shape consists of an arbitrary name of type Atom and one or more closed-polygon
<structfield>outlines</structfield>.
All points in an outline are specified relative to the origin of its
@ -416,8 +416,8 @@ Rows in a Section</H5>
<listitem>
<para>
An optional list of
<structfield>doodads</structfield>
; any type of doodad can be enclosed within a section. Position and angle of
<structfield>doodads</structfield>;
any type of doodad can be enclosed within a section. Position and angle of
rotation are relative to the origin and angle of rotation of the sections that
contain them. Priority for doodads in a section is relative to the other
components of the section, not to the keyboard as a whole.
@ -1427,8 +1427,8 @@ and updates the bounding box of the row if necessary.
returns
<symbol>False</symbol>
if any of the arguments is
<symbol>NULL</symbol>
; otherwise, it returns
<symbol>NULL</symbol>;
otherwise, it returns
<symbol>True</symbol>.
</para>
@ -1484,8 +1484,8 @@ that section. To update the bounding box of a section, use
returns
<symbol>False</symbol>
if any of the arguments is
<symbol>NULL</symbol>
; otherwise, it returns
<symbol>NULL</symbol>;
otherwise, it returns
<symbol>True</symbol>.
</para>

View file

@ -932,8 +932,8 @@ To change the number of levels in a key type, use
if necessary.
<function>XkbResizeKeyType</function>
updates only the local copy of the types in
<parameter>xkb</parameter>
; to update the servers copy for the physical device, use
<parameter>xkb</parameter>;
to update the servers copy for the physical device, use
<function>XkbSetMap</function>
or
<function>XkbChangeMap</function>
@ -2023,8 +2023,8 @@ corresponding to
<para>
To obtain the symbols for a subset of the keys in a keyboard description, use
<function>XkbGetKeySyms</function>
:
<function>XkbGetKeySyms</function>:
</para>
<indexterm significance="preferred" zone="XkbGetKeySyms"><primary><function>XkbGetKeySyms</function></primary></indexterm>

View file

@ -719,8 +719,8 @@ If no other keys are physically depressed when this key is released, and
<listitem>
<para>
Key press and key release events have the same effect as for
<symbol>XkbSA_SetMods</symbol>
; if no keys are physically depressed when this key is released, key release
<symbol>XkbSA_SetMods</symbol>;
if no keys are physically depressed when this key is released, key release
events have the following additional effects:
</para>
</listitem>
@ -1085,8 +1085,8 @@ key is released, the key release also sets the locked keyboard group to
<listitem>
<para>
Key press and key release events have the same effect as for
<symbol>XkbSA_SetGroup</symbol>
; if no keys are physically depressed when this key is released, key release
<symbol>XkbSA_SetGroup</symbol>;
if no keys are physically depressed when this key is released, key release
events have the following additional effects.
</para>
</listitem>
@ -1692,8 +1692,8 @@ If
a key release generates a core pointer
<symbol>ButtonRelease</symbol>
that matches the event generated by the corresponding
<symbol>KeyPress</symbol>
; if
<symbol>KeyPress</symbol>;
if
<structfield>count</structfield>
is nonzero, a key release does not cause a
<symbol>ButtonRelease</symbol>
@ -4154,8 +4154,8 @@ keyboard to implement the behavior.
To obtain the behaviors (the
<structfield>behaviors</structfield>
array) for a subset of the keys in a keyboard description from the server, use
<function>XkbGetKeyBehaviors</function>
:
<function>XkbGetKeyBehaviors</function>:
</para>
<indexterm significance="preferred" zone="XkbGetKeyBehaviors"><primary><function>XkbGetKeyBehaviors</function></primary></indexterm>
@ -4609,8 +4609,8 @@ Virtual Modifier Relationships</H5>
To obtain a subset of the virtual modifier bindings (the
<structfield>vmods</structfield>
array) in a keyboard description, use
<function>XkbGetVirtualMods</function>
:
<function>XkbGetVirtualMods</function>:
</para>
<indexterm significance="preferred" zone="XkbGetVirtualMods"><primary><function>XkbGetVirtualMods</function></primary></indexterm>
@ -4717,8 +4717,8 @@ to return
To obtain the virtual modifier map (the
<structfield>vmodmap</structfield>
array) for a subset of the keys in a keyboard description, use
<function>XkbGetKeyVirtualModMap</function>
:
<function>XkbGetKeyVirtualModMap</function>:
</para>
<indexterm significance="preferred" zone="XkbGetKeyVirtualModMap"><primary><function>XkbGetKeyVirtualModMap</function></primary></indexterm>

View file

@ -676,8 +676,8 @@ If the Xkb keyboard map for the key does not have its
bit. If
<symbol>XkbSI_LockingKey</symbol>
is set, the key behavior is set to
<emphasis>KB_Lock</emphasis>
; otherwise, it is turned off (see <link linkend="Explicit_ComponentsAvoiding_Automatic_Remapping_by_the_Server">section 16.3</link>).
<emphasis>KB_Lock</emphasis>;
otherwise, it is turned off (see <link linkend="Explicit_ComponentsAvoiding_Automatic_Remapping_by_the_Server">section 16.3</link>).
</para>

View file

@ -317,8 +317,8 @@ If the keyboard change is the result of an
<structfield>device</structfield>
contains the device identifier for the new device, but nothing definitive can
be said for
<structfield>old_device</structfield>
; it may be identical to
<structfield>old_device</structfield>;
it may be identical to
<structfield>device</structfield>,
or it may be different, depending on the implementation.
</para>

View file

@ -804,8 +804,8 @@ the server modifies
if necessary (again using a
<literal>%</literal>
entry) to ensure all of the following fields are non-
<symbol>NULL</symbol>
:
<symbol>NULL</symbol>:
<structfield>types</structfield>,
<structfield>keycodes</structfield>,
<structfield>symbols</structfield>,

View file

@ -132,8 +132,8 @@ keyboard feedback and the core indicator feedback may be obtained by calling
and specifying
<symbol>XkbUseCoreKbd</symbol>
as the
<parameter>device_spec</parameter>
; the values will be returned in
<parameter>device_spec</parameter>;
the values will be returned in
<structfield>dflt_kbd_fb</structfield>
and
<structfield>dflt_led_fb</structfield>.