<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d14885628\x26blogName\x3dJags+Journal\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://jagsmn.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://jagsmn.blogspot.com/\x26vt\x3d4278289390401265278', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe", messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { 'blogger-ping': function() {} } }); } }); </script>

Edit PDF Code as Clear Text using a Vim Plug-In

Wednesday, August 10, 2005

Happy to find a nice tool at 'AccessPDF-Forum' to edit pdf files using VIM. Using this, VIM users can install a plug-in (pdftk) for easily editing PDF code. When PDF file is opened in Vim, the plug-in calls pdftk to uncompress the page streams, so they are editable. When PDF file is saved, the plug-in uses pdftk to repair and re-compress the PDF.

How?

Download pdftk.vim.zip, unpack, and then move pdftk.vim into your Vim plug-ins directory ( e.g., C:\vim\vim63\plugin). Restart Vim to source the new plug-in.

What is  pdftk?

From AccessPDF

If PDF is electronic paper, then pdftk is an electronic staple-remover, hole-punch, binder, secret-decoder-ring, and X-Ray-glasses. Pdftk is a command-line tool for doing everyday things with PDF documents. Keep one in the top drawer of your desktop and use it to:

Pdftk allows you to manipulate PDF easily and freely. It does not require Acrobat, and it runs on Windows, Linux, Mac OS X, FreeBSD and Solaris.

Pdftk is free software (GPL).



Comments: Post a Comment

<< Home

Green DIY Energy

This page is powered by Blogger. Isn't yours?