[latex3-commits] [git/LaTeX3-latex3-babel] docs: Links in Chinese. Some images fixed. Image width. (6bf7574)

Javier email at dante.de
Thu Jul 8 16:20:58 CEST 2021


Repository : https://github.com/latex3/babel
On branch  : docs
Link       : https://github.com/latex3/babel/commit/6bf7574c12348325202cb00ce3976c8e15fc7544

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

commit 6bf7574c12348325202cb00ce3976c8e15fc7544
Author: Javier <email at localhost>
Date:   Thu Jul 8 16:20:58 2021 +0200

    Links in Chinese. Some images fixed. Image width.


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

6bf7574c12348325202cb00ce3976c8e15fc7544
 docs/assets/css/style.css                              |   2 +-
 docs/guides/locale-chinese.md                          |   7 +++++++
 docs/guides/using-babel-with-plain.md                  |   4 ++--
 {samples/images => docs/media}/auto-script-russian.jpg | Bin
 {samples/images => docs/media}/babel-wiki-ahmaric.jpg  | Bin
 {samples/images => docs/media}/polytonic-greek.jpg     | Bin
 {samples/images => docs/media}/trans-russian.jpg       | Bin
 docs/news/whats-new-in-babel-3.36.md                   |   4 +---
 docs/news/whats-new-in-babel-3.38.md                   |   4 +---
 docs/news/whats-new-in-babel-3.44.md                   |   8 ++------
 10 files changed, 14 insertions(+), 15 deletions(-)

diff --git a/docs/assets/css/style.css b/docs/assets/css/style.css
index ea08a78..cb0dd92 100644
--- a/docs/assets/css/style.css
+++ b/docs/assets/css/style.css
@@ -487,7 +487,7 @@ strong {
 img {
 	position: relative;
 	margin: 0 auto;
-	max-width: 739px;
+	max-width: 100%;
 	padding: 5px;
 	margin: 10px 0 10px 0;
 	border: 1px solid #ebebeb;
diff --git a/docs/guides/locale-chinese.md b/docs/guides/locale-chinese.md
index 6326208..30f96da 100644
--- a/docs/guides/locale-chinese.md
+++ b/docs/guides/locale-chinese.md
@@ -76,5 +76,12 @@ In addition, the following counters are predefined:
 * `fullwidth.lower.alpha` ▸ a b c d e f g h i j k l m n o p q r s t u v w x y z
 * `fullwidth.upper.alpha` ▸ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
 
+## Useful links
+
+* [Multiple xeCJK fonts](https://tex.stackexchange.com/questions/480132/multiple-xecjk-fonts#480155)
+* [How to write Korean and Chinese within an German document](https://tex.stackexchange.com/a/492214/5735)
+* [Mixing Chinese Characters with
+  English](https://tex.stackexchange.com/questions/499910/mixing-chinese-characters-with-english-main-language-in-2019-what-is-the-st#499992)
+
 
 
diff --git a/docs/guides/using-babel-with-plain.md b/docs/guides/using-babel-with-plain.md
index f64ce10..ec0b0ff 100644
--- a/docs/guides/using-babel-with-plain.md
+++ b/docs/guides/using-babel-with-plain.md
@@ -89,7 +89,7 @@ Here is a document which runs with no error messages in pdfTeX and
 ePlain, but with an error in `latin` in TeX. Note two points: all of
 them use the Latin script, and there is only a set of hyphenation
 patterns (English):
-```
+```tex
 \input afrikaans.sty
 \input albanian.sty
 \input american.sty
@@ -129,5 +129,5 @@ patterns (English):
 \begindocument
 
 \bye
-
+```
 
diff --git a/samples/images/auto-script-russian.jpg b/docs/media/auto-script-russian.jpg
similarity index 100%
copy from samples/images/auto-script-russian.jpg
copy to docs/media/auto-script-russian.jpg
diff --git a/samples/images/babel-wiki-ahmaric.jpg b/docs/media/babel-wiki-ahmaric.jpg
similarity index 100%
copy from samples/images/babel-wiki-ahmaric.jpg
copy to docs/media/babel-wiki-ahmaric.jpg
diff --git a/samples/images/polytonic-greek.jpg b/docs/media/polytonic-greek.jpg
similarity index 100%
copy from samples/images/polytonic-greek.jpg
copy to docs/media/polytonic-greek.jpg
diff --git a/samples/images/trans-russian.jpg b/docs/media/trans-russian.jpg
similarity index 100%
copy from samples/images/trans-russian.jpg
copy to docs/media/trans-russian.jpg
diff --git a/docs/news/whats-new-in-babel-3.36.md b/docs/news/whats-new-in-babel-3.36.md
index f79a4df..8209f8d 100644
--- a/docs/news/whats-new-in-babel-3.36.md
+++ b/docs/news/whats-new-in-babel-3.36.md
@@ -10,9 +10,7 @@ Sometimes you might need to disable some global `babel` features and the macro `
 
 A new ini file, thanks to Claudio Beccari.
 
-<p align="center">
-<img src="https://github.com/latex3/babel/blob/master/samples/images/polytonic-greek.jpg?raw=true" width="500">
-</p>
+![](../media/polytonic-greek.jpg)
 
 ## Improvements in Chinese
 
diff --git a/docs/news/whats-new-in-babel-3.38.md b/docs/news/whats-new-in-babel-3.38.md
index 26c64cd..caed2b5 100644
--- a/docs/news/whats-new-in-babel-3.38.md
+++ b/docs/news/whats-new-in-babel-3.38.md
@@ -36,9 +36,7 @@ From Wikipedia.
 
 \end{document}
 ```
-<p align="center">
-<img src="https://github.com/latex3/babel/blob/master/samples/images/auto-script-russian.jpg?raw=true" width="800">
-</p>
+![](../media/auto-script-russian.jpg)
 
 
 ## Public access to locale info in `ini` files
diff --git a/docs/news/whats-new-in-babel-3.44.md b/docs/news/whats-new-in-babel-3.44.md
index e1a266d..14b23d8 100644
--- a/docs/news/whats-new-in-babel-3.44.md
+++ b/docs/news/whats-new-in-babel-3.44.md
@@ -28,9 +28,7 @@ when word separators are used, Ethiopic wraps after any character, except with t
 
 Now with `luatex`, Amharic by default follows the modern practice, but the traditional one can be activated just by selecting `hyphenrules=amharic` (in other words, the patterns for Amharic are _not_ set to those named `amharic` in `language.dat`). Internally, the mechanism is the same as that for South East Asian scripts, which means the line breaks can be fine-tuned with `\babelpatterns` and `\babelposthyphenation`.
 
-<p align="center">
-<img src="https://github.com/latex3/babel/blob/master/samples/images/babel-wiki-ahmaric.jpg?raw=true" width="400">
-</p>
+![](../media/babel-wiki-ahmaric.jpg)
 
 There is a good deal of alphabetic counters for Ethiopic languages in the CSS [Ready-made counter styles](https://www.w3.org/TR/predefined-counter-styles/), and they have been added: afar, agaw, ari, blin, dizi, gedeo, gumuz, hadiyya, harari, kaffa, kebena, kembata, konso, kunama, meen, oromo, saho, sidama, silti, tigre, wolaita, yemsa.
 
@@ -92,9 +90,7 @@ Verhnjaja Sinjachiha Nizhnij Novgorod
 ```
 we get the following output:
 
-<p align="center">
-<img src="https://github.com/latex3/babel/blob/master/samples/images/trans-russian.jpg?raw=true" width="400">
-</p>
+![](../media/trans-russian.jpg)
 
 ### Example 2: combining chars
 





More information about the latex3-commits mailing list.