help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: viewing docx files


From: Devin Prater
Subject: Re: viewing docx files
Date: Sat, 28 Jan 2017 10:12:02 -0600
User-agent: AquaMail/1.7.2-121 (build: 100700200)

Oh, I see. So DocViewer just converts everything to plaintext? Nah, I like the vibrancy of formatting and the way Emacspeak manifests that too much to deal with plain text where formatting was before. Thanks for the info, though.

Sent with AquaMail for Android
http://www.aqua-mail.com


On January 28, 2017 10:08:41 AM <tomas@tuxteam.de> wrote:

-----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 via email to

[Prev in Thread] Current Thread [Next in Thread]