[Dev-luatex] (no subject)

linuxss linuxss at list.ru
Thu Sep 2 16:03:06 CEST 2010


hi, Hans!
I would like to use epdf library on a current pdf file after its made.
but pdf is still not closed if I use "finish_pdffile" callback.
epdf returns more useful information, then pdf library.
 
function doc_end()
    doc = epdf.open(tex.filename .. ".pdf")
    pageref = doc:getCatalog()
    texio.write_nl("pdfcatalog=".. tostring(pageref))
end

callback.register("finish_pdffile", doc_end)

maybe there could be a callback after document output?

Linas


More information about the dev-luatex mailing list