From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: tpeplt Newsgroups: gmane.emacs.help Subject: Re: pdf-tools Date: Fri, 04 Aug 2023 12:35:25 -0400 Message-ID: <87tttercj6.fsf@gmail.com> References: 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="29624"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: aalinovi@riseup.net Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 04 18:36:03 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 1qRxmT-0007Uh-NC for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 04 Aug 2023 18:36:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qRxm0-0004Kb-Sg; Fri, 04 Aug 2023 12:35: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 1qRxlz-0004Jk-A0 for help-gnu-emacs@gnu.org; Fri, 04 Aug 2023 12:35:31 -0400 Original-Received: from mail-qv1-xf2a.google.com ([2607:f8b0:4864:20::f2a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qRxlx-0006gK-Lo for help-gnu-emacs@gnu.org; Fri, 04 Aug 2023 12:35:31 -0400 Original-Received: by mail-qv1-xf2a.google.com with SMTP id 6a1803df08f44-63cf69f3c22so14521836d6.3 for ; Fri, 04 Aug 2023 09:35:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691166928; x=1691771728; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=QswtrkfcCV+c9/KtMnYxq7KxlHcY2OzRwgVCuITAA54=; b=X/OR2etegGdbwtgwXg8EnFW8J+0J7JrIbaADwMzlZg85QF1qrhPJX3r4Ut+0WkSdAI cuobW6uK455uE5jN0gJfLwgUfVY6MQ6lhHme6DBRTrMLS+fBphE62r1JTx8dOjBwHVqz fzDXGjos4YL5190X6X3wQEbxvdXCnsiKWaMP2DZnQt1rh2bfmibCS8eYNnvy1mrVtDv3 xJbw48QgFWbTeFW2o5DGgkv2ZBtB/tD8RbgauuSBPMy2fBqxJBqFxvAa9RIzE0WfzPv5 OXAL3BZKGNBMGbra2pLhouLRHw+2EFSHWy3ufhVZnl1wXYRTgmNT9Ve6SRxeiG4PhIRy iG1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691166928; x=1691771728; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=QswtrkfcCV+c9/KtMnYxq7KxlHcY2OzRwgVCuITAA54=; b=RfEY0sqhrUOQMcSBCOfzOw8Y6JQ/GBPQ1CLTVpCRR4ucX67F6kUBIsc70BcJF5jAAy QKbcxwjp9kbbEoxb6k6hgFM3RoEMEbmiMCe/n9qyeoR6GZ+tIIXasB7MlTmnOEqN/ufd HPZmOZGzoYCZe1v68kz7WJ664lLkj00S9y+HKJOu0Z8x40BeKCY7LPMVYmevO5AZYHSn tXOQfGf2s/TcSDSYeZ+4mp7HwGx2yHgXgpMfjxBqXzgyUdNf2YITO1Bpa9Eh1wsm7GCa iXGuOo2AtefWVZvrMq9vSAPgR7mKWjfb8qEiK2Foa/GDMCWmwP12lVWeHCvggDiDDNxl Y06g== X-Gm-Message-State: AOJu0Yw8lztO9VYaYl0hJaF7ZS2NBDJFp9httQ8qetyXkSHCbSKpV/nM JJjZMzPwPJkzcmuqqzF40bQ= X-Google-Smtp-Source: AGHT+IF8UNXcBXZaqsDId4+6GQeQPhrhpk5HSybFhWp0eGuG3VFta+u+dKdnB7+SgvTsK2oeNWdjmA== X-Received: by 2002:a0c:ea4f:0:b0:63d:1573:c292 with SMTP id u15-20020a0cea4f000000b0063d1573c292mr2123182qvp.65.1691166928425; Fri, 04 Aug 2023 09:35:28 -0700 (PDT) Original-Received: from t530.local ([2600:8806:a821:2b00::7fbe]) by smtp.gmail.com with ESMTPSA id c17-20020a0cf2d1000000b0063d03e59e07sm775078qvm.130.2023.08.04.09.35.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Aug 2023 09:35:27 -0700 (PDT) In-Reply-To: (aalinovi@riseup.net's message of "Fri, 04 Aug 2023 11:35:39 -0400") Received-SPF: pass client-ip=2607:f8b0:4864:20::f2a; envelope-from=tpeplt@gmail.com; helo=mail-qv1-xf2a.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:144588 Archived-At: aalinovi@riseup.net writes: > Running OpenBSD-current and upgraded to emacs-29.1. Still having > problems trying to get pdf-tools to work. Apparently, it can't find > aclocal which is in /usr/local/bin as aclocal-1.16. > > I'm no programmer and what I know about emacs wouldn't fill a 3x5 > index card so any help would be appreciated. > > Thanks 1. You might find Emacs built-in pdf viewer (the =E2=80=98doc-view=E2=80=99= package) sufficient for your needs. It is integrated into C-x C-f (the =E2=80=98find-file=E2=80=99 command) so you can simply "open" the pdf fi= le as you would any other (supported) file type. Once you have the file loaded into a DocView buffer, you will want to know how to use the doc-view mode. Type =E2=80=98?=E2=80=99 or C-h m to get a description of the mod= e, including the mode-specific keybindings. =E2=80=98n=E2=80=99 moves to the next page i= n the document and =E2=80=98p=E2=80=99 moves to the previous page. Or, the sp= ace bar moves to the next page and the backspace key moves to the previous page. Document Viewing is also a chapter in the Emacs Manual. You can view it by typing the following: M-: (info "(emacs) Document View") 2. The package =E2=80=98pdf-tools=E2=80=99 that is listed in the Melpa repo= sitory is marked as =E2=80=98incompatible=E2=80=99 for Emacs. The rest of this me= ssage is a copy of the description provided via the *Packages* listing (via =E2=80=98list-packages=E2=80=99 command): Package pdf-tools is incompatible. Status: Incompatible because it depends on uninstallable packages. Archive: melpa-stable Version: 1.1.0 Commit: a9c9a12c3ecf2005fa641059368ac8284f507620 Summary: Support library for PDF documents Requires: emacs-26.3, tablist-1.0 (not available), let-alist-1.0.4 Website: https://github.com/vedang/pdf-tools/ Keywords: files multimedia=20 Maintainer: Vedang Manerikar Author: Andreas Politz PDF Tools is, among other things, a replacement of DocView for PDF files. The key difference is, that pages are not prerendered by e.g. ghostscript and stored in the file-system, but rather created on-demand and stored in memory. Note: This package is built and tested on GNU/Linux systems. It works on macOS and Windows, but is officially supported only on GNU/Linux systems. This package will not make macOS or Windows specific functionality changes, behaviour on these systems is provided as-is. Note: If you ever update it, you need to restart Emacs afterwards. To activate the package put (pdf-tools-install) somewhere in your .emacs.el . M-x pdf-tools-help RET gives some help on using the package and M-x pdf-tools-customize RET offers some customization options. Features: * View View PDF documents in a buffer with DocView-like bindings. * Isearch Interactively search PDF documents like any other buffer. (Though there is currently no regexp support.) * Follow links Click on highlighted links, moving to some part of a different page, some external file, a website or any other URI. Links may also be followed by keyboard commands. * Annotations Display and list text and markup annotations (like underline), edit their contents and attributes (e.g. color), move them around, delete them or create new ones and then save the modifications back to the PDF file. * Attachments Save files attached to the PDF-file or list them in a Dired buffer. * Outline Use imenu or a special buffer to examine and navigate the PDF's outline. * SyncTeX Jump from a position on a page directly to the TeX source and vice-versa. * Misc + Display PDF's metadata. + Mark a region and kill the text from the PDF. + Search for occurrences of a string. + Keep track of visited pages via a history.