Debian Codegraph @

ru/refpages/elements/synopsis/refentry.xml

raw symbols SCIP
1 <refentry id="synopsis.element">
2 <?dbhtml filename="synopsis.html"?>
3 <refentryinfo>
4 <pubdate>$Date$</pubdate>
5 <releaseinfo>$Revision$</releaseinfo>
6 </refentryinfo>
7
8 <refmeta>
9 <indexterm><primary>elements</primary>
10 <secondary>synopsis</secondary></indexterm>
11 <refentrytitle>synopsis</refentrytitle>
12 <refmiscinfo>Element</refmiscinfo>
13 </refmeta>
14 <refnamediv>
15 <refname>synopsis</refname>
16 <refpurpose>&synopsis.purpose;</refpurpose>
17 </refnamediv>
18
19 &synopsis.synopsis.gen;
20 <refsect1 condition='ref.description'><title>Description</title>
21
22 <para>
23 A <sgmltag>Synopsis</sgmltag> is a verbatim environment for displaying command,
24 function, and other syntax summaries.
25 </para>
26
27 <para>
28 Unlike <sgmltag>CmdSynopsis</sgmltag> and <sgmltag>FuncSynopsis</sgmltag> which have a
29 complex interior structure,
30 <sgmltag>Synopsis</sgmltag> is simply a verbatim environment.
31 </para>
32
33 <refsect2><title>Processing expectations</title>
34 <para>
35 &pexp.linespecific; <sgmltag>Synopsis</sgmltag> elements are usually
36 displayed in a fixed width font.
37 </para>
38 </refsect2>
39
40 <refsect2 role='fu' revision="4.0"><title>&FutureChanges;</title>
41 <para>
42 <!--do not index this occurance-->
43 &fu.interfacedefinition;
44 </para>
45 </refsect2>
46
47
48 &synopsis.parents.gen;
49 &synopsis.children.gen;
50 </refsect1>
51 <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title>
52 <variablelist>
53 <varlistentry><term>format</term>
54 <listitem>
55 <para>
56 The <sgmltag class="attribute">Format</sgmltag> attribute applies the
57 <literal>linespecific</literal> notation to all synopses.
58 All white space and line breaks must be preserved.
59 </para>
60 </listitem>
61 </varlistentry>
62 <varlistentry><term>label</term>
63 <listitem>
64 <para>
65 <sgmltag class='attribute'>Label</sgmltag> specifies an identifying number or string
66 that may be used in presentation.
67 </para>
68 </listitem>
69 </varlistentry>
70 <varlistentry><term>linenumbering</term>
71 <listitem>
72 <para revision="4.0">Line numbering indicates whether or not the lines
73 of a <sgmltag>Synopsis</sgmltag> are to be automatically numbered. The details
74 of numbering (every line or only selected lines, on the left or right, etc.)
75 are left up to the processing application. Be aware that not all processors
76 are capable of numbering lines.</para>
77 </listitem>
78 </varlistentry>
79 </variablelist>
80 </refsect1>
81 <refsect1 condition='ref.elem.seealso'><title>See Also</title>
82 &synopsis.seealso.gen;
83 </refsect1>
84 <refsect1><title>Examples</title>
85
86 <informalexample role="example-source">
87 <programlisting>&synopsis.example.1.txt;</programlisting>
88 </informalexample>
89
90 <anchor id="ex.os.synopsis.1" role="HACK-ex.out.start"/>
91 &synopsis.example.1.gen;
92 <anchor id="ex.oe.synopsis.1" role="HACK-ex.out.end"/>
93
94 <informalexample role="example-source">
95 <programlisting>&synopsis.example.2.txt;</programlisting>
96 </informalexample>
97
98 <anchor id="ex.os.synopsis.2" role="HACK-ex.out.start"/>
99 &synopsis.example.2.gen;
100 <anchor id="ex.oe.synopsis.2" role="HACK-ex.out.end"/>
101
102 &synopsis.example.seealso.gen;
103 </refsect1>
104 </refentry>
105