summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2024-03-06 14:32:35 -0700
committerDan Allen <dan.j.allen@gmail.com>2024-03-06 14:33:20 -0700
commite9aabe28f94842f6b0ee46447b7163d0a7235475 (patch)
tree31ca0f0358936562e63a5676ee515efa74433beb
parenteee6cedc0d7ea0c9c344441c78af9a155d39fdb8 (diff)
fix footnote about hyphenation
-rw-r--r--docs/modules/ROOT/pages/asciidoc-attributes.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/modules/ROOT/pages/asciidoc-attributes.adoc b/docs/modules/ROOT/pages/asciidoc-attributes.adoc
index dfd6afb4..ca14a73f 100644
--- a/docs/modules/ROOT/pages/asciidoc-attributes.adoc
+++ b/docs/modules/ROOT/pages/asciidoc-attributes.adoc
@@ -182,9 +182,9 @@ This designation includes attributes that are set via the API or CLI.
3. The target of the image macro is resolved relative to `imagesdir` since it's defined in the AsciiDoc document (unlike in the theme, where it is resolved relative to the value of `pdf-themesdir`).
4. Enables generation of the https://milan.kupcevic.net/ghostscript-ps-pdf/#marks[pdfmark^] file, which contains metadata that can be fed to Ghostscript when optimizing the PDF file.
If you're using Ghostscript >= 8.54, this feature is not needed.
-5. Activates hyphenation for the language code specified (defaults to en_us).
+5. Activates hyphenation for the language code specified (defaults to en_us) if the `text-hyphen` gem is available.
If the `hyphens` attribute is set in the document, it overrides the `base-hyphens` key set in the theme.
-In other case, if the value is empty, then the value of the `lang` document attribute is used for the hyphenation language.
+In either case, if the value is empty, then the value of the `lang` document attribute is used as the hyphenation language.
6. Activates line break rules for CJK languages (specifically Chinese and Japanese).
Chinese and Japanese are written without spaces (and may not use spaces when mixing with English words either).
This setting allows a line break to be placed between any two CJK characters to accommodate wrapping.