Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a report composed of multiple files where I name the master file as 'master.tex' and set

(setq-default TeX-master "master")

in my .emacs file.

I compile the master file and try to click the 'view dvi button' on the auctex toolbar in emacs, however it does not open any viewer nor it gives any error messages.

But if I open one of the files that is included from the master file and compile the whole document from under the included file and try to view the resulting dvi, it works and I can see the complete dvi. The question is that why can't I do the same from the master file, I mean viewing?(Trying on a simple example with two files, I can see the dvi from both the master and the included file, so there is sth mistaken for the above case.)

Compiling master file goes fine along with bibtex however viewing does not work, what could be the reason behind this?

share|improve this question
    
Can you try the following steps : 1. Delete the produced .dvi file; 2. Compile the document from under the included file; 3. Switch to the master file and try to open the viewer from there. –  T. Verron Feb 19 '13 at 14:22
    
same, I can not view it... however trying to view that from the 'included' file works fine. –  Umut Tabak Feb 19 '13 at 14:28
    
Try hitting C-c C-v from the master file and the included file, and check that the command proposed by emacs is the same in both cases. –  T. Verron Feb 19 '13 at 15:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.