From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: editing a PDF [Re: emacs 30.5.0 editing epub] Date: Wed, 22 Mar 2023 23:32:26 +0700 Message-ID: References: <877cvhqo9p.fsf@web.de> <4a7a0baf-677b-118c-fa6c-e50d054800e7@posteo.de> <87o7osp4ck.fsf@web.de> <704a63ef-c56d-f892-1e3f-9ee0f884b038@mousecar.com> <87y1nsmgwz.fsf@web.de> <0e6c9b8a-b70f-d244-c031-68c0c58dca86@mousecar.com> <87v8iur4lp.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5103"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 22 17:33:15 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pf1Ol-00010a-J9 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 22 Mar 2023 17:33:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pf1OF-0007Ey-3m; Wed, 22 Mar 2023 12:32:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pf1OD-0007Ep-E8 for help-gnu-emacs@gnu.org; Wed, 22 Mar 2023 12:32:41 -0400 Original-Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pf1OB-0003y4-OH for help-gnu-emacs@gnu.org; Wed, 22 Mar 2023 12:32:40 -0400 Original-Received: by mail-wr1-x430.google.com with SMTP id m2so17735965wrh.6 for ; Wed, 22 Mar 2023 09:32:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679502757; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=AL17ybokjfv0tnQ68mRXe0rhSqu9OkSuOtCA5PCbJFs=; b=po5gz3E6L3BqjS0KZ7dU64dYM8sgw0mr3nz0TB4vlkBP6ePNL3Pj+2rt4IUN49nuGB 8fmKyVW9Zj0A9nPUR0umuHACq71Al8S06YYlVcxB17r5tbmWmwkbQ/zwaz1wNOglrdQ3 QrLh1uGwm7qtLPWkG0wVAr3nLFLyTjYMG7s5YBANU9zg6/eSFnl7I2UYXe7bYj7pdXov +GJJfadkvlwdyN00ir3sdwz/8Ttbsi2T6gbgmubQBn2Y6f3CC49LjmbGarzvJeHrMhyz +8i/EnmGwNYM2DXu1hKBZM2SPsS3E/DF7vSkrzkGDI3WYqUX5FYLgmVi45l5ZCYOOpQ1 3EqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679502757; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AL17ybokjfv0tnQ68mRXe0rhSqu9OkSuOtCA5PCbJFs=; b=ZzUhmWTek3Ya7kjxaXIok7PJlA5wdwVSz2gEM+dT4msx6xI//+xEBXs2qSAE12rPwA yzGcCaPKR2e9P/0NSIfR7NSt+WbxdXKx4BMKy3JKoq/CjdKcvrO5qhNVZFveFJA+UX7z EJerjYpthdJgBhUrkrah8bztaiQ/23d5rvSWxPmA7x//056lIcTEaM5OliJ6B/Y5OTM0 OPlY9PfJe0sLcnoTAiLeZG7/oEx4DCIRu+ofl6tGzzf8r/w8VycyaDkJ9/XXr5ZGrFbN afBEQmg4y83mMYdTELCM2MUrBl3u88PlUEgW+VSZzVusPkKvMFnC03gUTbxThrwamJq5 qF1Q== X-Gm-Message-State: AAQBX9cICrYrmSj4u5EZxHT8gFqSjLwtxCTPQt4qdBqOcH1XVV429qBs r/xhC9Wll5teDeCTZEbhr7v9WKAJGmllaNcQ7XeE/pcToDT4ng== X-Google-Smtp-Source: AKy350bl/CBF8JBB5mjW67h2OTvCmp8RUnY/qIYgXKx0PbrHageUfT095Rstyr6cVyxxVgYZGVNqsXE9pmvHCWcmtQw= X-Received: by 2002:a5d:498a:0:b0:2d1:7ade:ab8 with SMTP id r10-20020a5d498a000000b002d17ade0ab8mr94199wrq.11.1679502757442; Wed, 22 Mar 2023 09:32:37 -0700 (PDT) In-Reply-To: <87v8iur4lp.fsf@dataswamp.org> Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=yurivkhan@gmail.com; helo=mail-wr1-x430.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143086 Archived-At: On Wed, 22 Mar 2023 at 22:46, Emanuel Berg wrote: > > You don=E2=80=99t normally edit executable programs, you compile > > them from source. In the same vein, to get a modified PDF, > > you find the source document from which it was produced, > > modify that, and re-export. > > Still, they are editable at/from the PDF level as well, for > example with xournal. That=E2=80=99s not really editing. You can scrawl over the existing text, y= ou can carefully overpaint existing text with your own, but you cannot replace one word with a different word and hope the rest of the text is repositioned to accommodate the change. (To stretch the executable program analogy, you can append new instructions to an existing program. They will be executed and may, in limited cases, have your desired effect.) Xournal doesn=E2=80=99t even claim it supports editing =E2=80=94 the menu i= tem is called Annotate PDF. Commercial, proprietary Acrobat (not the Reader variety, the full suite) can, in limited ways, modify individual runs of text. But if you overflow a line, it won=E2=80=99t do anything to help you, you just get= an overfull line. > This is used for signing documents, > for example. I=E2=80=99d be very wary of putting my handwritten signature as an annotati= on in a PDF document and giving that to another person. For all I know, it would enable them to extract the annotation containing my signature and apply it to a different document.