fr/Modules/Braille: make this work with polyglossia

The usage of English here was a bad hack anyway.
This commit is contained in:
Juergen Spitzmueller 2019-12-13 11:58:12 +01:00
parent 7f21cfc24a
commit 4779d013ad

View File

@ -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