summaryrefslogtreecommitdiff
path: root/print/tex-printlen
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2010-04-29 22:42:23 +0000
committerminskim <minskim@pkgsrc.org>2010-04-29 22:42:23 +0000
commit9126bb70355dd2e18304a979295388ce9eb370ef (patch)
tree9eea6138b381498c18833a797d159de04da5248d /print/tex-printlen
parent34a64126fd24d81e9870a9f6b7435ad655748b8c (diff)
downloadpkgsrc-9126bb70355dd2e18304a979295388ce9eb370ef.tar.gz
Import tex-printlen-1.1a as print/tex-printlen.
\printlength{length} prints the value of a LaTeX length in the units specified by \uselengthunit{unit} ('unit' may be any TeX length unit except for scaled point, viz., any of: pt, pc, in, mm, cm, bp, dd or cc). When the unit is pt, the printed length value will include any stretch or shrink; otherwise these are not printed. The 'unit' argument may also be PT, in which case length values will be printed in point units but without any stretch or shrink values.
Diffstat (limited to 'print/tex-printlen')
-rw-r--r--print/tex-printlen/DESCR7
-rw-r--r--print/tex-printlen/Makefile13
-rw-r--r--print/tex-printlen/PLIST2
-rw-r--r--print/tex-printlen/distinfo5
4 files changed, 27 insertions, 0 deletions
diff --git a/print/tex-printlen/DESCR b/print/tex-printlen/DESCR
new file mode 100644
index 00000000000..87305f78883
--- /dev/null
+++ b/print/tex-printlen/DESCR
@@ -0,0 +1,7 @@
+\printlength{length} prints the value of a LaTeX length in the units
+specified by \uselengthunit{unit} ('unit' may be any TeX length unit
+except for scaled point, viz., any of: pt, pc, in, mm, cm, bp, dd or
+cc). When the unit is pt, the printed length value will include any
+stretch or shrink; otherwise these are not printed. The 'unit'
+argument may also be PT, in which case length values will be printed
+in point units but without any stretch or shrink values.
diff --git a/print/tex-printlen/Makefile b/print/tex-printlen/Makefile
new file mode 100644
index 00000000000..6dacf890db5
--- /dev/null
+++ b/print/tex-printlen/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/04/29 22:42:23 minskim Exp $
+# TeX Live Revision 15878
+
+DISTNAME= printlen
+PKGNAME= tex-${DISTNAME}-1.1a
+
+MAINTAINER= minskim@NetBSD.org
+COMMENT= Print lengths using specified units
+
+CONFLICTS+= tex-ltxmisc<2009
+
+.include "../../print/texlive/package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/tex-printlen/PLIST b/print/tex-printlen/PLIST
new file mode 100644
index 00000000000..569f6d5659e
--- /dev/null
+++ b/print/tex-printlen/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/04/29 22:42:23 minskim Exp $
+share/texmf-dist/tex/latex/printlen/printlen.sty
diff --git a/print/tex-printlen/distinfo b/print/tex-printlen/distinfo
new file mode 100644
index 00000000000..c3e570efbfe
--- /dev/null
+++ b/print/tex-printlen/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/04/29 22:42:23 minskim Exp $
+
+SHA1 (tex-printlen-1.1a/printlen.tar.xz) = 1a9615ecb370b9ac0900b40226603c0b004553d4
+RMD160 (tex-printlen-1.1a/printlen.tar.xz) = 714c7685818636633dc209ed55c08af773fa54fa
+Size (tex-printlen-1.1a/printlen.tar.xz) = 1848 bytes