pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/tex-poormanlog{,-doc}: import tex-poormanlog{,-doc}-0.07



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Wed Sep 11 23:05:41 2024 +0200
Changeset:	e968742920cf8ad7e8673e616e517ec10c4a959a

Modified Files:
	Makefile
Added Files:
	tex-poormanlog/DESCR
	tex-poormanlog/Makefile
	tex-poormanlog/PLIST
	tex-poormanlog/distinfo

Log Message:
wip/tex-poormanlog{,-doc}: import tex-poormanlog{,-doc}-0.07

This small package (usable with Plain e-TeX, LaTeX, or others)
with no dependencies provides two fast expandable macros
computing logarithms in base 10 and fractional powers of 10.
They handle arguments of 9 digit tokens which stand for either
1 <= d.dddddddd < 10 (for the log) or 0.xxxxxxxxx (for powers
of 10). They achieve a precision of 1ulp for the logarithm and
2ulp for fractional powers of ten. Extension to other numerical
ranges has to be done by user, via own macros or some math
engine. The xintexpr package (at 1.3f) imports the poormanlog
macros as core constituents of its log10(), pow10(), log(),
exp() and pow() functions.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e968742920cf8ad7e8673e616e517ec10c4a959a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                |  2 ++
 tex-poormanlog/DESCR    | 11 +++++++++++
 tex-poormanlog/Makefile | 16 ++++++++++++++++
 tex-poormanlog/PLIST    |  3 +++
 tex-poormanlog/distinfo |  5 +++++
 5 files changed, 37 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 035bea4c90..a01e672c04 100644
--- a/Makefile
+++ b/Makefile
@@ -5488,6 +5488,8 @@ SUBDIR+=	tex-lshort-japanese-doc
 SUBDIR+=	tex-mathtools-doc
 SUBDIR+=	tex-mendex-doc-doc
 SUBDIR+=	tex-platexcheat-doc
+SUBDIR+=	tex-poormanlog
+SUBDIR+=	tex-poormanlog-doc
 SUBDIR+=	tex-ptex-manual-doc
 SUBDIR+=	tex-relsize-doc
 SUBDIR+=	tex-setspace-doc
diff --git a/tex-poormanlog/DESCR b/tex-poormanlog/DESCR
new file mode 100644
index 0000000000..1fde6fd1fd
--- /dev/null
+++ b/tex-poormanlog/DESCR
@@ -0,0 +1,11 @@
+This small package (usable with Plain e-TeX, LaTeX, or others)
+with no dependencies provides two fast expandable macros
+computing logarithms in base 10 and fractional powers of 10.
+They handle arguments of 9 digit tokens which stand for either
+1 <= d.dddddddd < 10 (for the log) or 0.xxxxxxxxx (for powers
+of 10). They achieve a precision of 1ulp for the logarithm and
+2ulp for fractional powers of ten. Extension to other numerical
+ranges has to be done by user, via own macros or some math
+engine. The xintexpr package (at 1.3f) imports the poormanlog
+macros as core constituents of its log10(), pow10(), log(),
+exp() and pow() functions.
diff --git a/tex-poormanlog/Makefile b/tex-poormanlog/Makefile
new file mode 100644
index 0000000000..9a5e77ac7c
--- /dev/null
+++ b/tex-poormanlog/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+DISTNAME=	poormanlog
+PKGNAME=	tex-${DISTNAME}-0.07
+TEXLIVE_REV=	63400
+
+TEXLIVE_USE_CTAN=	yes
+TEXLIVE_UNVERSIONED=	yes
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://ctan.org/pkg/poormanlog
+COMMENT=	Logarithms and powers with (almost) 9 digits
+LICENSE=	lppl-1.3c
+
+.include "../../print/texlive/package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/tex-poormanlog/PLIST b/tex-poormanlog/PLIST
new file mode 100644
index 0000000000..12d20da068
--- /dev/null
+++ b/tex-poormanlog/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+share/texmf-dist/tex/generic/poormanlog/poormanlog.sty
+share/texmf-dist/tex/generic/poormanlog/poormanlog.tex
diff --git a/tex-poormanlog/distinfo b/tex-poormanlog/distinfo
new file mode 100644
index 0000000000..db8f8a23f8
--- /dev/null
+++ b/tex-poormanlog/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (tex-poormanlog-63400/poormanlog.tar.xz) = 1fec838fc66a309b35aa31ca645f5926e84aa736c920eb56f7ea9681c02e3ced
+SHA512 (tex-poormanlog-63400/poormanlog.tar.xz) = e67561e7818e8ff9e02a43c02b8b992a26bef477176ce36eebaea37f56ea182bc9bedcfa56ffd8581b5d696698718d87f5319ac93d79032c4c27780ceb964851
+Size (tex-poormanlog-63400/poormanlog.tar.xz) = 3812 bytes


Home | Main Index | Thread Index | Old Index