Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item1174: Rename GenPDFPlugin to GenPDFAddOnPlugin - so it doesn't co…
…nflict with any future GenPDFPlugin. The Plugin is a small helper plugin shipped with GenPDFAddOn. Also add the VarGENPDF and GenPDFAddOnPlugin topics git-svn-id: http://svn.foswiki.org/trunk/GenPDFAddOn@6473 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
- Loading branch information
GeorgeClark
authored and
GeorgeClark
committed
Feb 22, 2010
1 parent
2838be2
commit 020869c
Showing
5 changed files
with
73 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1265477638" format="1.1" version="1.2"}% | ||
%META:TOPICPARENT{name="Plugins"}% | ||
---+ GenPDFAddOn Helper plugin | ||
|
||
%SHORTDESCRIPTION% | ||
|
||
%STARTINCLUDE% | ||
This version of the GenPDFAddOn ships with a simple GenPDFAddOnPlugin helper | ||
plugin. It will render the %<nop>GENPDF% macro as a clickable link to the PDF version of the topic. | ||
%IF{ "'%BASETOPIC%' = 'GenPDFAddOnPlugin'" then="See GenPDFAddOn for details on generating a PDF from a topic or topic hierarchy"}% | ||
|
||
*Write* %<nop>GENPDF% | ||
* *Simulated:* %SCRIPTURL{"genpdf"}%/System/GenPDFAddOn | ||
* *If Installed:* %GENPDF% | ||
|
||
*Write* %<nop>GENPDF{"System.WebHome"}% | ||
* *Simulated:* %SCRIPTURL{"genpdf"}%/System/WebHome | ||
* *If Installed:* %GENPDF{"System.WebHome"}% | ||
|
||
*Write* %<nop>GENPDF{"System.WebHome" link="WebHome"}% | ||
* *Simulated*: [[%SCRIPTURL{"genpdf"}%/System/WebHome][WebHome]] | ||
* *If Installed*: %GENPDF{"System.WebHome" link="WebHome"}% | ||
%STOPINCLUDE% | ||
|
||
---++ Plugin Preferences | ||
|
||
There are no settings or preferences for this plugin. | ||
|
||
<!-- | ||
One line description, required for extensions repository catalog. | ||
* Set SHORTDESCRIPTION = %$SHORTDESCRIPTION% | ||
--> | ||
|
||
---++ Installation | ||
|
||
This plugin is installed as part of GenPDFAddOn. Enable the GenPDFAddOnPlugin | ||
in the =bin/configure= interface | ||
|
||
---++ Plugin Info | ||
|
||
| Author: | Foswiki:Main.GeorgeClark | | ||
| Copyright: | © 2009, Foswiki Contributors | | ||
| License: | GPL ([[http://www.gnu.org/copyleft/gpl.html][GNU General Public License]]) | | ||
| Release: | %$RELEASE% | | ||
| Version: | %$VERSION% | | ||
| Change History: | <!-- versions below in reverse order --> | | ||
| 21 Feb 2010 (1.0) | Initial release. See GenPDFAddOn for further details | | ||
| Home: | http://foswiki.org/Extensions/GenPDFAddOn | | ||
| Support: | http://foswiki.org/Support/GenPDFAddOn | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1231502400" format="1.1" version="1"}% | ||
%META:TOPICPARENT{name="Macros"}% | ||
#VarGENPDF | ||
---+++ GENPDF -- Insert a link that generated a PDF for the current or identified topic | ||
* Syntax: =%<nop>GENPDF%= | ||
* Expands to: =%GENPDF%= | ||
* Example: To link to an alternate topic, write %<nop>GENPDF{"AnotherTopic"}% or write %<nop>GENPDF{"AnotherTopic" link="pdf version"}% to override the link text. | ||
* Related: Installed as part of GenPDFAddOn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters