Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I was trying to reproduce Claudio Fiandrino's answer to How can we draw a Hannukah Menorah with decorations, using TikZ?. However, I do not have the hobby package by Andrew Stacey in my local distribution. After reading Update TikZ/PGF on mac and How to install a current version of TikZ?, I looked at the latest TikZ/PGF CVS (build on December 7, 2012) but could not located the hobby package in it. I found the hobby directory but do not know where each file is supposed to go in my distribution.

How do I add the hobby package? In general, what would be the easy way to get any new TikZ package installed in a Mac?

EDIT: I have used the drag-and-drop (mac) method as described below.

(1) Drag pml3array.sty file to /Users/Username/Library/texmf/tex/latex folder.
(2) Drag hobby.code.tex file to /Users/Username/Library/texmf/tex/generic/pgf/math folder.
(3) Drag pgflibraryfpu.code.tex to /Users/Username/Library/texmf/tex/generic/pgf/libraries folder.
(4) Drag tikzlibraryhobby.code.tex to /Users/Username/Library/texmf/tex/generic/pgf/frontendlayer/tikz/libraries folder.

I no longer get the hobby cannot be found error message. But, is this correct?

share|improve this question
2  
It's not an official library release but originated from this question tex.stackexchange.com/questions/54771/… you can find it in bazaar.launchpad.net/~tex-sx/tex-sx/development/files –  percusse Dec 10 '12 at 12:53
4  
Also on CTAN: ctan.org/pkg/hobby –  Joseph Wright Dec 10 '12 at 13:02
2  
I guess it's not meaningful to have questions and answers with "where is package X" and "On CTAN. And on dev page Y". So I suggest closing, as Sony got the information, either as too localized or as a duplicate to the question to which @percusse linked. –  Stefan Kottwitz Dec 10 '12 at 13:07
1  
@StefanKottwitz I agree, voted for duplicate. And for the users of hobby packege in answers; May I suggest that you put this info as a comment to make sure that users are directed to the package? –  percusse Dec 10 '12 at 13:09
2  
I've reopened as it's normal to give the OP a reasonable time to make a good case for a question. –  Joseph Wright Dec 10 '12 at 14:50
show 10 more comments

2 Answers 2

up vote 4 down vote accepted

The easiest way to keep up with your TeX library is to download the TeX Live Utility. You can find it in several places if you Google it; however, if you download the MacTeXExtras file from the MacTeX website you can find a copy of it there along with some other useful applications for LaTeX. Using the TeX Live Utility you can download, update, remove individual packages from a repository you specify or just use the default. You can also simply update your entire TeX Library at once if you like. Hobby is among the available packages in the list, but is not installed by default, so just highlight it and click install.

share|improve this answer
    
Thanks for the answer. I think my method of installing (described by steps 1-4 above) Hobby is OK. In any case, I followed your steps and reinstalled Hobby. However, I still get the same error message when I try to compile Claudio's code. The problem is, I have lost interest. I will probably try to find a solution by next Hanukkah. –  Sony Feb 16 '13 at 14:41
    
I assume this answer satisfies my question as stated even though reason for asking the question is unresolved. Therefore, I accept this answer. –  Sony Feb 16 '13 at 15:04
add comment

The hobby library is not part of the core TikZ/pgf bundle, hence will not be found in the TikZ CVS. The code is released to CTAN, which means that it will appear in an 'up to date' TeX Live or MiKTeX package manager for 'managed' installation.

If you need to install the package 'by hand', then from CTAN get the necessary files (all the .tex files and the .sty file except hobby_doc.tex). These need to be installed in your local TeX tree, the details of which vary slightly depending on your operating system. For Linux users, we have How do I install an individual package on a Linux system?, which also has some advice useful for TeX Live users on other platforms. Specific instructions for MiKTeX appear in for example Create a local texmf tree in MiKTeX.

One thing to emphasise here (since it is explicitly mentioned in the question) is that, to a large extent, so long as a file is in TeX's search path then where it is in that path is not important (for an exception see Why isn't kpathsea picking up my local version of a file?). For a user texmf tree (as in the question), it is good practice to have some structure and good practice for that structure to reflect the "standard" structure but by no means obligatory.

share|improve this answer
    
At least MiKTeX complains, if a suggested directory is not in TDS structure, and refuses to add this to the local roots. –  Speravir Dec 12 '12 at 0:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.