From 7b0c1e0d37a4820b23d901965f059bba82cd48ae Mon Sep 17 00:00:00 2001 From: mb21 Date: Fri, 25 Sep 2015 19:30:21 +0200 Subject: Support bidirectional text output with XeLaTeX, ConTeXt and HTML closes #2191 --- README | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'README') diff --git a/README b/README index 8921d076e..c3f8161a8 100644 --- a/README +++ b/README @@ -959,6 +959,25 @@ as `title`, `author`, and `date`) as well as the following: Currently only used by XeTeX through the generated `polyglossia-otherlangs` variable. +`dir` +: the base direction of the document, either `rtl` (right-to-left) + or `ltr` (left-to-right). + + For bidirectional documents, native pandoc `span`s and `div`s + with the `dir` attribute (value `rtl` or `ltr`) can be used to + override the base direction in some output formats. + This may not always be necessary if the final renderer + (e.g. the browser, when generating HTML) supports the + [Unicode Bidirectional Algorithm][uba-basics]. + + When using LaTeX for bidi documents, only the XeLaTeX engine + is fully supported (see `--latex-engine`). + Setting the `dir` variable enables bidirectional text + handling in LaTeX and ConTeXt, thus even if the base direction + is the default left-to-right, you should set `dir: ltr` for + documents that also contain some right-to-left script. + + `slidy-url` : base URL for Slidy documents (defaults to `http://www.w3.org/Talks/Tools/Slidy2`) -- cgit v1.2.3