I didn't understand Hans's instructions. What should I do?

Mojka's solution worked fine.
I used
\def\qd{\questiondown}
to shorten the keyword.
c



On 12/23/05, Hans Hagen <pragma@wxs.nl> wrote:
Mojca Miklavec wrote:

>Ciro Soto wrote:
>
>
>>Hi team:
>>
>> How do I write the spanish interrogation symbol that is up-side down?
>> also
>> How do I write the spanish exclamation symbol that is also up-side down?
>> thank you
>> ciro
>>
>>
>
>\enableregime[utf] % for utf-8, may be something else as well
>(depending on editor)
>\starttext
>You can write \exclamdown\ or � and \questiondown\ or �
>\stoptext
>
>
that's not comfortable for spanish users, so ... let's hook it into
specifics:

\starttext

\startlanguagespecifics[fr]
    \definetextmodediscretionary :
{\removeunwantedspaces\prewordbreak\kern\hspaceamount\empty{:}:}
    \definetextmodediscretionary ;
{\removeunwantedspaces\prewordbreak\kern\hspaceamount\empty{;};}
    \definetextmodediscretionary ?
{\removeunwantedspaces\prewordbreak\kern\hspaceamount\empty{?}?}
    \definetextmodediscretionary !
{\removeunwantedspaces\prewordbreak\kern\hspaceamount\empty{!}!}
\stoplanguagespecifics

% goes to enco-ffr

\startlanguagespecifics[es]
    \definetextmodediscretionary ? {\prewordbreak\questiondown}
    \definetextmodediscretionary ! {\prewordbreak\exclamdown}
\stoplanguagespecifics

spanish|?| spanish|!|

\hyphenatedword{\es spanish|?|\relax}
\hyphenatedword{\es spanish|!|\relax}

\hyphenatedword{spanish|?|\relax}
\hyphenatedword{spanish|!|\relax}

\hyphenatedword{\fr spanish|?|\relax}
\hyphenatedword{\fr spanish|!|\relax}

\stoptext

\mainlanguage[es] Hey Mojca, does this look better|?|

(the |??| is always available)

i'll add this to the distribution

Hans
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context