On Fri, 10 Aug 2018, Sven Schreiber wrote:
Am 25.07.2018 um 18:50 schrieb Sven Schreiber:
> Am 24.07.2018 um 23:27 schrieb Allin Cottrell:
>>
>>
>> If anyone wants to have a go at that, please do. But I have some
>> experience writing xsl and could pick it up at some point if nobody
>> intervenes.
>>
> Good idea. Attached is a first attempt which seems to do the job on a basic
> level.
...
> The stylesheet is a bit of a hack, because the line breaks of the help text
> are preserved by brute force using the <pre> tag in HTML. But I'd say the
> result is better than nothing and good enough for now.
>
Hi Allin,
is this useable for you as a starting point?
I've now taken a look, and have uploaded a slight variation on your
stylesheet as gfn2html.xsl (also attached).
The easiest way to get this used by browsers is to insert a reference
as the second line of the gfn file:
<?xml-stylesheet type="text/xsl" href="gfn2html.xsl"?>
That's easy enough to do with a little shell script, and I've
processed these three as a sample:
criteria.gfn
corresp.gfn
delayspectral.gfn
E.g.
http://ricardo.ecn.wfu.edu/gretl/cgi-bin/current_fnfiles/delayspectral.gfn
I don't think there's any bad fallout from inserting this line. If
that's confirmed I can go ahead and batch-process all the gfns.
Allin