Re: foreign letter in text
"Aleks Kleyn" <[email protected]> Sun, 21 Apr 2024 17:40:40 -0400
| Newsgroups | gmane.comp.tex.pdftex |
|---|---|
| Message-ID | <001b01da9434$8efebb80$acfc3280$@org> |
This is a multi-part message in MIME format. ------=_NextPart_000_001C_01DA9413.07ED1B80 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I use MS windows. I have files with Russian text and English text. So I = cannot use windows tool. I just need old style pdflatex report. =20 =20 Aleks Kleyn <http://alekskleyn.dyndns-home.com:4080/> = http://alekskleyn.dyndns-home.com:4080/ =20 <http://sites.google.com/site/alekskleyn/> = http://sites.google.com/site/AleksKleyn/=20 <http://arxiv.org/a/kleyn_a_1> http://arxiv.org/a/kleyn_a_1 =20 <http://AleksKleyn.blogspot.com/> http://AleksKleyn.blogspot.com/ <http://kleynaleks.blogspot.com/> http://KleynAleks.blogspot.com/ =20 Derivative in Banach algebra dx2 =3D1=E2=8A=97 x+x=E2=8A=971 dx d x2 =3D(1=E2=8A=97 x+x=E2=8A=971) =E2=97=A6dx=3Ddx x+x dx =20 =20 =20 From: pdftex [mailto:pdftex-bounces+aleks_kleyn=3Dmailaps.org-WUdSmCIlby8@public.gmane.org] = On Behalf Of Peter Selinger Sent: Sunday, April 21, 2024 3:42 PM To: [email protected]; David Carlisle Subject: Re: [pdftex] foreign letter in text =20 If you're on a unix-like system, the following command will find all = lines with non-ASCII characters in one or more files: =20 LC_ALL=3Dutf8 egrep -n '[^ -~]' file.tex =20 -- Peter =20 _____ =20 From: pdftex <pdftex-bounces+selinger=3Dmathstat.dal.ca-WUdSmCIlby8@public.gmane.org> on = behalf of David Carlisle via pdftex <[email protected]> Sent: April 21, 2024 4:01 PM To: [email protected] <[email protected]> Subject: Re: [pdftex] foreign letter in text=20 =20 On 21/04/2024 19:53, Aleks Kleyn wrote: > > When I prepare text in English, I usually write it on Russian and then > translate it into English. But sometimes these operations for = different > reason are separated in time. Initially pdflatex printed in log which = are > not English. It was helpful to locate such letters and finish text. = Now > pdflatex prints some blank symbol instead of foreign letter. And how I = can > locate now foreign letter in text that has about 20 files? > > Aleks Kleyn > > As you provided no example it is hard to know what you have done but you should never get no output with no warning. For example this document with (I hope:-) one Russian word left in an English paragraph \documentclass{article} \begin{document} Some English with a =D0=A0=D1=83=D1=81=D1=81=D0=BA=D0=B8=D0=B9 word \end{document} Produces the error ! LaTeX Error: Unicode character =D0=A0 (U+0420) not set up for use with LaTeX. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.5 Some English with a =D0=A0 =D1=83=D1=81=D1=81=D0=BA=D0=B8=D0=B9 word ? Which as you see, higlights the exact location of the Cyrillic text. David Disclaimer The Numerical Algorithms Group Ltd is a company registered in England = and Wales with company number 1249803. The registered office is: 30 St. = Giles, Oxford, OX1 3LE, United Kingdom. Please see our Privacy Notice = <https://www.nag.com/content/privacy-notice> for information on how we = process personal data and for details of how to stop or limit = communications from us. This e-mail has been scanned for all viruses and malware by Microsoft = Exchange Online (EOP) ------=_NextPart_000_001C_01DA9413.07ED1B80 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3DUTF-8"> <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta name=3DGenerator = content=3D"Microsoft Word 12 (filtered medium)"><!--[if = !mso]><style>v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style><![endif]--><style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Cambria; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:Consolas; panose-1:2 11 6 9 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p {mso-style-priority:99; margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} span.EmailStyle18 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:8.5in 11.0in; margin:56.7pt 42.5pt 56.7pt 85.05pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue = vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><a = name=3D"_MailEndCompose"><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'>I use MS windows. I have files with Russian text and English text. So = I cannot use windows tool. I just need old style pdflatex = report.<o:p></o:p></span></a></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'><o:p> </o:p></span></p><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'><o:p> </o:p></span></p><div><p class=3DMsoNormal><span = style=3D'font-size:10.5pt;font-family:Consolas;color:#1F497D'>Aleks = Kleyn</span><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'><o:p></o:p></span></p><table class=3DMsoNormalTable border=3D0 = cellspacing=3D0 cellpadding=3D0 = style=3D'border-collapse:collapse'><tr><td width=3D734 valign=3Dtop = style=3D'width:275.4pt;padding:0in 5.4pt 0in 5.4pt'><p class=3DMsoNormal = style=3D'line-height:115%'><a = href=3D"http://alekskleyn.dyndns-home.com:4080/"><span = style=3D'font-size:10.5pt;line-height:115%;font-family:Consolas'>http://a= lekskleyn.dyndns-home.com:4080/</span></a><span = style=3D'font-size:10.5pt;line-height:115%;font-family:Consolas;color:#1F= 497D'> </span><span = style=3D'font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></s= pan></p><p class=3DMsoNormal style=3D'line-height:115%'><a = href=3D"http://sites.google.com/site/alekskleyn/"><span = style=3D'font-size:10.5pt;line-height:115%;font-family:Consolas'>http://s= ites.google.com/site/AleksKleyn/</span></a><span = style=3D'font-size:10.5pt;line-height:115%;font-family:Consolas;color:#1F= 497D'> </span><span = style=3D'font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-se= rif";color:#1F497D'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'line-height:115%'><a = href=3D"http://arxiv.org/a/kleyn_a_1"><span = style=3D'font-size:10.5pt;line-height:115%;font-family:Consolas'>http://a= rxiv.org/a/kleyn_a_1</span></a><span = style=3D'font-size:10.5pt;line-height:115%;font-family:Consolas;color:#1F= 497D'> </span><span = style=3D'font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-se= rif";color:#1F497D'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'line-height:115%'><a = href=3D"http://AleksKleyn.blogspot.com/"><span = style=3D'font-size:10.5pt;line-height:115%;font-family:Consolas'>http://A= leksKleyn.blogspot.com/</span></a><span = style=3D'font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-se= rif";color:#1F497D'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'line-height:115%'><a = href=3D"http://kleynaleks.blogspot.com/"><span = style=3D'font-size:10.5pt;line-height:115%;font-family:Consolas'>http://K= leynAleks.blogspot.com/</span></a><span = style=3D'font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-se= rif";color:#1F497D'><o:p></o:p></span></p><p class=3DMsoNormal = style=3D'line-height:115%'><span = style=3D'color:#1F497D'><o:p> </o:p></span></p></td><td width=3D466 = valign=3Dtop style=3D'width:174.85pt;padding:0in 5.4pt 0in 5.4pt'><p = class=3DMsoNormal style=3D'line-height:115%'><span = style=3D'font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-se= rif";color:#1F497D'>Derivative in Banach algebra</span><span = style=3D'color:#1F497D'><o:p></o:p></span></p><table = class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 = style=3D'border-collapse:collapse'><tr><td valign=3Dtop = style=3D'padding:0in 5.4pt 0in 5.4pt'><p class=3DMsoNormal = style=3D'line-height:115%'><i><u><span = style=3D'font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";= color:#1F497D'>dx<sup>2</sup></span></u></i><i><u><sup><span = style=3D'font-family:"Cambria","serif";color:#1F497D'><o:p></o:p></span><= /sup></u></i></p></td><td rowspan=3D2 style=3D'padding:0in 5.4pt 0in = 5.4pt'><p class=3DMsoNormal style=3D'line-height:115%'><i><span = style=3D'font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";= color:#1F497D'>=3D1</span></i><i><span = style=3D'font-size:11.0pt;line-height:115%;font-family:"Cambria = Math","serif";color:#1F497D'>=E2=8A=97 </span></i><i><span = style=3D'font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";= color:#1F497D'>x+x</span></i><i><span = style=3D'font-size:11.0pt;line-height:115%;font-family:"Cambria = Math","serif";color:#1F497D'>=E2=8A=97</span></i><i><span = style=3D'font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";= color:#1F497D'>1</span></i><span = style=3D'font-family:"Cambria","serif";color:#1F497D'><o:p></o:p></span><= /p></td></tr><tr><td valign=3Dtop style=3D'padding:0in 5.4pt 0in = 5.4pt'><p class=3DMsoNormal style=3D'line-height:115%'><i><span = style=3D'font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";= color:#1F497D'>dx</span></i><i><span = style=3D'font-family:"Cambria","serif";color:#1F497D'><o:p></o:p></span><= /i></p></td></tr></table><p class=3DMsoNormal = style=3D'line-height:115%'><i><span = style=3D'font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";= color:#1F497D'>=C2=A0 d<sub> </sub>x<sup>2</sup> = =3D(1</span></i><i><span = style=3D'font-size:11.0pt;line-height:115%;font-family:"Cambria = Math","serif";color:#1F497D'>=E2=8A=97 </span></i><i><span = style=3D'font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";= color:#1F497D'>x+x</span></i><i><span = style=3D'font-size:11.0pt;line-height:115%;font-family:"Cambria = Math","serif";color:#1F497D'>=E2=8A=97</span></i><i><span = style=3D'font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";= color:#1F497D'>1)</span></i><i><span = style=3D'font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-se= rif";color:#1F497D'> =E2=97=A6dx</span></i><i><span = style=3D'font-size:11.0pt;line-height:115%;font-family:"Cambria","serif";= color:#1F497D'>=3Ddx x+x dx</span></i><span = style=3D'font-family:"Cambria","serif";color:#1F497D'><o:p></o:p></span><= /p><p class=3DMsoNormal style=3D'line-height:115%'><span = style=3D'color:#1F497D'><o:p> </o:p></span></p></td></tr></table><p = class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'><o:p> </o:p></span></p></div><p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497= D'><o:p> </o:p></span></p><div><div = style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in = 0in 0in'><p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> = pdftex [mailto:pdftex-bounces+aleks_kleyn=3Dmailaps.org-WUdSmCIlby8@public.gmane.org] <b>On = Behalf Of </b>Peter Selinger<br><b>Sent:</b> Sunday, April 21, 2024 3:42 = PM<br><b>To:</b> [email protected]; David Carlisle<br><b>Subject:</b> Re: = [pdftex] foreign letter in text<o:p></o:p></span></p></div></div><p = class=3DMsoNormal><o:p> </o:p></p><div><p class=3DMsoNormal><span = style=3D'font-family:"Calibri","sans-serif";color:black'>If you're on a = unix-like system, the following command will find all lines with = non-ASCII characters in one or more = files:<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span = style=3D'font-family:"Calibri","sans-serif";color:black'><o:p> </o:p= ></span></p></div><div><p class=3DMsoNormal><span = style=3D'font-family:"Calibri","sans-serif";color:black'>LC_ALL=3Dutf8 = egrep -n '[^ -~]' file.tex<o:p></o:p></span></p></div><div><p = class=3DMsoNormal><span = style=3D'font-family:"Calibri","sans-serif";color:black'><o:p> </o:p= ></span></p></div><div><p class=3DMsoNormal><span = style=3D'font-family:"Calibri","sans-serif";color:black'>-- = Peter<o:p></o:p></span></p></div><div><p class=3DMsoNormal><span = style=3D'font-family:"Calibri","sans-serif";color:black'><o:p> </o:p= ></span></p></div><div class=3DMsoNormal align=3Dcenter = style=3D'text-align:center'><hr size=3D4 width=3D"98%" = align=3Dcenter></div><div id=3DdivRplyFwdMsg><p = class=3DMsoNormal><b><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'= >From:</span></b><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'= > pdftex <pdftex-bounces+selinger=3Dmathstat.dal.ca-WUdSmCIlby8@public.gmane.org> = on behalf of David Carlisle via pdftex = <[email protected]><br><b>Sent:</b> April 21, 2024 4:01 = PM<br><b>To:</b> [email protected] = <[email protected]><br><b>Subject:</b> Re: [pdftex] foreign = letter in text</span> <o:p></o:p></p><div><p class=3DMsoNormal><span = style=3D'font-size:11.0pt'><o:p> </o:p></span></p></div><div><p = class=3DMsoNormal style=3D'margin-bottom:12.0pt'><span = style=3D'font-size:11.0pt'><br>On 21/04/2024 19:53, Aleks Kleyn = wrote:<br>><br>> When I prepare text in English, I usually write = it on Russian and then<br>> translate it into English. But sometimes = these operations for different<br>> reason are separated in time. = Initially pdflatex printed in log which are<br>> not English. It was = helpful to locate such letters and finish text. Now<br>> pdflatex = prints some blank symbol instead of foreign letter. And how I = can<br>> locate now foreign letter in text that has about 20 = files?<br>><br>> Aleks Kleyn<br>><br>><br>As you provided no = example it is hard to know what you have done but you<br>should never = get no output with no warning.<br><br><br>For example this document with = (I hope:-) one Russian word left in an<br>English = paragraph<br><br><br><br>\documentclass{article}<br><br>\begin{document}<= br><br>Some English with a = =D0=A0=D1=83=D1=81=D1=81=D0=BA=D0=B8=D0=B9 = word<br><br>\end{document}<br><br><br>Produces the error<br><br><br>! = LaTeX Error: Unicode character =D0=A0 = (U+0420)<br> &= nbsp; not set up for use with LaTeX.<br><br>See = the LaTeX manual or LaTeX Companion for explanation.<br>Type H = <return> for immediate help.<br> ...<br><br>l.5 Some = English with a = =D0=A0<br> &nb= sp; &nbs= p; =D1=83=D1=81=D1=81=D0=BA=D0=B8=D0=B9 = word<br>?<br><br><br>Which as you see, higlights the exact location of = the Cyrillic = text.<br><br><br>David<br><br><br><br><br>Disclaimer<br><br>The = Numerical Algorithms Group Ltd is a company registered in England and = Wales with company number 1249803. The registered office is: 30 St. = Giles, Oxford, OX1 3LE, United Kingdom. Please see our Privacy Notice = <<a href=3D"https://www.nag.com/content/privacy-notice" = id=3DOWA7f81c072-92b1-7d59-ef95-54f93c9d321c>https://www.nag.com/content/= privacy-notice</a>> for information on how we process personal data = and for details of how to stop or limit communications from = us.<br><br>This e-mail has been scanned for all viruses and malware by = Microsoft Exchange Online = (EOP)<o:p></o:p></span></p></div></div></div></body></html> ------=_NextPart_000_001C_01DA9413.07ED1B80--