source: trunk/Distribution/XSL/params/man.justify.xml@ 3

Last change on this file since 3 was 2, checked in by jkacer, 18 years ago

Added all DocBook Framework stuff:

  • DocBook DTD
  • Transformation software FOP 0.20.5 and Saxon 6
  • XSL styles
  • Rexx scripts

Also added some WarpIN-related stuff for creation of WarpIN installation packages.
This state corresponds to version 1.0.0 from November 2005, just slightly modified to carry versioning information (Rexx scripts).

File size: 1.8 KB
Line 
1<refentry id="man.justify">
2<refmeta>
3<refentrytitle>man.justify</refentrytitle>
4<refmiscinfo role="type">boolean</refmiscinfo>
5</refmeta>
6<refnamediv>
7<refname>man.justify</refname>
8<refpurpose>Justify text to both right and left margins?</refpurpose>
9</refnamediv>
10
11<refsynopsisdiv>
12<src:fragment id='man.justify.frag'>
13<xsl:param name="man.justify">0</xsl:param></src:fragment>
14</refsynopsisdiv>
15
16<refsect1><title>Description</title>
17
18<para>If non-zero, text is justified to both the right and left
19margins (or, in roff terminology, "adjusted and filled" to both the
20right and left margins). If zero (the default), text is adjusted to
21the left margin only -- producing what is traditionally called
22"ragged-right" text.</para>
23
24<note>
25<para>The default value for this parameter is zero because justified
26text looks good only when it is also hyphenated. Without hyphenation,
27excessive amounts of space often end up getting between words, in
28order to "pad" lines out to align on the right margin.</para>
29
30<para>The problem is that groff is not particularly smart about how it
31does hyphenation; it can end up hyphenating a lot of things that you
32don't want hyphenated. So, disabling both justification and
33hyphenation ensures that hyphens won't get inserted where you don't
34want to them, and you don't end up with lines containing excessive
35amounts of space between words.</para>
36
37<para>However, if do you decide to set a non-zero value for the
38<parameter>man.justify</parameter> parameter (to enable
39justification), then you should probably also set a non-zero value for
40<parameter>man.hyphenate</parameter> (to enable hyphenation).</para>
41
42<para>Yes, these default settings run counter to how most existing man
43pages are formatted. But there are some notable exceptions, such as
44the <literal>perl</literal> man pages.</para>
45</note>
46</refsect1>
47</refentry>
Note: See TracBrowser for help on using the repository browser.