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.

Possible Duplicate:
How do I install an individual package on a Linux system?

My TeXLive doesn't have the standalone package. I read part of the documentation, the PDF file from the standalone package in the CTAN page. In case of tlmgr it suggests a manual installation if one uses Ubuntu, as is my case.

What usually works for me is copying the .sty or .cls files into the right path and then texhash. In the case of standalone the .zip bundle doesn't include those kind of files but .dtx and .ins files.

Could somebody spell out how to manually install those kind of files?

share|improve this question

marked as duplicate by Joseph Wright Nov 23 '12 at 13:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2  
Simply run latex standalone.ins and this will produce the .sty, .cls .cfg files and a .tex file; if you run latex standalone.dtx you will also have the documentation. –  Gonzalo Medina Oct 13 '12 at 21:23
2  
You should consider installing TeX Live 2012, which is available through a PPA and should be included in the next release of Ubuntu. –  egreg Oct 13 '12 at 21:25
1  
@JorgeCampos The ydoc.cls is required only to produce the documentation, which you can find online at texdoc.net/texmf-dist/doc/latex/standalone/standalone.pdf –  egreg Oct 13 '12 at 21:27
1  
@JorgeCampos then this file (used internally by standalone to generate the package documentation) is missing in your system; you will need to also install ydoc.cls. As you see, resolving dependences might take you some time; beter install TeX Live2012; see egreg's comment. –  Gonzalo Medina Oct 13 '12 at 21:29
    
Ok that seems a better procedure... –  c.p. Oct 13 '12 at 21:46
add comment

1 Answer

up vote 2 down vote accepted

There is no need to unpack the files manually or create the documentation:
CTAN:install/macros/latex/standalone.tds.zip already contains all files for the installation. You only need it to unpack it into your TEXMFHOME or TEXMFLOCAL tree. For example, installing in the home texmf tree:

$ unzip standalone.tds.zip -d ~/texmf

After installing in the local texmf tree, you need to call

$ sudo texhash
share|improve this answer
add comment

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