AminetAminet
Search:
82130 packages online
About
Recent
Browse
Search
Upload
Setup
Services

text/tex/HTMLtoTeXAid.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Html2tex postprocessor
Author:David Fong
Uploader:David Fong <Dr David Fong medical net au>
Type:text/tex
Version:1.0
Architecture:m68k-amigaos
Date:1997-01-09
Download:http://aminet.net/text/tex/HTMLtoTeXAid.lha - View contents
Readme:http://aminet.net/text/tex/HTMLtoTeXAid.readme
Downloads:685
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...)


Contents of text/tex/HTMLtoTeXAid.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  677    1201  56.4% -lh5- ed0b Dec 30  1996 HTMLtoTeXAid.readme
[generic]                 1919    6037  31.8% -lh5- 0b39 Dec 30  1996 HTMLtoTeXAid.rexx
[generic]                  408     669  61.0% -lh5- c548 Dec 30  1996 test.tex
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         3 files    3004    7907  38.0%            Jan  9  1997

Aminet © 1992-2017 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>