From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "gebser@mousecar.com" Newsgroups: gmane.emacs.help Subject: Re: editing a PDF [Re: emacs 30.5.0 editing epub] Date: Tue, 21 Mar 2023 17:57:06 -0400 Message-ID: <31dffcc9-bda2-b340-a09c-fe3d3a1b3a40@mousecar.com> 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> <77a3b68b-a9f1-f8e7-176c-d929c85eb472@uni-koeln.de> Reply-To: gebser@mousecar.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33147"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 21 22:57:51 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 1pejzL-0008WQ-Ei for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 21 Mar 2023 22:57:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pejyi-0001UI-Bc; Tue, 21 Mar 2023 17:57:12 -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 1pejyg-0001Tv-Q9 for help-gnu-emacs@gnu.org; Tue, 21 Mar 2023 17:57:10 -0400 Original-Received: from mout.perfora.net ([74.208.4.196]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pejyf-0000Nr-C6 for help-gnu-emacs@gnu.org; Tue, 21 Mar 2023 17:57:10 -0400 Original-Received: from [192.168.124.9] ([76.73.230.143]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0Ltpw3-1qftCx48iz-011Cgx for ; Tue, 21 Mar 2023 22:57:07 +0100 Content-Language: en-US In-Reply-To: <77a3b68b-a9f1-f8e7-176c-d929c85eb472@uni-koeln.de> X-Provags-ID: V03:K1:vBMNEYdvRIOY8BvkresoOdvCiO3YEG/T30ufTGsjEgHLI+yvqOA 8wV2wibJpxF/D5sVhS26zCDZ7iBXvb3LpwlWt2Fz+6BTKfB4NU5zyHX/5a8WBIKhgHsf++k cJEiAKw1XeFEKnOnQ4xPNy1AxdZ0xHbefbhYnOhTHsEe3Zy1Wab663ZqYUuaNXLbFrW8C9m /kmyqeiB8V7obl+Y/b98w== UI-OutboundReport: notjunk:1;M01:P0:mig58SsQhig=;LiqlS6jutwDLA6MrETIv0kUhkT5 YyMc2pq4TLOwg0LGX72XrEhgEiZ4TgTWqLZUKGvgqV37TfyEv8G4eC1Jn2MscKYkwsvPCslSR SN3A8mOhv/CnvZYX9j7pQ9SL4LLXGBmWiv1dXB02goE78foRbBU5zDrP+U3fDcUJkQtKkgdeL SSA5YAN9g03CerrS7jWMODazE34fLg28FUMktWyku/wSdcf2zBS+0hfm0fUA3j/BMKZxfxMuS /TVDYSCbN6imPXlaSwqwVL2E5fzrAZJoRpOaYzdWHBcMU/4jpk8H7c1Ux/V68CGZTCPLkDT9k WyVle0z48Ifbr2U9KI9aOvQ6lcbkwvgcAPiWXx998y3lZn81M0H+dmBlij2s35aGwkJGJKC17 rqpcnBWTA0RA7x6zRNSTn1Sx9GCBsnKmh3dp+QG6TOxjLhv3/eHWUVQTjRl1d1ko0tf8M1QXY vLDlxwo4jkySDXD9Q4ZHcYNkzEiFIGLgrPrL5sWlcYpBrWkA2HR/KMrmIcdBOol3JRsDfwvz7 U3046jw0EMFskvVutafMK3tcvZFYemcWVnFB68rtxpXHJR5L4jYitiFOdxyiJ7XaKWwHuHtQb 5R7ADpgYNfyEH+tcOxwhipkUoBLbLhNGNW8/C18Zm4ZVmVYgZZukRLEiY4o0OiwsLGgMAGxiV Xf03M9cSUDEqIMCMKtK9J3twEIljYhVDTiDrLF6aHg== Received-SPF: none client-ip=74.208.4.196; envelope-from=gebser@mousecar.com; helo=mout.perfora.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_NONE=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:143077 Archived-At: On 3/21/23 7:51 AM, Ulrich Deiters wrote: > You can try to convert PDF to PostScript, e.g., with pdf2ps, pdftops, … > PostScript is human-readable and can be edited with emacs. > > Depending how the PDF code was created, however, the PostScript code > may be difficult to interpret, or even contain blocks of binary code. > Unless you recognize some strings like > >     … (some text) show … > > which can eventually be modified, it is risky to make changes. As Yuri > stated, PDF (or PostScript) code is meant to be executed. Changes might > result in a buggy code, and then the interpreter or the printer will balk. > > Ugghhh. You and Yuri have made me dislike PDFs even more than before. Yet still those executable(s) could be reverse-engineered. Better than that, what FOSS app(s) would be happy replacement for the Acrobat-Industrial Complex?