# Starting with rtftohtml 2.7, all html-trans files have a version number
# The version number must appear before any other tables.
.Version,4

# The .Strings table sets values to be used by the translator
# format is "name","value"
# The quotes may be ommitted for numbers, but are also allowed there
.Strings
# uncomment "SkipNavPanel" to eliminate navigation panels
#"SkipNavPanel",1

# uncomment "SkipLeadingToc" to eliminate leading table of contents
#"SkipLeadingToc",1

# uncomment "SkipTrailingToc" to eliminate trailing table of contents
#"SkipTrailingToc",1

# uncomment "SkipDimsOnIMGs" to eliminate HEIGHT/WIDTH tags for images
#"SkipDimsOnIMGs",1

# Set the default title (if not in RTF and not on the command line)
"DefaultTitle","Build VICAR Applications"

# Set the number of digits used for short file name suffixes
# The number of allowable files is 10^ShortFileDigits -1 
# the default is 2 (99 files) 3 would give you 999
#"ShortFileDigits","3"

# WMF files need to be scaled by 133% to look the same size as they appear in Word
"WMFAdjust",133

# Uncomment "AllBorder" to force all tables to have the BORDER attribute
"AllBorder",1

# This tag is added to href's to external documents
"ExtTarget",'TARGET="_top"'

# This line is inserted before Footnotes at the end of the page
"FNSep","<HR>"

# Set DoAllPars if you want empty paragraphs to be output
#"DoAllPars",1

# Shhhhhh.... undocumented debugging switches!
#"DebugPass1",-1
#"DebugPass2",-1

#
# Localize File name Table
# Used to transform file names use as links in the RTF document
# to the links used within the HTML output.
# Format:
# "tag"[,"regexp","regsub"]
# Where tag can be
# "LOWER"		- translate to lower case
# "UPPER"		- translate to upper case
# "ENCODE"		- encode "bad" characters as hex
# "DECODE"		- decode "bad" characters from hex
# "SUBSTITUTE"	- perform a regular expression style substitution
#				  where "regexp" is a regular expression search pattern
#				  and "regsup" is a substition pattern
.LFXform
# translate all special characters to %nn format
"ENCODE"
# strip directory from file name
"SUBSTITUTE",".*%5C",""
# Strip extension if it exists 
"SUBSTITUTE","\.[^.]*$",""
# Add a .gif extension
"SUBSTITUTE","$",".gif"

# Paragraph Style Tags table
# Format:
#"name","starttag","endtag","col2mark","tabmark","parmark",allowtext,cannest,DeleteCol1,fold,TocStyl
.PTag
"Normal","<p>","</p>\n","\t","\t","<br>\n",1,0,0,1,0
"h1","<h1>\n","</h1>\n","\t","\t","<br>\n",0,0,0,1,1
"h2","<h2>\n","</h2>\n","\t","\t","<br>\n",0,0,0,1,2
"h3","<h3>\n","</h3>\n","\t","\t","<br>\n",0,0,0,1,3
"h4","<h4>\n","</h4>\n","\t","\t","<br>\n",0,0,0,1,4
"h5","<h5>\n","</h5>\n","\t","\t","<br>\n",0,0,0,1,5
"h6","<h6>\n","</h6>\n","\t","\t","<br>\n",0,0,0,1,6
"ul","<ul>\n<li>","</ul>","\t","\t","<br><br>\n<li>",1,1,0,1,0
"ul-d","<ul>\n<li>","</ul>","\t","\t","<br><br>\n<li>",1,1,1,1,0
"ol","<ol>\n<li>","</ol>","\t","\t","<br><br>\n<li>",1,1,0,1,0
"ol-d","<ol>\n<li>","</ol>","\t","\t","<br><br>\n<li>",1,1,1,1,0
"dl","<dl>\n<dt>","</dl>","\n<dd>","\t","\n<dt>",1,1,0,1,0
"TERM","<dl>\n<dt>","</dl>","\t","\t","\n<dt>",1,1,0,1,0
"DEF","<dd>","","\t","\t","\n<br>",1,1,0,1,0
"dir","<dir>\n<li>","</dir>","\n<li>","\n<li>","\n<li>",0,1,0,1,0
"menu","<menu>\n<li>","</menu>\n","\n<li>","\n<li>","\n<li>",0,1,0,1,0
"address","<address>","</address>\n","\t","\t","<br>\n",1,0,0,1,0
"pre","\n<pre>\n","\n</pre>\n","\t","\t","\n",0,0,0,0,0
"blockquote","<blockquote>","</blockquote>","\t","\t","<br><br>\n",1,0,0,1,0
"Banner","<center>","</center>","\t","\t","\n",1,0,0,1,0
"Centered","<center>","</center>","\t","\t","\n",1,0,0,1,0
"hr","<hr>","","","","",1,0,0,1,0
# This is a required entry; tables will be formatted with this entry
"_Table","<center>","</center>","\t","\t","\n",1,1,0,0,0
"_Caption","\n","<br>\n","\t","\t","<br>\n",1,0,0,1,0

# Text STyle Tags table
# Format
# "name","Starttag","Endtag"
.TTag
"b","<b>","</b>"
"i","<i>","</i>"
"u","<u>","</u>"
"em","<em>","</em>"
"cite","<cite>","</cite>"
"tt","<tt>","</tt>"
"strong","<strong>","</strong>"
"code","<code>","</code>"
"samp","<samp>","</samp>"
"kbd","<kbd>","</kbd>"
"var","<var>","</var>"
"dfn","<dfn>","</dfn>"
"sup","<sup>","</sup>"
"sub","<sub>","</sub>"
"strike","<strike>","</strike>"
"Times12","<font face="Times" size=12>","</font>"
"Times14","<font face="Times" size=14>","</font>"
"Times28","<font face="Times" size=28>","</font>"
"Size12","<font  size=12>","</font>"
"Size14","<font  size=14>","</font>"
"Size18","<font  size=18>","</font>"
"Size28","<font size=28>","</font>"
"_Center","<center>","</center>"

# Text Match Table
# Format:
# "Font",FontSize,Match,Mask,"TextStyleName"
# "" is don't care for fonts
# 0 is don't care for font size
# Special names for TextStyleName
# _Discard - text will not be output
# _Name    - text will be used for an named anchor
# _HRef    - text is an href
# _Hot     - end of this text marks the end of hot text
# _Literal - text is sent thorough without any translation
# _Center  - Required to be one and only one entry
# The order of bits for match and mask is:
#    v^bDWUHACSOTIB - Bold
#    v^bDWUHACSOTI - Italic
#    v^bDWUHACSOT - StrikeThrough
#    v^bDWUHACSO - Outline
#    v^bDWUHACS - Shadow
#    v^bDWUHAC - SmallCaps
#    v^bDWUHA - AllCaps
#    v^bDWUH - Hidden
#    v^bDWU - Underline
#    v^bDW - Word Underline
#    v^bD - Dotted Underline
#    v^b - Double Underline
#    v^ - SuperScript
#    v - SubScript
#    v^bDWUIACSOTIB
.TMatch
#
# First do specials, because they are higher priority than other matches
# 
# double-underline/not hidden -> hot text
# double-underline/hidden -> href
#    v^bDWUHACSOTIB,v^bDWUHACSOTIB
"",0,00100000000000,00100010000000,"_Hot"
"",0,00100010000000,00100010000000,"_HRef"

# hidden/shadow -> literal
# hidden/strikethru -> literal
#    v^bDWUHACSOTIB,v^bDWUHACSOTIB
"",0,00000010010000,00000010010000,"_Literal"
"",0,00000010000100,00000010000100,"_Literal"

# hidden/shadow -> literal
#    v^bDWUHACSOTIB,v^bDWUHACSOTIB
"",0,00000010000100,00000010000100,"_Literal"

# hidden/outline -> Name
# hidden/SuperScript -> Name
#    v^bDWUHACSOTIB,v^bDWUHACSOTIB
"",0,00000010001000,00000010001000,"_Name"
"",0,01000010000000,01000010000000,"_Name"

# hidden/all other hiddens are discarded
"",0,00000010000000,00000010000000,"_Discard"

# All other Superscripts just superscripts
#    v^bDWUHACSOTIB,v^bDWUHACSOTIB
"",0,01000000000000,01000000000000,"sup"

# just subscripts
#    v^bDWUHACSOTIB,v^bDWUHACSOTIB
"",0,10000000000000,10000000000000,"sub"

# Regular matches - You can have multiple of these active

# monospace fonts -> tt
"Courier",0,00000000000000,00000000000000,"tt"
"Courier New",0,00000000000000,00000000000000,"tt"
"Monaco",0,00000000000000,00000000000000,"tt"

# bold -> bold
#    v^bDWUHACSOTIB,v^bDWUHACSOTIB
"",0,00000000000001,00000000000001,"b"

# italic/underline -> cite, italic/nounderline -> italic
#    v^bDWUHACSOTIB,v^bDWUHACSOTIB
"",0,00000000000010,00000100000010,"i"
"",0,00000100000010,00000100000010,"cite"

# any underline without italic -> underline
#    v^bDWUHACSOTIB,v^bDWUHACSOTIB
"",0,00010000000000,00111100000010,"u"
"",0,00001000000000,00111100000010,"u"
"",0,00000100000000,00111100000010,"u"
"",0,00100000000000,00111100000010,"u"

# strikethrough -> strikethrough
#    v^bDWUHACSOTIB,v^bDWUHACSOTIB
"",0,00000000000100,00000000000100,"strike" 

# outline,shadow -> em
#    v^bDWUHACSOTIB,v^bDWUHACSOTIB
"",0,00000000001000,00000000001000,"em"
"",0,00000000010000,00000000010000,"em"

# small caps -> discard
#    v^bDWUHACSOTIB,v^bDWUHACSOTIB
"",0,00000000100000,00000000100000,"_Discard"

# Using these will turn on Font Sizing
#"",12,0,0,"Size12"
#"",14,0,0,"Size14"
#"",18,0,0,"Size18"
#"",28,0,0,"Size28"

# You could turn on both font and size matching
#"Times",12,0,0,"Times12"
#"Times",14,0,0,"Times14"
#"Times",28,0,0,"Times28"

# Center entry
# By design, this should never match text
# It is only used to provide a hook for the <Center> tag 
"NotAfoNT",1,11111111111111,11111111111111,"_Center"

# Format:
# "Paragraph Style",NestLevel,"ParagraphStyleName"
# First Entry is the default if no style match. Should be level 0 
# point to a Paragraph style with no markup
.PMatch
"Normal",0,"Normal"
"table-heading",0,"Normal"
"TableElement",0,"Normal"
# This is a required entry; tables will be formatted with this entry
"_Table",0,"_Table"
"heading 1",0,"h1"
"heading 2",0,"h2"
"heading 3",0,"h3"
"heading 4",0,"h4"
"heading 5",0,"h5"
"heading 6",0,"h6"
"ol",0,"ol"
"ol 1",1,"ol"
"ol 2",2,"ol"
"ol 3",3,"ol"
"ol 4",4,"ol"
"ol 5",5,"ol"
"ul",0,"ul"
"ul 1",1,"ul"
"ul 2",2,"ul"
"ul 3",3,"ul"
"ul 4",4,"ul"
"ul 5",5,"ul"
"numbered list",0,"ol-d"
"numbered list 1",1,"ol-d"
"numbered list 2",2,"ol-d"
"numbered list 3",3,"ol-d"
"numbered list 4",4,"ol-d"
"numbered list 5",5,"ol-d"
"bullet list",0,"ul-d"
"bullet list 1",1,"ul-d"
"bullet list 2",2,"ul-d"
"bullet list 3",3,"ul-d"
"bullet list 4",4,"ul-d"
"bullet list 5",5,"ul-d"
"dir",0,"dir"
"dir 1",1,"dir"
"dir 2",2,"dir"
"dir 3",3,"dir"
"dir 4",4,"dir"
"dir 5",5,"dir"
"small gloss",0,"dl"
"small gloss 1",1,"dl"
"small gloss 2",2,"dl"
"small gloss 3",3,"dl"
"small gloss 4",4,"dl"
"small gloss 5",5,"dl"
"glossary",0,"dl"
"glossary 1",1,"dl"
"glossary 2",2,"dl"
"glossary 3",3,"dl"
"glossary 4",4,"dl"
"glossary 5",5,"dl"
"menu",0,"menu"
"menu 1",1,"menu"
"menu 2",2,"menu"
"menu 3",3,"menu"
"menu 4",4,"menu"
"menu 5",5,"menu"
"pre",0,"pre"
"blockquote",0,"blockquote"
"address",0,"address"
"hr",0,"hr"
# the following paragraph styles will be discarded
"toc 1",0,"_Discard"
"toc 2",0,"_Discard"
"toc 3",0,"_Discard"
"toc 4",0,"_Discard"
"toc 5",0,"_Discard"
"toc 6",0,"_Discard"
"TOC heading 1",0,"_Discard"
"TOC heading 2",0,"_Discard"
"title 1",0,"_Discard"
"table of figures",0,"_Discard"
"caption",0,"_Caption"
"index 1",0,"_Discard"
"index 2",0,"_Discard"
"index 3",0,"_Discard"
"index 4",0,"_Discard"
"index 5",0,"_Discard"
"NoWeb",0,"_Discard"
"TERM",0,"TERM"
"DEF",1,"DEF"
"TERM 1",1,"TERM"
"DEF 1",2,"DEF"
"TERM 2",2,"TERM"
"DEF 2",3,"DEF"
"HTML",0,"_Literal"
"footnote text",0,"Normal"
"banner1",0,"Normal"
"header",0,"Normal"
"banner2",0,"Normal"
#"Title",0,"h1"
"Title",0,"Normal"
"Normal Indent",0,"blockquote"
"Code",0,"pre"
"TableSpace",0,"Normal"
"TableRow",0,"Normal"
"TableSubHead",0,"h3"
"Normal Note",0,"Normal"
"Centered",0,"Centered"
"Banner",0,"Banner"
"anchor",0,"Normal"
"Body Text",0,"Normal"