TeX Live and MacTeXinstalling avm.sty pachage problems..Please?

Information and discussion about TeX Live distribution for all platforms (Windows, Linux, Mac OS X) and the related MacTeX: installing, updating, configuring
Post Reply
man2011
Posts: 43
Joined: Tue Jan 11, 2011 4:19 am

installing avm.sty pachage problems..Please?

Post by man2011 »

Hi guys,

I have downloaded MacTeX-2010 because my computer is Imac from http://www.tug.org/mactex/. everything seems to be alrite except installing avm.sty pachage. I first looked for it in Terminal but I could not find it and then i tried to install it through terminal by using this code..

Code: Select all

sudo tlmgr install avm.sty
then I got this message

Code: Select all

Muhammad-Alzaidis-iMac:~ muhammadalzaidi$ sudo tlmgr install avm.sty
Password:
tlmgr: package repository http://mirror.ox.ac.uk/sites/ctan.org/systems/texlive/tlnet
package avm.sty not present in package repository.
I do not know what I should do..
please... I need help
any idea..

Thank you
Last edited by man2011 on Fri Jan 14, 2011 12:14 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

installing avm.sty pachage problems..Please?

Post by frabjous »

As near as I can tell, there seems to be some problem with including avm.sty as a part of TeXlive (which MacTeX is based on), because the author has not clarified what license it's distributed with. (See this discussion on the tex-live mailing list here.) I'm not 100% sure about that, because CTAN seems to be down right now, at least for me.

However, if the package is the one discussed here, I think the following procedure should work to install it. (It works on Linux anyway.) Use the following commands from the Terminal:

Code: Select all

TEXMFHOME=$(kpsewhich -var TEXMFHOME)
mkdir -p "$TEXMFHOME/tex/latex/avm" && cd $_
curl -0 http://nlp.stanford.edu/~manning/tex/avm.sty > avm.sty
You might also want to throw in the other packages mentioned there:

Code: Select all

curl -0 http://nlp.stanford.edu/~manning/tex/cm-lingmacros.sty > cm-lingmacros.sty
curl -0 http://nlp.stanford.edu/~manning/tex/gloss.sty > gloss.sty
Now run:

Code: Select all

texhash "$TEXMFHOME"
man2011
Posts: 43
Joined: Tue Jan 11, 2011 4:19 am

installing avm.sty pachage problems..Please?

Post by man2011 »

thank you :D
I have got this message after I did what you said to me but I do not know whether it is now done ..What does message say?

Code: Select all

Last login: Tue Jan 11 03:56:00 on ttys000
Muhammad-Alzaidis-iMac:~ muhammadalzaidi$     TEXMFHOME=$(kpsewhich -var TEXMFHOME)
Muhammad-Alzaidis-iMac:~ muhammadalzaidi$     mkdir -p "$TEXMFHOME/tex/latex/avm" && cd $_
Muhammad-Alzaidis-iMac:avm muhammadalzaidi$     curl -0 http://nlp.stanford.edu/~manning/tex/avm.sty > avm.sty
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5029  100  5029    0     0  11317      0 --:--:-- --:--:-- --:--:-- 22351
Muhammad-Alzaidis-iMac:avm muhammadalzaidi$ 
Muhammad-Alzaidis-iMac:avm muhammadalzaidi$ texhash "$TEXMFHOME"
texhash: Updating /Users/muhammadalzaidi/Library/texmf/ls-R... 
texhash: Done.
Muhammad-Alzaidis-iMac:avm muhammadalzaidi$ 
I think I did a big mistake because before you replied to me I was playing with the Preference setting in TeX Live Utility and now I cannot update the packages at and it gives me this message

The tlmgr tool does not exist at /Applications/tlmgr. Please set the correct location in preferences or install TeX Live.

I do not know what I did... any idea???? :oops:
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

installing avm.sty pachage problems..Please?

Post by frabjous »

man2011 wrote:thank you :D
I have got this message after I did what you said to me but I do not know whether it is now done ..What does message say?
It's just telling you how long it took to download avm.sty. It looks like everything worked fine, and avm should now be installed.
I think I did a big mistake because before you replied to me I was playing with the Preference setting in TeX Live Utility and now I cannot update the packages at and it gives me this message

The tlmgr tool does not exist at /Applications/tlmgr. Please set the correct location in preferences or install TeX Live.

I do not know what I did... any idea???? :oops:
I don't know what you did either. What preference settings? Does /Applications/tlmgr exist? If not, can you find it anywhere else? Try "which tlmgr" and "locate tlmgr" to see if you can find it.

Anyway, I don't use a mac, and I know MacTeX comes with some GUI tools, but I don't know anything about them.
man2011
Posts: 43
Joined: Tue Jan 11, 2011 4:19 am

Re: installing avm.sty pachage problems..Please?

Post by man2011 »

thank you for your help...
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

installing avm.sty pachage problems..Please?

Post by localghost »

Now that the problem is solved, please be so kind and mark the topic (not the last post) accordingly as clearly written in the Board Rules (to be read before posting). Please keep that in mind for the future so that further reminders will not be necessary.


Thorsten
Post Reply