On 5/19/2024 5:40 AM, seyal.zav...@gmail.com wrote:
Hi all,
I want to define a command that simulate hashtag behavior in social networks,
In other words, this command should put the hashtag sign at the beginning of
it, replace spaces with dashes and also it should be a clickable link and
unbreakable world.
I mean like this, for example:
\myhashtag{hello world}
It should be displayed as #hello_world in the final PDF and when clicked it
will search for #hello_world throughout the pdf
How is this possible?
One of the disppointments of pdf (some things indeed got worse over
time) ...
"Table 215 — Named actions" lists several named actions (PDF 1.2) that
interactive PDF processors
shall support; further names may be added in the future.
Table 215 — Named ac
Only a few were ever formal ok. Acrobat supports some more (at least
did) but even on the
\goto{test}[action(search)]
one could not set a string. Adding a decent subset of commands is way
easier than whatever came later to the standard. It's especially ironic
in the perspective of accessibility.
However, if one could agree on a subset (as the standard is open) and
open source viewers would support it ... but getting all on board is
probably not possible).
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________