From: Juergen Spitzmueller Date: Fri, 13 Dec 2019 10:58:12 +0000 (+0100) Subject: fr/Modules/Braille: make this work with polyglossia X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=81bd87cd53b7f385aef484a69ca6fe871dce8c60;p=features.git fr/Modules/Braille: make this work with polyglossia The usage of English here was a bad hack anyway. --- 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