ports/118116: [NEW PORT] print/latex-prettyref: Improved reference formatting for LaTeX2e
Koji Yokota
yokota at res.otaru-uc.ac.jp
Mon Nov 19 08:30:03 UTC 2007
>Number: 118116
>Category: ports
>Synopsis: [NEW PORT] print/latex-prettyref: Improved reference formatting for LaTeX2e
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 19 08:30:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Koji Yokota
>Release: FreeBSD 6.2-RELEASE-p7 i386
>Organization:
Otaru University of Commerce
>Environment:
System: FreeBSD hoge.otaru-uc.ac.jp 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #8: Tue Nov 13 18:25:29 JST 2007
>Description:
Prettyref provides a command \newrefformat, which specifies the way in
which a reference is typeset, according to a label "identification".
The identification is set in the \label command, by using prefixed label
names; so instead of \label{mysection}, one uses \label{sec:mysection},
and prettyref interprets the "sec:" part. The package is compatible
with hyperref and with other packages.
WWW: http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- latex-prettyref-3.0.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# latex-prettyref
# latex-prettyref/Makefile
# latex-prettyref/distinfo
# latex-prettyref/pkg-descr
# latex-prettyref/pkg-plist
#
echo c - latex-prettyref
mkdir -p latex-prettyref > /dev/null 2>&1
echo x - latex-prettyref/Makefile
sed 's/^X//' >latex-prettyref/Makefile << 'END-of-latex-prettyref/Makefile'
X# New ports collection makefile for: print/latex-prettyref
X# Date created: 19 November 2007
X# Whom: Koji Yokota (yokota at res.otaru-uc.ac.jp)
X#
X# $FreeBSD$
X#
X
XPORTNAME= latex-prettyref
XPORTVERSION= 3.0
XCATEGORIES= print
XMASTER_SITES= ${MASTER_SITE_TEX_CTAN}
XMASTER_SITE_SUBDIR= macros/latex/contrib
XDISTNAME= ${PORTNAME:S/^latex-//}
XDIST_SUBDIR= latex
X
XMAINTAINER= yokota at res.otaru-uc.ac.jp
XCOMMENT= Improved reference formatting for LaTeX2e
X
XBUILD_DEPENDS= ${LOCALBASE}/share/texmf:${PORTSDIR}/print/teTeX-texmf
X
XUSE_ZIP= yes
X
XTEXMFDIR= share/texmf
XSTYDIR= tex/latex/${PORTNAME:S/^latex-//}
XDOCSDIR= doc/latex/${PORTNAME:S/^latex-//}
XINSFILE= ${PORTNAME:S/^latex-//}.ins
XSTYFILE= ${PORTNAME:S/^latex-//}.sty
XPDFFILE= ${PORTNAME:S/^latex-//}.pdf
XMKTEXLSR= ${LOCALBASE}/bin/mktexlsr
X
Xdo-build:
X @( cd ${WRKSRC} && tex ${INSFILE} )
X
Xdo-install:
X @( cd ${WRKSRC} && \
X ${COPYTREE_SHARE} "${STYFILE}" ${PREFIX}/${TEXMFDIR}/${STYDIR} )
X.if !defined(NOPORTDOCS)
X @( cd ${WRKSRC} && \
X ${COPYTREE_SHARE} "${PDFFILE}" ${PREFIX}/${TEXMFDIR}/${DOCSDIR} )
X.endif
X
Xpost-install:
X ${MKTEXLSR} ${PREFIX}/${TEXMFDIR}
X
X.include <bsd.port.mk>
END-of-latex-prettyref/Makefile
echo x - latex-prettyref/distinfo
sed 's/^X//' >latex-prettyref/distinfo << 'END-of-latex-prettyref/distinfo'
XMD5 (latex/prettyref.zip) = f74e1c2801aee75b411ead595ebaf0a2
XSHA256 (latex/prettyref.zip) = dfbc58aa0dcbb00fc58541da7580845e2c0a26b629410728abbc7faf124b60c4
XSIZE (latex/prettyref.zip) = 35300
END-of-latex-prettyref/distinfo
echo x - latex-prettyref/pkg-descr
sed 's/^X//' >latex-prettyref/pkg-descr << 'END-of-latex-prettyref/pkg-descr'
XPrettyref provides a command \newrefformat, which specifies the way in
Xwhich a reference is typeset, according to a label "identification".
XThe identification is set in the \label command, by using prefixed label
Xnames; so instead of \label{mysection}, one uses \label{sec:mysection},
Xand prettyref interprets the "sec:" part. The package is compatible
Xwith hyperref and with other packages.
X
XWWW: http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/
END-of-latex-prettyref/pkg-descr
echo x - latex-prettyref/pkg-plist
sed 's/^X//' >latex-prettyref/pkg-plist << 'END-of-latex-prettyref/pkg-plist'
X%%PORTDOCS%%share/texmf/doc/latex/prettyref/prettyref.pdf
Xshare/texmf/tex/latex/prettyref/prettyref.sty
X%%PORTDOCS%%@dirrm share/texmf/doc/latex/prettyref
X at dirrm share/texmf/tex/latex/prettyref
END-of-latex-prettyref/pkg-plist
exit
--- latex-prettyref-3.0.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list