Package Details: texlab-git r1267.8ae99ec-3

Git Clone URL: (read-only, click to copy)
Package Base: texlab-git
Description: An implementation of the Language Server Protocol for LaTeX
Upstream URL:
Keywords: LaTeX lsp texlab
Licenses: MIT
Conflicts: texlab, texlab-bin
Submitter: he-la
Maintainer: he-la
Last Packager: he-la
Votes: 0
Popularity: 0.000000
First Submitted: 2019-05-03 13:56
Last Updated: 2020-06-28 09:46

Required by (0)

Sources (1)

Latest Comments

byrongibby commented on 2021-07-26 08:25

PKGBUILD didn't seem to install the necessary toolchain? I manually installed rustup and ran rustup toolchain install stable in order to successfully complete the install.

PythonNut commented on 2019-09-13 02:34

Also depends on node and npm?

he-la commented on 2019-09-06 14:33

EDIT: The rust packaging situation seems to have stabilised somewhat and things should work as expected. A remaining issue is the incompatibility between the rust and the rustup package; if you do not want to install multiple versions of rust, feel free to change the make dependency to rust rather than rustup.

Hey everyone, sorry for the delay. I still cannot get a consistently successful build on all of my systems, but it works in a basic docker container and hence hopefully works for a lot of scenarios, so I decided to update the package regardless of the remaining issues. If you run into any issues and figure out how to resolve them, please shoot me a message. Alternatively, use the non-git "texlab" package from the aur.

efoerster commented on 2019-08-20 16:46

Hey, I have create a versioned AUR package ( with the newest version. Feel free to adopt it.

lucc commented on 2019-07-24 11:35

A new version has been released. Maybe you can update the PKGBUILD for the new rust version

I started to patch the PKGBUILD locally and came this far:

diff --git a/PKGBUILD b/PKGBUILD
index c77e2c6..c8ba6c9 100644
@@ -2,14 +2,14 @@

 pkgdesc="An implementation of the Language Server Protocol for LaTeX"
-makedepends=('git' 'gradle')
+makedepends=('git' 'rust' 'npm')

@@ -20,23 +20,24 @@ pkgver() {

 build () {
    cd "$srcdir/${pkgname}"
-   chmod +x gradlew
-   ./gradlew build
+   pushd citeproc
+   npm install
+   npm run dist
+   popd
+   cargo build --release

 package() {
    cd "$srcdir/${pkgname}"
    mkdir -p "${pkgdir}/usr/share/licenses/${_pkgname}"
-   mkdir -p "$pkgdir/usr/share/java/${_pkgname}"
+   mkdir -p "${pkgdir}/usr/bin"

-   cp LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
-   chmod 644 "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
-   cp "build/libs/texlab.jar" "$pkgdir/usr/share/java/${_pkgname}"
+   install -m 644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
+   install -m 644 src/data/completion.json somewhere  # TODO
+   install target/release/texlab "${pkgdir}/usr/bin/"

-   echo ""
-   echo "IMPORTANT:"
-   echo "The texlab.jar server has been installed under:"
-   echo "    /usr/share/java/${_pkgname}"
-   echo "Configure your editor plugin to point here!"
-   echo ""
+test () {
+   cd "$srcdir/${pkgname}"
+   cargo test --all

But as you can see I could not figure out if and where to install the completion database.

wbthomason commented on 2019-07-02 16:18


he-la commented on 2019-07-02 16:03

Thanks. I will be updating ASAP.

wbthomason commented on 2019-07-02 15:33

texlab has officially switched the master branch over to the Rust rewrite of the server. An updated PKGBUILD should follow the instructions here: to build the new version; dependencies will include npm and cargo, while the Java dependencies can be removed.