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
|
# RTF AFT 5.0 rules
#
ID RTF
######################################################################
# COPYRIGHT
#
# Almost Free Text (AFT)
# Todd A. Coram (todd@digicool.com)
# http://www.maplefish.com/todd/
#
# DISCLAIMER
#
# This file is in a very alpha-status. Nevertheless it should work fairly good.
# Use it at your own risk and let me know bugs or ideas of improvement.
#
# ATTENTION
# In addition of aft-ing your source-file you have to execute the perl-script
# "postrtf.pl" afterwards included in this package (see documentation).
#
# Eva Maria Krause (Eva.Maria.Krause@muenster.de)
#
# December, 2001
#
######################################################################
interpolate no
PostProcessor exec "$^X @INC[0]/postrtf.pl $outputfile"
# Preamble and postamble
Preamble{
{\rtf1\ansi\ansicpg1252\deff0\deftab720
{\fonttbl{\f0\froman Times New Roman;}{\f1\fmodern Courier;}{\f2\fswiss Arial;}}
{\info{\title %title%}{\author %author%}}
{\colortbl ;\red0\green0\blue255;}
\deflang1031
}Preamble
Postamble{
}
}Postamble
# no hyperlinks
#
URL {\cf1\ul %text%\cf0}
InternalReference {\cf1\ul %text%\cf0}
Target {\cf1\ul %text%\cf0}
# protect the AFT hypertext braces
#
preFilter \{\+(.*?)\+\} %LeFtB%PlUs$1%PlUs%RiGhTB
preFilter \}\+(.*?)\+\{ %RiGhTB%PlUs$1%PlUs%LeFtB
preFilter \{\-(.*?)\-\} %LeFtB%NeG$1%NeG%RiGhTB
preFilter \}\-(.*?)\-\{ %RiGhTB%NeG$1%NeG%LeFtB
# backslash
preFilter \\ \\\\
# curly braces
preFilter \{ \\\{
preFilter \} \\\}
preFilter %LeFtB {
preFilter %RiGhTB }
preFilter %PlUs +
preFilter %NeG -
Title \par\pard \qc {\fs48\b %title%} \par\pard
Author \par\pard \qc {\fs36\b %author%} \par\pard \par\pard
TOC
Image
Image-center
Image-left
Image-right
* {\f0\fs36 {\par\pard\b %section%\par}}
** {\f0\fs28 {\par\pard\b %section%\par}}
*** {\f0\fs24 {\par\pard\b %section%\par}}
**** {\f0\fs20 {\par\pard\b %section%\par}}
^*
^**
^***
^****
EndSect1
EndSect2
EndSect3
EndSect4
StartParagraph \par\pard
EndParagraph \par
Center \pard\qc {%center%} \par\pard
HorizontalLine {\emdash\emdash\emdash\emdash\emdash\emdash\emdash\emdash\emdash\emdash}
StartTable \tabcols%columns%\endtabcols
TableCaption \par\pard%caption%\par\par\pard\trowd\cellxx
TableHeader {\b %stuff%}\cell
TableElement %stuff%\cell
TableRowStart \intbl
TableRowEnd \row
EndTable \pard\par
StartBulletList \bullist
BulletListElement \bulitem
EndBulletListElement
EndBulletList \endbullist
StartNamedList {
NamedListElement \par\pard{\b %name%} \par\tx500\li500\fi-500 \tab
EndNamedListElement
EndNamedList \par}
StartNumberedList \numlist
NumberedListElement \numitem
EndNumberedListElement
EndNumberedList \endnumlist
StartQuote \par\pard\li500\ri500 {
EndQuote } \par\pard
PreFilterVerbatim? Yes
FullFilterFilteredVerbatim? Yes
StartVerbatim {\f1\fs20\verbatim
EndVerbatim \endverbatim}
StartBlockedVerbatim {\f1\fs20\verbatim
EndBlockedVerbatim \endverbatim}
StartFilteredVerbatim {\f1\fs20\verbatim
EndFilteredVerbatim \endverbatim}
StartTeletype {\f1\fs20
EndTeletype }
StartSmall {\fs16
EndSmall }
StartEmphasis {\i
EndEmphasis }
StartStrong {\b
EndStrong }
CommentLine
StrikeLine %%--- %line%
NBSPACE \~
|