From 4779d013ad767ab28a140261b3e897272c4ef979 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 13 Dec 2019 11:58:12 +0100 Subject: [PATCH] fr/Modules/Braille: make this work with polyglossia The usage of English here was a bad hack anyway. --- lib/examples/fr/Modules/Braille.lyx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/examples/fr/Modules/Braille.lyx b/lib/examples/fr/Modules/Braille.lyx index 192413c022..bcc2847f7c 100644 --- a/lib/examples/fr/Modules/Braille.lyx +++ b/lib/examples/fr/Modules/Braille.lyx @@ -13,14 +13,20 @@ %évite les caractères actifs en français - JPC 17/09/2009 \let\braillenormalorig\braillenormal \renewcommand{\braillenormal}[1]{% - \begin{otherlanguage}{english}\braillenormalorig{#1}\end{otherlanguage}% + % temporarily disable shorthands + \bgroup% + \catcode`\;=12% + \catcode`\:=12% + \catcode`\!=12% + \catcode`\?=12% + \braillenormalorig{#1}% + \egroup% } %\let\brailletextorig\brailletext %\renewcommand{\brailletext[1]{% % \begin{otherlanguage{english}\brailletext{#1}\end{otherlanguage}% %} \end_preamble -\options english \use_default_options false \begin_modules braille