Package Details: texlive-tlpdb 2019-2

Git Clone URL: https://aur.archlinux.org/texlive-tlpdb.git (read-only, click to copy)
Package Base: texlive-tlpdb
Description: The texlive package database (texlive.tlpdb)
Upstream URL: https://www.tug.org/texlive/
Licenses: GPL
Submitter: n3e
Maintainer: n3e
Last Packager: n3e
Votes: 4
Popularity: 0.003130
First Submitted: 2019-06-24 00:38 (UTC)
Last Updated: 2019-06-24 17:23 (UTC)

Latest Comments

eburghar commented on 2022-06-09 10:04 (UTC)

I replaced the texdoc command with this script that use tllocalmgr so you don't have to download the database and have redundant information for docs.

#!/bin/bash
# texdoc replacement working with tllocalmgr installdoc

if [ $# -ne 1 ]; then
    echo "usage: $(basename "$0") package_name"
    exit 1
fi

pdf=$(find /usr/local/share/texmf/doc -name "$1.pdf")
if [ -z "$pdf" ]; then
    while true; do

        echo "Documentation for package $1 not found."
        read -rp "Do you want to try to install it with tllocalmgr (y/n): " yn

        case $yn in 
            [yY] )
                tllocalmgr installdoc "$1"
                break;;
            [nN] )
                exit;;
            * )
                echo invalid response;;
        esac

    done
fi

pdf=$(find /usr/local/share/texmf/doc -name "$1.pdf")
if [ -z "$pdf" ]; then
    echo "Documentation for package $1 not found."
    exit 1
else
    xdg-open "$pdf"
fi