| Deutsch English Français Italiano |
|
<m2mtmi21ut.fsf@android-31f9dbf56457e8ef.localdomain> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!aioe.org!news.gegeweb.eu!gegeweb.org!.POSTED.130.93.18.234!not-for-mail
From: =?utf-8?Q?Vincent_Bela=C3=AFche?= <vincent.belaiche@gmail.com>
Newsgroups: fr.comp.text.tex
Subject: ucharclasses a besoin d'espace ?
Date: Fri, 05 Nov 2021 14:01:14 +0100
Organization: Gegeweb News Server
Message-ID: <m2mtmi21ut.fsf@android-31f9dbf56457e8ef.localdomain>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.gegeweb.eu; posting-account="vbelaiche@orange.local"; posting-host="130.93.18.234";
logging-data="13226"; mail-complaints-to="abuse@gegeweb.eu"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin)
Cancel-Lock: sha1:d2d4jv+rBxMgb8/Adx4E6w6BgxQ= sha256:w5z++8YZSWr4Tp52pUTDkpB1bs7hi35joorWsprsFqA=
Bytes: 1935
Lines: 36
Bonjour,
Voici un ECM=C2=A0:
--------8<-----------8<-----------8<-----------8<-----------8<-------
\documentclass{article}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage[Emoticons]{ucharclasses}
\makeatletter
\newfontfamily\@@emoji@font{OpenSansEmoji}%
\setTransitionTo{Emoticons}{\expandafter\let\expandafter
\@@currentfont\the\font\@@emoji@font}%
\AtBeginDocument{\expandafter\let\expandafter\@@currentfont
\the\font}%
\setTransitionFrom{Emoticons}{\@@currentfont}%
\makeatother
\begin{document}
aaa =F0=9F=98=80 bbbb.% :-) entre espaces
aaa=F0=9F=98=80bbbb.% :-) entre lettres
\end{document}
--------8<-----------8<-----------8<-----------8<-----------8<-------
En sortie =C3=A7a fait un truc du genre=C2=A0:
aaa =F0=9F=98=80 bbbb.
aaa bbbb.
Lorsque le bonhomme qui sourit U+1F600 n'est pas entre espaces, il
dispara=C3=AEt, c'est =C3=A7a mon probl=C3=A8me=E2=80=A6 Et je ne trouve pa=
s o=C3=B9 la doc
d'ucharclasses d=C3=A9crit ce comportement.
--=20