ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* unic-037
@ 2006-02-16  9:10 luigi scarso
  2006-02-16  9:50 ` unic-037 Adam Lindsay
  0 siblings, 1 reply; 10+ messages in thread
From: luigi scarso @ 2006-02-16  9:10 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 193 bytes --]

I'm working on unicode vector 37 (I'm using
http://bibliofile.duhs.duke.edu/gww/fonts/Unicode.html )
Since I'm a novice in this  area, any suggestion is welcome.

Thanks in advance
luigi

[-- Attachment #2: unic-037.tex --]
[-- Type: application/x-tex, Size: 36328 bytes --]

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: unic-037
  2006-02-16  9:10 unic-037 luigi scarso
@ 2006-02-16  9:50 ` Adam Lindsay
  2006-02-16 10:18   ` unic-037 luigi scarso
  0 siblings, 1 reply; 10+ messages in thread
From: Adam Lindsay @ 2006-02-16  9:50 UTC (permalink / raw)


luigi scarso wrote:
> I'm working on unicode vector 37 (I'm using
> http://bibliofile.duhs.duke.edu/gww/fonts/Unicode.html )
> Since I'm a novice in this  area, any suggestion is welcome.

Hmm, not to discourage this effort, but I already defined these as symbols:
http://homepage.mac.com/atl/tex/UnicodeSymbolDemo.pdf
and symb-uni.tex

Would you find these as unicode characters in an input stream in your 
application?

Cheers,
adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
  Lancaster University, InfoLab21        +44(0)1524/510.514
  Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: unic-037
  2006-02-16  9:50 ` unic-037 Adam Lindsay
@ 2006-02-16 10:18   ` luigi scarso
  2006-02-16 14:20     ` unic-037 Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: luigi scarso @ 2006-02-16 10:18 UTC (permalink / raw)


On 2/16/06, Adam Lindsay <atl@comp.lancs.ac.uk> wrote:
> luigi scarso wrote:
> > I'm working on unicode vector 37 (I'm using
> > http://bibliofile.duhs.duke.edu/gww/fonts/Unicode.html )
> > Since I'm a novice in this  area, any suggestion is welcome.
>
> Hmm, not to discourage this effort, but I already defined these as symbols:
> http://homepage.mac.com/atl/tex/UnicodeSymbolDemo.pdf
> and symb-uni.tex

Yes, I have them.
Please see
http://www.logosrl.it/context/unicode/unic-037.tex

>
> Would you find these as unicode characters in an input stream in your
> application?
I'm doing a catalogue in xml utf-8.

Thanks
luigi

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: unic-037
  2006-02-16 10:18   ` unic-037 luigi scarso
@ 2006-02-16 14:20     ` Hans Hagen
  2006-02-16 18:19       ` unic-037 luigi scarso
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2006-02-16 14:20 UTC (permalink / raw)


luigi scarso wrote:
> On 2/16/06, Adam Lindsay <atl@comp.lancs.ac.uk> wrote:
>   
>> luigi scarso wrote:
>>     
>>> I'm working on unicode vector 37 (I'm using
>>> http://bibliofile.duhs.duke.edu/gww/fonts/Unicode.html )
>>> Since I'm a novice in this  area, any suggestion is welcome.
>>>       
>> Hmm, not to discourage this effort, but I already defined these as symbols:
>> http://homepage.mac.com/atl/tex/UnicodeSymbolDemo.pdf
>> and symb-uni.tex
>>     
>
> Yes, I have them.
> Please see
> http://www.logosrl.it/context/unicode/unic-037.tex
>   
ok, added, but i'm not so sure about the  default list, maybe that 
should be something  enco-037 

Maybe we need to add some examples that show how to map the fonts onto 
the ones adam uses in symbols

\definefontsynonym[UnicodeRegular25][....]

and such

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: unic-037
  2006-02-16 14:20     ` unic-037 Hans Hagen
@ 2006-02-16 18:19       ` luigi scarso
  2006-02-16 18:38         ` unic-037 Taco Hoekwater
  2006-02-16 21:35         ` unic-037 Hans Hagen
  0 siblings, 2 replies; 10+ messages in thread
From: luigi scarso @ 2006-02-16 18:19 UTC (permalink / raw)


> ok, added, but i'm not so sure about the  default list, maybe that
> should be something  enco-037
done at
http://www.logosrl.it/context/unicode/enco-037.tex

But
1) should it be into enco-uc.tex ? and  \startencoding[uc]  or 
\startencoding[default]  ?
2) \ifcase\numexpr(#1+1)\or %% a trick to avoid #1=000
seem to works ,
 \ifcase\numexpr(#1+0) %%
no
Why?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: unic-037
  2006-02-16 18:19       ` unic-037 luigi scarso
@ 2006-02-16 18:38         ` Taco Hoekwater
  2006-02-16 19:06           ` unic-037 luigi scarso
  2006-02-16 21:35         ` unic-037 Hans Hagen
  1 sibling, 1 reply; 10+ messages in thread
From: Taco Hoekwater @ 2006-02-16 18:38 UTC (permalink / raw)


luigi scarso wrote:
> 2) \ifcase\numexpr(#1+1)\or %% a trick to avoid #1=000
> seem to works ,
>  \ifcase\numexpr(#1+0) %%
> no
> Why?

I am not sure what you want and what exactly doesn't work,
but it is better to use numexpr like this:

   \ifcase \numexpr #1+0\relax

because the closing ) does not actually cause it to stop
scanning forward (it stops in the first case because the
\or cannot be part of \numexpr).

Cheers, Taco

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: unic-037
  2006-02-16 18:38         ` unic-037 Taco Hoekwater
@ 2006-02-16 19:06           ` luigi scarso
  2006-02-16 21:34             ` unic-037 Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: luigi scarso @ 2006-02-16 19:06 UTC (permalink / raw)


On 2/16/06, Taco Hoekwater <taco@elvenkind.com> wrote:
> luigi scarso wrote:
> > 2) \ifcase\numexpr(#1+1)\or %% a trick to avoid #1=000
> > seem to works ,
> >  \ifcase\numexpr(#1+0) %%
> > no
> > Why?
>
> I am not sure what you want and what exactly doesn't work,
> but it is better to use numexpr like this:
>
>    \ifcase \numexpr #1+0\relax
> because the closing ) does not actually cause it to stop
> scanning forward (it stops in the first case because the
> \or cannot be part of \numexpr).
Done

However any unic-xxx.tex have this line, and I try to make the same thing.

unic-001.tex has
\ifcase\numexpr(#1+1)\or
  \Amacron       \or
So if #1 = 000 then we jump to \Amacron and this is ok.

In unic-037.tex
\ifcase\numexpr #1\relax %
   \unicodeLightHorizontal\or
   \unicodeHeavyHorizontal\or
with #1=001
I jump  to   \unicodeLightHorizontal  first (and this is wrong)
and then to    \unicodeHeavyHorizontal (and this is ok)

With
\ifcase\numexpr #1+1\relax %
   \unicodeLightHorizontal\or
   \unicodeHeavyHorizontal\or
with #1=001
I jump  \unicodeHeavyHorizontal (and this is ok)

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: unic-037
  2006-02-16 19:06           ` unic-037 luigi scarso
@ 2006-02-16 21:34             ` Hans Hagen
  0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2006-02-16 21:34 UTC (permalink / raw)


luigi scarso wrote:
> However any unic-xxx.tex have this line, and I try to make the same thing.
>
> \ifcase\numexpr(#1+1)\or
>   
> \ifcase\numexpr #1+1\relax \or
>   
are equivalent and as taco says, the relax way is better 

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: unic-037
  2006-02-16 18:19       ` unic-037 luigi scarso
  2006-02-16 18:38         ` unic-037 Taco Hoekwater
@ 2006-02-16 21:35         ` Hans Hagen
  2006-02-17  7:49           ` unic-037 luigi scarso
  1 sibling, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2006-02-16 21:35 UTC (permalink / raw)


luigi scarso wrote:
>> ok, added, but i'm not so sure about the  default list, maybe that
>> should be something  enco-037
>>     
> done at
> http://www.logosrl.it/context/unicode/enco-037.tex
>
> But
> 1) should it be into enco-uc.tex ? and  \startencoding[uc]  or 
> \startencoding[default]  ?
>   

default is the fallback, and encoding uc is only used on xetex where we 
have unicode fonts, otherwise ec or texnansi or .. is in use and 
therefore you need the default as fallback

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: unic-037
  2006-02-16 21:35         ` unic-037 Hans Hagen
@ 2006-02-17  7:49           ` luigi scarso
  0 siblings, 0 replies; 10+ messages in thread
From: luigi scarso @ 2006-02-17  7:49 UTC (permalink / raw)


Files
http://www.logosrl.it/context/unicode/enco-037.tex
http://www.logosrl.it/context/unicode/unic-037.tex
should be ok now.

Thanks
luigi

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-02-17  7:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-16  9:10 unic-037 luigi scarso
2006-02-16  9:50 ` unic-037 Adam Lindsay
2006-02-16 10:18   ` unic-037 luigi scarso
2006-02-16 14:20     ` unic-037 Hans Hagen
2006-02-16 18:19       ` unic-037 luigi scarso
2006-02-16 18:38         ` unic-037 Taco Hoekwater
2006-02-16 19:06           ` unic-037 luigi scarso
2006-02-16 21:34             ` unic-037 Hans Hagen
2006-02-16 21:35         ` unic-037 Hans Hagen
2006-02-17  7:49           ` unic-037 luigi scarso

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