[pmwiki-users] pmwiki-users Digest, Vol 28, Issue 14

Gour gour at mail.inet.hr
Wed Oct 10 05:05:17 CDT 2007


On 10 Oct 2007 15:06:59 +1300
John Rankin <john.rankin at affinity.co.nz> wrote:

> The script cookbook/wikipublisher/wikipublisher.php contains 
> the following default setting for $format=='pdf'
> 
>     SDV($WPLinkPageExistsFmt, "\$LinkText<tbook:visual
> markup='sup'>" . " (<tbook:url
> name='\$LinkUrl'>w</tbook:url>)</tbook:visual>");
> 
> So, to eliminate the (w) link, add the following to 
> local/config.php *above* the include:
> 
>     $WPLinkPageExistsFmt = '$LinkText';
> 
> Other settings are:
> 
>     SDV($WPLinkPageExistsAnchorFmt, 
>         str_replace('>w<','>w#$LinkAnchor<',$WPLinkPageExistsFmt));
>     SDV($WPLinkPageCreateFmt, 
>         "\$LinkText<tbook:url name='\$PageUrl?action=edit'>" .
>         '<tbook:visual markup="sup">?</tbook:visual></tbook:url>');

What do you think about adding option to disable/enable URL
links in PDF document?


Sincerely,
Gour
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/pmwiki-users/attachments/20071010/befd6f9e/attachment.bin 


More information about the pmwiki-users mailing list