From 6bb39561d4571fb85aac56a686b837a9f3c910cd Mon Sep 17 00:00:00 2001 From: Marius Date: Thu, 21 Mar 2013 15:00:17 +0200 Subject: beta 2013.03.21 13:42 --- scripts/context/lua/mtx-pdf.lua | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'scripts/context/lua/mtx-pdf.lua') diff --git a/scripts/context/lua/mtx-pdf.lua b/scripts/context/lua/mtx-pdf.lua index f37ee006a..3e4130344 100644 --- a/scripts/context/lua/mtx-pdf.lua +++ b/scripts/context/lua/mtx-pdf.lua @@ -13,9 +13,23 @@ local concat = table.concat local setmetatableindex, sortedhash, sortedkeys = table.setmetatableindex, table.sortedhash, table.sortedkeys local helpinfo = [[ ---info show some info about the given file ---metadata show metadata xml blob ---fonts show used fonts (--detail) + + + + mtx-pdf + ConTeXt PDF Helpers + 0.10 + + + + + show some info about the given file + show metadata xml blob + show used fonts ( + + + + ]] local application = logs.application { @@ -213,6 +227,8 @@ elseif environment.argument("metadata") then scripts.pdf.metadata(filename) elseif environment.argument("fonts") then scripts.pdf.fonts(filename) +elseif environment.argument("exporthelp") then + application.export(environment.argument("exporthelp"),environment.files[1]) else application.help() end -- cgit v1.2.3