I have a package of commands commands.sty on github. Is there a way that I can point TexLive to this github repository so that I can use \includepackage{commands} in any local document?

So far, I've tried going into Configure > Manage Repositories > My Repositories and adding the https://github.com/myuser/commands.git url.

  • 1
    you can't point it at github (or any site, latex has no http access built in) but assuming you have a local clone checked out you can have that directory in your texinputs Mar 10, 2022 at 23:31
  • @DavidCarlisle: Do you mean that I can add the path of the local clone to the Configure > Manage Repositories > My Repositories?
    – rrrrr
    Mar 10, 2022 at 23:49
  • 1
    I have no idea what application that configure menu refers to sorry, no as I say latex has no idea about http (it predates the web) if your local clone is checked out as ~/my repositoreies/commands then set the environment variable TEXINPUTS to ` ~/my repositoreies/commands//: so tex looks there before looking in the standard search tree Mar 11, 2022 at 0:34


You must log in to answer this question.

Browse other questions tagged .