summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD10
-rw-r--r--neatroff-hyph.install16
-rw-r--r--tmac.hyph5
4 files changed, 24 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 692993fb44a0..a8450ccf2883 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Fri Mar 24 07:13:34 UTC 2017
+# Thu Nov 23 20:57:49 UTC 2017
pkgbase = neatroff-hyph
pkgdesc = Neatroff's hyphenation files (patterns, exceptions and mappings).
- pkgver = 2016.05.16
+ pkgver = 2017.05.17
pkgrel = 1
url = http://tug.ctan.org/tex-archive/language/hyph-utf8/tex/generic/hyph-utf8/patterns/txt/
install = neatroff-hyph.install
@@ -13,9 +13,9 @@ pkgbase = neatroff-hyph
conflicts = neatroff-suite-git
noextract = neatroff-hyph
source = tmac.hyph
- md5sums = 400ca172da0400af0dd21086f25845f0
- sha1sums = bdf1999665fd40813236b739db7e5edbef345c12
- sha256sums = e2149092d239dcfc3127a1d3025a23c867b637858cb94eaf1301249197f514e4
+ md5sums = 43db8c5470ecbd0c43522af0b42e00f8
+ sha1sums = 2cab6691b82bade58c4af282d9ece329ba0b0940
+ sha256sums = 205e250309e131b3db08f583e9f29f9d6e15de8ae97596a356b1f514065184cd
pkgname = neatroff-hyph
diff --git a/PKGBUILD b/PKGBUILD
index 14d43ededfc6..be12ff412914 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: aksr <aksr at t-com dot me>
pkgname=neatroff-hyph
-pkgver=2016.05.16
+pkgver=2017.05.17
pkgrel=1
epoch=
pkgdesc="Neatroff's hyphenation files (patterns, exceptions and mappings)."
@@ -23,9 +23,9 @@ changelog=
source=(tmac.hyph)
noextract=($pkgname)
options=()
-md5sums=('400ca172da0400af0dd21086f25845f0')
-sha1sums=('bdf1999665fd40813236b739db7e5edbef345c12')
-sha256sums=('e2149092d239dcfc3127a1d3025a23c867b637858cb94eaf1301249197f514e4')
+md5sums=('43db8c5470ecbd0c43522af0b42e00f8')
+sha1sums=('2cab6691b82bade58c4af282d9ece329ba0b0940')
+sha256sums=('205e250309e131b3db08f583e9f29f9d6e15de8ae97596a356b1f514065184cd')
## MACROS directory
MDIR=/usr/share/neatroff/tmac
@@ -38,7 +38,7 @@ prepare() {
mkdir hyph/ || return 0
echo "Download hyphenation files:"
- LNG=(af as bg bn ca cop cs cu cy da eo es et eu fi fr fur ga gl grc gu
+ LNG=(af as be bg bn ca cop cs cu cy da eo es et eu fi fr fur ga gl grc gu
de-1901 de-1996 de-ch-1901 el-monoton el-polyton en-gb en-us
hi hr hsb hu hy ia id is it ka kmr kn la la-x-classic la-x-liturgic
lt lv ml mn-cyrl mr mul-ethi nb nl nn oc or pa pl pms pt rm ro ru
diff --git a/neatroff-hyph.install b/neatroff-hyph.install
index 958ff77494de..6a087bae91ea 100644
--- a/neatroff-hyph.install
+++ b/neatroff-hyph.install
@@ -1,14 +1,16 @@
post_install(){
echo "==> To use hyphenation files, there's \`.hyph' macro, for example:"
echo " .hyph de-1996"
+ echo " or"
+ echo " .hyph+ de-1996 (without clearing the previous hyphenation patterns)"
echo " Languages available (by default):"
- echo " af as bg bn ca cop cs cu cy da"
- echo " de-1901 de-1996 de-ch-1901 el-monoton el-polyton"
- echo " en-gb en-us eo es et eu"
- echo " fi fr fur ga gl grc gu hi hr hsb hu hy ia id is it ka kmr kn"
- echo " la la-x-classic la-x-liturgic"
- echo " lt lv ml mn-cyrl mr mul-ethi nb nl nn oc or pa pl pms pt rm"
- echo " ro ru sa sh-cyrl sh-latn sk sl sr-cyrl sv ta te th tk tr uk"
+ echo " af, as, be, bg, bn, ca, cop, cs, cu, cy, da,"
+ echo " de-1901, de-1996, de-ch-1901, el-monoton, el-polyton,"
+ echo " en-gb, en-us, eo, es, et, eu,"
+ echo " fi, fr, fur, ga, gl, grc, gu, hi, hr, hsb, hu, hy, ia, id, is, it, ka, kmr, kn,"
+ echo " la, la-x-classic, la-x-liturgic,"
+ echo " lt, lv, ml, mn-cyrl, mr, mul-ethi, nb, nl, nn, oc, or, pa, pl, pms, pt, rm,"
+ echo " ro, ru, sa, sh-cyrl, sh-latn, sk, sl, sr-cyrl, sv, ta, te, th, tk, tr, uk,"
echo " zh-latn-pinyin"
}
diff --git a/tmac.hyph b/tmac.hyph
index 0d50cedbb406..0c5872e0291d 100644
--- a/tmac.hyph
+++ b/tmac.hyph
@@ -4,3 +4,8 @@
\n(.D/../hyph/hyph-\\$1.hyp.txt \
\n(.D/../hyph/hyph-\\$1.chr.txt
..
+.de hyph+
+. hpfa \n(.D/../hyph/hyph-\\$1.pat.txt \
+ \n(.D/../hyph/hyph-\\$1.hyp.txt \
+ \n(.D/../hyph/hyph-\\$1.chr.txt
+..