view MoinMoin/filter/application_pdf.py @ 4510:6180f7b85a45

Modernized theme: make nonexistent links gray also when the yare already visited
author Radomir Dopieralski <moindev@sheep.art.pl>
date Sat, 24 Jan 2009 21:49:44 +0100
parents 4e904da48c4c
children df7d3de0e8cb
line wrap: on
line source
# -*- coding: iso-8859-1 -*-
"""
    MoinMoin - PDF filter

    Depends on: pdftotext command from xpdf-utils package

    @copyright: 2006 MoinMoin:ThomasWaldmann
    @license: GNU GPL, see COPYING for details.
"""

from MoinMoin.filter import execfilter

def execute(indexobj, filename):
    return execfilter("pdftotext -enc UTF-8 %s -", filename)