all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#44504: 27.1; feature request: doc-view support for Djvu documents
@ 2020-11-07 15:55 Roland Winkler
  2020-11-07 16:08 ` Eli Zaretskii
  2020-11-07 17:28 ` Jean Louis
  0 siblings, 2 replies; 10+ messages in thread
From: Roland Winkler @ 2020-11-07 15:55 UTC (permalink / raw)
  To: 44504


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





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#44504: 27.1; feature request: doc-view support for Djvu documents
  2020-11-07 15:55 bug#44504: 27.1; feature request: doc-view support for Djvu documents Roland Winkler
@ 2020-11-07 16:08 ` Eli Zaretskii
  2020-11-07 17:28 ` Jean Louis
  1 sibling, 0 replies; 10+ messages in thread
From: Eli Zaretskii @ 2020-11-07 16:08 UTC (permalink / raw)
  To: Roland Winkler; +Cc: 44504

> Date: Sat, 7 Nov 2020 09:55:04 -0600
> From: "Roland Winkler" <winkler@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.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#44504: 27.1; feature request: doc-view support for Djvu documents
  2020-11-07 15:55 bug#44504: 27.1; feature request: doc-view support for Djvu documents Roland Winkler
  2020-11-07 16:08 ` Eli Zaretskii
@ 2020-11-07 17:28 ` Jean Louis
  2020-11-08  0:52   ` Roland Winkler
  1 sibling, 1 reply; 10+ messages in thread
From: Jean Louis @ 2020-11-07 17:28 UTC (permalink / raw)
  To: Roland Winkler; +Cc: 44504

* Roland Winkler <winkler@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





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#44504: 27.1; feature request: doc-view support for Djvu documents
  2020-11-07 17:28 ` Jean Louis
@ 2020-11-08  0:52   ` Roland Winkler
  2020-11-09 14:39     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 10+ messages in thread
From: Roland Winkler @ 2020-11-08  0:52 UTC (permalink / raw)
  To: Jean Louis; +Cc: 44504

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.)





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#44504: 27.1; feature request: doc-view support for Djvu documents
  2020-11-08  0:52   ` Roland Winkler
@ 2020-11-09 14:39     ` Lars Ingebrigtsen
  2020-11-09 15:24       ` Roland Winkler
  0 siblings, 1 reply; 10+ messages in thread
From: Lars Ingebrigtsen @ 2020-11-09 14:39 UTC (permalink / raw)
  To: Roland Winkler; +Cc: Jean Louis, 44504

"Roland Winkler" <winkler@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





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#44504: 27.1; feature request: doc-view support for Djvu documents
  2020-11-09 14:39     ` Lars Ingebrigtsen
@ 2020-11-09 15:24       ` Roland Winkler
  2020-11-09 15:30         ` Lars Ingebrigtsen
  2020-11-09 15:33         ` Roland Winkler
  0 siblings, 2 replies; 10+ messages in thread
From: Roland Winkler @ 2020-11-09 15:24 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 44504

On Mon Nov 9 2020 Lars Ingebrigtsen wrote:
> "Roland Winkler" <winkler@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 -*-





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#44504: 27.1; feature request: doc-view support for Djvu documents
  2020-11-09 15:24       ` Roland Winkler
@ 2020-11-09 15:30         ` Lars Ingebrigtsen
  2020-11-09 15:33         ` Roland Winkler
  1 sibling, 0 replies; 10+ messages in thread
From: Lars Ingebrigtsen @ 2020-11-09 15:30 UTC (permalink / raw)
  To: Roland Winkler; +Cc: 44504

"Roland Winkler" <winkler@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





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#44504: 27.1; feature request: doc-view support for Djvu documents
  2020-11-09 15:24       ` Roland Winkler
  2020-11-09 15:30         ` Lars Ingebrigtsen
@ 2020-11-09 15:33         ` Roland Winkler
  2020-11-09 15:56           ` Rudolf Schlatte
  2020-11-10 13:53           ` Lars Ingebrigtsen
  1 sibling, 2 replies; 10+ messages in thread
From: Roland Winkler @ 2020-11-09 15:33 UTC (permalink / raw)
  To: Lars Ingebrigtsen, 44504

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?





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#44504: 27.1; feature request: doc-view support for Djvu documents
  2020-11-09 15:33         ` Roland Winkler
@ 2020-11-09 15:56           ` Rudolf Schlatte
  2020-11-10 13:53           ` Lars Ingebrigtsen
  1 sibling, 0 replies; 10+ messages in thread
From: Rudolf Schlatte @ 2020-11-09 15:56 UTC (permalink / raw)
  To: 44504

"Roland Winkler" <winkler@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.






^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#44504: 27.1; feature request: doc-view support for Djvu documents
  2020-11-09 15:33         ` Roland Winkler
  2020-11-09 15:56           ` Rudolf Schlatte
@ 2020-11-10 13:53           ` Lars Ingebrigtsen
  1 sibling, 0 replies; 10+ messages in thread
From: Lars Ingebrigtsen @ 2020-11-10 13:53 UTC (permalink / raw)
  To: Roland Winkler; +Cc: 44504

"Roland Winkler" <winkler@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





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-11-10 13:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-07 15:55 bug#44504: 27.1; feature request: doc-view support for Djvu documents Roland Winkler
2020-11-07 16:08 ` Eli Zaretskii
2020-11-07 17:28 ` Jean Louis
2020-11-08  0:52   ` Roland Winkler
2020-11-09 14:39     ` Lars Ingebrigtsen
2020-11-09 15:24       ` Roland Winkler
2020-11-09 15:30         ` Lars Ingebrigtsen
2020-11-09 15:33         ` Roland Winkler
2020-11-09 15:56           ` Rudolf Schlatte
2020-11-10 13:53           ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.