From: Marcus Vinicius Mesquita <marcusvinicius.mesquita@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: How to make words searchable without diacritics
Date: Mon, 7 Aug 2023 09:17:19 -0300 [thread overview]
Message-ID: <CAK9ODgTiqtzVb0f84NQOdK2NV_8i5M6K78zMbCeLVtRm-QERFg@mail.gmail.com> (raw)
In-Reply-To: <ef9a7781-0ec8-5cf4-0810-2c8aa54e48c0@fiee.net>
Thank you for the answers, Bruce, Pablo and Hraban. I was not aware of
ActualText.
I work on a manjaro linux, and I tested the example Pablo sent on
several programs:
mupdf-gl or mupdf: fails! [mupdf-gl is what I customarily use for its
blazing speed]
firefox: fails
vivaldi: passes
okular: passes
qpdfview: passes
evince: passes
But \pdfbackendactualtext is actually just what I needed since it can
be used also for other things like:
\starttext
what a \pdfbackendactualtext{\hyphenatedword{wonderful}}{wonderful} text
\stoptext
Best regards
Marcus Vinicius
On Mon, Aug 7, 2023 at 3:13 AM Henning Hraban Ramm <texml@fiee.net> wrote:
>
> Am 06.08.23 um 20:37 schrieb Pablo Rodriguez:
> > Hans provides this jewel in back-imp-pdf.mkxl and back-pdf.mkiv (adapter
> > for your needs):
> >
> > \starttext
> > text \pdfbackendactualtext{whatever you want}{filia} text
> > \stoptext
> >
>
> > In any case, the PDF viewer used to search must have ActualText implemented.
>
> Exactly. And e.g. Apple’s PDF library has not; it is used not only by
> Preview.app, but also by Skim and TeXshop. (I should check this with
> other viewers/libs.)
>
> Hraban
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : https://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
> ___________________________________________________________________________________
--
Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o
corpo nem seus membros, por ser descanso da alma, primavera do
coração, distração do aflito, entretenimento do solitário, e viático
do viajante.
Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2023-08-07 12:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-05 19:16 [NTG-context] " Marcus Vinicius Mesquita
2023-08-06 14:05 ` [NTG-context] " Bruce Horrocks
2023-08-06 18:37 ` Pablo Rodriguez
2023-08-07 6:11 ` Henning Hraban Ramm
2023-08-07 12:17 ` Marcus Vinicius Mesquita [this message]
2023-08-07 17:14 ` Ulrike Fischer
2023-08-07 17:19 ` Henning Hraban Ramm
2023-08-07 18:58 ` Marcus Vinicius Mesquita
2023-08-07 19:57 ` Hans Hagen
2023-08-08 1:22 ` Marcus Vinicius Mesquita
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAK9ODgTiqtzVb0f84NQOdK2NV_8i5M6K78zMbCeLVtRm-QERFg@mail.gmail.com \
--to=marcusvinicius.mesquita@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).