9

How can I install citeref via tlmgr from TexLive 2012 in Ubuntu 12.10? Why was citeref.sty dropped in Texlive 2012?

  • 2
    I assume it was dropped from TeXLive because the status of its license is uncertain, and it therefore defaults to non-free. As the link says, you should consider carefully whether you can/should use such software. – jon Nov 12 '12 at 11:50
  • citeref is now available under a BSD license. – 0 _ Apr 09 '18 at 02:54

2 Answers2

10

citeref.sty is available on CTAN as <CTAN>/macros/latex/contrib/citeref/citeref.sty; it's not on TeX Live because the file shows no licensing notice whatsoever, so a non free license must be assumed in order to comply with the guidelines on free software.

You can't use tlmgr for installing it; however it's easy to install it manually with the following shell commands

wget http://mirrors.ctan.org/macros/latex/contrib/citeref/citeref.sty
sudo mkdir -p /usr/local/texlive/texmf-local/tex/latex/citeref
sudo cp citeref.sty /usr/local/texlive/texmf-local/tex/latex/citeref
sudo mktexlsr

The first command can also be

curl -O http://mirrors.ctan.org/macros/latex/contrib/citeref/citeref.sty
egreg
  • 1,121,712
0

Current path for manually installed packages is /usr/local/share/texmf/, so based on egreg's post, proper commands are:

wget http://mirrors.ctan.org/macros/latex/contrib/citeref/citeref.sty
sudo mkdir -p /usr/local/share/texmf/tex/latex/citeref
sudo cp citeref.sty /usr/local/share/texmf/tex/latex/citeref
sudo mktexlsr
  • Welcome to TeX.SE. What's the basis for your claim that the "[c]urrent path for manually installed packages is /usr/local/share/texmf/? Which TeX distribution do you have in mind? For sure, on a MacOS system with MacTeX installed, the directory /usr/local/share/texmf/ is not defined by default. I'm curious why you don't mention either /usr/local/texlive/texmf-local or ~/texmf. – Mico May 09 '17 at 11:24