annotate man/mule/m2ps.texi @ 70:131b0175ea99 r20-0b30

Import from CVS: tag r20-0b30
author cvs
date Mon, 13 Aug 2007 09:02:59 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1 \input texinfo @c -*-texinfo-*-
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
2 @setfilename ../info/m2ps
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
3 @settitle m2ps -- Converter from Mule code to PostScript
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
4
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
5 @titlepage
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
6 @sp 6
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
7 @center @titlefont{m2ps -- Converter from Mule code to PostScript}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
8 @sp 4
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
9 @center Version 2.1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
10 @sp 5
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
11 @center TAKAHASHI Naoto
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
12 @center ntakahas@@etl.go.jp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
13 @page
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
14
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
15 @end titlepage
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
16
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
17 @node Top, , , (mule)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
18 @chapter m2ps -- Converter from Mule code to PostScript
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
19
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
20 A program called @code{m2ps} is bound to Mule. m2ps works as a
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
21 filter. It converts Mule's internal code to PostScript. To print a
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
22 file, say, @file{mytext}, follow the instruction below:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
23
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
24 @enumerate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
25 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
26 Type @kbd{C-x C-f mytext RET} to read the file in.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
27
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
28 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
29 Type @kbd{C-u C-x C-w tmp RET *internal* RET} to save the content
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
30 of the file with the internal representation of Mule.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
31
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
32 @item
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
33 Return to a shell. Then type the following command:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
34
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
35 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
36 @samp{% m2ps < tmp | lpr}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
37 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
38 @end enumerate
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
39
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
40 If your default printer does not accept PostScript, specify the name
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
41 of a PostScript printer with @samp{-P} option. For example, if the name
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
42 of your PostScript printer is @samp{lw}, it should be as follows:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
43
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
44 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
45 @samp{% m2ps < tmp | lpr -Plw}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
46 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
47
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
48 @chapter any2ps -- Converter from any code to PostScript
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
49
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
50 A program called @code{any2ps} is inclued in @code{coco} package which
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
51 is distributed under `contrib' of Mule's FTP directory. With this, you
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
52 don't have to convert your text to mule's internal coding-system
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
53 @code{*internal*}. Here's the example of usage:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
54
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
55 @example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
56 @samp{% any2ps < text_file > ps_file}
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
57 @end example
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
58
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
59 @contents
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
60 @bye