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
# wrapper for wkhtmltopdf and pdftk to update links with actual page numbers | |
# TOC entries get leader dots and page number . . . NN | |
# internal links (#id) get [page NN] | |
# written by Phil M Perry | |
# (c) copyright 2015, Phil M Perry | |
# license: GNU Lesser General Public License (LGPL) v3 | |
# | |
use warnings; | |
# it's a quick & dirty job that doesn't have many safeguards. use at your own | |
# risk. anyone is welcome to improve upon it! |