unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: candfa2660@gmail.com
To: help-gnu-emacs@gnu.org
Subject: AUCTEX Preview-PDF2DSC not working.
Date: Wed, 2 Nov 2016 10:23:07 -0700 (PDT)	[thread overview]
Message-ID: <36adb56e-5a51-4b07-9db2-188d4ce06abe@googlegroups.com> (raw)

I'm running emacs on windows 10.
I've set preview-gs-command correctly.

When i try to preview something in a .tex file i gives me the following:
error in process sentinel: Wrong type argument: number-or-marker-p, nil

I think i may have an idea of what this could be caused by. These are the last 3 lines of my "_region_ output*" buffer:
Running `Preview-PDF2DSC' with ``pdf2dsc "_region_".pdf "_region_.prv/tmp2284JqK"/preview.dsc''
Preview-PDF2DSC killed at Wed Nov  2 18:14:50
LaTeX: Wrong type argument: number-or-marker-p, nil

It seems that it is running pdf2dsc command with some arguments with messed up formatting. The problem is that my "Preview Pdf2dsc Command" is set to:
pdf2dsc %s.pdf %m/preview.dsc

This is the exact same as on my mac, yet it works on my mac.

I am not the most advanced emacs user (yet), but I can see that %s or %m are probably placeholders for a part of a path or filename. The problem is that my emacs on windows puts quotation marks around the the "placeholders". Emacs does not do this on my mac.

Running `Preview-PDF2DSC' with ``pdf2dsc "_region_".pdf "_region_.prv/tmp2284JqK"/preview.dsc''

How do i fix this?


                 reply	other threads:[~2016-11-02 17:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=36adb56e-5a51-4b07-9db2-188d4ce06abe@googlegroups.com \
    --to=candfa2660@gmail.com \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).