summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/lualatex/selnolig
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-10-12 22:18:28 +0000
committerKarl Berry <karl@freefriends.org>2015-10-12 22:18:28 +0000
commit98f1f46eb83fd925943d70923b53bd3ce785565a (patch)
tree8a074ccf25c5225c7d3934d0ba9257f05520bfe7 /Master/texmf-dist/doc/lualatex/selnolig
parentc7114843bd7744e08eedba6eaff2e358b78e2349 (diff)
selnolig (13oct15)
git-svn-id: svn://tug.org/texlive/trunk@38622 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/lualatex/selnolig')
-rw-r--r--Master/texmf-dist/doc/lualatex/selnolig/README18
-rw-r--r--Master/texmf-dist/doc/lualatex/selnolig/gpp-ft.fea23
-rw-r--r--Master/texmf-dist/doc/lualatex/selnolig/selnolig-bugreport.tex2
-rw-r--r--Master/texmf-dist/doc/lualatex/selnolig/selnolig-english-test.pdfbin111020 -> 81936 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/selnolig/selnolig-english-test.tex6
-rw-r--r--Master/texmf-dist/doc/lualatex/selnolig/selnolig-english-wordlist.tex2
-rw-r--r--Master/texmf-dist/doc/lualatex/selnolig/selnolig-german-test.pdfbin113389 -> 32236 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/selnolig/selnolig-german-test.tex4
-rw-r--r--Master/texmf-dist/doc/lualatex/selnolig/selnolig-german-wordlist.tex2
-rw-r--r--Master/texmf-dist/doc/lualatex/selnolig/selnolig.pdfbin360422 -> 361693 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/selnolig/selnolig.tex14
11 files changed, 29 insertions, 42 deletions
diff --git a/Master/texmf-dist/doc/lualatex/selnolig/README b/Master/texmf-dist/doc/lualatex/selnolig/README
index 53e53f8eac9..6fa78bb1a8b 100644
--- a/Master/texmf-dist/doc/lualatex/selnolig/README
+++ b/Master/texmf-dist/doc/lualatex/selnolig/README
@@ -1,25 +1,25 @@
The selnolig package suppresses typographic ligatures selectively, i.e., based
-on predefined search patterns. The search patterns focus on ligatures deemed
-inappropriate because they span morpheme boundaries. For example, the word
-*shelfful*, which is mentioned in the TeXbook as a word for which the ff
-ligature might be inappropriate, is automatically typeset as shelf{}ful,
+on predefined search patterns. The search patterns identify ligatures that are
+deemed inappropriate because they span morpheme boundaries. For example, the
+word *shelfful*, which is mentioned in the TeXbook as a word for which the "ff"
+ligature might be inappropriate, is automatically typeset as shelf{}ful,
i.e., without the ff ligature.
For English and German language documents, the selnolig package provides
extensive rules for the selective suppression of so-called "common" ligatures.
These comprise the ff, fi, fl, ffi, and ffl ligatures as well as the ft and
fft ligatures. Other f-ligatures, such as fb, fh, fj and fk, are suppressed
-globally; however, the package provides exceptions for names and words of non-
-English/German origin, such as fjord and Kafka.
+globally. However, the package provides exceptions for names and words of
+non-English/German origin, such as fjord and Kafka.
For English language documents, the package further provides ligature
-suppression macros for a number of so-called "discretionary" or "rare"
+suppression rule for a number of so-called "discretionary" or "rare"
ligatures, such as ct, st, and sp.
The package's user guide is in the file selnolig.pdf. If you're not (yet)
familiar with this package, you may want to at least skim the user guide in
-order to get a sense of how it may be used.
+order to get a sense of how the package may be used.
The selnolig package requires use of the LuaLaTeX format provided by a recent
-TeX distribution such as TeXLive2013, TeXLive2012, or MiKTeX2.9.
+TeX distribution, such as TeXLive2015 or MiKTeX2.9.
diff --git a/Master/texmf-dist/doc/lualatex/selnolig/gpp-ft.fea b/Master/texmf-dist/doc/lualatex/selnolig/gpp-ft.fea
deleted file mode 100644
index d7422ed83cd..00000000000
--- a/Master/texmf-dist/doc/lualatex/selnolig/gpp-ft.fea
+++ /dev/null
@@ -1,23 +0,0 @@
-# OpenType feature file to suppress the "rare" f_t.alt
-# ligature provided by the font "Garamond Premier Pro".
-# This feature file is employed by selnolig.tex, the
-# user guide for the 'selnolig' package.
-# Created by Mico Loretan, January 2013, based on
-# important (crucial!) help provided by Khaled Hosny
-# (see http://tex.stackexchange.com/q/89963/5001).
-
-# Scripts and languages
-# If the font uses others, they should be defined here too
-languagesystem DFLT dflt;
-languagesystem latn dflt;
-
-# Undo the "f_t.alt" discretionary ligature
-feature dlig {
- sub f_t.alt by f t;
-} dlig;
-
-# Apply the regular ligatures for ft and fft
-feature liga {
- sub f f t by f_f_t;
- sub f t by f_t;
-} liga; \ No newline at end of file
diff --git a/Master/texmf-dist/doc/lualatex/selnolig/selnolig-bugreport.tex b/Master/texmf-dist/doc/lualatex/selnolig/selnolig-bugreport.tex
index aa98e04c0ce..4ddd2c8ba50 100644
--- a/Master/texmf-dist/doc/lualatex/selnolig/selnolig-bugreport.tex
+++ b/Master/texmf-dist/doc/lualatex/selnolig/selnolig-bugreport.tex
@@ -1,5 +1,5 @@
% !TEX TS-program = lualatex
-% selnolig-bugreport.tex, 2013/08/26
+% selnolig-bugreport.tex, 2015/10/08
\documentclass{article}
\usepackage[margin=1in]{geometry}
diff --git a/Master/texmf-dist/doc/lualatex/selnolig/selnolig-english-test.pdf b/Master/texmf-dist/doc/lualatex/selnolig/selnolig-english-test.pdf
index 57b82dad5ff..49710b249dd 100644
--- a/Master/texmf-dist/doc/lualatex/selnolig/selnolig-english-test.pdf
+++ b/Master/texmf-dist/doc/lualatex/selnolig/selnolig-english-test.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/selnolig/selnolig-english-test.tex b/Master/texmf-dist/doc/lualatex/selnolig/selnolig-english-test.tex
index 4b616c82544..3d84ff9d254 100644
--- a/Master/texmf-dist/doc/lualatex/selnolig/selnolig-english-test.tex
+++ b/Master/texmf-dist/doc/lualatex/selnolig/selnolig-english-test.tex
@@ -8,7 +8,7 @@
% in the companion file 'selnolig-english-wordlist.tex'.
%
% Author: Mico Loretan (loretan dot mico at gmail dot com)
-% Date: 2013/08/26
+% Date: 2015/10/08
% Check first that we're running Lua(La)TeX.
\usepackage{ifluatex}
@@ -50,10 +50,10 @@
\usepackage[document]{ragged2e}
\usepackage{babel}
\usepackage[hdlig,broadf]{selnolig}
-
-\usepackage{showhyphens}
\debugon
+%%%\usepackage{showhyphens}
+
\setlength\parindent{0pt}
\parskip=0.3\baselineskip
\usepackage{multicol}
diff --git a/Master/texmf-dist/doc/lualatex/selnolig/selnolig-english-wordlist.tex b/Master/texmf-dist/doc/lualatex/selnolig/selnolig-english-wordlist.tex
index c38816bb820..e0909ea18b1 100644
--- a/Master/texmf-dist/doc/lualatex/selnolig/selnolig-english-wordlist.tex
+++ b/Master/texmf-dist/doc/lualatex/selnolig/selnolig-english-wordlist.tex
@@ -1,7 +1,7 @@
% !TeX root = selnolig-english-test.tex
% !TEX TS-program = lualatex
-% Last updated: 2013/08/26
+% Last updated: 2015/10/08
% For use with the 'selnolig' package and the
% driver program 'selnolig-english-test.tex'.
diff --git a/Master/texmf-dist/doc/lualatex/selnolig/selnolig-german-test.pdf b/Master/texmf-dist/doc/lualatex/selnolig/selnolig-german-test.pdf
index c5dda259089..2de939c6c3f 100644
--- a/Master/texmf-dist/doc/lualatex/selnolig/selnolig-german-test.pdf
+++ b/Master/texmf-dist/doc/lualatex/selnolig/selnolig-german-test.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/selnolig/selnolig-german-test.tex b/Master/texmf-dist/doc/lualatex/selnolig/selnolig-german-test.tex
index e22fac0c9b6..c58eca3cdd2 100644
--- a/Master/texmf-dist/doc/lualatex/selnolig/selnolig-german-test.tex
+++ b/Master/texmf-dist/doc/lualatex/selnolig/selnolig-german-test.tex
@@ -7,7 +7,7 @@
% of test words is in 'selnolig-german-wordlist.tex'.
%
% Author: Mico Loretan (loretan dot mico at gmail dot com)
-% Date: 2013/08/26
+% Date: 2015/10/08
% Check first that we're running lua(la)tex.
\usepackage{ifluatex}
@@ -36,7 +36,7 @@
\usepackage{babel}
\usepackage{selnolig}
-\usepackage{showhyphens}
+%%%\usepackage{showhyphens}
\usepackage{multicol}
\setlength\columnseprule{.4pt}
\title{selnolig-german-test\\ (Package version: \selnoligpackageversion; \selnoligpackagedate)}
diff --git a/Master/texmf-dist/doc/lualatex/selnolig/selnolig-german-wordlist.tex b/Master/texmf-dist/doc/lualatex/selnolig/selnolig-german-wordlist.tex
index 3980c1ee44d..1e6eeaf26be 100644
--- a/Master/texmf-dist/doc/lualatex/selnolig/selnolig-german-wordlist.tex
+++ b/Master/texmf-dist/doc/lualatex/selnolig/selnolig-german-wordlist.tex
@@ -1,7 +1,7 @@
% !TeX root = selnolig-german-test.tex
% !TEX TS-program = lualatex
-% Last updated: 2013/08/26
+% Last updated: 2015/10/08
% For use with the 'selnolig' package and the
% driver program 'selnolig-german-test.tex'.
diff --git a/Master/texmf-dist/doc/lualatex/selnolig/selnolig.pdf b/Master/texmf-dist/doc/lualatex/selnolig/selnolig.pdf
index aec21eeb043..6eab0350d8f 100644
--- a/Master/texmf-dist/doc/lualatex/selnolig/selnolig.pdf
+++ b/Master/texmf-dist/doc/lualatex/selnolig/selnolig.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/selnolig/selnolig.tex b/Master/texmf-dist/doc/lualatex/selnolig/selnolig.tex
index 9949c72dd5d..77c263bc4c6 100644
--- a/Master/texmf-dist/doc/lualatex/selnolig/selnolig.tex
+++ b/Master/texmf-dist/doc/lualatex/selnolig/selnolig.tex
@@ -10,7 +10,7 @@
% It has the status "maintained".
%
% Author: Mico Loretan (loretan dot mico at gmail dot com)
-% Date: 2013/08/26
+% Date: 2015/10/08
% The file selnolig.tex contains the user guide to the
% selnolig package.
@@ -29,6 +29,15 @@
% several font families
\usepackage{fontspec}
+\ifdefined\suppressfontnotfounderror
+ \expandafter\let\csname xetex_suppressfontnotfounderror:D\endcsname
+ \suppressfontnotfounderror
+\else
+ \expandafter\let\csname xetex_suppressfontnotfounderror:D\endcsname
+ \luatexsuppressfontnotfounderror
+\fi
+
+
\setmainfont[FeatureFile= gpp-ft.fea,
Numbers = OldStyle,
Ligatures = {TeX, Common, Rare},
@@ -56,6 +65,7 @@
\newfontfamily\blackletter[Ligatures=NoCommon]
{UnifrakturMaguntia}
+
% Load several more packages, including babel
@@ -985,7 +995,7 @@ Introductory note: To accommodate the practice of Swiss-German writers of not us
\ebg
-As I noted in the introduction, the suppression of ligatures that cross morpheme boundaries is generally not considered to be an urgent typographical priority in English language documents, possibly because words with ligatures that cross morpheme boundaries aren't all that common. I did a quick check of this claim by compiling Jack London's novels \emph{Call of the Wild} and \emph{The Sea Wolf}, obtained from Project Gutenberg's site in plain-text format, with \pkg{selnolig}. Sure enough, in \emph{Call of the Wild} only one f-ligature is suppressed: the \enquote{fl} in \uselig{wolflike}\slash wolflike. In \emph{The Sea Wolf}, again only one f-ligature is suppressed: the \enquote{ft} in \uselig{fifth}\slash fifth (3 instances). Not exactly a lot of words, right?!
+As I noted in the introduction, in English language documents the suppression of ligatures that cross morpheme boundaries is generally not considered to be an urgent typographical priority, possibly because words with ligatures that cross morpheme boundaries aren't all that common. I performed a quick check of this claim by compiling Jack London's novels \emph{Call of the Wild} and \emph{The Sea Wolf}, obtained from Project Gutenberg's site in plain-text format, with \pkg{selnolig}. Sure enough, in \emph{Call of the Wild} only one f-ligature is suppressed: the \enquote{fl} ligature in \uselig{wolflike}\slash wolflike. In \emph{The Sea Wolf}, again only one f-ligature is suppressed: the \enquote{ft} ligature in \uselig{fifth}\slash fifth (3 instances). Not exactly a lot of words, right?!
The situation is quite different for German texts. E.g., in Thomas Mann's novel \emph{Die Buddenbrooks}, more than 430 words are caught by \pkg{selnolig}'s rules; they are listed below. (Incidentally, the fi-ligature in the words Kaufinger and Kaufingerstraße is suppressed because \enquote{\uselig{Kaufinger}} (\enquote{chew-finger}) looks unintentionally hilarious.)