I need LaTeX Eforms, which is part of the package Acrotex which zip-file here, for my TeXLive 2017.
It is not part of Debian TeXLive because the package is not free enough for Debian, stated by Ulrike here.
There is no installation instructions in the package.
The online website has the phrase macros/latex/contrib/acrotex, so maybe, indicating where to install in the filesystem.
Ulrike's comment about installing but I really would like to have a confirmation in my Vanilla system with equivs
control here such that I do not mess up my TeXLive installation.
You can get the miktex package http://mirrors.ctan.org/systems/win32/miktex/tm/packages/acrotex.tar.lzma You only need to unpack it. There are a few files which are documentation, but the rest should simply go in your local texmf in tex/latex/acrotex.
My attempt
- Find the location of the
texmf-local
in your system byfind / -type d -name "texmf-local" 2>/dev/null
- Download the zip-file and unzip it here
Move the files to
/usr/local/texlive/texmf-local
, since you see it is safe in the followingmasi@masi:~$ ls /usr/local/texlive/texmf-local/ bibtex doc dvips fonts metapost tex tlpkg web2c masi@masi:~/Downloads$ cd acrotex/texmf/ doc/ source/ tex/ tpm/
But having a trouble in doing the copying
masi@masi:~/Downloads/acrotex/texmf$ mv * /usr/local/texlive/texmf-local/ mv: replace '/usr/local/texlive/texmf-local/doc', overriding mode 2755 (rwxr-sr-x)?
Studying the environment
masi@masi:~$ ls /usr/local/texlive/texmf-local/doc/ local masi@masi:~$ ls /usr/local/texlive/texmf-local/doc/local/
Getting
Permission denied
withoutsudo
, somasi@masi:~/Downloads/acrotex/texmf$ sudo mv * /usr/local/texlive/texmf-local/ mv: cannot move 'doc' to '/usr/local/texlive/texmf-local/doc': Directory not empty mv: cannot move 'tex' to '/usr/local/texlive/texmf-local/tex': Directory not empty
Output unsuccesful with the test code of the answer.
! LaTeX Error: File `eforms.sty' not found.
Expected output: output in the thread answer screenshot figure here.
Testing Ferenc's proposal
Code where sudo
did not work on the second command
masi@masi:~/Downloads$ sudo tar -C "$(kpsewhich -var-value=TEXMFLOCAL)" --strip-components=1 -xf acrotex.tar.lzma
masi@masi:~/Downloads$ mktexlsr "$(kpsewhich -var-value=TEXMFLOCAL)"
mktexlsr: /usr/local/texlive/texmf-local: directory not writable. Skipping...
mktexlsr: Done.
Output: ! LaTeX Error: File
eforms.sty' not found.` on test tex file so failure.
Using sudo
instead with the second command, you get
masi@masi:~/Downloads$ sudo mktexlsr "$(kpsewhich -var-value=TEXMFLOCAL)"
sudo: mktexlsr: command not found
Testing PATHs in my system
masi@masi:~$ which mktexlsr
/usr/local/texlive/2017/bin/x86_64-linux/mktexlsr
masi@masi:~$ sudo which mktexlsr
masi@masi:~$ sudo -l which mktexlsr
/usr/bin/which mktexlsr
Correct command with correct path (Ferenc)
masi@masi:~$ sudo /usr/local/texlive/2017/bin/x86_64-linux/mktexlsr "$(kpsewhich -var-value=TEXMFLOCAL)"
mktexlsr: Updating /usr/local/texlive/texmf-local/ls-R...
mktexlsr: Done.
Output: as expected with the test file!
OS: Debian 9
TeXLive: 2017 manual installation at TeXLive /usr/local/