Learn about Linux
Download Linux
Get Linux help
Get special offers on:
Linux Application Dev Programming Software
Email:
#
Return to Converting text files into ODF with odtwriter
© Copyright 1999-2008 - SourceForge, Inc., All Rights Reserved About Linux.com - Privacy Statement - Terms of Use - Advertise - Trademark - Ask Linux Questions - Write for Us - RSS Feed ThinkGeek - Slashdot - SourceForge.net - freshmeat - Surveys - Jobs
Syntax highlighting
Posted by: Anonymous [ip: 69.248.236.96] on October 10, 2007 05:31 PMAnother approach for syntax highlighting:
highlight --syntax=python --inline-css sample.py > sample.html
OOWriter can then easily import the colored html.
The downside is that you can't tweak the appearance in Writer since all the styling is "direct formatting" in the code block.
#