Re: [NTG-context] spanish symbols for interrogation and exclamation

2005-12-26 Thread Ciro Soto
I think using a definition like \question
(or \pregunta    if we use a spanish keyword)
would be useful. 
ciroOn 12/26/05, Hans Hagen <[EMAIL PROTECTED]> wrote:
Henning Hraban Ramm wrote:>> >> 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>>> Better in matters of logical markup would be a definition like> \quotation, say \exclamation or \question,> but I don't know if there are languages other than Spanish that need
> additional signs/formatting for those...>interesting suggestion, we can use the delimited text mechanism for it(core-mis);  what do the spanish users think of if?Hans___
ntg-context mailing listntg-context@ntg.nlhttp://www.ntg.nl/mailman/listinfo/ntg-context

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


Re: [NTG-context] spanish symbols for interrogation and exclamation

2005-12-26 Thread Hans Hagen

Henning Hraban Ramm wrote:

>> 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



Better in matters of logical markup would be a definition like  
\quotation, say \exclamation or \question,
but I don't know if there are languages other than Spanish that need  
additional signs/formatting for those...


interesting suggestion, we can use the delimited text mechanism for it 
(core-mis);  what do the spanish users think of if?


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


Re: [NTG-context] spanish symbols for interrogation and exclamation

2005-12-25 Thread Mojca Miklavec
On 12/24/05, Ciro Soto wrote:
> I didn't understand Hans's instructions. What should I do?

Try this:

% this will be added into ConTeXt, so you can leave it out next time
%%%
\startlanguagespecifics[es]
   \definetextmodediscretionary ? {\prewordbreak\questiondown}
   \definetextmodediscretionary ! {\prewordbreak\exclamdown}
\stoplanguagespecifics
%%%

% an example of the usage:
\mainlanguage[es]
\starttext
|!|Feliz Navidad!
\stoptext

> On 12/23/05, Hans Hagen wrote:
> > Mojca Miklavec wrote:
> > >\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:

I don't know the Spanish habits. I thought that they usually simply
hit the proper symbol on their keyboards, but I agree that it's nice
to have an "ascii" way to get them.

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

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

|?|I didn't manage to catch the difference in line-breaking algorithm,
but aren't those turned quotation marks at the beginning of the
sentence?

(like \exclamdown\prewordbreak, but as I said - I don't know if it
makes any difference at all)

> > i'll add this to the distribution

So don't forget to mention it in the new manual as well ;)

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] spanish symbols for interrogation and exclamation

2005-12-25 Thread Henning Hraban Ramm
>> 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


Better in matters of logical markup would be a definition like  
\quotation, say \exclamation or \question,
but I don't know if there are languages other than Spanish that need  
additional signs/formatting for those...



Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)

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


Re: [NTG-context] spanish symbols for interrogation and exclamation

2005-12-24 Thread Ciro Soto
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 <[EMAIL PROTECTED]> 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 intospecifics:\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}\stoplanguagespecificsspanish|?| 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 distributionHans___ntg-context mailing listntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] spanish symbols for interrogation and exclamation

2005-12-23 Thread Hans Hagen

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


Re: [NTG-context] spanish symbols for interrogation and exclamation

2005-12-22 Thread Mojca Miklavec
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

Mojca
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] spanish symbols for interrogation and exclamation

2005-12-22 Thread Ciro Soto
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
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context