Opened 13 years ago

Closed 13 years ago

#30362 closed defect (fixed)

texlive-latex-extra @19548: xcomment.sty broken

Reported by: akimd (Akim Demaille) Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: Cc:
Port: texlive-latex-extra

Description

demaille@zugarramundi /tmp $ cat foo.tex
\documentclass{article}
\usepackage{xcomment}
\begin{document}
\end{document}

demaille@zugarramundi /tmp $ pdflatex foo.tex
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010/MacPorts 2010_4)
 restricted \write18 enabled.
entering extended mode
(./foo.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, bu
lgarian, russian, ukrainian, basque, french, loaded.
(/opt/local/share/texmf-texlive-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/opt/local/share/texmf-texlive-dist/tex/latex/base/size10.clo))
(/opt/local/share/texmf-texlive-dist/tex/generic/xcomment/xcomment.sty

! LaTeX Error: File `xcomment.tex' not found.

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

Enter file name: x

demaille@zugarramundi /tmp $

xcomment.sty is very short:

$ cat /opt/local/share/texmf-texlive-dist/tex/generic/xcomment/xcomment.sty
%% $Id: xcomment.sty 315 2010-05-14 21:31:03Z herbert $
\ProvidesPackage{xcomment}[2010/05/13 package wrapper for 
  xcomment.tex (hv)]
\input{xcomment.tex}
\ProvidesFile{xcomment.tex}
  [\filedate\space v\fileversion\space `xcomment' (tvz)]
\endinput

as you can see, it really needs xcomment.tex. I don't understand how the package is made: if I request who provides xcomment, it says:

$ port provides /opt/local/share/texmf-texlive-dist/tex/generic/xcomment/xcomment.sty
/opt/local/share/texmf-texlive-dist/tex/generic/xcomment/xcomment.sty is provided by: texlive-latex-extra

yet if I grep for xcomment in the package, its answer is in *doc*:

$ port contents texlive-latex-extra | grep xcomment
  /opt/local/share/texmf-texlive-dist/doc/generic/xcomment/Changes
  /opt/local/share/texmf-texlive-dist/doc/generic/xcomment/Makefile
  /opt/local/share/texmf-texlive-dist/doc/generic/xcomment/README
  /opt/local/share/texmf-texlive-dist/doc/generic/xcomment/xcomment-doc.pdf
  /opt/local/share/texmf-texlive-dist/doc/generic/xcomment/xcomment-doc.tex
  /opt/local/share/texmf-texlive-dist/doc/generic/xcomment/xcomment.tex
  /opt/local/share/texmf-texlive-dist/tex/generic/xcomment/xcomment.sty

so the file is there, but at the wrong place (or so it seems).

Cheers.

Change History (3)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to dports@…

Please remember to cc the maintainer.

comment:2 Changed 13 years ago by drkp (Dan Ports)

Status: newassigned

Looks like an upstream bug that's fixed in TL2011, which we should have soon...

comment:3 Changed 13 years ago by drkp (Dan Ports)

Resolution: fixed
Status: assignedclosed

Should be fixed in TL2011 (r82097)

Note: See TracTickets for help on using tickets.