You are not logged in.

#1 2010-08-16 19:19:25

unhammer
Member
Registered: 2009-10-01
Posts: 99
Website

problem installing tikz-qtree with tllocalmgr

Hopefully this has a simple solution... I tried using tllocalmgr to install tikz-qtree, but it Aborts when building (and then lies and says "Finished"), see http://paste2.org/p/952793 .

find /usr/share/texmf-dist/|grep tikz-qtree

gives no results, while

tllocalmgr> listfiles tikz-qtree
tikz-qtree:
        RELOC/doc/latex/tikz-qtree/README
        RELOC/doc/latex/tikz-qtree/test.pdf
        RELOC/doc/latex/tikz-qtree/test.tex
        RELOC/doc/latex/tikz-qtree/tikz-qtree-manual.pdf
        RELOC/doc/latex/tikz-qtree/tikz-qtree-manual.tex
        RELOC/tex/latex/tikz-qtree/pgfsubpic.sty
        RELOC/tex/latex/tikz-qtree/pgfsubpic.tex
        RELOC/tex/latex/tikz-qtree/pgftree.sty
        RELOC/tex/latex/tikz-qtree/pgftree.tex
        RELOC/tex/latex/tikz-qtree/tikz-qtree-compat.sty
        RELOC/tex/latex/tikz-qtree/tikz-qtree.sty
        RELOC/tex/latex/tikz-qtree/tikz-qtree.tex

Is anyone able to see what I'm doing wrong?

Offline

#2 2010-08-30 12:04:10

unhammer
Member
Registered: 2009-10-01
Posts: 99
Website

Re: problem installing tikz-qtree with tllocalmgr

OK so it put the file into

~/.texlive/texmf-var/arch/builds/tikz-qtree

but

tllocalmgr> info tikz-qtree
tikz-qtree:
  Category: Package
  ShortDesc: Use existing qtree syntax for trees in TikZ.
  LongDesc: The package provides a macro for drawing trees with TikZ using the easy syntax of Alexis Dimitriadis' Qtree. It improves on TikZ's standard tree-drawing facility by laying out tree nodes without collisions; it improves on Qtree by adding lots of features from TikZ (for example, edge labels, arrows between nodes); and it improves on pst-qtree in being usable with pdfTeX and XeTeX.
  Size: 6668
  Collection: texlive-pictures
  Revision: 16546
  Installed: No

-- it's not installed into $TEXMFLOCAL

Last edited by unhammer (2010-08-30 12:49:50)

Offline

#3 2010-08-30 13:13:45

unhammer
Member
Registered: 2009-10-01
Posts: 99
Website

Re: problem installing tikz-qtree with tllocalmgr

I looked through the ~/.texlive/texmf-var/arch/builds/tikz-qtree/PKGBUILD, and I found where it failed:

$ wanteddirs=$(for d in *; do test -d $d && [[ $d != texmf* ]] && echo $d; done)
$ echo $?
1

and that aborts it!

I belive the reason why it fails with tikz-qtree is that this package puts only the "tex" folder in src, but also contains the downloaded file, which is alphabetically afterwards:
 
tex # test -d passes, added
tikz-qtree.tar.xz # test -d fails, last thing in the loop, we return 1

The solution is to change the line into

  wanteddirs=$(for d in *; do test -d $d && [[ $d != texmf* ]] && echo $d; done; return 0)

Last edited by unhammer (2010-08-30 13:22:49)

Offline

Board footer

Powered by FluxBB