Re: [NTG-context] Is this an encoding problem?

2009-05-31 Thread Maurí­cio

However, a few unicode characters desapear or cause small
problems, like these (unicodes between 2012 and 2015):



They work here both in mkii and mkiv (...)
Does it make any difference if you replace the font in TeX tree
with the font downloaded straight from SIL (and maybe regenerate font
cache for luatex just in case)?


Here is md5sum of gentium files. However, I wasn't able to
get those characters with any font. My first tought was that
input could be in something different from utf8, but I can get
the ellipsis from the example below to work.

34cc1c1f334221ba0b67e05011036906 
*context/tex/texmf/fonts/truetype/public/gentium/GenI102.TTF
c8b88a8ecf5f6f93052fb2d1628438d5 
*context/tex/texmf/fonts/truetype/public/gentium/GenBasBI.ttf
c968d72c4bfc649e2581a5d6699fd31f 
*context/tex/texmf/fonts/truetype/public/gentium/GenR102.TTF
03ca29844a7db9b018b2dd4de50be6d6 
*context/tex/texmf/fonts/truetype/public/gentium/GenBasB.ttf


You'll probably need to post a minimal complete example that fails.


Here it is. The ellipsis is okay in the output. The
horizontal bars, however, just desapear, although they
do use some space, as the first letters do not stay
aligned with the last line.



\enableregime[utf]
\usetypescript[gentium]
\setupbodyfont[gentium,20pt]
\starttext

― Tá vendo? Você não entende!

― Claro que entendo…

This is a line without a dash.

\stoptext

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


Re: [NTG-context] Is this an encoding problem?

2009-05-31 Thread Mojca Miklavec
On Sun, May 31, 2009 at 22:00, Maurí­cio wrote:
> Hi,
>
> I'm using the lines below in the start of a book '.tex' file. It
> selects the 'gentium' pre-defined typeface, and the file itself
> was done using utf8.
>
> However, a few unicode characters desapear or cause small
> problems, like these (unicodes between 2012 and 2015):
>
> ― (before spoken text)
> - (hyphen)

They work here both in mkii and mkiv (Thomas - I have a feeling that
naming of book basic in type-gentium and in tfm files is out of sync
for some reason), though I wouldn't be surprised if there were any
problems with the font (we submitted a faulty ttf version to CTAN
once). Does it make any difference if you replace the font in TeX tree
with the font downloaded straight from SIL (and maybe regenerate font
cache for luatex just in case)?

You'll probably need to post a minimal complete example that fails.

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


[NTG-context] Is this an encoding problem?

2009-05-31 Thread Maurí­cio

Hi,

I'm using the lines below in the start of a book '.tex' file. It
selects the 'gentium' pre-defined typeface, and the file itself
was done using utf8.

However, a few unicode characters desapear or cause small
problems, like these (unicodes between 2012 and 2015):

― (before spoken text)
- (hyphen)

I thought they could be missing from the font, but I have already
used gentium by just loading the font, before I learned about
typefaces. (I did download the font from its site, however,
instead of using that from minimals.)

Did I do anything wrong?

Thanks,
Maurício




\enableregime[utf]
\mainlanguage[pt]
\setuppapersize[a5][a5]

\usetypescript[gentium]
\setupbodyfont[gentium,20pt]

\setupindenting[small]
\indenting[yes]
\setupwhitespace[small]
\definestartstop [verse]
 [before=\vbox\bgroup\startlines,
   after=\stoplines\egroup]
\defineselector[title][max=2,n=2]
\setuplist[chapter][width=0pt]
\setupheads[alternative=middle]
\setuphead[chapter][number=no,incrementnumber=list]
\starttext

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