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 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
    
Please include the errors you are receiving in your question. –  verdammelt Jan 12 at 2:18
    
Also: does Scientific Workplace files compile properly with WinEdt? –  verdammelt Jan 12 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 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 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 at 9:03
show 1 more comment

migrated from stackoverflow.com Jan 15 at 13:45

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

1 Answer

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{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.

share|improve this answer
add comment

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.