mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Mark Craig
30.05.2012 8849b8b725640e87dc1955b6522b3d5e095af349
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ! CCPL HEADER START
  !
  ! This work is licensed under the Creative Commons
  ! Attribution-NonCommercial-NoDerivs 3.0 Unported License.
  ! To view a copy of this license, visit
  ! http://creativecommons.org/licenses/by-nc-nd/3.0/
  ! or send a letter to Creative Commons, 444 Castro Street,
  ! Suite 900, Mountain View, California, 94041, USA.
  !
  ! You can also obtain a copy of the license at
  ! trunk/opendj3/legal-notices/CC-BY-NC-ND.txt.
  ! See the License for the specific language governing permissions
  ! and limitations under the License.
  !
  ! If applicable, add the following below this CCPL HEADER, with the fields
  ! enclosed by brackets "[]" replaced with your own identifying information:
  !      Portions Copyright [yyyy] [name of copyright owner]
  !
  ! CCPL HEADER END
  !
  !      Copyright 2011-2012 ForgeRock AS
  !
-->
 <section xml:id="formatting-conventions"
 xmlns='http://docbook.org/ns/docbook' version='5.0' xml:lang='en'
 xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
 xsi:schemaLocation='http://docbook.org/ns/docbook http://docbook.org/xml/5.0/xsd/docbook.xsd'
 xmlns:xlink='http://www.w3.org/1999/xlink'
 xmlns:xinclude='http://www.w3.org/2001/XInclude'>
 <title>Formatting Conventions</title>
 
 <para>Some items are formatted differently from other text, like
 <filename>filenames</filename>, <command>commands</command>, and
 <literal>literal values</literal>.</para>
 
 <screen>
$ echo Terminal sessions with very long lines are formatted with lines folded
 by default to make them easier to read on the screen and to make them fit
 on the printed page. In the HTML version, you can double-click the text to
 toggle between the folded version for easy reading and the flat, syntactically
 correct version for easy copy/pasting.
Terminal sessions with very long lines are formatted with lines folded
 by default to make them easier to read on the screen and to make them fit
 on the printed page. In the HTML version, you can double-click the text to
 toggle between the folded version for easy reading and the flat, syntactically
 correct version for easy copy/pasting.</screen>
 
 <para>In many cases, sections pertaining to UNIX, GNU/Linux, Mac OS X, BSD,
 and so forth are marked (UNIX). Sections pertaining to Microsoft Windows
 might be marked (Windows). To avoid repetition, however, file system
 directory names are often given only in UNIX format as in
 <filename>/path/to/OpenDJ</filename>, even if the text applies to
 <filename>C:\path\to\OpenDJ</filename> as well.</para>
 
 <programlisting language='java'>class Test
{
    public static void main(String [] args)
    {
        System.out.println("This is a program listing.");
    }
}</programlisting>
</section>