From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#73638: 31.0.50; doc-view: imenu index cannot be made for LaTeX PDFs Date: Sun, 06 Oct 2024 12:09:01 +0530 Message-ID: References: <87ploebyhc.fsf@gmail.com> <87ed4upbmf.fsf@gnu.org> <86plodvlcm.fsf@gnu.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="21566"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android Cc: 73638@debbugs.gnu.org To: Eli Zaretskii , Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 06 18:03:20 2024 Return-path: Envelope-to: geb-bug-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 1sxTj5-0005Tz-L1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Oct 2024 18:03:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxTik-00012R-QA; Sun, 06 Oct 2024 12:02:58 -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 1sxTii-000123-Qy for bug-gnu-emacs@gnu.org; Sun, 06 Oct 2024 12:02:56 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sxTii-0003jM-I3 for bug-gnu-emacs@gnu.org; Sun, 06 Oct 2024 12:02:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=oabdbaX8iA8SwsSAEz8wQj6RAoiKBYjHGWoH8CgRzs8=; b=avbKpdKz7Kcw0Sf18x35hmrtFnnFWbXBcMkqNBJVlh3Udr+DVbA/4wqJq7W3v2JyYJZ9c+8lSiS5de3X/ENelMc6LJSmlrjrYjntJfqvd53hHBH+LEW1lYVl8YklxiE/LG8bXtGR8ie2jHDG9DRIpwTMRZr1rQdwg5t80PcT8tn64Tu0Z0bHWAR1VXQC4lgxTlvVReFBZ0kkba/fp0PzK1Medhgc9NZomY1gH7xZb2KoF78Vsuf1BWkpSfUaRr6QX1mjMaPrsjqnkAMZhTpt3LXLblQoXGJGklkszGavnL0hHqh2+bxvB0Q10GeywLsJPRVGGKWOc9sC6tynEQflbQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxTio-0001Mz-IG for bug-gnu-emacs@gnu.org; Sun, 06 Oct 2024 12:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Oct 2024 16:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73638 X-GNU-PR-Package: emacs Original-Received: via spool by 73638-submit@debbugs.gnu.org id=B73638.17282305315179 (code B ref 73638); Sun, 06 Oct 2024 16:03:02 +0000 Original-Received: (at 73638) by debbugs.gnu.org; 6 Oct 2024 16:02:11 +0000 Original-Received: from localhost ([127.0.0.1]:42026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxThy-0001LS-Tr for submit@debbugs.gnu.org; Sun, 06 Oct 2024 12:02:11 -0400 Original-Received: from mail-pl1-f195.google.com ([209.85.214.195]:44526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxThw-0001LI-Fc for 73638@debbugs.gnu.org; Sun, 06 Oct 2024 12:02:09 -0400 Original-Received: by mail-pl1-f195.google.com with SMTP id d9443c01a7336-20b64584fd4so34524295ad.1 for <73638@debbugs.gnu.org>; Sun, 06 Oct 2024 09:02:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728230461; x=1728835261; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=oabdbaX8iA8SwsSAEz8wQj6RAoiKBYjHGWoH8CgRzs8=; b=KKdyL5S8KMP2Lzwikn6P8iEFbrvIIbwMbDaf+ZXFlKF7u/+DCBRytg6DUyMwqWbdGo d93+LgCyuKnxTGmC/DgPLcDihQKr/iGveY2cn75E3bZVjFszot0AioZuOg0dYO4fbhDI roo2muK9Ru3CPaVSUftg0VTX0xpN/R9E/dgvbY+5oGfUyjyLeVmUyWj8Iso6CchqHXoV Rcfx8eAWQIG1u5PaNEaUlg3UPCrgKiEgDOkLqAj2YtPYXkyEbKIyKEDknWXbnUNtnXAg 5Qh4bWhJ+ziFbMfoiHdrWBRirOvwDfTiYh2FI5mlCUSM+yTPjYQrYPH8UxNLvU2sUe50 vx9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728230461; x=1728835261; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=oabdbaX8iA8SwsSAEz8wQj6RAoiKBYjHGWoH8CgRzs8=; b=HwJIdmbgBxZpM8frYxWZ7dJ3GWxNj6m4hVSlj5jI443M0sQrUtpbICAW/TJD9eQYWR LMAOIUkR7F+D734F69SMWi79OVys/aSiqPECRhttgk+YANiaOZIm3dxicrgMTX89VrAo AGUX/olc9MjJfr3ePAYCWhGsep1S5YisnXvS9JUMw6SZ31zz3T6nU5PE9IHjN5lJE8Tt C5aV/YI6VUq88dR9JYFIfCsd9HuiDJA7z6vB7QChNL1tl/yT52+J51hLsy8GO3+KW4jH ygMx+7Q6WZwuWkXcJPqzCcepM33eQHh/0iOUsOgC55T8P5oljv7Hm5i3Ibtl7xIGLL6b xJcA== X-Gm-Message-State: AOJu0YyYa0pnUe1xZM4aHHzBNu09KcQ9o6zDVEWDLPcyGYZSfOwSqO0V spzrJGYgQ3nyP/jxZr9NIiioKdNKRIs4MaG+Mi7q1MS73V5Beghw X-Google-Smtp-Source: AGHT+IGN/GogZ2sJcKv9UWh20qCXgwm3p81OwUF7xrcAbDh64L/6BuJtNaTHI3i89+70BBt2UYEYsQ== X-Received: by 2002:a17:903:32c2:b0:20b:8d5f:a918 with SMTP id d9443c01a7336-20bff225f4bmr142578465ad.57.1728230461001; Sun, 06 Oct 2024 09:01:01 -0700 (PDT) Original-Received: from ?IPv6:::1? ([2401:4900:3620:7604:742c:92ff:fe40:df23]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20c13968ba3sm26316595ad.191.2024.10.06.09.00.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 06 Oct 2024 09:01:00 -0700 (PDT) In-Reply-To: <86plodvlcm.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:293090 Archived-At: Just realised what you meant by the former: no there's no equivalent of "sh= -c"=2E You need to give the interpreter a script=2E On 6 October 2024 11:12:01 GMT+05:30, Eli Zaretskii wrote= : >> From: Tassilo Horn >> Cc: 73638@debbugs=2Egnu=2Eorg, Eli Zaretskii >> Date: Sat, 05 Oct 2024 21:56:24 +0200 >>=20 >> Eli, the executive summary is this=2E We already can read a PDFs outli= ne >> mutool and use that for quick access to chapters and sections through >> imenu=2E However, it turned out that it depends on the PDF at hand if = the >> outline is usable for our purpose where "usable" means we get page >> references=2E And it seems that many PDFs (e=2Eg=2E, those produced by= LaTeX) >> have no page references but named references which won't do the trick >> for doc-view=2E >>=20 >> Visuwesh figured out that one can run a JS script using "mutool run >>