GNU bug report logs -
#44504
27.1; feature request: doc-view support for Djvu documents
Previous Next
Reported by: "Roland Winkler" <winkler <at> gnu.org>
Date: Sat, 7 Nov 2020 15:56:02 UTC
Severity: wishlist
Tags: fixed
Found in version 27.1
Fixed in version 27.2
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44504 in the body.
You can then email your comments to 44504 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44504
; Package
emacs
.
(Sat, 07 Nov 2020 15:56:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Roland Winkler" <winkler <at> gnu.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 07 Nov 2020 15:56:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44504
; Package
emacs
.
(Sat, 07 Nov 2020 16:10:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 44504 <at> debbugs.gnu.org (full text, mbox):
> Date: Sat, 7 Nov 2020 09:55:04 -0600
> From: "Roland Winkler" <winkler <at> gnu.org>
>
> 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.
SGTM, thanks. Patches to this effect are welcome.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44504
; Package
emacs
.
(Sat, 07 Nov 2020 19:39:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 44504 <at> debbugs.gnu.org (full text, mbox):
* Roland Winkler <winkler <at> gnu.org> [2020-11-07 18:56]:
>
> 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.
I read systematically djvu documents in Emacs. Reading works in doc-view
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44504
; Package
emacs
.
(Sun, 08 Nov 2020 00:53:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 44504 <at> debbugs.gnu.org (full text, mbox):
On Sat Nov 7 2020 Jean Louis wrote:
> I read systematically djvu documents in Emacs. Reading works in doc-view
Thank you, you are right! I looked at the Commentary section of
doc-view which starts out by explaining
DocView is a document viewer for Emacs. It converts PDF, PS and
DVI files to a set of PNG files...
So I suggest to update this line and mention Djvu documents, too,
plus odf documents (mentioned in the docstring for
doc-view-doc-type).
(Of course, the real reason I did not notice this is djvu.el in GNU
Elpa, which I use for editing djvu documents.)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44504
; Package
emacs
.
(Mon, 09 Nov 2020 14:40:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 44504 <at> debbugs.gnu.org (full text, mbox):
"Roland Winkler" <winkler <at> gnu.org> writes:
> So I suggest to update this line and mention Djvu documents, too,
> plus odf documents (mentioned in the docstring for
> doc-view-doc-type).
OK, done on the Emacs 27 branch.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) fixed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Mon, 09 Nov 2020 14:40:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 27.2, send any further explanations to
44504 <at> debbugs.gnu.org and "Roland Winkler" <winkler <at> gnu.org>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Mon, 09 Nov 2020 14:40:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44504
; Package
emacs
.
(Mon, 09 Nov 2020 15:25:01 GMT)
Full text and
rfc822 format available.
Message #24 received at 44504 <at> debbugs.gnu.org (full text, mbox):
On Mon Nov 9 2020 Lars Ingebrigtsen wrote:
> "Roland Winkler" <winkler <at> gnu.org> writes:
>
> > So I suggest to update this line and mention Djvu documents, too,
> > plus odf documents (mentioned in the docstring for
> > doc-view-doc-type).
>
> OK, done on the Emacs 27 branch.
Thank you! My apologies for being picky: How about also updating
the first line of doc-view.el to
;;; doc-view.el --- Document viewer for Emacs -*- lexical-binding: t -*-
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44504
; Package
emacs
.
(Mon, 09 Nov 2020 15:31:01 GMT)
Full text and
rfc822 format available.
Message #27 received at 44504 <at> debbugs.gnu.org (full text, mbox):
"Roland Winkler" <winkler <at> gnu.org> writes:
> Thank you! My apologies for being picky: How about also updating
> the first line of doc-view.el to
>
> ;;; doc-view.el --- Document viewer for Emacs -*- lexical-binding: t -*-
Makes sense; I've now pushed that, too, to emacs-27.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44504
; Package
emacs
.
(Mon, 09 Nov 2020 15:34:02 GMT)
Full text and
rfc822 format available.
Message #30 received at 44504 <at> debbugs.gnu.org (full text, mbox):
On Mon Nov 9 2020 Roland Winkler wrote:
> Thank you! My apologies for being picky: How about also updating
> the first line of doc-view.el to
>
> ;;; doc-view.el --- Document viewer for Emacs -*- lexical-binding: t -*-
...And the section "Requirements" is likewise outdated. How about
adding:
;; Djvu documents require `ddjvu' (from DjVuLibre).
;; ODF files require `soffice' (from LibreOffice).
Actually, I do not know about `soffice'. Is this also part of
some (outdated?) Openoffice?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44504
; Package
emacs
.
(Mon, 09 Nov 2020 16:01:02 GMT)
Full text and
rfc822 format available.
Message #33 received at submit <at> debbugs.gnu.org (full text, mbox):
"Roland Winkler" <winkler <at> gnu.org> writes:
> On Mon Nov 9 2020 Roland Winkler wrote:
>> Thank you! My apologies for being picky: How about also updating
>> the first line of doc-view.el to
>>
>> ;;; doc-view.el --- Document viewer for Emacs -*- lexical-binding: t -*-
>
> ...And the section "Requirements" is likewise outdated. How about
> adding:
>
> ;; Djvu documents require `ddjvu' (from DjVuLibre).
> ;; ODF files require `soffice' (from LibreOffice).
>
> Actually, I do not know about `soffice'. Is this also part of
> some (outdated?) Openoffice?
OpenOffice started life in Germany as StarOffice, so the executable name
would make sense.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44504
; Package
emacs
.
(Tue, 10 Nov 2020 13:54:02 GMT)
Full text and
rfc822 format available.
Message #36 received at 44504 <at> debbugs.gnu.org (full text, mbox):
"Roland Winkler" <winkler <at> gnu.org> writes:
> ...And the section "Requirements" is likewise outdated. How about
> adding:
>
> ;; Djvu documents require `ddjvu' (from DjVuLibre).
> ;; ODF files require `soffice' (from LibreOffice).
OK; added.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 09 Dec 2020 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 196 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.