[pmwiki-users] Beginner question

Patrick R. Michaud pmichaud at pobox.com
Wed Jan 3 14:21:30 CST 2007


On Wed, Jan 03, 2007 at 02:20:59PM -0500, IchBin wrote:
> Sorry but not sure how to display a PDF from a page in pmWiki. I am 
> trying this (pdf is in the Pub base subdirectory):
> 
>   [["$PubDirUrl/XDebugPHPIDEGuide.pdf" | XDebug PHP IDE Guide]]

If you want to embed a .pdf within a PmWiki page, there's
not really a way to do it (although there might be a recipe
for it somewhere).

If you're simply wanting to link to a pdf page, then just use
the url of the resulting pdf.  If you want it to be a bit more
portable, you can define an InterMap link for "Pub:" as follows
(in Site.InterMap):

    Pub:     $PubDirUrl

Then you can use the following link:

    [[Pub:XDebugPHPIDEGuide.pdf | XDebug PHP IDE Guide]]

Pm





More information about the pmwiki-users mailing list