From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.bugs Subject: bug#44504: 27.1; feature request: doc-view support for Djvu documents Date: Sat, 7 Nov 2020 09:55:04 -0600 Message-ID: <50008.47489.95516.24486@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11167"; mail-complaints-to="usenet@ciao.gmane.io" To: 44504@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 07 16:56:10 2020 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 1kbQZW-0002lY-3Q for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Nov 2020 16:56:10 +0100 Original-Received: from localhost ([::1]:34116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbQZV-0002in-4F for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Nov 2020 10:56:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbQZO-0002iN-Mx for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 10:56:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47587) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kbQZO-00016P-DZ for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 10:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kbQZO-0001Cc-Cy for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 10:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Roland Winkler" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Nov 2020 15:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44504 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16047645204568 (code B ref -1); Sat, 07 Nov 2020 15:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Nov 2020 15:55:20 +0000 Original-Received: from localhost ([127.0.0.1]:59133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbQYi-0001Bc-8f for submit@debbugs.gnu.org; Sat, 07 Nov 2020 10:55:20 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:50882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbQYg-0001BV-QK for submit@debbugs.gnu.org; Sat, 07 Nov 2020 10:55:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52462) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbQYg-0002Tk-Hp for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 10:55:18 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60277) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbQYg-0000cW-9L for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 10:55:18 -0500 Original-Received: from [2602:30a:2e52:d720:65b7:1416:12e7:8bfb] (port=48388 helo=regnitz) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1kbQYd-0007Bp-6n for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 10:55:17 -0500 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" Xref: news.gmane.io gmane.emacs.bugs:192843 Archived-At: I suggest to add a backend for Djvu documents to doc-view. (See the website http://djvu.sourceforge.net/ describing the Djvu format and hosting the DjVuLibre library.) While I am maintaining djvu.el in GNU Elpa, the purpose of this package is to edit Djvu documents. So the relation between djvu.el and doc-view is similar to the relation between ps-mode and doc-view. For users who only want to view Djvu documents, the fairly big machinery of djvu.el can be rather confusing. The command line tool ddjvu from DjVuLibre converts Djvu documents to various bitmap formats (pbm, pgm, ppm, pnm, rle, and tiff). So I believe this should be sufficient for doc-view. It is also possible to extract the text layer of Djvu documents. In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of 2020-08-31 built on regnitz Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 System Description: Ubuntu 16.04.7 LTS