How this HTML document was created

ASCII to HTML Conversion

We want to automatically convert an entry like
EXAMPLE <<jam1>>
into
EXAMPLE &lt;&lt;<A HREF="AU/jam1.au">jam1</A>&gt;&gt;
Additionally
<A HREF="AU/jam1.au"><IMG SRC="GIF/jam1.gif" ALT="[GIF]"></A>
has to be added after the example to display the graphics and allow audio replay if the GIF file is clicked on. We also have to save the name of the GIF file for the script which helps in creating the GIF files.
sed -e ascii2html.sed 

Creating GIF Files

Basically, you have to load all files into xwaves and dump each screen into a GIF file. createGIF.sh helps in doing this. However, this is only an example, because you might not have the programs. I could put up binaries for HP-UX on request.
createGIF.sh  &
examples 

Audio File Conversion

The (mostly) ESPS files are converted to mulaw Sun format files.
d2au.csh

Compression

It is advantageous to copy the whole thing onto a local disk. For UNIX, I created a compressed tar file.
pushd ..; gtar zcvf ToBI.tar.gz ToBI; mv ToBI.gz ~/html/ToBI.tar.gz; pushd 
For Mac, I created a ToBI.sit.hqx file as follows: With fetch, I transferred the whole directory onto a Mac. I then encoded it with StuffIt Lite into a file ToBI.sit. I then transferred it back with fetch onto our UNIX machine (using binhex and changing the name to ToBI.sit.hqx). For example, I put it onto my Mac Powerbook and access is now reasonably fast. For your WWW server you (if you use CERN httpd), you should add the following two lines to the configuration file, so that this file can be directly extracted.
AddType 	.hqx	application/mac-binhex40	binary	1.0
AddType 	.sit	application/x-stuffit		binary	1.0
This is only important for providers.

labelling_guide_v2.ASCII (augmented by some HTML)


This page is maintained by M. Beckman (mbeckman@ling.osu.edu)

 

Copyright © 2008 Department of Linguistics, The Ohio State University
Questions? see our Contacts page.
To report problems with this web site, contact webmaster@ling.ohio-state.edu
Global Hits: 14543638