C-c C-c does not start a viewer
up vote
1
down vote
favorite
I'm on a recent install of Ubuntu 18.04, with emacs 25.2.2, and auctex installed via the package manager.
When I type C-c C-c to view a recently latex'ed document, Emacs launches the command TeX-evince-sync-view. Then nothing happens. I see no evidence of a command being issued in the Messages buffer or in the TeX * path_to_my_file output * buffer.
I have tried playing around with the TeX-view-program-list variable (which by default appears to be 'nil) but I have a caveman's knowledge of lisp and don't really know what I'm doing.
Output after setting debug-on-entry
on TeX-evince-sync-view
is
Debugger entered--entering a function: * TeX-evince-sync-view()
TeX-run-function("View" "TeX-evince-sync-view" "foo")
TeX-run-discard-or-function("View" "TeX-evince-sync-view" "foo")
TeX-command("View" TeX-master-file nil)
TeX-command-master(nil)
funcall-interactively(TeX-command-master nil)
call-interactively(TeX-command-master nil nil)
command-execute(TeX-command-master)
emacs auctex
|
show 3 more comments
up vote
1
down vote
favorite
I'm on a recent install of Ubuntu 18.04, with emacs 25.2.2, and auctex installed via the package manager.
When I type C-c C-c to view a recently latex'ed document, Emacs launches the command TeX-evince-sync-view. Then nothing happens. I see no evidence of a command being issued in the Messages buffer or in the TeX * path_to_my_file output * buffer.
I have tried playing around with the TeX-view-program-list variable (which by default appears to be 'nil) but I have a caveman's knowledge of lisp and don't really know what I'm doing.
Output after setting debug-on-entry
on TeX-evince-sync-view
is
Debugger entered--entering a function: * TeX-evince-sync-view()
TeX-run-function("View" "TeX-evince-sync-view" "foo")
TeX-run-discard-or-function("View" "TeX-evince-sync-view" "foo")
TeX-command("View" TeX-master-file nil)
TeX-command-master(nil)
funcall-interactively(TeX-command-master nil)
call-interactively(TeX-command-master nil nil)
command-execute(TeX-command-master)
emacs auctex
'C-c C-v' is the quick short cut that produces no messages in other buffers. What happens if you try to select "View" from the "Command" menu? This will at least write in the minibuffer the command that it will try to run.
– Andrew Swann
Dec 7 at 14:11
I edited the title to fix a typo. C-c C-c is the keystroke in question. When I select 'view' from the 'command' menu the minibuffer is populated with "View command: TeX-evince-sync-view" just like if I hit C-c C-c. My issue is that this command seems to have no effect.
– Steven Scott
Dec 8 at 17:23
Have you tried debugging that function, i.e.M-x debug-on-entry
then enterTeX-evince-sync-view
, and thereafter try to run the command as you describe
– Andrew Swann
Dec 8 at 18:13
Not the same system here however I thought across platforms CcC- compile and CcC-view were the emacs-auctex default so I have to V after C unless yours has been totally reconfigured which you would need to explain where
– KJO
Dec 8 at 18:54
@KJO: Typing C-c C-c in auctex will do whatever the document needs next. If it has not been compiled, it will compile. If the .bib has changed it will BibTeX. If everything is compiled, it will launch a viewer. I've used these keystrokes for 25 years or so.
– Steven Scott
Dec 9 at 19:29
|
show 3 more comments
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm on a recent install of Ubuntu 18.04, with emacs 25.2.2, and auctex installed via the package manager.
When I type C-c C-c to view a recently latex'ed document, Emacs launches the command TeX-evince-sync-view. Then nothing happens. I see no evidence of a command being issued in the Messages buffer or in the TeX * path_to_my_file output * buffer.
I have tried playing around with the TeX-view-program-list variable (which by default appears to be 'nil) but I have a caveman's knowledge of lisp and don't really know what I'm doing.
Output after setting debug-on-entry
on TeX-evince-sync-view
is
Debugger entered--entering a function: * TeX-evince-sync-view()
TeX-run-function("View" "TeX-evince-sync-view" "foo")
TeX-run-discard-or-function("View" "TeX-evince-sync-view" "foo")
TeX-command("View" TeX-master-file nil)
TeX-command-master(nil)
funcall-interactively(TeX-command-master nil)
call-interactively(TeX-command-master nil nil)
command-execute(TeX-command-master)
emacs auctex
I'm on a recent install of Ubuntu 18.04, with emacs 25.2.2, and auctex installed via the package manager.
When I type C-c C-c to view a recently latex'ed document, Emacs launches the command TeX-evince-sync-view. Then nothing happens. I see no evidence of a command being issued in the Messages buffer or in the TeX * path_to_my_file output * buffer.
I have tried playing around with the TeX-view-program-list variable (which by default appears to be 'nil) but I have a caveman's knowledge of lisp and don't really know what I'm doing.
Output after setting debug-on-entry
on TeX-evince-sync-view
is
Debugger entered--entering a function: * TeX-evince-sync-view()
TeX-run-function("View" "TeX-evince-sync-view" "foo")
TeX-run-discard-or-function("View" "TeX-evince-sync-view" "foo")
TeX-command("View" TeX-master-file nil)
TeX-command-master(nil)
funcall-interactively(TeX-command-master nil)
call-interactively(TeX-command-master nil nil)
command-execute(TeX-command-master)
emacs auctex
emacs auctex
edited Dec 10 at 6:45
Andrew Swann
76.5k9128324
76.5k9128324
asked Dec 7 at 13:55
Steven Scott
62
62
'C-c C-v' is the quick short cut that produces no messages in other buffers. What happens if you try to select "View" from the "Command" menu? This will at least write in the minibuffer the command that it will try to run.
– Andrew Swann
Dec 7 at 14:11
I edited the title to fix a typo. C-c C-c is the keystroke in question. When I select 'view' from the 'command' menu the minibuffer is populated with "View command: TeX-evince-sync-view" just like if I hit C-c C-c. My issue is that this command seems to have no effect.
– Steven Scott
Dec 8 at 17:23
Have you tried debugging that function, i.e.M-x debug-on-entry
then enterTeX-evince-sync-view
, and thereafter try to run the command as you describe
– Andrew Swann
Dec 8 at 18:13
Not the same system here however I thought across platforms CcC- compile and CcC-view were the emacs-auctex default so I have to V after C unless yours has been totally reconfigured which you would need to explain where
– KJO
Dec 8 at 18:54
@KJO: Typing C-c C-c in auctex will do whatever the document needs next. If it has not been compiled, it will compile. If the .bib has changed it will BibTeX. If everything is compiled, it will launch a viewer. I've used these keystrokes for 25 years or so.
– Steven Scott
Dec 9 at 19:29
|
show 3 more comments
'C-c C-v' is the quick short cut that produces no messages in other buffers. What happens if you try to select "View" from the "Command" menu? This will at least write in the minibuffer the command that it will try to run.
– Andrew Swann
Dec 7 at 14:11
I edited the title to fix a typo. C-c C-c is the keystroke in question. When I select 'view' from the 'command' menu the minibuffer is populated with "View command: TeX-evince-sync-view" just like if I hit C-c C-c. My issue is that this command seems to have no effect.
– Steven Scott
Dec 8 at 17:23
Have you tried debugging that function, i.e.M-x debug-on-entry
then enterTeX-evince-sync-view
, and thereafter try to run the command as you describe
– Andrew Swann
Dec 8 at 18:13
Not the same system here however I thought across platforms CcC- compile and CcC-view were the emacs-auctex default so I have to V after C unless yours has been totally reconfigured which you would need to explain where
– KJO
Dec 8 at 18:54
@KJO: Typing C-c C-c in auctex will do whatever the document needs next. If it has not been compiled, it will compile. If the .bib has changed it will BibTeX. If everything is compiled, it will launch a viewer. I've used these keystrokes for 25 years or so.
– Steven Scott
Dec 9 at 19:29
'C-c C-v' is the quick short cut that produces no messages in other buffers. What happens if you try to select "View" from the "Command" menu? This will at least write in the minibuffer the command that it will try to run.
– Andrew Swann
Dec 7 at 14:11
'C-c C-v' is the quick short cut that produces no messages in other buffers. What happens if you try to select "View" from the "Command" menu? This will at least write in the minibuffer the command that it will try to run.
– Andrew Swann
Dec 7 at 14:11
I edited the title to fix a typo. C-c C-c is the keystroke in question. When I select 'view' from the 'command' menu the minibuffer is populated with "View command: TeX-evince-sync-view" just like if I hit C-c C-c. My issue is that this command seems to have no effect.
– Steven Scott
Dec 8 at 17:23
I edited the title to fix a typo. C-c C-c is the keystroke in question. When I select 'view' from the 'command' menu the minibuffer is populated with "View command: TeX-evince-sync-view" just like if I hit C-c C-c. My issue is that this command seems to have no effect.
– Steven Scott
Dec 8 at 17:23
Have you tried debugging that function, i.e.
M-x debug-on-entry
then enter TeX-evince-sync-view
, and thereafter try to run the command as you describe– Andrew Swann
Dec 8 at 18:13
Have you tried debugging that function, i.e.
M-x debug-on-entry
then enter TeX-evince-sync-view
, and thereafter try to run the command as you describe– Andrew Swann
Dec 8 at 18:13
Not the same system here however I thought across platforms CcC- compile and CcC-view were the emacs-auctex default so I have to V after C unless yours has been totally reconfigured which you would need to explain where
– KJO
Dec 8 at 18:54
Not the same system here however I thought across platforms CcC- compile and CcC-view were the emacs-auctex default so I have to V after C unless yours has been totally reconfigured which you would need to explain where
– KJO
Dec 8 at 18:54
@KJO: Typing C-c C-c in auctex will do whatever the document needs next. If it has not been compiled, it will compile. If the .bib has changed it will BibTeX. If everything is compiled, it will launch a viewer. I've used these keystrokes for 25 years or so.
– Steven Scott
Dec 9 at 19:29
@KJO: Typing C-c C-c in auctex will do whatever the document needs next. If it has not been compiled, it will compile. If the .bib has changed it will BibTeX. If everything is compiled, it will launch a viewer. I've used these keystrokes for 25 years or so.
– Steven Scott
Dec 9 at 19:29
|
show 3 more comments
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f463697%2fc-c-c-c-does-not-start-a-viewer%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f463697%2fc-c-c-c-does-not-start-a-viewer%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
'C-c C-v' is the quick short cut that produces no messages in other buffers. What happens if you try to select "View" from the "Command" menu? This will at least write in the minibuffer the command that it will try to run.
– Andrew Swann
Dec 7 at 14:11
I edited the title to fix a typo. C-c C-c is the keystroke in question. When I select 'view' from the 'command' menu the minibuffer is populated with "View command: TeX-evince-sync-view" just like if I hit C-c C-c. My issue is that this command seems to have no effect.
– Steven Scott
Dec 8 at 17:23
Have you tried debugging that function, i.e.
M-x debug-on-entry
then enterTeX-evince-sync-view
, and thereafter try to run the command as you describe– Andrew Swann
Dec 8 at 18:13
Not the same system here however I thought across platforms CcC- compile and CcC-view were the emacs-auctex default so I have to V after C unless yours has been totally reconfigured which you would need to explain where
– KJO
Dec 8 at 18:54
@KJO: Typing C-c C-c in auctex will do whatever the document needs next. If it has not been compiled, it will compile. If the .bib has changed it will BibTeX. If everything is compiled, it will launch a viewer. I've used these keystrokes for 25 years or so.
– Steven Scott
Dec 9 at 19:29