eclipse-texlipse / texlipse

Eclipse Texlipse
https://projects.eclipse.org/projects/science.texlipse
Eclipse Public License 1.0
60 stars 20 forks source link

Unable to make Texlipse run biber during build #67

Open santa-klaus opened 5 years ago

santa-klaus commented 5 years ago

Feature Request

This is probably more a feature request than a bug report. I use biblatex with backend biber in my file. However, Texlipse does not run biber automatically. I know that probably I can set up a builder to let it do that, however I am unaware of how to do it. The documentation of the old project tells me to set up a builder for biber, but does not explain how. The documentation linked in Eclipse only tells me to use bibtex, which is not recommended anymore (better use biblatex, especially if you deal with other languages than english).

60 sounds like usually it should work out of the box, so maybe it´s a bug after all. Let me know if you need some more information or if I can help in any way (e.g. by updating the documentation after I got explained how to do it).

What is the current behavior?

Texlipse does not run biber automatically. No documentation available for how let it run biber.

What is the expected or desired behavior?

Either Texlipse detecting automatically if biber is needed to be run, or documentation for builder setup to include biber.

Please provide use cases for changing the current behavior:

Everybody using biblatex with backend biber, which is the recommended bibliography setup in Latex for most usecases.

Other relevant information:

I am on Windows 10, Eclipse 4.10.0, Texlipse 2.0.2.

Thank you for taking over this project, it is by far my favourite Latex Editor!

montex commented 4 years ago

I also had this problem, a simple way to solve it is to use latexmk as build command, instead of latex/pdflatex. It will automatically run biber or bibtex if needed.

santa-klaus commented 4 years ago

@montex Thank you for the tip! However, I cannot find latexmk among the build tools. Can you give me a tip of how to set it up?

montex commented 4 years ago

Hello @santa-klaus!

If you are using Linux, probably you have to install the corresponding package. Under Debian, latexmk comes in a package with the same name. I am not sure under Windows, but is seems it can be used on Windows as well.

The configuration in TeXlipse is simple: just replace the normal builder (e.g., /usr/bin/pdflatex) with the latexmk binary /usr/bin/latexmk and the appropriate parameters. You find this in Window/Preferences/TeXlipse/Builder Setttings. See the screenshots below for more details.

Hope this helps!

latexmk-pdf

latexmk-xelatex