[pmwiki-devel] markup rule execution order

John Rankin john.rankin at affinity.co.nz
Tue Nov 30 19:29:28 CST 2010


>
> This is the config.php structure:
>
> if ($format=='pdf') Markup('cite', 'inline', ...);
>
> ...
>
> Markup('cite', 'inline', ...);
>
> ...
>
> if ($format=='pdf') Markup('bibliocite', '<cite', ...);

To get this to work, I had to change the last statement to:

if ($format=='pdf')
{  DisableMarkup('cite'); Markup('bibliocite', 'inline', ...);  }

Don't know why the disable is needed.
-- 
John Rankin




More information about the pmwiki-devel mailing list