Word and the Web

Dr Lawrie Brown,

Dr Chris Lokan

Seminar Contents

  1. Word and the Web
    1. Overview
    2. Introduction
    3. What is the Web
    4. What are Hypermedia documents
    5. HTML
      1. Example
      2. Creating HTML
      3. Common HTML Mistakes
    6. Translating into HTML
    7. Markup vs Presentation
    8. WORD Styles
    9. WORD Outline
    10. Styles for the Web
    11. rtftohtml
      1. html-trans
    12. Graphics
      1. GraphicConvertor
      2. PBM tools
    13. ToCs and Index files
    14. rtf2ht
    15. Hints and Tips
    16. More Features
    17. Limitations
    18. Other HTML Tools
    19. Other WORD Translators
    20. Summary

Overview

Introduction

What is the Web


	http://www.adfa.edu.au/
	http://www.ncsa.uiuc.edu/demoweb/url-primer.html
	ftp://gandalf.rutgers.edu/pub/sfl/sf-resource.guide.html
	gopher://life.anu.edu.au:70/I9/weather/auslast.gif
	news:alt.hypertext

What are Hypermedia documents

HTML


Example

<!doctype html public '-//IETF//DTD HTML 3.0 Strict//EN' >
<html><head>
<title>Computer Science 1E Info</title>
<link rev="made" href="mailto:Lawrie.Brown@adfa.edu.au">
</head><body>
<h1>Computer Science 1E Student Information</h1>
<h2>Aim</h2>
To prepare First Year engineering students to use the computer and computing programming as tools for use in their engineering course and future employment.
	.....
<h2>Assessment</h2>
The final mark for the subject will be composed from:
<ul>
<li> examination mark 60%
<li> assignment mark 40%
</ul> <hr>Go Back to 
<a href="http://www.cs.adfa.edu.au/student-info/">
Information for Students</a>.
<hr><address><a href="http://www.cs.adfa.edu.au/lpb/">
Lawrie.Brown@adfa.edu.au</a> /  3 Mar 95 </address>
</body></html>

Creating HTML

psgml
mode for emacs 19.xx
hotmetal
Unix/Windows/Mac
HTML.edit
for Mac
TkWWW
for X
rtftohtml
from WORD (or any RTF source)
latex2html
from LaTeX

Common HTML Mistakes

  1. Poor Structure - No Doctype, Title, Head, Body Elements
  2. Poor Paragraphing - <P>
  3. Missing Elements
  4. Unclosed Elements - no ...</H1>
  5. Unbalanced Elements - <H1> ... </H2>
  6. Overlapped Elements
  7. Illegally Nested Elements
  8. URL Errors - Improper use of relative/qualified URL
  9. Using here as anchor text is strictly forbidden.

Translating into HTML

Markup vs Presentation

Markup
represents logical structure of document
Presentation
concerned with final look & feel

WORD Styles

WORD Outline


heading 1, heading 2, heading 3, ...

Styles for the Web


heading 1, heading 2, heading 3, ...

blockquote, hr, HTML, Normal, pre, 
bullet list, bullet list 1, ...
glossary, glossary 1, ...
numbered list, numbered list 1, ...

rtftohtml


rtftohtml [-G] [-i] [-T] [-V] [-P extension] [-o file] rtffile

html-trans


# match various ADFA OHP lecture styles
"Code Example",0,"pre"
"Example 24",0,"pre"
"Overhead body 24",0,"Normal"
"Overhead Points",0,"ul-d"
"Overhead Points 1",1,"ul-d"
"Overhead Points 2",2,"ul-d"
"Overhead Numbered",0,"ol-d"
"Overhead Numbered 1",1,"ol-d"
"Table 14",0,"_Table"
"Text ref",0,"Tref"

Graphics

GraphicConvertor

PBM tools


	picttoppm baseN.pict | pnmcrop | ppmtogif > baseN.gif

ToCs and Index files


<a href="base.html">Nurgle Blah stuff</a>

rtf2ht


	ccadfa:~lpb/www/rtf2ht

Hints and Tips

More Features

Limitations

tables
pre-formatted text
equations
not possible except as graphics

Other HTML Tools

htls
index collection of web files
weblint
check syntax of HTML files

Other WORD Translators

 http://info.cern.ch/hypertext/WWW/Tools/Word_proc_filters.html

Summary


Hope (zone adfa-cs-NetWare)::
 MAC_APPS:Student Info:Lawrie Brown (lpb):Word and the Web 95

http://mnementh.cs.adfa.edu.au/seminars/word_web95.html


Copyright Lawrie.Brown@adfa.edu.au / 29Mar95