ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Preprocessing ConTeXt file to convert from UTF-8 to ASCII & ABNT
Date: Sun, 25 Jan 2009 19:41:27 +0100	[thread overview]
Message-ID: <FAA33A20-977C-490C-81D6-5006F3275D49@gmail.com> (raw)
In-Reply-To: <6CCBF508-C58D-4319-9CDC-A45559819122@gmail.com>


Am 25.01.2009 um 19:05 schrieb João Macaíba:

> I've used LaTeX for a while and found articles about ConTeXt  
> yesterday and decided give it a try since its different approach.
>
> Reading the docs I've found it only works with ASCII.

The authors of the manual meant ConTeXt use plain text files
as input, the encoding of the files is not limited to ASCII
chars, you could use UTF-8 without problems.

> If there are other people writing in portuguese, like me, and  
> specially brazilians, is there a way to implement ABNT standard ?

What is ABNT?

> I use 'vim' and 'textmate' as my primary editors for *TeX*, and my  
> platform is MacOSX (Leopard).

For file encoding take a look at this page:

http://wiki.contextgarden.net/Encodings_and_Regimes


To tell ConTeXt your document is encoded in UTF-8, write

\enableregime[utf]
% more settings
\starttext
your text
\stoptext

in your document.


The ConTeXt wiki has also page for VIM and TextMate:

- http://wiki.contextgarden.net/Vim
- http://wiki.contextgarden.net/TextMate


Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2009-01-25 18:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-25 18:05 João Macaíba
2009-01-25 18:41 ` Wolfgang Schuster [this message]
2009-01-25 21:25   ` João Macaíba
2009-01-25 22:37     ` Wolfgang Schuster
2009-01-25 21:07 ` Hans Hagen

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=FAA33A20-977C-490C-81D6-5006F3275D49@gmail.com \
    --to=schuster.wolfgang@googlemail.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).