I use latex for cygwin, installed by the cygwin setup GUI. How can I install other missing package? For example i haven't tikz… I've to manually install it or there is a better solution?
[Tex/LaTex] Install packages on cygwin
installingpackageswindows
Related Solutions
save the files of the tarzip from the http://mirror.ctan.org/graphics/pstricks/contrib/vaucanson-g.zip and save the files in your home directory: ~/texmf/tex/generic/vaucanson
Then it should be find by TeX.
\documentclass[]{article}
\usepackage{vaucanson-g}
\begin{document}
\begin{VCPicture}{(0,-2)(5.5,2)}
\State[p]{(0,0)}{A}
\State{(2.5,0)}{B}
\State[r]{(5.5,0)}{C}
\Initial{A} \Final{C}
\EdgeL{A}{B}{a} \ArcL{B}{C}{b} \ArcL{C}{B}{b}
\LoopN{A}{a} \LoopS{C}{d}
\end{VCPicture}
\end{document}
run the example with xelatex
or latex->dvips->ps2pdf
. A more complicated example can be found here: http://mirror.ctan.org/info/examples/PSTricks_en/33-04-3.ltx:
The basic installer does only install some packages and the basic tex system. Therefore if you run TeX code using packages which are not installed the system asks to install them or does it if you have allowed that while the installation process.
In my opinion it is better to install the complete distribution. That needs more time, okay, but you can use your TeX distribution without the need to be always online ...
Your message
The directory is not a valid installation source source
simply means that you are not allowed to install there files. Could it be that you have not the right for that (user account instead of admin account)?
Please add the complete path you used to your question.
Best Answer
If you want LATEX in Cygwin so you can use Bash Script and commands line you may choose to install a complete version of for example Miktex and Texniccenter in Windows and then create a symbolic link to the .exe files you need to compile (e.g. latex.exe, pdflatex.exe, ...) your .tex file from Cygwin Bash shell: