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: Mon, 20 Mar 2023 03:15:25 -0400 Message-ID: <0e6c9b8a-b70f-d244-c031-68c0c58dca86@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> Reply-To: gebser@mousecar.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32818"; 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 Mon Mar 20 08:16:16 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 1pe9kc-0008Mt-QO for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 20 Mar 2023 08:16:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pe9jw-0004kp-GS; Mon, 20 Mar 2023 03:15:32 -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 1pe9ju-0004kZ-EM for help-gnu-emacs@gnu.org; Mon, 20 Mar 2023 03:15:30 -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 1pe9js-0001Wu-N3 for help-gnu-emacs@gnu.org; Mon, 20 Mar 2023 03:15:30 -0400 Original-Received: from [192.168.124.9] ([76.73.230.143]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0LvDRk-1qeXts1z86-010PBZ for ; Mon, 20 Mar 2023 08:15:26 +0100 Content-Language: en-US In-Reply-To: <87y1nsmgwz.fsf@web.de> X-Provags-ID: V03:K1:5K1II4NN8+bng9eR46uQi+2UykVIE8kZwEe9gK7BRToVSkL58VO eghNEa+orWnu2zG8liF/zdPsGEEc/f3Bgi8j5vIFujXk18l+TUA70b4KLclzIETYMiDF/5w 5RScOuFT7KWnvw2vTXMIGrofnqF2EBU/DURC5ftEooXZ4qpdbb0eisGD1t7qUgcvCvc+F8t fYFP+aQDfrRq/URh4P/qg== UI-OutboundReport: notjunk:1;M01:P0:tYUgqhagtT8=;r55UJaO/LQi1LXPo2yU71Pb8/y6 08jl0t/nEMZ20wBJHZzuxGKvdAp8PT/BhOovPDBfwrEcY2AajcmvvILjdsnOqhnJCqhMCibLE LgPlFJ0pkZfg21DsX4Dl8MEED/x9YxLVsmLSX8kjN8M0u56lPntp4xj5JdQxzuDM2Vp6eUlYA igEMM5swcYcbCFnMMY4kd47wGK+raIQbIuog6V9sQu3O3qIVb3S6EEaNoBDHKeZ2BKW7fbhnC 1xnJ2AodwtYboix+TbB1O5bwELkcKhpDppm5z5I4rqlLX+cloCuiGdP8gp6elktrMwShgJ0+r AOYzbd3yhRLt1KFu5Qx0wSJK9ZA56akRTZjFNCiXLs25d0ZIXV3wDy98E09GMwcHSbHXU8OGV 775GdLjYEIt05c6Xn0qOfkqQXz8ineQimtQr7due/WOmeDaEqZVT5wum2m3cJwmllnAMscpdl VGAtwkzQdP0mDFe1SyGFtNVJLE5owsSK/op1QqtIbt3o741e+J+Mu66la4zicVIcsVSQHygVo FjdrfHYoLArxLf/15l2TTHdd/COdVVJu1f7D4gVvFwbx2emjlokp5crGMZTjpbFkZO/rcN8nH jTDzHy9G6aKJGmosO0FFEa0tq1BJnNix9VW0so1cUt++kpnXFtNQXrQxfZ/kJdssAvkbiW+re +bsv/9p+fL8PKNE+sK/CsGxrM+xihf61l+2xpYsLDQ== 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:143070 Archived-At: On 3/19/23 7:59 PM, Michael Heerdegen wrote: > "gebser@mousecar.com" writes: > >> How does one edit a PDF file in emacs? When I downloaded >> https://www.gnu.org.ua/software/direvent/manual/direvent.pdf, loaded >> it into emacs, and tried to edit it, I could see it it and read it, >> but I couldn't even highlight a part of the text so I could copy >> it... nor could I make any changes to it. > > I don't think you want to edit pdf in Emacs: the file contents are not > human readable, and Emacs doesn't provide features to allow graphical > editing like those pdf editors (at least not built in). > > epub files can contain human readable parts like html, however. > > What I had written: > >>> I managed to copy an pdf-File into an epub Archive. Opened the >>> archive and opened the pdf using doc-view. I was not able to provoke an >>> error. Saving worked successfully however I tried. > > was only happening because I was trying around how to provoke the > reported error. > > Michael. Yep, of course that was the paragraph I was reading too. It is kinda weird that, with all the many things that emacs can do, it can't take the info from doc-view (which obviously understands all the pieces of a pdf-- down to its bits-- and how they all go together to make a document) and edit it... it's pretty much implausible to believe emacs *can't* do that. But then, I've always thought reality was completely implausible. :^/