<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">>> I've been struggling with Doc-View mode and getting it to open<br>>> and .pdf or<br>>> .dvi file appropriately. I'm running OS X 10.5 with Carbon Emacs<br>

>> 23.1.90. I<br>>> can open .dvi and .pdf files, but all I see is the image's code.<br><br><br>> Do you see the string "DocView" appear in mode-line?</span><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Yes.</span></div>

<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">> Does this view switch when you type C-c C-c?</span></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Kind of... When I start in my main.tex file and press C-c C-c, .pdf code of my latex document open in another buffer. When I switch to that buffer, and press C-c C-c what is [(DocView ht)]  changes to [(Fundamental DocView ht)]. I believe this is changing from viewing to editing mode? When I press C-c C-c again to change back (from editing to viewing), I do get this: Wrong type argument, stringp nil. This is new to me as I hadn't tried this switching before. </span></font></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">> <span class="Apple-style-span" style="font-size: 13px; ">Did you try to use Doc-view in an Emacs you launched with -q, i.e., with no personal configuration?</span></span></font></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-size: 13px; ">Yes. I moved my .emacs and .elisp files so they Emacs wouldn't pick them up and tried to compile my main.tex file again. With a fresh Emacs I still have the same problems. </span></span></font></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-size: 13px; "><br></span></span></font></div><div>
<font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-size: 13px; ">> With "Carbon Emacs 23.1.90" you probably mean the "AppKit Emacs" by YAMAMOTO Mitsuharu, don't you?</span></span></font></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-size: 13px; ">I mean the build of Emacs I checked out using this: <span class="Apple-style-span" style="border-collapse: separate; font-family: monospace; font-size: 12px; line-height: 14px; white-space: pre; ">cvs -z3 -d:pserver:anonymous@cvs.sv.gnu.org:/sources/emacs co emacs. <span class="Apple-style-span" style="font-family: arial, sans-serif; line-height: normal; white-space: normal; font-size: 13px; border-collapse: collapse; ">I configured and built this version and that's what I'm having a problem with.</span></span></span></span></font></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-size: 13px; "><span class="Apple-style-span" style="border-collapse: separate; font-family: monospace; font-size: 12px; line-height: 14px; white-space: pre; "><span class="Apple-style-span" style="font-family: arial, sans-serif; line-height: normal; white-space: normal; font-size: 13px; border-collapse: collapse; "><br>

</span></span></span></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-size: 13px; "><span class="Apple-style-span" style="border-collapse: separate; font-family: monospace; font-size: 12px; line-height: 14px; white-space: pre; "><span class="Apple-style-span" style="font-family: arial, sans-serif; line-height: normal; white-space: normal; font-size: 13px; border-collapse: collapse; ">Thanks for your help, Pete!</span></span></span></span></font></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><span class="Apple-style-span" style="font-size: 13px; "><span class="Apple-style-span" style="border-collapse: separate; font-family: monospace; font-size: 12px; line-height: 14px; white-space: pre; "><span class="Apple-style-span" style="font-family: arial, sans-serif; line-height: normal; white-space: normal; font-size: 13px; border-collapse: collapse; "><br>

</span></span></span></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Kind Regards,</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">John Mark Swafford</span></font></div>