Julian Herten-Greaven wrote:
I also have Openoffice installed and am familiar with the line numbering tool.. but to my disappointment, when I opened an exported RTF and enabled line numbering, strangely the result was that even wrapped lines were numbered.

You're right, it is designed for document text, not source code. Not a bug with OOo, it's working correctly. I jumped the gun, sorry.

On a lighter note, I have decided upon a different solution altogether.. at least for the time being. If one exports to HTML, then inserts "<ol><li>" after the body tag, and then does a search/replace for the literal "<br />" and replace with "<br /><li>", and at the very end includes a "</ol>" before closing the body, you can have a make-shift line-numbered HTML output that can be safely printed using your regular browser -- all in about 3 steps. Thanks to the export.html.title.fullpath variable, one can also entitle the printed page without forgetting where it was first acquired.

You can take the Lua version of the HTML exporter and tweak it to output the correct format directly, and you will be able to export already correct HTML with one command keystroke.

[snip]

--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to