# # This file sets the behavior of the txh generator # # Lines starting with # or spaces are skiped except in strings or in [Generate] # Be carefull with [ it delimits sections! # [Configuration] # # No external program is needed! # @.html means: Copy the temporal file to xxxxx.html # CommandLine=@.html Name="Direct HTML 3.X format" [Delimiters] # Up to 11 characters SectionStart=/**[txh]** # Up to 11 characters SectionEnd=*********/ [Variables] # # Up to 16 definitions # # Codes for the behavior of the definitions: # 1 Normal, put the content if found. # 2 Repeat, use the last value found in the file, ~no is an exeption, ~clear stops # 3 If not found replace by the prototype. # 4 If not found replace by the class. # 5 If not found replace by the name of the function # 6 It disables the node generation for this comment. The variable is # stored in the first variable that have associations and is in the comment. # # Additionally there are 2 special variables: # 90 Name of the file # 91 Line number of the end of the comment # 92 Name of the var 0 in the format: ~0 ~~Distinguish{(~Distinguish)~} (node name) # # 0 The first variable is the main index variable # AddDefinition=Function,5 # 1 AddDefinition=Class,4 # 2 AddDefinition=Include,2 # 3 AddDefinition=Module,2 # 4 AddDefinition=Prototype,3 # 5 AddDefinition=Description,1 # 6 AddDefinition=Return,1 # 7 AddDefinition=Example,1 # 8 AddDefinition=Comments,6 # # It says what variable is added to distinguish between 2 vars 0 that are equal # Distinguish=1 [Associations] # # Up to 8 associations # # The associations are between the 0 variable and another variable. # # Name in main menu, node, variable, optional to add to each node # AddAssoc=List by classes,Classes,1,(class) AddAssoc=List by modules,Modules,3 AddAssoc=List by files,Files,90 [Replace] # # All must be delimited by ", they can be used in the GenMain section # # Title of the HTML Constant="Turbo Vision reference" # Description for the help Constant="This document describes the functions of Turbo Vision that didn't exist in the original version of the library.@* Note that only a few things are documented here, I need help to populate this file. @p This document applies to version 2.0.0 of the Turbo Vision library. @p" [Commands] # # You can enclose these values between " to make more clear where # they start and end. Use \n,\r,\t and \" like in C. Use \ at the # end to concatenate like in C. # # @p = end of paragraph # EndOfPar="
"
#
# @* = break line
#
BreakLine=" "
pre=
"
#
# @{value} is the special cross ref.
# ~0 Is the visible name of a reference
# ~1 Is the real name of a reference
#
CrossRef="~0"
#
# What we must get from a @@ sequence
#
Double@="@"
[DefinedCommands]
#
# The format is @
/pre=
link="~1"
mailto="~1"
#
# This section says how to translate ASCIIs
#
[ASCIIConvert]
á=á
é=é
í=í
ó=ó
ú=ú
ñ=ñ
Ñ=Ñ
¡=¡
¿=¿
ä=ä
ë=ë
ï=ï
ö=ö
ü=ü
Ü=Ü
à=à
è=è
ì=ì
ò=ò
ù=ù
<=<
>=>
#
# Use ~number to use one variable
# Use ~~number{} for conditional, all the code inside {} will become
# conditional
# This section isn't passed for the macro expansion so here you are
# free to use special commands for the formater.
#
[GenNode]
~~2{
# This line is a comment, but the next is code #define Uses_~2 #include <tv.h>~} ~~4{
~4;~} ~~1{ Member of the class: ~1
~} ~~5{ Description
~5
~} ~~6{ Return Value
~6
~} ~~7{ Example
~7
~} [GenMenu] Start="
" # # ~1 is the name of the association # ~2 is the menu for it # [GenAssoMain]