Hello If you wanted TeX to be able to end a line with /, you could add to the definition thus:
\def\slash{{\fontspec{Sanskrit 2003}/\hskip 1sp}} And if this is coming up frequently, you could select a character that you never use and make it active. For example, supposing you never use the £ sign (unicode 00A3): \catcode"00A3=\active \def£{\slash} That would let you type £ whenever you want to print / (Any other Unicode character would do - you would probably want to choose one that you can type easily.) Best wishes John 🇪🇺 On Fri, 15 Nov 2019 at 18:19, François Patte < francois.pa...@mi.parisdescartes.fr> wrote: > Le 14/11/2019 à 18:11, Zdenek Wagner a écrit : > > Bonjour, > > > > I am afraid that the only way is to switch to a font without the > > mapping. Try this MWE: > > > > \documentclass{article} > > \usepackage{fontspec} > > \def\slash{{\fontspec{Sanskrit 2003}/}} > > \setmainfont{Sanskrit 2003}[Script=Devanagari,Mapping=velthuis] > > \begin{document} > > maa/ maa\slash > > \end{document} > > Thank you. As far as can see now, I can use it to solve my problem. > > > > st 13. 11. 2019 v 22:23 odesílatel François Patte > > <francois.pa...@mi.parisdescartes.fr> napsal: > >> > >> Bonjour, > >> > >> I use the TECkit mapping for conversion of Velthuis transliteration to > >> unicode. In the file velthuis.map from texlive-2019, the character "/" > >> (slash) is used for candrabindu so, I am wondering how I can type a "/" > >> in a text. > >> > >> Thank you for helping. > -- > François Patte > UFR de mathématiques et informatique > Laboratoire CNRS MAP5, UMR 8145 > Université Paris Descartes > 45, rue des Saints Pères > F-75270 Paris Cedex 06 > Tél. +33 (0)6 7892 5822 > http://www.math-info.univ-paris5.fr/~patte > >