<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>>> but the command "evince xxx.pdf" does nothing.</div>

<div> </div>

<div>I don't know the reason for this.  Maybe this doesn't open a window on a Mac.</div>

<div> 
<div>
<div>> Do you think there is a chance that if a pdf is re-saved with evince, then the accents will be embedded?</div>

<div> </div>

<div>No.  evince will not replace any glyphs.  If you want á, é, etc., to be displayed reliably on all PDF viewers, then I think the best (only?) solution is to use a font which has individual characters for these glyphs, such as European Computer Modern.  I also don't see any disadvantage in doing this.</div>

<div> </div>

<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 0;"><b>Gesendet:</b> Samstag, 22. Januar 2022 um 15:11 Uhr<br/>
<b>Von:</b> "Gérald Tenenbaum" <gerald.ten@free.fr><br/>
<b>An:</b> "Laurence Finston" <Laurence.Finston@gmx.de><br/>
<b>Betreff:</b> Re: [tex-eplain] accents problem in pdf generated by eplain</div>

<div>
<div style="font-family: Lucida Sans;">
<div style="font-family: Lucida Sans;">This of course what I did. I apparently installed Xcode, command lines, and evince, but the command "evince xxx.pdf" does nothing.<br/>
Do you think there is a chance that if a pdf is re-saved with evince, then the accents will be embedded?<br/>
Regards,<br/>
<br/>
Gérald<br/>
<br/>
<span>Laurence Finston a écrit le 22/01/2022 à 11:51 :</span>

<blockquote>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>
<div>To the best of my knowledge, there is a program corresponding to a shell or terminal emulator on Macs.  I once used one for a brief period and I'm pretty sure I was able to call programs from the command line.  Again, to the best of my knowledge, MacOS is a variety of Unix, so things that work on GNU/Linux should often work on MacOS. </div>

<div> </div>

<div>If you need help with this, I suggest you try the internet forums and/or mailing lists for Mac and evince.</div>

<div> 
<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 0;"><b>Gesendet:</b> Samstag, 22. Januar 2022 um 11:38 Uhr<br/>
<b>Von:</b> "Gérald Tenenbaum" <a class="moz-txt-link-rfc2396E" href="mailto:gerald.ten@free.fr" onclick="parent.window.location.href='mailto:gerald.ten@free.fr'; return false;" target="_blank"><gerald.ten@free.fr></a><br/>
<b>An:</b> "Laurence Finston" <a class="moz-txt-link-rfc2396E" href="mailto:Laurence.Finston@gmx.de" onclick="parent.window.location.href='mailto:Laurence.Finston@gmx.de'; return false;" target="_blank"><Laurence.Finston@gmx.de></a><br/>
<b>Betreff:</b> Re: Aw: Re: Re: [tex-eplain] accents problem in pdf generated by eplain</div>

<div>
<div style="font-family: Lucida Sans;">
<div style="font-family: Lucida Sans;">Thanks.<br/>
Nothing similar on my mac. I looked everywhere but it's probably well hidden. I give up.<br/>
Regards,<br/>
<br/>
Gérald<br/>
<br/>
<span>Laurence Finston a écrit le 22/01/2022 à 05:39 :</span>

<blockquote>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>On my Ubuntu (GNU/Linux) system, there is an icon among my "Favorites".  The package calls itself "Document Viewer".  The name of the executable, however, is "evince".  I just call "evince <filename>" from a shell, or more often, "evince <filename> &" to make it a background process.  See attached screenshot.  The icon is the seventh from the top at the left side, with the pair of glasses.</div>

<div> 
<div> 
<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 0;"><b>Gesendet:</b> Samstag, 22. Januar 2022 um 04:39 Uhr<br/>
<b>Von:</b> "Gérald Tenenbaum" <a class="moz-txt-link-rfc2396E" href="mailto:gerald.ten@free.fr" onclick="parent.window.location.href='mailto:gerald.ten@free.fr'; return false;" target="_blank"><gerald.ten@free.fr></a><br/>
<b>An:</b> "Laurence Finston" <a class="moz-txt-link-rfc2396E" href="mailto:Laurence.Finston@gmx.de" onclick="parent.window.location.href='mailto:Laurence.Finston@gmx.de'; return false;" target="_blank"><Laurence.Finston@gmx.de></a><br/>
<b>Betreff:</b> Re: Aw: Re: [tex-eplain] accents problem in pdf generated by eplain</div>

<div>
<div style="font-family: Lucida Sans;">
<div style="font-family: Lucida Sans;">Hello Laurence,<br/>
<br/>
I followed the steps to install evince on my mac. It apparently went through but how do you launch it?<br/>
Regards,<br/>
<br/>
Gérald<br/>
<br/>
<span>Laurence Finston a écrit le 21/01/2022 à 04:16 :</span>

<blockquote>
<pre>This is the contents of dtemp.tex:

\input eplain

\font\rm=ecrm1000
\rm
th{\char233}orie

\bye

These are the commands run:

tex dtemp && dvips -o dtemp.ps dtemp.dvi && ps2pdf dtemp.ps

The results are in the attached screenshots.  In evince, both {\'e} and é are searchable with é.  However, strangely, the orange box only covers half of the é resulting from {\'e}.  In Firefox, only é is searchable.

Since it obviously works, I haven't tested with pdftex, luatex, xetex ...


</pre>

<blockquote>
<pre>Gesendet: Freitag, 21. Januar 2022 um 00:46 Uhr
Von: "Karl Berry" <a class="moz-txt-link-rfc2396E" href="mailto:karl@freefriends.org" onclick="parent.window.location.href='mailto:karl@freefriends.org'; return false;" target="_blank"><karl@freefriends.org></a>
An: <a class="moz-txt-link-abbreviated" href="mailto:gerald.ten@free.fr" onclick="parent.window.location.href='mailto:gerald.ten@free.fr'; return false;" target="_blank">gerald.ten@free.fr</a>
Cc: <a class="moz-txt-link-abbreviated" href="mailto:tex-eplain@tug.org" onclick="parent.window.location.href='mailto:tex-eplain@tug.org'; return false;" target="_blank">tex-eplain@tug.org</a>
Betreff: Re: [tex-eplain] accents problem in pdf generated by eplain

Hi G\'erald - there are no special facilities in Eplain to make
PDF searching work, unfortunately. So this becomes a question about
getting searchable accents in PDF produced by plain TeX.

For pdfTeX, it is the primitives \pdfgentounicode and \pdfglyphtounicode
that ultimately define how the searching works. Whether those can be
coerced into working with the default CM 7-bit fonts, as Laurence
described, I don't know, but it may be possible.  Unfortunately I have
no recipe, either for that or for using 8-bit fonts like EC.

I didn't try it, but I suspect that using xetex or luatex, and
OTF/TTF fonts (like Latin Modern), and Unicode characters for input
instead of TeX control sequences like \'e, would work.

However, to make TeX control sequences yield searchable characters in
plain TeX (with any engine), I don't know. I'm down to suggesting
posting the question on a more general forum, like the <a class="moz-txt-link-abbreviated" href="mailto:texhax@tug.org" onclick="parent.window.location.href='mailto:texhax@tug.org'; return false;" target="_blank">texhax@tug.org</a>
mailing list or the tex.stackexchange.com forum, etc. Sorry. If you do,
and there are any positive answers, please let me know.

I'll try to at least mention this topic in the Eplain manual.
--all the best, karl.

</pre>
</blockquote>

<pre>></pre>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div></div></body></html>