On Mon, 28 Nov 2011, Stuart Rackham wrote:
On 27/11/11 13:41, Dag Wieers wrote:
Another request, this time for the source-filter.
Yesterday I have been improving odf.outlang, which is the ODF output
support of
GNU source-highlight. This work is expected to become part of the GNU
source-highlight project, as its author is excited about this support.
But without ODF support to the source-filter, these improvements cannot be
used.
Is it possible to add ODF support to the source-filter ?
odf source highlighting is a big step forward.
The proper place for the ODF source filter configuration is in odt.conf, this
keeps ODF dependencies together in one place, in one project.
But currently there is a problem: the [source-filter-style] section in
odt.conf will be overwritten by the an empty [source-filter-style] section
from source-highlight-filter.conf. I've committed a patch to the trunk that
should fix this:
http://code.google.com/p/asciidoc/source/detail?r=50b27d39b0c461afb32a38cd2fe0727c93a9987a
You should now be able put source highlight config sections in odt.conf
That's great. I didn't think about doing it like that.
There's maybe another issue that can be fixed upstream. For TOC support
(which is now working too) the translated strings {toc-title} cannot be
used because they are only 'exported' when the basebackend is html.
I was wondering why we would only define those attributes for HTML
back-ends, even if they are not required/used they are no harm.
Currently I hard-coded 'Table Of Contents'.
--
-- dag wieers, [email protected], http://dag.wieers.com/
-- dagit linux solutions, [email protected], http://dagit.net/
[Any errors in spelling, tact or fact are transmission errors]
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.