Opened 13 years ago

Closed 13 years ago

#30962 closed defect (invalid)

Packages within pgf 2.10 not recognized by texlive path when installed

Reported by: joseph.gaeddert@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: pgf texlive preview.sty Cc: nerdling (Jeremy Lavergne), michaelld (Michael Dickens), drkp (Dan Ports)
Port: pgf

Description

After recently upgrading texlive, and pgf (2.0), the LaTeX distro no longer recognizes the pgf and tikz files in the path. When compiling a pgf document with \usepackage{preview} the following error is given

(/opt/local/share/texmf/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarytopaths.code.tex)))
(/opt/local/share/texmf-texlive-dist/tex/latex/tools/verbatim.sty)

! LaTeX Error: File `preview.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 

This ticket isimilar to ticket #25567 from about a year ago; however only in reference to the preview.sty package. I think I got it to work before with some texhash trickery, but I can't remember what I did. After a fresh re-install of OS 10.7.1 (Lion) and subsequence new installation of macports I'm getting the same errors.

Running

  find /opt -name 'preview.sty'

returns nothing, indicating that preview.sty isn't installed.

Change History (6)

comment:1 Changed 13 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… michaelld@… added; snc@… removed

comment:2 Changed 13 years ago by nerdling (Jeremy Lavergne)

Cc: dports@… added

Do I have the wrong directory for the tex files? Currently using $texlive_texmfports

comment:3 in reply to:  2 Changed 13 years ago by drkp (Dan Ports)

Replying to snc@…:

Do I have the wrong directory for the tex files? Currently using $texlive_texmfports

No, that's correct.

preview.sty isn't part of pgf. It's available in either texlive-latex-extra or auctex.

comment:4 Changed 13 years ago by nerdling (Jeremy Lavergne)

Dr. Gaeddert, please verify that either of those packages are installed.

This page might be helpful in locating a given TeXLive package: http://trac.macports.org/wiki/TeXLivePackages

comment:5 in reply to:  4 Changed 13 years ago by joseph.gaeddert@…

Replying to snc@…:

Dr. Gaeddert, please verify that either of those packages are installed.

Indeed, I didn't have texlive-latex-extra installed. Sorry for the confusion; I should have dug a little deeper before creating a new ticket. Thanks for the help!

This page might be helpful in locating a given TeXLive package: http://trac.macports.org/wiki/TeXLivePackages

This page was incredibly helpful. I don't re-install macports very often (just got a new machine) so I'm always confused as to what I need regarding LaTeX distributions. You can probably action this ticket as "invalid."

Thanks for the help.

comment:6 Changed 13 years ago by nerdling (Jeremy Lavergne)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.