Pod::Simple::RTF -- format Pod as RTF |
Pod::Simple::RTF -- format Pod as RTF
perl -MPod::Simple::RTF -e \ "exit Pod::Simple::RTF->filter(shift)->any_errata_seen" \ thingy.pod > thingy.rtf
This class is a formatter that takes Pod and renders it as RTF, good for viewing/printing in MSWord, WordPad/write.exe, TextEdit, etc.
This is a subclass of the Pod::Simple manpage and inherits all its methods.
You can set these attributes on the parser object before you
call parse_file
(or a similar method) on it:
RTFDEFLANG
, or if that's not set, then the value
1033 (for US English).
Setting this appropriately is useful if you want to use the RTF to spellcheck, and/or if you want it to hyphenate right.
Here are some notable values:
1033 US English 2057 UK English 3081 Australia English 4105 Canada English 1034 Spain Spanish 2058 Mexico Spanish 1031 Germany German 1036 France French 3084 Canada French 1035 Finnish 1044 Norwegian (Bokmal) 2068 Norwegian (Nynorsk)
If you are particularly interested in customizing this module's output even more, see the source and/or write to me.
the Pod::Simple manpage, the RTF::Writer manpage, the RTF::Cookbook manpage, the RTF::Document manpage, the RTF::Generator manpage
Questions or discussion about POD and Pod::Simple should be sent to the pod-people@perl.org mail list. Send an empty email to pod-people-subscribe@perl.org to subscribe.
This module is managed in an open GitHub repository, https://github.com/perl-pod/pod-simple/. Feel free to fork and contribute, or to clone git://github.com/perl-pod/pod-simple.git and send patches!
Patches against Pod::Simple are welcome. Please send bug reports to <bug-pod-simple@rt.cpan.org>.
Copyright (c) 2002 Sean M. Burke.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.
Pod::Simple was created by Sean M. Burke <sburke@cpan.org>. But don't bother him, he's retired.
Pod::Simple is maintained by:
Pod::Simple::RTF -- format Pod as RTF |