summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblackbird <devnull@localhost>2006-12-16 01:00:38 +0100
committerblackbird <devnull@localhost>2006-12-16 01:00:38 +0100
commit3e276b92636ce7d22720e3def5e48a301d81c793 (patch)
treedb1c0e238450867b6feed4a78a51997671a0fb74
parent8de4ac49b28dc5740cad1ff625ce7b413aaaeac7 (diff)
downloadpygments-3e276b92636ce7d22720e3def5e48a301d81c793.tar.gz
[svn] added rtf formatter to the documentation
-rw-r--r--docs/src/formatters.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/src/formatters.txt b/docs/src/formatters.txt
index 062a59c7..9792bade 100644
--- a/docs/src/formatters.txt
+++ b/docs/src/formatters.txt
@@ -188,7 +188,25 @@ All these classes are importable from `pygments.formatters`.
:Aliases: ``latex``, ``tex``
:Filename pattern: ``*.tex``
+
+
+`RtfFormatter`
+--------------
+
+ Formats tokens as RTF markup. This formatter automatically outputs full rst
+ documents with color information and other useful stuff. Perfect for Copy and
+ Paste into Microsoft® Word® documents.
+ *required Pygments > 0.5.1*
+
+ Additional options accepted by the `RtfFormatter`:
+
+ `fontface`
+ The used font famliy. For example ``Bitstream Vera Sans``. Defaults to
+ some generic font which is supposted to be fixed width.
+
+ :Aliases: ``rtf``
+ :Filename pattern: ``*.rtf``
`BBCodeFormatter`
-----------------