From efe99b5e97a260c53644fb2fc32b8e87e569de7f Mon Sep 17 00:00:00 2001 From: damien clochard Date: Wed, 5 Sep 2018 18:41:48 +0200 Subject: [PATCH] Document encoding issue with `--listings` (#4873) Document encoding issue with `--listings`. Closes #4871. --- MANUAL.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/MANUAL.txt b/MANUAL.txt index 15b1288c2..cd38e32b3 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -901,7 +901,10 @@ Options affecting specific writers `--listings` -: Use the [`listings`] package for LaTeX code blocks +: Use the [`listings`] package for LaTeX code blocks. The package + does not support multi-byte encoding for source code. To handle UTF-8 + you would need to use a custom template. This issue is fully + documented here: [Encoding issue with the listings package]. `-i`, `--incremental` @@ -1129,6 +1132,8 @@ Options affecting specific writers [Dublin Core elements]: http://dublincore.org/documents/dces/ [ISO 8601 format]: http://www.w3.org/TR/NOTE-datetime +[Encoding issue with the listings package]: + https://en.wikibooks.org/wiki/LaTeX/Source_Code_Listings#Encoding_issue Citation rendering ------------------