1UNRTF(GNU UnRTF 0.21.0) UNRTF(GNU UnRTF 0.21.0)
2
3
4
6 UnRTF - converts document in RTF format to other formats
7
9 unrtf [options] [file...]
10
11 Options: [--nopict] [--noremap] [--html] [--text] [--vt] [--rtf]
12 [--latex] [--help] [--verbose] [--version] [-P config_search_path]
13 [-t tags_file]
14
16 The program unrtf is a converter from Rich Text Format (RTF) to a grow‐
17 ing number of document formats. At present it supports Hypertext Markup
18 Language (HTML), plain text, text with VT100 codes, LaTeX, and RTF
19 itself. It is possible to produce troff files with macro calls; an
20 example configuration for troff and the mm macro package is provided.
21 All output formats except HTML are "alpha" i.e. limited and development
22 has just begun. However with HTML, the program supports tables, fonts,
23 hyperlinks, and paragraph alignment. Font support includes face and
24 size changes, as well as typical attributes such as italic, bold,
25 underlining, strikethrough, smallcaps, allcaps, expand, compress and
26 both foreground and background colors. Images are always stored to
27 separate files in the current directory, or they can be ignored.
28
29 Starting with version 0.21.0, all control of unrtf output is through
30 runtime configuration files. This makes it easy for users to fine-tune
31 the output, and/or define new output formats. The configuration files
32 can be read from the distributed ones, or from user files, searched for
33 in the config_search_path .
34
35 Code page conversion is performed with the iconv(3) package.
36
38 --nopict
39 disables the automatic storing of embedded pictures to the cur‐
40 rent directory.
41
42 --noremap
43 disables charset conversion (currently only works for 8-bit
44 charsets).
45
46 --html selects HTML output (default).
47
48 --rtf selects RTF output. The resulting output will often be much
49 smaller than the input.
50
51 --text selects plain ASCII text output.
52
53 --vt selects text output with VT100 escape codes.
54
55 --latex
56 selects output of a LaTeX document.
57
58 --verbose
59 prints additional information.
60
61 --version
62 prints the program version.
63
64 -t tags_file
65 specifies the tags output configuration file to be used. The
66 command "unrtf -t html" is functionally identical to "unrtf
67 --html". The configuration files are a simple format. To
68 change the behaviour of unrtf, a local copy of a system configu‐
69 ration file can be be made and edited. The most complete con‐
70 figuration file and hence the best starting point is
71 /usr/local/lib/unrtf/html.conf.
72
73 -P config_search_path
74 specifies the directories in which the configuration file for
75 the specified format will be sought. The path can be provided
76 as a single directory or a list of colon separated directories.
77 The default is /usr/local/lib/unrtf/ where distributed output
78 configuration files are installed.
79
81 /usr/local/lib/unrtf/*.conf
82 - run time output configuration files.
83
84 /usr/local/lib/unrtf/SYMBOL.charmap
85 - UTF encoding of the SYMBOL font used in many RTF files.
86 Unfortunately the iconv package does not include font encodings.
87 The format is identical to iconv code page files.
88
90 http://www.gnu.org/software/unrtf/unrtf.html
91
93 Report bugs in the program to daved@physiol.usyd.edu.au
94
95
96
97 UNRTF(GNU UnRTF 0.21.0)