From: Pau <vim.unix@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Inverted exclamation / question marks
Date: Thu, 19 Feb 2009 15:03:06 +0100 [thread overview]
Message-ID: <30c383e70902190603q17f5bfe6q3feb06c64391e38@mail.gmail.com> (raw)
In-Reply-To: <30c383e70902190454r27293ed0sc3e1437e0be3aa79@mail.gmail.com>
This seems to be doing it for vim:
set fileencodings=ucs-bom,utf-8,latin1
The already recorded characters are displayed correctly and I can also
use accents etc in vim.
But, still, I seem to still need \enableregime[latin1] in the
preamble. When I comment it out:
! Improper alphabetic constant.
<to be read again>
\blank
\utffouruniglph ...f@b *(`#2-\utf@g )+\utf@a *(`#3
-\utf@g )+`#4-\utf@g \relax }
l.68 \blank[
5cm] ...
Pau
2009/2/19 Pau <vim.unix@googlemail.com>:
> Hello,
>
> thanks to all of you for your answers. Yes, it seems to be an encoding problem.
> After using \enableregime[latin1] in the preamble, the characters are
> fixed, but I would like to understand the problem of the encoding.
>
> If I open the file with nvi or vim, I can "see" the characters
> displayed correctly in the terminal with the default encodings. Now,
> if I add this to my vimrc:
>
> set encoding=utf-8
> set termencoding=utf-8
>
> then I get strange symbols when writing, instead of the accents like
> á instead of á (now the question is what you see!)
>
> I will do a bit more of research, because I see a potential source of
> problems here...
>
> Thanks to all,
>
> Pau
>
> 2009/2/19 Taco Hoekwater <taco@elvenkind.com>:
>> Pau wrote:
>>>
>>> Can you please try this?
>>>
>>> ----------------------------------------
>>> \language[es]
>>> \mainlanguage[es]
>>> \enableregime[utf-8]
>>> \starttext
>>> ¡Hola! ¿Me ves bien?
>>> \stoptext
>>> ----------------------------------------
>>
>> Works fine here: ConTeXt ver: 2009.02.06 19:27,
>> pdftex 1.49.9 as well as luatex trunk
>>
>> Best wishes,
>> Taco
>>
>>
>>
>
>
>
> --
> Let there be peace on earth. And let it begin with misc
>
--
Let there be peace on earth. And let it begin with misc
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2009-02-19 14:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-18 22:40 Pau
2009-02-18 22:47 ` Aditya Mahajan
2009-02-18 23:27 ` Pau
2009-02-18 23:42 ` Pau
2009-02-19 8:02 ` Mojca Miklavec
2009-02-19 8:03 ` Wolfgang Schuster
2009-02-19 8:07 ` Alan Stone
2009-02-19 8:08 ` Taco Hoekwater
2009-02-19 12:54 ` Pau
2009-02-19 14:03 ` Pau [this message]
2009-02-19 15:02 ` Arthur Reutenauer
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=30c383e70902190603q17f5bfe6q3feb06c64391e38@mail.gmail.com \
--to=vim.unix@googlemail.com \
--cc=ntg-context@ntg.nl \
--cc=vim.unix@gmail.com \
/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).