X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/e14d8beedfa0cc7758451d4247b54d4d032e22c5..7269c9af3e55dc478792d8ea010ab9b794190a66:/doc/plugins/contrib/compile.mdwn?ds=inline diff --git a/doc/plugins/contrib/compile.mdwn b/doc/plugins/contrib/compile.mdwn index 7a3f58539..d3139e900 100644 --- a/doc/plugins/contrib/compile.mdwn +++ b/doc/plugins/contrib/compile.mdwn @@ -42,7 +42,8 @@ A simpler implementation, that only runs a predefined set of commands, may be simpler to implement than auditing this whole plugin. For example, the [[bibtex2html]] module performs a similar task than the compile module, but hardcodes the command used and doesn't call it with `/bin/sh -c`. It could be -expanded to cover more commands. +expanded to cover more commands. See this +[[plugins/contrib/bibtex2html/discussion/]] for a followup on this idea. ## Rationale @@ -105,7 +106,7 @@ using python-like string formatting, and described in the setup options section. advertised). - `template`: Name of the template to use (if set, the `source` option is irrelevant). -- `var_*`: Any argument with a name starting with ``var_`` is transmitted to the template. For instance, if directive has argument ``var_foo=bar``, then the template will have a variable named ``foo``, and ```` will be replaced by ``bar``. +- `var_*`: Any argument with a name starting with ``var_`` is transmitted to the command and template. For instance, if directive has argument ``var_foo=bar``, then string ``%{foo}s`` in the command will be replaced by ``bar``, and the template will have a variable named ``foo``, and ```` will be replaced by ``bar``. ### Extensions