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 am writing a project with texmaker, and i've separated it into several files, to keep it organized. But I run into the following problem - I have to define every startup that the main document is in master mode. (otherwise autocomplete of \cite{} wouldn't work in the included files).

Anyone got a solution for this ?

share|improve this question

migrated from stackoverflow.com May 16 '12 at 16:35

This question came from our site for professional and enthusiast programmers.

1 Answer 1

Since version 3.3.3 Texmaker has a "save session" menu item in the File menu (see the first record in the changelog at http://www.xm1math.net/texmaker/log.html).

So, open all the tex files you need, define the "Master document", as usual. Then do "save session".

Next time, open the session file, not the tex files. The master will be automatically "selected".

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.