| 1 |
% frenchb.4ht (2021-06-06-09:18), generated from tex4ht-4ht.tex |
| 2 |
% Copyright 2001-2009 Eitan M. Gurari |
| 3 |
% Copyright 2009-2021 TeX Users Group |
| 4 |
% |
| 5 |
% This work may be distributed and/or modified under the |
| 6 |
% conditions of the LaTeX Project Public License, either |
| 7 |
% version 1.3c of this license or (at your option) any |
| 8 |
% later version. The latest version of this license is in |
| 9 |
% http://www.latex-project.org/lppl.txt |
| 10 |
% and version 1.3c or later is part of all distributions |
| 11 |
% of LaTeX version 2005/12/01 or later. |
| 12 |
% |
| 13 |
% This work has the LPPL maintenance status "maintained". |
| 14 |
% |
| 15 |
% The Current Maintainer of this work |
| 16 |
% is the TeX4ht Project <http://tug.org/tex4ht>. |
| 17 |
% |
| 18 |
% If you modify this program, changing the |
| 19 |
% version identification would be appreciated. |
| 20 |
\immediate\write-1{version 2021-06-06-09:18} |
| 21 |
|
| 22 |
\def\frenchb:shorthand#1#2#3#4{% |
| 23 |
\ifhmode |
| 24 |
\ifdim \lastskip >\z@ \unskip \penalty \@M |
| 25 |
\csname a:#1-#2\endcsname#3\csname b:#1-#2\endcsname |
| 26 |
\else |
| 27 |
\csname a:#1-#2\endcsname#4\csname b:#1-#2\endcsname |
| 28 |
\fi \fi } |
| 29 |
|
| 30 |
\def\:temp{\leavevmode \nobreak \csname a:system-nbsp\endcsname\ \csname |
| 31 |
b:system-nbsp\endcsname} |
| 32 |
\expandafter\HLet\csname \system@group @sh@\string ~@\endcsname=\:temp |
| 33 |
\expandafter \ifx \csname FDP@space\endcsname\relax |
| 34 |
\AtBeginDocument{% |
| 35 |
\def\:temp{\frenchb:shorthand{frenchb}{nbsp}{\ }{\FDP@colonspace}\string :}% |
| 36 |
\expandafter\HLet\csname\language@group @sh@\string :@\endcsname=\:temp |
| 37 |
} |
| 38 |
|
| 39 |
\else |
| 40 |
\AtBeginDocument{% |
| 41 |
\def\:temp{\frenchb:shorthand{frenchb}{nbsp}{\ }{\FDP@space}\string :}% |
| 42 |
\expandafter\HLet\csname\language@group @sh@\string :@\endcsname=\:temp |
| 43 |
} |
| 44 |
|
| 45 |
\fi |
| 46 |
\AtBeginDocument{% |
| 47 |
\def\:temp{\frenchb:shorthand{frenchb}{thinspace} |
| 48 |
{\thinspace }{\FDP@thinspace}\string ;}% |
| 49 |
\expandafter\HLet\csname\language@group @sh@\string ;@\endcsname=\:temp |
| 50 |
\def\:temp{\frenchb:shorthand{frenchb}{thinspace} |
| 51 |
{\thinspace }{\FDP@thinspace}\string !}% |
| 52 |
\expandafter\HLet\csname\language@group @sh@\string !@\endcsname=\:temp |
| 53 |
\def\:temp{\frenchb:shorthand{frenchb}{thinspace} |
| 54 |
{\thinspace }{\FDP@thinspace}\string ?}% |
| 55 |
\expandafter\HLet\csname\language@group @sh@\string ?@\endcsname=\:temp |
| 56 |
} |
| 57 |
\NewConfigure{frenchb-nbsp}{2} |
| 58 |
\NewConfigure{frenchb-thinspace}{2} |
| 59 |
\NewConfigure{system-nbsp}{2} |
| 60 |
\catcode`\:=13 |
| 61 |
\expandafter\let\csname protect\string:\endcsname=: |
| 62 |
\expandafter\def\csname active\string |
| 63 |
:prefix\endcsname#1{\protect#1\ifx#1:{}\fi} |
| 64 |
\catcode`\:=11 |
| 65 |
|
| 66 |
\ifFB@luatex@punct |
| 67 |
\FB@luatex@punctfalse |
| 68 |
\fi |
| 69 |
|
| 70 |
\Hinput{frenchb} |
| 71 |
\endinput |
| 72 |
|