0

i have a document in which each chapter gets included as a own tex document. If i edit one sub tex document and press the run button it runs the current document and not the main document. I want to create a shortcut which automatically runs pdflatex and view pdf on the main document.

How do i do that?

1

1 Answer 1

1

In TexMaker, open your main document (the one that includes all the others), then choose Options/Make Current File the Master (or similar; I have the German version, so I do not know the exact text of the menu item ...). After that, compiling always starts with the main document.

1
  • Welcome to TeX.SX! Perhaps you could show a screen shot -- a German version will do also!
    – user31729
    Jun 14, 2015 at 20:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .