all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: <tomas@tuxteam.de>
To: help-gnu-emacs@gnu.org
Subject: Re: viewing docx files
Date: Sat, 28 Jan 2017 17:07:57 +0100	[thread overview]
Message-ID: <20170128160757.GA13233@tuxteam.de> (raw)
In-Reply-To: <159e5b8b2e0.2800.9343beaceee5adfd5722805b7ce72987@gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Jan 28, 2017 at 09:36:44AM -0600, Devin Prater wrote:
> Hi all. I'm running Gnu-Emacs (latest brew install emacs version) on
> MacOS Sierra. I run Emacs in the terminal, and use the Emacspeak
> package for access, since I am blind. I received an email (gnews),
> with an attachment, two docx files for reading. I was able to
> download the attachments to my ~/ directory. I opened the file (c-x
> c-f then tab completion), but it opened in the archive viewer. I've
> read online that there is a DocViewer, but I cannot get Emacs to
> open the files in that doc viewer.
> Using PanDoc in a shell, I was able to convert the docx file to a
> usable HTML file, but if there's a way to natively view these types
> of files, I'd be saving a lot of time.
> Thanks for any help.

There is a DocView mode (cf. https://www.emacswiki.org/emacs/DocViewMode),
but it passes through PostScript (via GhostScript), in your case through
unoconv. The postscript seems to include the (plain) text, since it
supports text searching.

All in all, your approach with pandoc might prove superior for your
use case. Perhaps a little automation. There is an Emacs pandoc-mode,
but alas, I haven't any experience with that.

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAliMwd0ACgkQBcgs9XrR2kasswCaA/I1zkn7LqGbdfo/k4LHw3EV
VP4AnRoha2WuRwokuN3F4bIXNaaBJ5jc
=mCW+
-----END PGP SIGNATURE-----



  reply	other threads:[~2017-01-28 16:07 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 [this message]
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
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=20170128160757.GA13233@tuxteam.de \
    --to=tomas@tuxteam.de \
    --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.