[Tex/LaTex] How to make the tex file (created in WinEdt) compatible with Scientific WorkPlace

winedt

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?

Best Answer

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{OutputFilter=latex2.dll}
%TCIDATA{Version=5.50.0.2953}
%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="SaveForMode" CONTENT="1">}
%TCIDATA{BibliographyScheme=Manual}
%TCIDATA{<META NAME="DocumentShell" CONTENT="Standard LaTeX\Standard LaTeX Book">}
%BeginMSIPreambleData
\providecommand{\U}[1]{\protect\rule{.1in}{.1in}}
%EndMSIPreambleData

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

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

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

%TCIDATA{OutputFilter=latex2.dll}
%TCIDATA{Version=5.50.0.2953}
%TCIDATA{LaTeXparent=0,0,maintexfile.tex}

at the beginning.

Related Question