[latex3-commits] [git/LaTeX3-latex3-babel] docs: 3.87. (4fb92ac)
Javier
email at dante.de
Tue Mar 28 16:38:42 CEST 2023
Repository : https://github.com/latex3/babel
On branch : docs
Link : https://github.com/latex3/babel/commit/4fb92acd22c7e980580e30c856981dedb6e82e30
>---------------------------------------------------------------
commit 4fb92acd22c7e980580e30c856981dedb6e82e30
Author: Javier <email at localhost>
Date: Tue Mar 28 16:38:42 2023 +0200
3.87.
>---------------------------------------------------------------
4fb92acd22c7e980580e30c856981dedb6e82e30
docs/_includes/menu.html | 5 +----
docs/guides/non-standard-hyphenation-with-luatex.md | 18 ++++++++++--------
docs/index.md | 2 +-
docs/news/whats-new-in-babel-3.87.md | 2 +-
4 files changed, 13 insertions(+), 14 deletions(-)
diff --git a/docs/_includes/menu.html b/docs/_includes/menu.html
index 49a7606..82199bc 100644
--- a/docs/_includes/menu.html
+++ b/docs/_includes/menu.html
@@ -6,6 +6,7 @@
<!-- -->
<li><a href="#">News</a>
<ul>
+ <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.87.html">3.87</a></li>
<li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.86.html">3.86</a></li>
<li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.85.html">3.85</a></li>
<li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.84.html">3.84</a></li>
@@ -21,10 +22,6 @@
<li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.74.html">3.74</a></li>
<li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.73.html">3.73</a></li>
<li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.72.html">3.72</a></li>
- <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.71.html">3.71</a></li>
- <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.70.html">3.70</a></li>
- <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.69.html">3.69</a></li>
- <li><a href="https://latex3.github.io/babel/news/whats-new-in-babel-3.68.html">3.68</a></li>
</ul>
</li>
<!-- -->
diff --git a/docs/guides/non-standard-hyphenation-with-luatex.md b/docs/guides/non-standard-hyphenation-with-luatex.md
index 22ac705..d68bee7 100644
--- a/docs/guides/non-standard-hyphenation-with-luatex.md
+++ b/docs/guides/non-standard-hyphenation-with-luatex.md
@@ -12,9 +12,9 @@ frequent cases, too. Please, refer to its manual for further
information.)
Here is a simple example of a declaration, which tell LaTeX to change
-the group ‘ck’ to ‘kk’ if the hyphenation point falls inside this group
-(it’s not meant as a full rule for German, just a starting
-point).
+the group ‘ck’ to ‘kk’ with an optional hyphenation point inside this
+group (it’s not meant as a full o realistic rule for German, but just a
+starting point).
```tex
\babelposthyphenation{german}{ck}{
{ no = c, pre = k- },
@@ -110,11 +110,12 @@ a convenience the {} syntax can be used to enter **character classes**
in the pattern, too (ie, `{d}` becomes `%d`, but note `{1}` is not
internally the same as `%1`).
-And here is a complete example:
+And here is a complete example (again, no attempt is done to follow the
+full rules):
```tex
\documentclass{article}
-\usepackage[ngerman]{babel}
+\usepackage[german]{babel}
\babelposthyphenation{ngerman}{([fmtrp]) | {1}}{
{ no = {1}, pre = {1}{1}- },
@@ -165,7 +166,7 @@ with digraphs and trigraphs):
* In Greek, a diaeresis disappears if the vowel group is broken (see
Németh, _TUGboat_ 87):
```tex
-\babelposthyphenation{ngerman}{greek}{α|ΐο}{
+\babelposthyphenation{greek}{α|ΐο}{
{},
remove,
{ no= ΐ , pre= - , post= ί },
@@ -195,7 +196,7 @@ In cases like this, you may want to use maps as described above.
* To prevent a line break if there is a single letter followed by a
hyphen and a word (eg, “e-mail”):
```tex
-\babelposthyphenation{ngerman}{ ^{A}*(){a}=() }{
+\babelposthyphenation{english}{ ^{A}*(){a}=() }{
{},
{ pre=-, no=-, penalty=10000 }
}
@@ -206,7 +207,8 @@ before that to be processed, which is enclosed between `() ()`.
* Here is an example showing how to group two similar rules. The
pattern means ‘either < or > repeated’. Then, the first replacement
- selects the character based on the captured one.
+ selects the character based on the captured one. The result is |<<|
+ and |>>| get replaced by |“| and |”|, respectively:
```tex
\babelprehyphenation{english}{ ([<>]){1} }{
string = {1|<>|“”},
diff --git a/docs/index.md b/docs/index.md
index e92fdf0..d5571d6 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -48,7 +48,7 @@ case, it's advisable to install TeXLive.)
| Version | Most relevant changes
| --- | --- |
-| [3.87](news/whats-new-in-babel-3.87.html) | (Development.) Mainly fixes and minor improvements. |
+| [3.87](news/whats-new-in-babel-3.87.html) | Mainly fixes and minor improvements. |
| [3.86](news/whats-new-in-babel-3.86.html) | `tabular` improved. |
| [3.85](news/whats-new-in-babel-3.85.html) | Font-dependent transforms. |
| [3.84](news/whats-new-in-babel-3.84.html) | Auto-selection of encodings in `pdftex`. |
diff --git a/docs/news/whats-new-in-babel-3.87.md b/docs/news/whats-new-in-babel-3.87.md
index 06bb974..13fe8d8 100644
--- a/docs/news/whats-new-in-babel-3.87.md
+++ b/docs/news/whats-new-in-babel-3.87.md
@@ -1,6 +1,6 @@
# What's new in babel 3.87
-**Draft**
+2023-03-28
## `hyphenrules`
More information about the latex3-commits
mailing list.