Powered by SmartDoc

# SmartDoc
Ver. 1.0

Feb. 4, 2002
ASAMI, Tomoharu
http://www.netpassport.or.jp/~wtasami

## About SmartDoc

SmartDoc is the XML utility to create documents. It can convert SmartDoc format document to HTML4.0, HTML3.2, LaTeX2e, Java Help and plain text. By using the same document , possible to open by WWW , and high quality printing by LaTeX.

## Features

- Mark-up language based on XML
- Convert the documents written by the format like HTML to HTML4.0, HTML3.2, LaTeX2e and plain text
  - It is ready the tag to describe the ducuments based on the tag of HTML4 and LaTeX2e
  - SmartDoc supports uncomfortable matter of HTML4 and LaTeX2e
  - Generate table of contents, bibliography, index automatically
    - In HTML4, SmartDoc handles
    - In LaTeX2e, use LaTeX2e function
  - Table
    - It can get LaTex2e table by the format like HTML4 (rowspan, colspan, align)
  - Graphic
    - HTML4.0/HTML3.2 mode : GIF
    - LaTeX2e mode : EPS
  - Program
    - The getting in function of program source code
    - To manual preparation convenient
  - Console
    - The getting in function of console output
    - To manual preparation convenient
  - Multi-locale
    - Contents of plural locales are able to be described into the same documents
    - Restoration for locales at the time of format transformation
    - To the manual preparation of an I18N application convenient
  - Multilingual
    - Possibility that describe a plural language simultaneously by using Unicode
    - Language designated with xml:lang attribute of XML
  - HTML4 and LaTeX2e individual function of insertion
    - The formula of LaTeX2e is described by this method as well(1)

Mark up language function comparison
| SmartDoc | DocBook | LinuxDoc | HTML | LaTeX | RTF | Plain
--- | --- | --- | --- | --- | --- | --- | ---
Logical structure | A | A | A | B | A | ? | x
Convert | A | B | A | C | x | ? | C
TOC automatic generation | A | A | A | x | A | ? | x
Index automatic generation | A | A | ? | x | A | ? | x
Bibliography automatic generation | A | ? | ? | x | A | ? | x
Glossary automatic generation | A(Plan) | ? | ? | x | x | ? | x
RDF automatic generation | A(Plan) | x | x | x | x | x | x
CDF automatic generation | A(Plan) | x | x | x | x | x | x
Multilingual | A | ? | ? | B | x | x | B
Multi locale | A | x | x | B | x | x | x

A | : | full
B | : | Practical use level(minor restriction)
C | : | Possibility with a restriction accompaniment
? | : | Unknown
x | : | Difficult

1. The formula will be supported by MathML(XML expand formula)

## Install

Customize sdoc(UNIX) or sdoc.bat(Windows) included in the installation directory properly.

## How to use

    C:\tmp>sdoc foo.sdoc

## Status

The format of this version is not stabilizing. Because of this DTD has not been offered yet.

This version runs without any problem on practical use. However the manual has not been equipped.

## Thanks

- Xerces Java Parser 1.2 is being used for a XML Parser.
- Xalan-Java version 1.2 is being used for a XSLT Processor.
- PerlTools-1.2 of Savarese.Org is being used for a regex engine.
- SAKURAI, Masashi provides a Syntax hilight facility for Java source.
- SAKURAI, Masashi provides a TeX to MathML translator.