WikiToPdf combines the functionality of CombineWikiPlugin and

PageToPdfPlugin on only one plugin and allows one to setup a template
file used to generate the PDF file with a cover and a licence page, for
example.

At the end of each wiki page there is a link named WikiToPdf and
works like athomas PageToPdfPlugin plugin but takes into account the
parameters on trac.ini (see below) and passes them to htmldoc.

Alternatively, it's possible to select one or more wiki pages and
generate one single PDF file just like coderanger work with a cover and
a licence from a template file. This feature also takes into account the
parameters on trac.ini.

WWW: http://trac-hacks.org/wiki/TracWikiToPdfPlugin
This commit is contained in:
Brooks Davis 2009-01-09 23:57:07 +00:00
parent 325ae801ed
commit 23fcf54562
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225625
4 changed files with 54 additions and 0 deletions

View file

@ -1444,6 +1444,7 @@
SUBDIR += trac-wikinotification
SUBDIR += trac-wikirename
SUBDIR += trac-wikitemplates
SUBDIR += trac-wikitopdf
SUBDIR += trac-wysiwyg
SUBDIR += trac-xmlrpc
SUBDIR += transmission-web

View file

@ -0,0 +1,35 @@
# New ports collection makefile for: trac-wikitopdf
# Date created: January 9, 2009
# Whom: Brooks Davis <brooks@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:L}
PORTVERSION= 2.2.2
CATEGORIES= www devel python
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
PKGNAMEPREFIX= trac-
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
MAINTAINER= brooks@freebsd.org
COMMENT= Plugin to generate PDF documents from the Wiki
RUN_DEPENDS+= htmldoc:${PORTSDIR}/textproc/htmldoc \
tracd:${PORTSDIR}/www/trac
BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
USE_PYTHON= 2.3+
NO_BUILD= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= TracWikiToPdfPlugin
WRKSRC= ${WRKDIR}/${PORTNAME}plugin
PYDISTUTILS_NOEGGINFO= yes
PLIST_FILES= %%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
do-build:
@${DO_NADA}
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (wikitopdfplugin-2.2.2.tar.gz) = 0f1acb3b9150d4412f5e7187b655856b
SHA256 (wikitopdfplugin-2.2.2.tar.gz) = fdc9ad5a928ba6850f946ada50129c28267a7f3974389422514397c58a3c9f7b
SIZE (wikitopdfplugin-2.2.2.tar.gz) = 1819454

View file

@ -0,0 +1,15 @@
WikiToPdf combines the functionality of CombineWikiPlugin and
PageToPdfPlugin on only one plugin and allows one to setup a template
file used to generate the PDF file with a cover and a licence page, for
example.
At the end of each wiki page there is a link named WikiToPdf and
works like athomas PageToPdfPlugin plugin but takes into account the
parameters on trac.ini (see below) and passes them to htmldoc.
Alternatively, it's possible to select one or more wiki pages and
generate one single PDF file just like coderanger work with a cover and
a licence from a template file. This feature also takes into account the
parameters on trac.ini.
WWW: http://trac-hacks.org/wiki/TracWikiToPdfPlugin