]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/plugins/contrib/compile.mdwn
anon push test
[git.ikiwiki.info.git] / doc / plugins / contrib / compile.mdwn
index 7a3f58539d2193ea001baecfbfa7c0a6f52979f4..d3139e9008899ecbd6d913f282cc6839651ea752 100644 (file)
@@ -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 ``<TMPL_VAR FOO>`` 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 ``<TMPL_VAR FOO>`` will be replaced by ``bar``.
 
 ### Extensions