all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* DocView ?
@ 2009-03-05 18:30 David A. Cobb
  2009-03-05 18:55 ` Tassilo Horn
  2009-03-05 18:56 ` Eli Zaretskii
  0 siblings, 2 replies; 6+ messages in thread
From: David A. Cobb @ 2009-03-05 18:30 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1116 bytes --]

Recently attempting to edit an Adobe PDF file, I read up on the format 
and opened it into emacs (23.0.60.1 GTK+ as packaged in Ubuntu 
"emacs-snapshot.")  I expected to see the textual content: %PDF-1.6 .....
Instead, WOW! emacs actually rendered the document.

The mode-line says "DocView" mode, and I can switch back and forth 
between rendition and text.  I haven't yet found whether I can modify it 
and correctly render the changes.  Before I can do that, I will need to 
decode the content streams contained in the original.  Obviously (I 
think) the code is in there somewhere in order for emacs to render the 
thing.

Then, I tried finding something about this "DocView" in the Info 
system.  Sorry, no cigar.  Then I tried googling my way through gnu.org 
for something about DocView.  No joy there either.  Without some clue as 
to what I'm looking for, it is not likely I'll find it.  And, without 
some Info help, it is not likely I can get full use out of it.

So, please, where do I find the code libraries and the documentation for 
this capability?

TIA
-- 
David A. Cobb, retired mainframe t-rex.


[-- Attachment #2: superbiskit.vcf --]
[-- Type: text/x-vcard, Size: 271 bytes --]

begin:vcard
fn:David A. Cobb
n:Cobb;David A.
email;internet:superbiskit@cox.net
tel;home:+1-401-615-3895
tel;cell:+1-401-301-2207
note;quoted-printable:Semi-retired T-Rex Mainframe Programmer=0D=0A=
	Orthodox Christian=0D=0A=
	
x-mozilla-html:TRUE
version:2.1
end:vcard


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

* Re: DocView ?
  2009-03-05 18:30 DocView ? David A. Cobb
@ 2009-03-05 18:55 ` Tassilo Horn
  2009-03-05 18:56 ` Eli Zaretskii
  1 sibling, 0 replies; 6+ messages in thread
From: Tassilo Horn @ 2009-03-05 18:55 UTC (permalink / raw)
  To: emacs-devel

"David A. Cobb" <superbiskit@cox.net> writes:

Hi David,

> So, please, where do I find the code libraries and the documentation
> for this capability?

,----[ (info "(emacs)Document View") ]
| DocView mode (`doc-view-mode') is a viewer for DVI, Postscript (PS),
| and PDF documents.  It provides features such as slicing, zooming, and
| searching inside documents.  It works by converting the document to a
| set of images using the `gs' (GhostScript) command, and displaying
| those images.
`----

Maybe your snapshot it too old and doesn't include the docs.

Bye,
Tassilo
-- 
Richard Stallman can leave neutral or negative feedback on eBay.




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

* Re: DocView ?
  2009-03-05 18:30 DocView ? David A. Cobb
  2009-03-05 18:55 ` Tassilo Horn
@ 2009-03-05 18:56 ` Eli Zaretskii
  2009-03-05 22:01   ` David A. Cobb
  1 sibling, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2009-03-05 18:56 UTC (permalink / raw)
  To: emacs-devel, David A. Cobb

> Date: Thu, 05 Mar 2009 13:30:09 -0500
> From: "David A. Cobb" <superbiskit@cox.net>
> 
> So, please, where do I find the code libraries and the documentation for 
> this capability?

Type "C-h f doc-view-mode RET", then click on the link to the sources
in the *Help* buffer, and read there.




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

* Re: DocView ?
  2009-03-05 18:56 ` Eli Zaretskii
@ 2009-03-05 22:01   ` David A. Cobb
  2009-03-06  1:32     ` Stefan Monnier
  2009-03-06  6:45     ` Tassilo Horn
  0 siblings, 2 replies; 6+ messages in thread
From: David A. Cobb @ 2009-03-05 22:01 UTC (permalink / raw)
  To: Eli Zaretskii, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 457 bytes --]

On 03/05/2009 01:56 PM, Eli Zaretskii wrote:
>> Date: Thu, 05 Mar 2009 13:30:09 -0500
>> From: "David A. Cobb"<superbiskit@cox.net>
>>
>> So, please, where do I find the code libraries and the documentation for
>> this capability?
>>      
>
> Type "C-h f doc-view-mode RET", then click on the link to the sources
> in the *Help* buffer, and read there.
>
>    
Thank you much.  From the code comments, this appears to be a 
work-in-progress.  Is that so?


[-- Attachment #2: superbiskit.vcf --]
[-- Type: text/x-vcard, Size: 271 bytes --]

begin:vcard
fn:David A. Cobb
n:Cobb;David A.
email;internet:superbiskit@cox.net
tel;home:+1-401-615-3895
tel;cell:+1-401-301-2207
note;quoted-printable:Semi-retired T-Rex Mainframe Programmer=0D=0A=
	Orthodox Christian=0D=0A=
	
x-mozilla-html:TRUE
version:2.1
end:vcard


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

* Re: DocView ?
  2009-03-05 22:01   ` David A. Cobb
@ 2009-03-06  1:32     ` Stefan Monnier
  2009-03-06  6:45     ` Tassilo Horn
  1 sibling, 0 replies; 6+ messages in thread
From: Stefan Monnier @ 2009-03-06  1:32 UTC (permalink / raw)
  To: emacs-devel; +Cc: David A. Cobb, Eli Zaretskii

>>> So, please, where do I find the code libraries and the documentation for
>>> this capability?
>> Type "C-h f doc-view-mode RET", then click on the link to the sources
>> in the *Help* buffer, and read there.
> Thank you much.  From the code comments, this appears to be
> a work-in-progress.  Is that so?

Not more than the rest of Emacs, I think.


        Stefan




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

* Re: DocView ?
  2009-03-05 22:01   ` David A. Cobb
  2009-03-06  1:32     ` Stefan Monnier
@ 2009-03-06  6:45     ` Tassilo Horn
  1 sibling, 0 replies; 6+ messages in thread
From: Tassilo Horn @ 2009-03-06  6:45 UTC (permalink / raw)
  To: emacs-devel

"David A. Cobb" <superbiskit@cox.net> writes:

>>> So, please, where do I find the code libraries and the documentation
>>> for this capability?
>>
>> Type "C-h f doc-view-mode RET", then click on the link to the sources
>>in the *Help* buffer, and read there.
>>
>>    
> Thank you much.  From the code comments, this appears to be a
> work-in-progress.  Is that so?

As you say you use 23.0.60.1, then maybe yes.  And if your emacs doesn't
come with the info pages (info "(emacs)Document View"), then
definitively yes.  At that time it was work in progress.

Today (with emacs HEAD from CVS) it's quite mature, well documented and
usable.  Emacs 23.1 is coming...

Bye,
Tassilo




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

end of thread, other threads:[~2009-03-06  6:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-05 18:30 DocView ? David A. Cobb
2009-03-05 18:55 ` Tassilo Horn
2009-03-05 18:56 ` Eli Zaretskii
2009-03-05 22:01   ` David A. Cobb
2009-03-06  1:32     ` Stefan Monnier
2009-03-06  6:45     ` Tassilo Horn

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.