File: textents.xml

package info (click to toggle)
docbook2x 0.8.8-18
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,740 kB
  • sloc: xml: 16,229; sh: 3,674; perl: 3,461; ansic: 639; makefile: 409; sed: 11
file content (307 lines) | stat: -rw-r--r-- 9,083 bytes parent folder | download | duplicates (6)
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
<!ENTITY db2x_version SYSTEM "../VERSION">

<!ENTITY docbook2manxml "<command>docbook2manxml</command>">

<!ENTITY sgml2xml-isoent "<command>sgml2xml-isoent</command>">
<!ENTITY sgml2xml-isoent_ref 
  '<xref linkend="sgml2xml-isoent" endterm="sgml2xml-isoent_name" />'>

<!ENTITY db2x_xsltproc "<command>db2x_xsltproc</command>">
<!ENTITY db2x_xsltproc_ref 
  '<xref linkend="db2x_xsltproc" endterm="db2x_xsltproc_name" />'>

<!ENTITY db2x_manxml "<command>db2x_manxml</command>">
<!ENTITY db2x_manxml_ref 
  '<xref linkend="db2x_manxml" endterm="db2x_manxml_name" />'>

<!ENTITY db2x_texixml "<command>db2x_texixml</command>">
<!ENTITY db2x_texixml_ref 
  '<xref linkend="db2x_texixml" endterm="db2x_texixml_name" />'>

<!ENTITY docbook2man "<command>docbook2man</command>">
<!ENTITY docbook2man_ref 
  '<link linkend="docbook2man">&docbook2man;</link>'>

<!ENTITY docbook2texi "<command>docbook2texi</command>">
<!ENTITY docbook2texi_ref 
  '<link linkend="docbook2texi">&docbook2texi;</link>'>

<!ENTITY utf8trans "<command>utf8trans</command>">
<!ENTITY utf8trans_ref 
  '<xref linkend="utf8trans" endterm="utf8trans_name" />'>

<!ENTITY iconv "
<citerefentry><refentrytitle><command>iconv</command></refentrytitle>
<manvolnum>1</manvolnum></citerefentry>">

<!ENTITY xsltproc_cmd "
<citerefentry><refentrytitle><command>xsltproc</command></refentrytitle>
<manvolnum>1</manvolnum></citerefentry>">

<!ENTITY sgml2xml "
<citerefentry><refentrytitle><command>sgml2xml</command></refentrytitle>
<manvolnum>1</manvolnum></citerefentry>">

<!ENTITY osx "
<citerefentry><refentrytitle><command>osx</command></refentrytitle>
<manvolnum>1</manvolnum></citerefentry>">

<!ENTITY makeinfo_ref "
<citerefentry><refentrytitle><command>makeinfo</command></refentrytitle>
<manvolnum>1</manvolnum></citerefentry>">
<!ENTITY makeinfo "<command>makeinfo</command>">

<!ENTITY groff_ref "
<citerefentry><refentrytitle><command>groff</command></refentrytitle>
<manvolnum>1</manvolnum></citerefentry>">
<!ENTITY groff "<command>groff</command>">

<!-- ============================================================ -->
<!-- Common text to man pages and Texinfo parts -->


<!-- With some more work we can have make the stylesheet
     insert this boilerplate on every man page, but it's easier
     to just put the entity in directly. -->
<!ENTITY man-page-author-section "
<refsect1 role='man-page'>
<title>Author</title>

<para>
Steve Cheng <email>stevecheng@users.sourceforge.net</email>.
</para>

</refsect1>">

<!ENTITY wrapper-script-common-options "
  <varlistentry>
    <term><option>--encoding=<replaceable>encoding</replaceable></option></term>
    <listitem>
      <para>
        Sets the character encoding of the output.
      </para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term><option>--string-param <replaceable>parameter</replaceable>=<replaceable>value</replaceable></option></term>
    <listitem>
      <para>
        Sets a stylesheet parameter (options that affect how the output looks).
        See “Stylesheet parameters” below for the parameters that
        can be set.
      </para>
    </listitem>
  </varlistentry>

  <varlistentry>
    <term><option>--sgml</option></term>
    <listitem>
      <para>
        Accept an SGML source document as input instead of XML.
      </para>
    </listitem>
  </varlistentry>
">

<!ENTITY wrapper-script-limitations "
<refsect1>
  <title>Limitations</title>
  <itemizedlist>
    <listitem><para>
      Internally there is one long pipeline of programs which your 
      document goes through.  If any segment of the pipeline fails
      (even trivially, like from mistyped program options), 
      the resulting errors can be difficult to decipher —
      in this case, try running the components of docbook2X
      separately.
    </para></listitem>
  </itemizedlist>
</refsect1>
">

<!ENTITY wrapper-script-notes "
<refsect1 role='man-page'>
<title>Notes</title>
<para>
The <command>docbook2man</command> or the <command>docbook2texi</command> 
command described in this manual page
come from the docbook2X package.
It should not be confused with the command of the same
name from the obsoleted docbook-utils package.
</para>
</refsect1>
">



<!ENTITY man-page-see-also "
<para role='man-page'>
The docbook2X manual (in Texinfo or HTML format) fully describes
how to convert DocBook to man pages and Texinfo.
</para>

<para role='man-page'>
Up-to-date information about this program
can be found 
at the 
<ulink url='http://docbook2x.sourceforge.net/'>docbook2X Web site</ulink>.
</para>
">



<!ENTITY common-options	"
<varlistentry>
<term><option>--help</option></term>
<listitem>
<para>Show brief usage information and exit.</para>
</listitem>
</varlistentry>

<varlistentry>
<term><option>--version</option></term>
<listitem>
<para>Show version and exit.</para>
</listitem>
</varlistentry>">



<!ENTITY db2x_-common-options "
<varlistentry>
<term><option>--encoding=<replaceable>encoding</replaceable></option></term>
<listitem>
<para>
Select the character encoding used for the output files.
The available encodings are those of &iconv;. 
The default encoding is <literal>us-ascii</literal>.  
</para>

<para>
The XML source may contain characters that are not representable in the encoding that
you select;  in this case the program will bomb out during processing, and you should 
choose another encoding.
(This is guaranteed not to happen with any Unicode encoding such as 
UTF-8, but unfortunately not everyone is able to 
process Unicode texts.)
</para>

<para>
If you are using GNU’s version of &iconv;, you can affix 
<literal>//TRANSLIT</literal> to the end of the encoding name
to attempt transliterations of any unconvertible characters in the output.
Beware, however, that the really inconvertible characters will be turned
into another of those damned question marks.  (Aren’t you sick of this?)
</para>

<para>
The suffix <literal>//TRANSLIT</literal> applied
to a Unicode encoding — in particular, <literal>utf-8//TRANSLIT</literal> —
means that the output files are to remain in Unicode,
but markup-level character translations using &utf8trans; 
are still to be done.  So in most cases, an English-language
document, converted using 
<option>--encoding=<literal>utf-8//TRANSLIT</literal></option>
will actually end up as a US-ASCII document,
but any untranslatable characters 
will remain as UTF-8 without any warning whatsoever.
(Note: strictly speaking this is not “transliteration”.)
This method of conversion is a compromise over strict
<option>--encoding=<literal>us-ascii</literal></option>
processing, which aborts if any untranslatable characters are 
encountered.
</para>

<para>
Note that man pages and Texinfo documents 
in non-ASCII encodings (including UTF-8)
may not be portable to older (non-internationalized) systems,
which is why the default value for this option is 
<literal>us-ascii</literal>.
</para>

<para>
To suppress any automatic character mapping or encoding conversion
whatsoever, pass the option 
<option>--encoding=<literal>utf-8</literal></option>.
</para>
</listitem>
</varlistentry>

<varlistentry>
<term><option>--list-files</option></term>
<listitem>
<para>
Write a list of all the output files to standard output,
in addition to normal processing.
</para>
</listitem>
</varlistentry>

<varlistentry>
<term><option>--output-dir=<replaceable>dir</replaceable></option></term>
<listitem>
<para>
Specify the directory where the output files are placed.
The default is the current working directory.
</para>

<para>
This option is ignored if the output is to be written
to standard output (triggered by the 
option <option>--to-stdout</option>).
</para>
</listitem>
</varlistentry>

<varlistentry>
<term><option>--to-stdout</option></term>
<listitem>
<para>
Write the output to standard output instead of to individual files.
</para>

<para>
If this option is used even when there are supposed to be multiple
output documents, then everything is concatenated to standard output.
But beware that most other programs will not accept this concatenated
output.
</para>
<para>
This option is incompatible with <option>--list-files</option>,
obviously.
</para>
</listitem>
</varlistentry>">




<!ENTITY db2x_-path-options "
<para>
This program uses certain other programs for its operation.
If they are not in their default installed locations, then use
the following options to set their location:

<variablelist>
<varlistentry>
<term><option>--utf8trans-program=<replaceable>path</replaceable></option></term>
<term><option>--utf8trans-map=<replaceable>charmap</replaceable></option></term>
<listitem>
<para>Use the character map <replaceable>charmap</replaceable>
with the &utf8trans_ref; program, included with docbook2X, found
under <replaceable>path</replaceable>.</para>
</listitem>
</varlistentry>

<varlistentry>
<term><option>--iconv-program=<replaceable>path</replaceable></option></term>
<listitem>
<para>The location of the &iconv; program, used for encoding
conversions.</para>
</listitem>
</varlistentry>
</variablelist></para>
">