all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: viewing docx files
Date: Sun, 29 Jan 2017 02:25:40 -0500	[thread overview]
Message-ID: <jwvh94iib7m.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 87sho2pi1d.fsf@gmail.com

>> BTW, I think many people (including myself) would be interested in an
>> alternative to doc-view-mode which renders such documents as (decorated)
>> text rather than as images, e.g. going through HTML and then rendered
>> with shr.el.
> Does `pdf-tools' do anything close?

Kind of, except that Emacs doesn't really see the text.  pdf-tools does
a great job at making the text accessible to Emacs on demand, but all
the features have to be supported "by hand".  If Emacs could really
directly see the text, then C-s would work without any need to write
specific code.  I.e. there would be no need for pdf-isearch.el,
pdf-occur.el, etc...

Clearly, it would suck at "rendering faithfully", since Emacs's
rendering engine is not sophisticated enough to handle the kind of
layouts seen in typical PDF files, so it wouldn't be a competitor to
pdf-tools.


        Stefan




  reply	other threads:[~2017-01-29  7:25 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-28 15:36 viewing docx files Devin Prater
2017-01-28 16:07 ` tomas
2017-01-28 16:12   ` Devin Prater
2017-01-28 17:01     ` Stefan Monnier
2017-01-29  5:11       ` Narendra Joshi
2017-01-29  7:25         ` Stefan Monnier [this message]
2017-01-28 16:14   ` Eli Zaretskii
2017-01-28 17:02     ` Jude DaShiell
2017-01-28 16:21   ` Joost Kremers
2017-01-28 20:10 ` Tomas Nordin
2017-01-29 22:30 ` Tomas Nordin
2017-01-29 22:51   ` Joost Kremers
2017-01-30  7:21     ` Jude DaShiell
2017-01-30  8:30       ` Yuri Khan
2017-01-30 22:03         ` Tomas Nordin
2017-01-31 14:56         ` Stefan Monnier
2017-01-31 18:08           ` Jude DaShiell
2017-01-30 21:49   ` Tomas Nordin

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

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

  git send-email \
    --in-reply-to=jwvh94iib7m.fsf-monnier+gmane.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@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 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.