dagwieers / asciidoc-odf

ODF backend for AsciiDoc
98 stars 26 forks source link

missing {args=} in source-highlight filter definition #36

Closed getreu closed 11 years ago

getreu commented 11 years ago

--- odt.conf.orig 2012-11-30 19:16:26.060538049 +0000 +++ odt.conf 2012-11-30 19:12:35.140548903 +0000 @@ -364,7 +364,7 @@

{title!{id?}}|/text:p [source-filter-style] -ifndef::pygments[source-style=template="source-highlight-block",presubs=(),postsubs=("callouts",),posattrs=("style","language","src_numbered","src_tab"),filter="source-highlight -f odf -s {language} {src_numbered?--line-number} {src_tab?--tab={src_tab}}"] +ifndef::pygments[source-style=template="source-highlight-block",presubs=(),postsubs=("callouts",),posattrs=("style","language","src_numbered","src_tab"),filter="source-highlight -f odf -s {language} {src_numbered?--line-number} {src_tab?--tab={src_tab}} {args=}"] ifdef::pygments[source-style=template="source-highlight-block",presubs=(),postsubs=("callouts",),posattrs=("style","language","src_numbered"),filter="pygmentize -f odf -l {language} {src_numbered?-O linenos=table} {encoding?-O encoding={encoding}} {args=}"] ### DEPRECATED: Pre 8.2.7 filter definition.
dagwieers commented 11 years ago

If you do a pull-request, it will correctly attribute the change to you.

If not, I will apply the patch.

In any case, thanks for the contribution !

getreu commented 11 years ago

It's done, waiting for your approval. Bon week-end Jens