From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52731 Path: news.gmane.org!not-for-mail From: Piotr Kopszak Newsgroups: gmane.comp.tex.context Subject: Re: [OT] Edit PDF manually Date: Mon, 7 Sep 2009 23:08:27 +0200 Message-ID: References: <387332A8-3062-4CF3-A318-F2E327345BD1@mpq.mpg.de> <52DF152A-3938-4965-901F-5AB0F01B4CB9@mpq.mpg.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1252357762 25627 80.91.229.12 (7 Sep 2009 21:09:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Sep 2009 21:09:22 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 07 23:09:16 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1MklSc-0004fi-Ee for gctc-ntg-context-518@m.gmane.org; Mon, 07 Sep 2009 23:09:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6DB0CC9AC7; Mon, 7 Sep 2009 23:09:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Bj+5Qpi6o20n; Mon, 7 Sep 2009 23:09:07 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5BC51C9AD9; Mon, 7 Sep 2009 23:08:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7807AC9AB7 for ; Mon, 7 Sep 2009 23:08:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HVDh+caNW4Tw for ; Mon, 7 Sep 2009 23:08:29 +0200 (CEST) Original-Received: from mail-ew0-f223.google.com (mail-ew0-f223.google.com [209.85.219.223]) by balder.ntg.nl (Postfix) with ESMTP id 43197C9A9C for ; Mon, 7 Sep 2009 23:08:29 +0200 (CEST) Original-Received: by mail-ew0-f223.google.com with SMTP id 23so2575054ewy.8 for ; Mon, 07 Sep 2009 14:08:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=gkZajst3sxA1Jy0S0LToO/rJhYvFGUFEZCHApML5pUc=; b=ZvoYHXYZBgihsTdiMkpx7Vw4cms+O25KfEPnfxB94NAiwaC6dHhW9yG1TZkz4dxUxR jwae5ggUIJirU3DafZdlYyMB5RxjnD97K4kVsrWxLDryC4v5tzTc42n9Q05n+km34dqh lfNa+QudUY/IBzL/KA6er3DlNvK952DUkNzFk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=N25bENEW+Ju/XkWAPrstyT9BF4WeNJHvqhD4ztNv8mPhr1sMbAPlSFCdMh2Sb40Io0 cVhtsUXq3Obn4vKgkZO2fcvuBoS3sPOZ0vjlmqCFfjD0Jpha8dmP7+1vXmRDcZtTs5TE owJ7AeoYbgrPhi6LhLxjz9oplAkNXkqtEcQjM= Original-Received: by 10.211.184.18 with SMTP id l18mr16666242ebp.30.1252357707507; Mon, 07 Sep 2009 14:08:27 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:52731 Archived-At: Don't forget about pdftk vim plugin, otherwise you'll have to count byte offsets on your fingers, or even better use qdf form with qpdf. Maybe I'll publish a short tutorial on writing pdf by hand that I started to write couple of months ago. AFAIK there isn't any (Please, tell me I'm wrong). Piotr 2009/9/7 luigi scarso : > I'm sure that hartmut has done a presentation sometimes ago f, could be > http://www.matexhu.org/eurotex2006/lectures/pdftex/hartmut-talk.pdf > >> >>> pypdf is a python module at lowlevel. >>> http://pybrary.net/pyPdf/ >> >> This looks very interesting! >> >> >>> As exercise, you can try to minimic pdffonts in python with pypdf >>> (pdfs with ttf,otf,type1 etc ) >> >> I'm afraid, I don't understand :-( >> > Under linux, xpdf comes with pdffonts, a cmd line tools that extracts fon= ts > information from a pdf. > You can try to mimic it with pyPdf, so your knowledge=A0 can augment . > > > -- > luigi > > > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage =A0: http://www.pragma-ade.nl / http://tex.aanhet.net > archive =A0: https://foundry.supelec.fr/projects/contextrev/ > wiki =A0 =A0 : http://contextgarden.net > _________________________________________________________________________= __________ > > -- = http://okle.pl ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________