[latex3-commits] [git/LaTeX3-latex3-babel] docs: Minor changes. (b0827e0)
Javier
email at dante.de
Sat Aug 28 11:45:01 CEST 2021
Repository : https://github.com/latex3/babel
On branch : docs
Link : https://github.com/latex3/babel/commit/b0827e015568352b7ed5a7871cfe817e23cc3004
>---------------------------------------------------------------
commit b0827e015568352b7ed5a7871cfe817e23cc3004
Author: Javier <email at localhost>
Date: Sat Aug 28 11:45:01 2021 +0200
Minor changes.
>---------------------------------------------------------------
b0827e015568352b7ed5a7871cfe817e23cc3004
docs/guides/locale-norwegian.md | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/docs/guides/locale-norwegian.md b/docs/guides/locale-norwegian.md
index 82d0169..1ea69c6 100644
--- a/docs/guides/locale-norwegian.md
+++ b/docs/guides/locale-norwegian.md
@@ -31,19 +31,20 @@ Nynorsk is also available. Just write instead:
A number of words (a few hundred) require adding a letter when
hyphenated. In `pdftex` and `xetex` they must be marked explicitly up
-with a shorthand, like `volleyba"llandslag` (‘volleyball-landslag’).
+with a shorthand, like `volleyba"llandslag` (‘volleyballandslag’ →
+‘volleyball-landslag’).
With `luatex` no explicit markup is required, because they can be
added to the exception list with:
```tex
\babelhyphenation[norsk]{vol-ley-ba{ll-}{l}{ll}ands-lag}
```
-Here, the group `{ll-}{l}{ll}` is equivalente to a `\discretionary`.
+Here, the group `{ll-}{l}{ll}` is equivalent to a `\discretionary`.
Remember you must add every word (like, say, ‘volleyballandslaget’).
Alternatively, you may define a transform, which is more flexible, but
less efficient. For example:
-```
+```tex
\babelposthyphenation{norsk}{ vol|ley|ba()l()lands|la }{
{ no = l, pre = ll- }
}
@@ -57,7 +58,7 @@ different penalties, too, as explained in [Non-standard hyphenation
with
luatex](https://latex3.github.io/babel/guides/non-standard-hyphenation-with-luatex.html).
-Feel free to contribute list a words requiring this feature.
+Feel free to contribute a list a words requiring this feature.
## Useful Links
More information about the latex3-commits
mailing list.