The SERA 2 Any Conversion Utility

The SERA 2 Any Conversion Utility


sera2any is a simple conversion utility for converting SERA documents into a requested character coding system. Presently supported outputs are for Java, JIS, JUNET, and Unicode. Limited La\TeX support is available as well as conversion into the systems used by Agafari, ALXEthiopian, EthiO Systems (WashRa), and Feedel. sera2any is included as part of the sera2ps package. Like fbanner, sera2any relies on the ``LibEth'' library routines for text conversion.

sera2any now supports Rich Text Format (RTF) output for the MS Windows fonts by Agafari, ALXEthiopian, Feedel, and Washra. More font systems will be added as the information becomes available. The next stage for sera2any will be to make an ``any2any'' resource that will convert from one system in RTF into any other -as well as into SERA, etc. An X11 interface will be developed, a GUI interface for MS Windows users would be a great asset as well! People knowledgable in Visual Basic who would like to contribute to this project please contact yacob@padis.gn.apc.org.


Samples from the man pages:

USEAGE

sera2any [ -c ] [ -h ] [ -l ] [ -o system ] [ -q ] [ -rtf ] [ -s ] [ -stats system ] [ -v ] infile > outfile

OPTIONS

-c
Map ASCII colon, ``:'', to Ge'ez colon (-:) and not to the default Ge'ez wordspace (:). Ge'ez word space may now only be given by `:

-fromdos
The input file is DOS text, strip out DOS ^M end of line characters. Output will be in Unix text. This option impacts parsing speed and is only available when sera2any is compiled for DOS support.

-h
Echoes help list to stderr and exits.

-l LL(L)
Set starting language to that specified by LL or LLL where LL(L) is an ISO-639 two or three letter identifier. Sup- ported languages are: am(h), ge(z), la(t), & ti(r).

-o system
Specify output of type system. System defaults as JUNET or may be one of seraet, jis, java, or unicode. Appending -html to the system forces the scanner to leave as Latin all text between < and >.

Example:
-o uni [Unicode Output]
-o jis-html [JIS Output With HTML Filtering]

-q
Map ASCII question mark, ``?'', to Ge'ez 3-Dot question mark (`?) and not to the default Ge'ez stylized question mark (?). The use of ? and `? in SERA text are now reversed.

-rtf
Output in Rich Text Format. Supported for Agafari, ALXEthiopian, Feedel, and Washra fonts currently.

-s
Map ASCII space, `` '', to Ge'ez wordspace (:).

-stats system
Provides a Fidel table with statistical output of charac- ter occurances into the files ``fidel.stats'' and sorted statistics in ``fidel2.stats''. System defaults as sera or may be one of junet, jis, alxet, agafari, feedel, unicode, or washra. Appending -html to the system name will format the statistics output for HTML.

Example: -stats jis-html

-todos
The input file is Unix text, insert DOS ^M end of line characters. Output will be in DOS text. This option impacts parsing speed and is only available when sera2any is compiled for DOS support.

-v
Echo version number and exit.


<== Return to ACG Homepage