I have been using Texlipse for a while now and like it. The only issue that I have is that Texlipse only allows me to have a single Tex and PDF file in each project. I was wondering if anyone had found a way to make Texlipse accept multiple Tex files and then output to multiple pdf files? And assistance would be appreciated.
[Tex/LaTex] Creating Multiple pdf files with Texlipse
texlipse
Related Solutions
The makeindex problem in TeXlipse is well-known. I guess that it is a bug in TeXlipse.
I found a solution in my environment: Clean your project, here is important that no output.pdf file exits after that! Than build it again, for some unknown reasons now I have a index in my new pdf.
Another solution is to replace the pdflatex.exe in your build settings with an batch-script witch calls pdflatex - makeindex - pdflatex. There you can control witch files are used but of course it is not the right way to bypass TeXlipse here.
EDIT
I found another nice way to run additional programs during the build process in this Question: https://tex.stackexchange.com/a/52549/11363
You can use it to run a makeindex manually for several conditions.
Similar to the instructions depicted within this question texlipse builder script configuration I point my external build program to a windows bat
file.
When using windows running MikTex, I create the following script/organization.
- In the eclipse project directory I create a
src
directory to sort all but my main tex file - Outside this directory with the build tools I place my main
tex
file - I tend to keep my references which may be common to multiple project to prevent duplication
- The
bat
files are based on for loops and current directory variables to identify the project file to build. - To address the bibunits specific nature of the question I use a custom
bat
file (seen in the example below namedbibunitBuild.bat
containingbu*.aux
in a for loop - A clean up script is also easy to create and include and depends on your desire to retain logs of the process or a clean working directory with no tmp files.
Contents of bibunitBuild.bat
:
FOR %%B IN (bu*.aux) DO ( ECHO Will try and compile %%~dpB%%~nB with bibtex & "%MikTexPath%bibtex.exe" --include-directory="%%~dpB\..\..\References" "%%~dpB%%~nB")
Contents of xelatexCompile.bat
:CheckOS
IF "%PROCESSOR_ARCHITECTURE%"=="x86" (GOTO 32BIT) ELSE (GOTO 64BIT)
:64BIT
ECHO 64-bit compiling
SET MikTexPath=C:\Program Files\MiKTeX 2.9\miktex\bin\x64\
GOTO END
:32BIT
ECHO 32-bit compiling
SET MikTexPath=C:\Program Files\MiKTeX 2.9\miktex\bin\
GOTO END
:END
SET TeXCompilier=xelatex.exe
FOR %%A IN (*.tex) DO (
"%MikTexPath%%TeXCompilier%" "%%~nxA" &_
call bibunitBuild.bat &_
"%MikTexPath%makeindex.exe" -s "%%~nA.ist" -t "%%~nA.glg" -o "%%~nA.gls" "%%~nA.glo" &_
"%MikTexPath%makeindex.exe" -s "%%~nA.ist" -t "%%~nA.alg" -o "%%~nA.acr" "%%~nA.acn" &_
"%MikTexPath%%TeXCompilier%" "%%~nxA" &_
"%MikTexPath%%TeXCompilier%" "%%~nxA" &_
)
Best Answer
You should enable a "Build partially" check-box in "Latex" menu.
Here is exempt from TeXlipse FAQ: