in reply to Re^3: Adding Line Numbers to the MIT Shakespeare
in thread Adding Line Numbers to the MIT Shakespeare
Thanks for your answer, marto.
The parsing worked.
But how to "capture the output into a new html file"?
I used the following command:
"perl scriptname.pl inputfile.html > result.html".
In the result.html file that was generated, I added the stylesheet indicated:
<style type="text/css"> .lineNum { position: absolute; left: 550px; } </style>
But the result.html file didn't show any line numbers.
What may I have done wrong?
P.S. - I've compared the original and the result file, before adding the stylesheet, and they are exactly the same. So the parsing didn't work as it should.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Adding Line Numbers to the MIT Shakespeare
by marto (Cardinal) on Feb 15, 2013 at 09:42 UTC | |
by e.loureiro (Initiate) on Feb 15, 2013 at 12:11 UTC |