unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: "Roland Winkler" <winkler@gnu.org>
Cc: Camm Maguire <camm@maguirefamily.org>, emacs-devel@gnu.org
Subject: Re: Djvu mode
Date: Thu, 29 Sep 2011 23:34:33 +0200	[thread overview]
Message-ID: <m3ehyzdod2.fsf@chopper.vpn.verona.se> (raw)
In-Reply-To: <20100.49629.638365.504606@gargle.gargle.HOWL> (Roland Winkler's message of "Thu, 29 Sep 2011 14:07:09 -0500")

"Roland Winkler" <winkler@gnu.org> writes:

> On Thu Sep 29 2011 joakim@verona.se wrote:
>> I wrote the ImageMagick support for Emacs 24 specifically so I could
>> view djvu images.
>
> ...What is this supposed to do?  I do not know much about image
> support in emacs. How can this possibly handle djvu files?
>
>> Other than that I haven't made anything, so I'm very interested in
>> your different djvu modes. I hope you can work together and
>> include the code in Gnu ELPA.
>
> Right now I have no idea what kind of functionality one can possibly
> get for viewing djvu files from ImageMagick in Emacs. I've never
> dealt with that.
>
> Currently, my djvu mode is completely built around the djvu text
> layer (via djvused). For simplicity it uses djview as an external
> viewer, though this could be changed. How does ImageMagick handle
> highlighting in djvu pages?

I don't know so much about these advanced features of djvu.

The ImageMagick support works like any other image support in Emacs. If
you've configured it to be used you can for example open an image in a
buffer from dired. Emacs image functions also support opening a
particular image in a djvm container but because of limitations in
imagemagick it doesn't work too well.

My usecase is scanning a lot of pages and converting each page to djvu,
and then to the djvm container. I have an emacs package called "emsane"
on github for this. I've been meaning to implement ocr with ocropus and
somehow create the djvu text layer that way but I haven't gotten around
to it.

Can you explain what you mean with highlighting? There are lots of
things you can do in Emacs. For instance I have a trivial example called
dragbox.el on github which makes it possible to interactively create a
rectangular overlay on an image. The region can then be extracted and ocr:ed.

>
> Roland

-- 
Joakim Verona



  parent reply	other threads:[~2011-09-29 21:34 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-27 20:17 highlighting large regions (comments) with font-lock keywords Eric Schulte
2011-09-28  1:30 ` Stefan Monnier
2011-09-28 13:08   ` Eric Schulte
2011-09-28 14:18 ` Djvu mode Camm Maguire
2011-09-28 16:50   ` Sivaram Neelakantan
2011-09-29 16:07     ` gnu-emacs-sources down? [was: Djvu mode] Roland Winkler
2011-09-29 16:21       ` gnu-emacs-sources down? Glenn Morris
2011-09-29 17:39       ` gnu-emacs-sources down? [was: Djvu mode] Sivaram Neelakantan
     [not found]       ` <87r52zl29j.fsf_-_@maguirefamily.org>
     [not found]         ` <20100.46983.768447.889306@gargle.gargle.HOWL>
     [not found]           ` <87d3ejgmmz.fsf@maguirefamily.org>
     [not found]             ` <20103.17789.10053.53615@gargle.gargle.HOWL>
2011-10-02  4:22               ` Djvu mode Camm Maguire
2011-10-03 18:23                 ` Roland Winkler
2011-10-03 19:41                   ` Camm Maguire
2011-10-03 19:59                   ` Camm Maguire
2011-10-03 20:35                   ` Camm Maguire
2011-10-04  6:20                     ` Roland Winkler
2011-10-12 15:19                       ` Camm Maguire
2011-10-14 12:52                         ` Roland Winkler
2011-10-04 10:21                     ` Roland Winkler
2011-09-28 21:02   ` Stefan Monnier
2011-09-29  6:26   ` Roland Winkler
2011-09-29  9:08     ` joakim
2011-09-29 19:07       ` Roland Winkler
2011-09-29 20:06         ` Camm Maguire
2011-09-29 21:34         ` joakim [this message]
2011-10-01 17:01           ` Roland Winkler
2011-10-01 17:19             ` joakim
2011-10-01 18:04               ` Roland Winkler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3ehyzdod2.fsf@chopper.vpn.verona.se \
    --to=joakim@verona.se \
    --cc=camm@maguirefamily.org \
    --cc=emacs-devel@gnu.org \
    --cc=winkler@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).