HI Paul,
On Sat 2037-Oct-31 16:17, Paul Quinn (3:640/384) wrote to Richard Webb:
Hi! Richard,
THought you'd like to hear about my latest bit of batch fun
which is highly dependent on HOrst's third party add-ons.
You know, I've read this 3 or 4 times over the last couple of days
and am amazed at what you've done here. It's held my interest, speechlessly, for nearly as long.
IT's fairly simple actually. My braille translator has a
neat feature that will build table of contents entries with
appropriate page numbers.
for example, you're brailling a book and you have
introduction
acknowledgements
chapter 1 installation
chapter 2 legal stuff
WE begin our indication that this is a table of contents by
a ~f0 on a line alone.
SO for the braille translator to do this we have
~f1introduction
~f2acknowledgements
etc.
sO since these are separate files we build a table of
contents file as we find the various sections.
I.e. the batch that's going to build these looks, sees if
there is a missing vessel alert, tags a brief entry to a
file which will be appended to our table of contents.
Btw table of contents and other such are roman numeral page
numbers.
tHen we start looking at weather files we have. IF it finds north atlantic in the current crop, with appropriate
filename it will make that first table of contents entry
as in
set counter=1
then we put it in the table of contents as in:
echo ~f%COUNTER%high seas forecast for metarea IV >>
wxcont.txt
Btw the ~fsays do a series of guide dots, right justify page numbers.
wIthout the number after a ~f braille translator would still leave the guide dots, but expect you to supply numbers to be right justified, as in a restaurant menu, etc.
OTher than another search replace utility and basic commands built
into dos 6.22 the whole thing couldn't be done without HOrst
<grin>. Well, some judicious use of sed as well.
All manner of superlatives skid over my tongue as I try to take all
that in, and a few expletives too! ;-)
IT's actually taken me some tiem to get it dialed in so that I"m happy with the
results. Been a long process, and your
hints and kinks over the last couple years have helped it
all fall into place. Just wanted you to know that.
Are you kidding?!? You're the man, dude! I tips me hat to you.
BUt it wouldn't have happened without some real helpful
stuff coming from your keyboard.
YOu see the reason that this has been a priority project for me is that these weather forecast files are done as what
those of us in broadcasting call rip and read. my braille
embosser will dump out about 15 pages of fanfold paper
whenever I go through this, and I want to hit the warnings
and important stuff, so the table of contents helps. OFten
I"m going through it in the interest of formatting it
properly for braille, but not actually reading the text
first, so it's a cold read live on air. Having my stuff
together when I pick this up, or appearing to is real
helpful. Addition of the steerable directional antenna just meant that now I had a need for more data, and that data is
stuffed into the table of contents, so that while I"m
flipping pages with one hand the other is turning the
rotator <grin.>
Regards,
Richard
--- timEd 1.10.y2k+
* Origin: Radio REscue net operations BBS (1:116/901)