[latex3-commits] [latex3/babel] docs: Some typos. (b076aa0)
github at latex-project.org
github at latex-project.org
Sun Aug 18 12:39:03 CEST 2024
Repository : https://github.com/latex3/babel
On branch : docs
Link : https://github.com/latex3/babel/commit/b076aa0500b7d8e6e08a5bd9563ec1085652e2a3
>---------------------------------------------------------------
commit b076aa0500b7d8e6e08a5bd9563ec1085652e2a3
Author: Javier <email at localhost>
Date: Sun Aug 18 12:39:03 2024 +0200
Some typos.
>---------------------------------------------------------------
b076aa0500b7d8e6e08a5bd9563ec1085652e2a3
docs/news/whats-new-in-babel-24.8.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/news/whats-new-in-babel-24.8.md b/docs/news/whats-new-in-babel-24.8.md
index 496a611..f5ef31e 100644
--- a/docs/news/whats-new-in-babel-24.8.md
+++ b/docs/news/whats-new-in-babel-24.8.md
@@ -10,11 +10,11 @@ boxes. See [issue #25](https://github.com/latex3/babel/issues/25).
Actually it’s not new, but it wasn’t documented because its interface
was not finished. Now it is and you can define actions to be executed at
-`\begindocument`, as well as manipulate the string with a new command
+`\foreignlanguage`, as well as manipulate the string with a new command
`\BabelWrapText`.
Here is an example:
-```
+```tex
\AddBabelHook[danish]{one}{foreign}{\BabelWrapText{[##1]}}
\AddBabelHook[danish]{two}{foreign}{\BabelWrapText{(##1)}}
```
More information about the latex3-commits
mailing list.