summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-10-01 19:57:29 +0000
committerjoerg <joerg@pkgsrc.org>2014-10-01 19:57:29 +0000
commitf4e2f5ac7c2e51832b381bf619e7cb992923233a (patch)
tree98b8d6cd7ce5c01c7134dbb86911cb756f956554 /print
parent7c05927155b8d83f3ba19e64ced1162581cdcd49 (diff)
downloadpkgsrc-f4e2f5ac7c2e51832b381bf619e7cb992923233a.tar.gz
Add tex-ifnextok-0.3:
The package deals with the behaviour of the LaTeX internal command \@ifnextchar, which skips blank spaces. This has the potential to surprise users, since it can produce really unwanted effects. A common example occurs with brackets starting a line following \\: the command looks for an optional argument, whereas the user wants the brackets to be printed. The package offers commands and options for modifying this behaviour, maybe limited to certain parts of the document source.
Diffstat (limited to 'print')
-rw-r--r--print/tex-ifnextok/DESCR9
-rw-r--r--print/tex-ifnextok/Makefile22
-rw-r--r--print/tex-ifnextok/PLIST3
-rw-r--r--print/tex-ifnextok/distinfo5
4 files changed, 39 insertions, 0 deletions
diff --git a/print/tex-ifnextok/DESCR b/print/tex-ifnextok/DESCR
new file mode 100644
index 00000000000..ff4cf9f7501
--- /dev/null
+++ b/print/tex-ifnextok/DESCR
@@ -0,0 +1,9 @@
+The package deals with the behaviour of the LaTeX internal command
+\@ifnextchar, which skips blank spaces. This has the potential to
+surprise users, since it can produce really unwanted effects. A common
+example occurs with brackets starting a line following \\: the command
+looks for an optional argument, whereas the user wants the brackets to
+be printed.
+
+The package offers commands and options for modifying this behaviour,
+maybe limited to certain parts of the document source.
diff --git a/print/tex-ifnextok/Makefile b/print/tex-ifnextok/Makefile
new file mode 100644
index 00000000000..ad5f7579658
--- /dev/null
+++ b/print/tex-ifnextok/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2014/10/01 19:57:29 joerg Exp $
+
+DISTNAME= ifnextok
+PKGNAME= tex-${DISTNAME}-0.3
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=macros/latex/contrib/}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= Utility macro: peek ahead without ignoring spaces
+
+INSTALLATION_DIRS= share/texmf-dist/doc/latex/ifnextok \
+ share/texmf-dist/tex/latex/ifnextok
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/ifnextok/ifnextok.pdf \
+ ${DESTDIR}${PREFIX}/share/texmf-dist/doc/latex/ifnextok
+ ${INSTALL_DATA} ${WRKSRC}/ifnextok/ifnextok.sty \
+ ${DESTDIR}${PREFIX}/share/texmf-dist/tex/latex/ifnextok
+
+.include "../../print/kpathsea/texmf.mk"
+.include "../../print/texlive/package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/tex-ifnextok/PLIST b/print/tex-ifnextok/PLIST
new file mode 100644
index 00000000000..a2e00e7db97
--- /dev/null
+++ b/print/tex-ifnextok/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2014/10/01 19:57:29 joerg Exp $
+share/texmf-dist/doc/latex/ifnextok/ifnextok.pdf
+share/texmf-dist/tex/latex/ifnextok/ifnextok.sty
diff --git a/print/tex-ifnextok/distinfo b/print/tex-ifnextok/distinfo
new file mode 100644
index 00000000000..c2554485453
--- /dev/null
+++ b/print/tex-ifnextok/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/10/01 19:57:29 joerg Exp $
+
+SHA1 (tex-ifnextok-0.3/ifnextok.zip) = f68c5dfca3aa190f17cb74d789bbe34c6f787ca7
+RMD160 (tex-ifnextok-0.3/ifnextok.zip) = 0ae1016e58bda623a777e5cddfbf2ebef352319d
+Size (tex-ifnextok-0.3/ifnextok.zip) = 250047 bytes