-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
6.9-url.tex
16 lines (13 loc) · 992 Bytes
/
6.9-url.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
\definesubsection{URL}
\defineidentifier{url}{<target ~a(~w|[+-.])*://(~w|[\$-_.+!*'()\&+,/:;=?@\%#])+>}
\definetextualcomponent{url}{interaction: link; target: target} \\
URL is an \g{inline directive} that marks the \g{text} to belong to a \g{textual component} that sets its interaction to allow following to the URL target. The user must be presented with an action that allows them to follow to the URL target. The exact manner in which the target is followed as well as the way in which the action is presented are \g{implementation dependant}. The \g{text} of the \g{resulting textual component} must be exactly the same as that of the \inline$target$ \g{binding}.\\
\begin{examples}
\longexample{Come chat with us at irc://irc.libera.chat/\%23shirakumo !}{Come chat with us at \url{irc://irc.libera.chat/\%23shirakumo} !}
\end{examples}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "markless"
%%% TeX-engine: luatex
%%% TeX-command-extra-options: "-shell-escape"
%%% End: