TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have always used WinEdt as a LaTeX Editor and I love it. However, a colleague of mine uses Scientific WorkPlace, and apparently the .tex file created by WinEdt is not compatible with Scientific WorkPlace (it does not compile the file which in WinEdt is compiled with no errors). I had similar issues with another colleague who uses TeXnicCenter.

Does anyone know who can be done in order to fix these problems? How can I modify my .tex file (in WinEdt) in order to make sure that Scientific WorkPlace (or another LaTeX editor, such as TeXnicCenter) can effectively compile it with no errors?

share|improve this question

migrated from stackoverflow.com Jan 15 '14 at 13:45

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

Please include the errors you are receiving in your question. – verdammelt Jan 12 '14 at 2:18
Also: does Scientific Workplace files compile properly with WinEdt? – verdammelt Jan 12 '14 at 2:18
It finds thousands of errors... several of the packages that I use in WinEdt, also the simplest ones (like vmargin, subfigure and amssymb for example), do not work... There are messages saying: enter file name, eps file not found, amssymb not found... – user3026610 Jan 12 '14 at 8:55
Sometimes SWP compiles the file even with all these errors, some others it does not. Even when the file is compiled there are some problems, like figures (that it seemed not to find) overlapping the main text – user3026610 Jan 12 '14 at 8:59
Is it just a matter of fixing the preambles in both WinEdt and SWP in order to make the tex files compatible? If I remove some packages from my WinEdt original file, the situation seems to improve... but this is very annoying since this requires me to change many aspects of the file in order to obtain a similar result – user3026610 Jan 12 '14 at 9:03
up vote 2 down vote accepted

A good start would be to have your colleague export a file and to examine the SWP instructions which begin with a single %. I've gotten it to work by (1) having my LaTeX file contain something like the following near the beginning

%TCIDATA{CSTFile=40 LaTeX Book.cst}
%TCIDATA{Created=Tuesday, February 11, 2014 19:14:32}
%TCIDATA{LastRevised=Tuesday, February 11, 2014 19:53:01}
%TCIDATA{<META NAME="GraphicsSave" CONTENT="32">}
%TCIDATA{<META NAME="DocumentShell" CONTENT="Standard LaTeX\Standard LaTeX Book">}

then (2) having the main file including other files as follows

%TCIMACRO{\QSubDoc{Include chap_pref}{\input{chap_pref.tex}}}%

and finally (3) assuring that the included files know what file is including them, such as


at the beginning.

share|improve this answer

Your Answer


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.