]> git.lyx.org Git - features.git/blobdiff - lib/examples/fr/Modules/Braille.lyx
fr/Modules/Braille: make this work with polyglossia
[features.git] / lib / examples / fr / Modules / Braille.lyx
index 192413c022a415f05adb85bc432fe9fcba5d0ba4..bcc2847f7cca7af8bc9b9d6ff95f3529dfc8f982 100644 (file)
 %é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