###[ tex2sdoc ]###
	
	Version 0.2.4
	2001/4/23

###[ What is Tex2Sdoc ]###

This program translates a LaTeX-format into a SmartDoc-format.
You can succeed to treat an easy LaTeX format, such as a structured 
document and simple layout and mathematical environment.

This maybe contain so many bugs when you try your LaTeX documents, 
because I made it for myself. If you meet a trouble, please 
contact me or fix by yourself.

You can redistribute under GPL.

###[Environment]###

  Java2 SDK1.2, SDK1.3
  SmartDoc v0.7 or up

###[ Usage ]###

On the console, type following. The result is written into [~.sdoc] file.

% java -jar tex2sdoc.jar [options] (TeX sources...)

-encoding : output encoding
-lang     : output language
-noeqref  : suppress equation reference
-exmacro : expand tex macro (NEED)

If your tex-source file has including BibTeX file, 
such as "\bibliography{articles}", you must prepare 
SmartDoc library "SmartDoc.jar" and type following.

% java -cp "tex2sdoc.jar;SmartDoc.jar" jp.gr.java_conf.ccs2.tool.tex2sdoc.TeX2Sdoc [options] (TeX source...)


Now you can try the experimental function "BibTeX2SBib (BibTeX to SmartBib)".

% java -cp "tex2sdoc.jar;SmartDoc.jar" jp.gr.java_conf.ccs2.tool.tex2sdoc.bibtex.BibTeX2SBib (input BibTeX filename) (output filename)

###[ History ]###

2001/ 4/23 : v0.2.4 : Added including BibTeX, BibTeX2SBib. Some bug fixed.
2001/ 3/22 : v0.2.1 : Added many functions.
2000/11/.. : v0.1   : First release.

###[ Supported command and environment ]###

<*>title
maketitle,(title,author,date,abstract)

<*>document structure
part,chapter,section,subsection,subsubsection,appendix

<*>decration
bf,bfseries,textbf,sffamily
it,itshape,slshape
tt,ttfamily
em
large,Large,LARGE,huge,Huge
small,footnotesize,scriptsize,tiny

# You can use them like {\bf foo text...}, or {\bf {\em foo}}.

<*>reference
footnote,cite,ref,eqref

# You can use cite like \cite{foo1,foo2}.

<*>environment
equation,eqnarray,itemiza,enumerate,quote
figure(includegraphics,caption),description,tabular,tabbing
center,flushright,flushleft,thebibliography(bibitem)

# Mathematical expression will be transformed into MathML by SmartDoc.
# You can not use includegraphics more than twice in the figure environment.

<*>label
# You can use label with document structure commands and environments.
# Ex. \section{abc}\label{abc},  \begin{equation}\label{foo}


######################
2001 (C) SAKURAI, Masashi [m.sakurai@dream.com]
http://www.cmt.phys.kyushu-u.ac.jp/~M.Sakurai/
