1

I need to execute an external application prior to executing latex.exe to prepare a new file to be imported from within the (La)TeX input file.

From another topic, I got an rough info that we can use \write18 command. But I don't have an idea to execute it.

Here is my file structure:

MyProjectDir
---Main.tex
---SourcesDir
-----ExternalApp.exe

EDIT 1: In TeXnicCenter (latex editor for windows), there is no PreProcessor. Only PostProcessor is available. Therefore, I cannot execute it in one go. Executing it manually will be a tedious job.

fabikw
  • 6,203
Display Name
  • 46,933

2 Answers2

1

You could install Kile for Windows. Kile allows you to define your own build options and build chains. You can specify each program you need, the order and the parameters.

fabikw
  • 6,203
1

In Windows, a batch file will do (*.bat). You can then call the batch file. I use WinEdt because of the convenience it provides. In there, you could modify the sequence being called.

Hector
  • 1,100