1

it is my first question here, so please be gentle, I try to explain the problem as good as I can. I don't have any programming background, only using LaTeX for Thesis writing in chemsitry.

I'm unsing VS Code as an editor with the LaTeX Workshop Extension by James Yu and TEXlive. The tool pdflatex and bibtex already exsists also the project for pdflatex-->bibtex-->pdflatex-->pdflatex

But now i want to include biber for the biblatex package. Is there a way to include it and how do i do it? i guess there is command for biber to implement it as a tool and then i can create a new project like pdflatex-->biber--> etc.

  • 2
    Welcome to TeX.SX! According to marketplace.visualstudio.com/… the LaTeX Workshop Extension can run latexmk. That tool will automatically run LaTeX and Biber as required, so that might be an option (if you have Perl installed, that is). – moewe Nov 12 '18 at 15:34
  • tex.stackexchange.com/q/455648/35864 might be interesting. – moewe Nov 12 '18 at 15:42
  • Perfect, the link you gave was how i thought it might work. I also switched pdflatex to xelatex (that was why latexmk was not the preferd option). Their was still in error with the uniquename-option but that was already solved in another thread. – Inselino Nov 12 '18 at 16:03
5

The solution is quit simple, just as in the link for luatex descriped. LuaLaTeX not recognised as a VS Code tool

So to implent it, you open the settings and go into the settings.json and add the tools xelatex and biber and then make a recipe out of it.

"latex-workshop.latex.tools": [
    {
        "name": "xelatex",
        "command": "xelatex",
        "args": [
            "-synctex=1",
            "-interaction=nonstopmode",
            "-file-line-error",
            "%DOC%"
        ]
    }
    },
    {
        "name": "biber",
        "command": "biber",
        "args": [
            "%DOCFILE%"
        ]
    }
    ],
    "latex-workshop.latex.recipes": [
    {
        "name": "xelatex -> biber -> xelatex*2",
        "tools": [
            "xelatex",
            "biber",
            "xelatex",
            "xelatex"
        ]
    }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.