Short: Html2tex postprocessor, converts double apostrophes and *bold*
Author: David Fong
Uploader: David Fong
Version: 1.0
Type: text/tex
Description
Post-processor for html2tex (also to be found in text/tex).
Converts double apostrophes (") to `` and ''.
Also converts *bold* pairs (marked by asterisks) into jmsempth{bold}.
Usage
HTMLtoTeXAid infile outfile
The program will ask for confirmation, you can either just tap
return or enter y/yes/yo (or anything else starting with `y') to
do the conversion, other response are considered to be `no'.
The two replacement strings can overlap in their area of influence.
Programming notes
Written in ARexx.
Quite customizable. For example, look at lines 20 to 22.
find_string.1 contains the string to search for, which happens to
be the asterisk. repl_strng1.1 and repl_strng2.1 contain the strings
which will alternately replace the asterisk.
Similarly, lines 30 to 32.
v 1.0 30 December 1996.
Multiple changes just prior to release!
Will only print out text again if it has been changed.
Will accept any word starting with `y' as a request to change text.
Provided new example file (the one I actually used to develop the
program is missing...)
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
1201 677 43.6% 30-Dec-96 21:29:32 HTMLtoTeXAid.readme
6037 1919 68.2% 30-Dec-96 21:25:40 HTMLtoTeXAid.rexx
669 408 39.0% 30-Dec-96 19:50:26 test.tex
-------- ------- ----- --------- --------
7907 3004 62.0% 09-Jan-97 05:49:42 3 files