ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: Re: spanish symbols for interrogation and exclamation
Date: Mon, 26 Dec 2005 01:21:00 +0100	[thread overview]
Message-ID: <6faad9f00512251621i405fc1c0x15f73831c2bf93ea@mail.gmail.com> (raw)
In-Reply-To: <297ee2eb0512241445u32967abbpbdcb3c7afd6bc2d8@mail.gmail.com>

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

      parent reply	other threads:[~2005-12-26  0:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-23  2:15 Ciro Soto
2005-12-23  2:44 ` Mojca Miklavec
2005-12-23  9:06   ` Hans Hagen
2005-12-24 22:45     ` Ciro Soto
2005-12-25 15:44       ` Henning Hraban Ramm
2005-12-26 11:52         ` Hans Hagen
2005-12-26 20:24           ` Ciro Soto
2005-12-26  0:21       ` Mojca Miklavec [this message]

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=6faad9f00512251621i405fc1c0x15f73831c2bf93ea@mail.gmail.com \
    --to=mojca.miklavec.lists@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).