GG / GG
The number of lines to be glued. If you do not type a number, or if the number you type is 1, the line on which the G is entered will be joined to the line following it.
G/GG is used to glue together one or more lines as ‘physical' lines, without being trimmed beforehand. Any leading or trailing spaces on the lines are retained. The lines are joined into a single line by concatenating them together left to right, in order.
Note: To perform a Glue operation that involves trimming, see the line command TG / TGG - Text Glue Lines.
By default, nothing is inserted between the glued lines; they are simply concatenated together. In effect, lines are glued together with an implied zero-length string between them.
In some cases, it may be useful to specify a particular user-defined string to insert between lines. This is now possible using the GLUEWITH primary command. See the GLUEWITH command, and the example below, for more information. Note that GLUEWITH is a global setting, not associated with a particular file type.
Gluing of lines uses the following rules:
Example 1: Before Glue:
Example 1: Before Glue, GLUEWITH '---' in effect:
Created with the Personal Edition of HelpNDoc: Single source CHM, PDF, DOC and HTML Help creation