Hi,

Inserting index references in an XML doc document may generate extra blanks
in the PDF output, depending on how and where the XML tags are placed. This
can be very annoying when there are many index references. See for
example (this is rexxref 7.1 paragraph 3)

[image: s1.png]

The space between "commas," and "between" is very visible, and the one
between "the" and "parentheses" is not as big, but it's ugly nevertheless.

By carefully placing the opening and closing tags, though, one can get rid
of these artifacts, and produce output that looks completely normal:

[image: s2.png]

I'm attaching below my signature the relevant part of the diff file to show
how to correctly format the XML files. I've seen these extra blanks in many
places in the ooRexx literature, and I find them very ugly. I think they
should be avoided if at all possible.

  Josep Maria

-<para>There can be any number of expressions, separated by commas,
-<indexterm><primary>, (comma)</primary>
-<secondary>separator of arguments</secondary></indexterm>
-<indexterm><primary>, (comma)</primary>
-<secondary>in function calls</secondary></indexterm>
-<indexterm><primary>comma</primary>
-<secondary>in function calls</secondary></indexterm>
-<indexterm><primary>comma</primary>
-<secondary>separator of arguments</secondary></indexterm>
-between the
-<indexterm><primary>parentheses</primary>
-<secondary>in function calls</secondary></indexterm>
+<para>There can be any number of expressions, separated by
commas,<indexterm>
+<primary>, (comma)</primary><secondary>separator of arguments
+</secondary></indexterm><indexterm><primary>,
(comma)</primary><secondary>in function calls
+</secondary></indexterm><indexterm><primary>comma</primary><secondary>in
function calls
+</secondary></indexterm><indexterm><primary>comma</primary><secondary>separator
of arguments
+</secondary></indexterm>
+between the<indexterm>
+<primary>parentheses</primary><secondary>in function calls
+</secondary></indexterm>
 parentheses. These expressions are called the arguments to the function.
Each
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to