Index page
Text Files

txt\text-0.txt
txt|right||Text Files

Text files are handled in different ways, depending on their file extensions.

The basis of most data sets is the ASCII text file ???.TXT (this is just such a file).
The default treatment for text files is to search them for the presence of the CARTHTML Formatting Codes which are then turned into their HTML equivalents.

To increase flexibility, instead of demanding a .TXT extension for this basic ASCII file there is an entry in the configuration file .CH1 HtmlList=TXT,???,etc which allows you to specify which file extensions you want treated in the same way. We use this to keep separate the reports of the various participants in a project while maintaining the integrity of the topic. This is done by giving everyone their own file extension (we use initials) and adding them to the HtmlList which then looks something like this: HtmlList=TXT,EN,FR,etc

Other text files that are handled differently are Bibliographies or References which have a .BIB extension, Bullet Lists which have a .LST extension, Numbered Lists which have a .NUM extension, Captions which have a .CAP extension and Foot Notes which have a .FTN extension,

In multilingual documents these functions are performed on extensions in the form of .[LanguageCode]? ie. for french [FR] .FRB is a bibliography .FRL is a list, .FRF is a foot note and .FRC is a caption. (The Multilingual capability has not been included with this manifestation of CARTHTML)


txt\text-1.txt
All of the pages in this demonstration have been automatically created from the following files.

You can examine the files created by clicking the links below:

  • Source Files
  • Server Files
  • By examining these files much can be gleaned about how this program works.


    txt\text-2.num

      TEXT.NUM
    1. every line in
    2. this file will be
    3. treated as an entry
    4. in an ordered list


    txt\text-2.lst

    txt\text-2.abc
    Files with extensions not specified anywhere in the .CH1 file are treated
    as PREformatted text.
    
             This can be used for things like indentation but becomes a problem if you have long lines that might run off the screen of someone with a lower resolution monitor than yours.
    
    

    txt\text-2.bib
    Bibliography
    
    Computer Aided Recording Tools automate the
    creation of a Site Information System
    ISPRS International Archives of Photogrammetry and Remote Sensing
    Vol:23 Pt:5C1B (1997) p121-130
    
    CART - Computer Aided Recording Tool
    Automation in Construction 5(3):161-170 1996
    
    The (non-virtual) Reality of the Heritage Record
    The quest for permanance in a digital record
    proceedings of the ICOMOS 11th General Assembly - Sofia, Bulgaria, 1996
    
    Recording Humeima '95
    Building a Spatial Database for Archaeology - in the field
    Techniques employed for data collection and model generation during the
    1995 excavations
    University of Victoria, Jordanian Department of Antiquities
    Scholars Press - Religous Studies News, May 1996
    
    
    

    txt\text-3.en
    TEXT.EN

    The file extension .EN signifies english text or html files to be incorperated into the body of the html page for their object.

    These files are currently treated in the same way as .TXT files.


    txt\text-3.fr
    The file extensions ".FR*" are reserved for the eventual implementation, at the server level, of user selectable languages.

    In the meantime files with these extensions will be incorporated into the body of the HTML page for their object if the extension(s) are included in the HtmlList described here .

    Before their inclusion in the HTML document all files in the HtmlList are passed through a filter which converts the special characters to their HTML compliant equivalents . When processed thus our sample document appears as follows, if not it comes out thus . Unfortunately, due to the limitations of HTML, it is impossible for you to examine the source document without downloading it and even then you might get a faulty picture due to the differing character sets used by the different editors and operating systems.


    txt\text-cap.txt
    Captions are individual files with the same name (and in the same directory) as the image they support but with an extension of ".CAP" or ".[LanguageCode]C" ie. ".FRC" for french, ".ESC" for Spanish or ".ENC" for English in multilingual data sets.

    When an image is processed a search is made for a caption of the same name which, if found, is placed beneath the image using a reduced font.

    If no caption is found for an image an entry to that effect is added to the log file CARTHTML.LOG


    dbf\textchar.dbf
  • Database File: textchar 100

  • dbf\textchar.csv
    TEXTCHAR
    CHAR ASCII HTML HTMLCODE
    CHAR CODE HTML HTMLCODE -
    ~ 126 ˜ tilde -
     127 &xxx; xxx -
    Ç 128 Ç Ccedil -
    ü 129 ü uuml -
    é 130 è egrave -
    â 131 â acirc -
    ä 132 ä auml -
    à 133 à agrave -
    å 134 å aring -
    ç 135 ç ccedil -
    ê 136 ê ecirc -
    ë 137 ë euml -
    è 138 è egrave -
    ï 139 ï iuml -
    î 140 î icirc -
    ì 141 ì igrave -
    Ä 142 Ä Auml -
    Å 143 Å Aring -
    É 144 É Eacute -
    æ 145 æ æ -
    Æ 146 Æ Æ -
    ô 147 ô ocirc -
    ö 148 ö ouml -
    ò 149 ò ograve -
    - 150 û ucirc -
    ù 151 ù ugrave -
    ÿ 152 ÿ yuml -
    Ö 153 Ö Ouml -
    Ü 154 Ü Uuml -
    ¢ 155 ¢ cent -
    £ 156 £ pound -
    ¥ 157 ¥ yen -
    P 158 ¦ brvbar -
    â 159 § sect -
    - 160   nbsp -
    í 161 ì igrave -
    ó 162 ò ograve -
    ú 163 ù ugrave -
    ñ 164 ñ ntilde -
    Ñ 165 Ñ Ntilde -
    ª 166 ¦ brvbar -
    º 167 § sect -
    ¿ 168 ¨ uml -
    _ 169 © copy -
    ¬ 170 ª ordf -
    ½ 171 « laquo -
    ¼ 172 ¬ not -
    ¡ 173 ­ shy -
    « 174 ® reg -
    » 175 ¯ macr -
    _ 176 ° deg -
    _ 177 ± plusmn -
    _ 178 ² sup2 -
    ¦ 179 ³ sup3 -
    ¦ 180 ´ acute -
    ¦ 181 µ micro -
    ¦ 182 para -
    + 183 · middot -
    + 184 ¸ cedil -
    ¦ 185 ¹ sup1 -
    ¦ 186 º ordm -
    + 187 » raquo -
    + 188 ¼ frac14 -
    + 189 ½ frac12 -
    + 190 ¾ frac34 -
    + 191 ¿ iquest -
    + 192 À Agrave -
    - 193 Á Aacute -
    - 194 Â Acirc -
    + 195 Ã Atilde -
    - 196 Ä Auml -
    + 197 Å Aring -
    ¦ 198 Æ AElig -
    ¦ 199 Ç Ccedil -
    + 200 È Egrave -
    + 201 É Eacute -
    - 202 Ê Ecirc -
    - 203 Ë Euml -
    ¦ 204 Ì Igrave -
    - 205 Í Iacute -
    + 206 Î Icirc -
    - 207 Ï Iuml -
    - 208 Ð ETH -
    - 209 Ñ Ntilde -
    - 210 Ò Ograve -
    + 211 Ó Oacute -
    + 212 Ô Ocirc -
    + 213 Õ Otilde -
    + 214 Ö Ouml -
    + 215 × times -
    + 216 Ø Oslash -
    + 217 Ù Ugrave -
    + 218 Ú Uacute -
    _ 219 Û Ucirc -
    _ 220 Ü Uuml -
    ¦ 221 Ý Yacute -
    _ 222 Þ THORN -
    _ 223 ß szlig -
    _ 224 à agrave -
    ß 225 á aacute -
    _ 226 â acirc -
    227 ã atilde -
    _ 228 ä auml -
    _ 229 å aring -
    µ 230 æ aelig -
    _ 231 ç ccedil -
    _ 232 è egrave -
    _ 233 é eacute -
    _ 234 ê ecirc -
    _ 235 ë euml -
    _ 236 ì igrave -
    _ 237 í iacute -
    _ 238 î icirc -
    _ 239 ï iuml -
    _ 240 ð eth -
    ± 241 ñ ntilde -
    _ 242 ò ograve -
    _ 243 ó oacute -
    _ 244 ô ocirc -
    _ 245 õ otilde -
    ÷ 246 ö ouml -
    _ 247 ÷ divide -
    ° 248 ø oslash -
    ò 249 ù ugrave -
    · 250 ú uacute -
    _ 251 û ucirc -
    n 252 ü uuml -
    ² 253 ý yacute -
    _ 254 þ thorn -
    _ 255 ÿ yuml -

    txt\text-2.ftn
    Foot Notes are individual files with an extension of ".FTN" or ".[LanguageCode]F" ie. ".FRF" for french, ".ESF" for Spanish or ".ENF" for English in multilingual data sets.

    When processing an HtmlType of "article" these files are appended to the image index which appears in the left frame. In a multi-page data set they are generally at the end of the file group of which they are a part (as is this example). In either case they are inserted at a reduced font.

    To create a link from the body of the text to a foot note you must put the text you want linked at the beginning of a line (by entering a hard return) preceded with a {F} followed by the filename of the foot note relative to the SourceDirectory The Text you want linked is on the line following line


    Files Referenced for text
  • c:\carthtml\demodata\TXT\text-0.TXT
  • c:\carthtml\demodata\TXT\TEXT-1.TXT
  • c:\carthtml\demodata\TXT\text-2.num
  • c:\carthtml\demodata\TXT\text-2.lst
  • c:\carthtml\demodata\TXT\text-2.abc
  • c:\carthtml\demodata\TXT\text-2.bib
  • c:\carthtml\demodata\TXT\text-3.EN
  • c:\carthtml\demodata\TXT\text-3.FR
  • c:\carthtml\demodata\TXT\TEXT-CAP.TXT
  • c:\carthtml\demodata\DBF\TEXTCHAR.DBF
  • c:\carthtml\demodata\DBF\TEXTCHAR.CSV
  • c:\carthtml\demodata\TXT\text-2.ftn


  • Up Index Cover

    Inquiries to: cart@nickerson.icomos.org
    Generated Tue Nov 09 08:54:17 1999 by: CART Computer Aided Recording Tools
    [Compiled: Tue Nov 09 08:43:43 1999(vC++)]