[latex3-commits] [latex3/babel] docs: Revised 3.89 and deprecated stuff. (51ac872)

github at latex-project.org github at latex-project.org
Sat May 6 09:51:42 CEST 2023


Repository : https://github.com/latex3/babel
On branch  : docs
Link       : https://github.com/latex3/babel/commit/51ac872ce5fbabd05cc623772fce7f4950fe9d79

>---------------------------------------------------------------

commit 51ac872ce5fbabd05cc623772fce7f4950fe9d79
Author: Javier <email at localhost>
Date:   Sat May 6 09:51:42 2023 +0200

    Revised 3.89 and deprecated stuff.


>---------------------------------------------------------------

51ac872ce5fbabd05cc623772fce7f4950fe9d79
 docs/guides/old-and-deprecated-functions.md | 39 ++++++++++++++++++-----------
 docs/index.md                               |  1 +
 docs/news/whats-new-in-babel-3.89.md        | 32 +++++++++++++++--------
 3 files changed, 47 insertions(+), 25 deletions(-)

diff --git a/docs/guides/old-and-deprecated-functions.md b/docs/guides/old-and-deprecated-functions.md
index 6a203fc..711ae9c 100644
--- a/docs/guides/old-and-deprecated-functions.md
+++ b/docs/guides/old-and-deprecated-functions.md
@@ -7,7 +7,9 @@ at their time. However, LaTeX has evolved and currently they are of
 limited interest, and therefore their description has been moved here,
 for not to clutter the manual.
 
-`strings` • Package option with a value. Selects the encoding of
+### `strings`
+
+Package option with a value. Selects the encoding of
 strings in languages supporting this feature. Predefined labels are
 `generic` (for traditional TeX, LICR and ASCII strings), `unicode` (for
 engines like `xetex` and `luatex`) and `encoded` (for special cases
@@ -17,7 +19,9 @@ them. Be aware with `encoded` captions are protected, but they work in
 `\MakeUppercase` and the like (this feature misuses some internal LaTeX
 tools, so use it only as a last resort).
 
-`mapfont=direction` • Option in `\babelprovide`. Assigns the font for
+### `mapfont=direction`
+
+Option in `\babelprovide`. Assigns the font for
 the writing direction of this language (only with `bidi=basic`).
 Instead of this option use `onchar`, based on the script. More
 precisely, what `mapfont=direction` means is, ‘when a character has the
@@ -28,21 +32,26 @@ and left to right. So, there should be at most 3 directives of this
 kind. The only value is `direction`, and this option won’t be developed
 any further.
 
-`\aliasshorthand` • (Deprecated.) If one prefers for example to use the
-character `/` over `"` in typing Polish texts, this can be achieved by
-entering `\aliasshorthand{"}{/}`. Shorthands remember somehow the
-original character, and the fallback value is that of the latter. So,
-in `\aliasshorthand{~}{^}`, if no shorthand is found, `^` expands to a
-non-breaking space, because this is the value of `~` (internally, `^`
-still calls `\active at char~` or `\normal at char~`). Furthermore, if you
-change the `system` value of `^` with `\defineshorthand` nothing
+### `\aliasshorthand`
+
+If one prefers for example to use the character `/` over `"` in typing
+Polish texts, this can be achieved by entering `\aliasshorthand{"}{/}`.
+
+One of the reasons for the deprecation is shorthands remember somehow
+the original character, and the fallback value is that of the latter.
+So, in `\aliasshorthand{~}{^}`, if no shorthand is found, `^` expands
+to a non-breaking space, because this is the value of `~` (internally,
+`^` still calls `\active at char~` or `\normal at char~`). Furthermore, if
+you change the `system` value of `^` with `\defineshorthand` nothing
 happens.
 
-`\substitutefontfamily` • (Deprecated.) This command takes three
-arguments, a font encoding and two font family names. It creates a font
-description file for the first font in the given encoding. This `.fd`
-file will instruct LaTeX to use a font from the second family when a
-font from the first family in the given encoding seems to be needed.
+### `\substitutefontfamily`
+
+This command takes three arguments, a font encoding and two font family
+names. It creates a font description file for the first font in the
+given encoding. This `.fd` file will instruct LaTeX to use a font from
+the second family when a font from the first family in the given
+encoding seems to be needed.
 
 ## Fonts
 
diff --git a/docs/index.md b/docs/index.md
index 25380ed..e3c04bf 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -48,6 +48,7 @@ case, it's advisable to install TeXLive.)
 
 | Version | Most relevant changes
 | --- | --- |
+| [3.89](news/whats-new-in-babel-3.89.html) | (Development.) Option `modifiers.<lang>`.|
 | [3.88](news/whats-new-in-babel-3.88.html) | 37 new locale files. |
 | [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. |
diff --git a/docs/news/whats-new-in-babel-3.89.md b/docs/news/whats-new-in-babel-3.89.md
index 4452143..51c220e 100644
--- a/docs/news/whats-new-in-babel-3.89.md
+++ b/docs/news/whats-new-in-babel-3.89.md
@@ -1,5 +1,7 @@
 # What's new in babel 3.89
 
+**Draft**
+
 ## Modifiers
 
 About 10 years ago, a special syntax was devised to pass options to
@@ -15,23 +17,33 @@ the following example shows:
 \documentclass[spanish]{report}
 \usepackage[modifiers.spanish = notilde.lcroman]{babel}
 ```
-That is, start a package options with |modifiers.| followed by the
-language, and then set the modifier list. Note the language is not
-selected.
+That is, start a package options with `modifiers.` followed by the
+language, and then set the modifiers list. Note the language is not
+selected or loaded with this option.
 
 ## Deprecations
 
-`\aliasshorthands` 
-
+`\aliasshorthands` is now
+[deprecated](https://latex3.github.io/babel/guides/old-and-deprecated-functions.html)
+because it was used very rarely and yielded some unexpected results.
 
 ## Cleaning up some language names
 
-`northernsami` is now the preferred name for `samin`, which is
+`northernsami` is the preferred name for `samin`, which is
 deprecated (it was clearly shortened to fit in the 8-character limit,
-and furthermore the Samin are a Javanese people). `scottishgaelic` is
-the preferred name for `scottish`; the latter still makes sense (it’s
-parallel to `irish`), and therefore, although discouraged, is not
-deprecated.
+and furthermore the Samin are a Javanese people).
+
+`scottishgaelic` is the preferred name for `scottish`; the latter still
+makes sense (it’s parallel to `irish`), and therefore, although
+discouraged, is not deprecated.
 
 See also
+[Locale
+naming](https://latex3.github.io/babel/guides/locale-naming.html).
+
+## Documentation
+
+Now there are two PDF files: `babel.pdf` is the user guide, and
+`babel-code.pdf` is the code. By default, running `babel.dtx` generates
+only the user guide.
 





More information about the latex3-commits mailing list.