Re: [NTG-context] Calendar resources

2008-06-22 Thread Charles P. Schaum
Here's the main bit of code; the two documents from which I derived it are over the 40k limit. One is the calendar FAQ text version. The other is a file easter_date.txt that is a thread from: Newsgroups: soc.religion.christian From: [EMAIL PROTECTED] (Mike Siemon) Subject: Easter algorithms I Orga

Re: [NTG-context] Translaing ConTeXt interface to Arabic

2008-06-22 Thread Henning Hraban Ramm
Am 2008-06-22 um 19:23 schrieb Hans Hagen: >> P-S: If we're going to implement calendar localization we have to >> make >> sure we take the famous Swedish February 30th, 1712 in account :-) > > yeah, and i noticed several such days in the NL list ... even > skipping a > day depending on the pr

Re: [NTG-context] Calendar resources

2008-06-22 Thread Hans Hagen
Charles P. Schaum wrote: > Some calendar links, FYI: > > http://astro.nmsu.edu/~lhuber/leaphist.html > http://www.smart.net/~mmontes/ec-cal.html > http://www.tondering.dk/claus/calendar.html > http://tycho.usno.navy.mil/vphase.html > > I would be happy to make available the C code for an Easter d

[NTG-context] Calendar resources

2008-06-22 Thread Charles P. Schaum
Some calendar links, FYI: http://astro.nmsu.edu/~lhuber/leaphist.html http://www.smart.net/~mmontes/ec-cal.html http://www.tondering.dk/claus/calendar.html http://tycho.usno.navy.mil/vphase.html I would be happy to make available the C code for an Easter date calculator that I implemented on the

Re: [NTG-context] Translaing ConTeXt interface to Arabic

2008-06-22 Thread Hans Hagen
Arthur Reutenauer wrote: >> btw, writing a lunar based calendar converter in lua ... > > Glad to know I'm not the only Lua addict whose first thought was to do > that ;-) > > Arthur > > P-S: If we're going to implement calendar localization we have to make > sure we take the famous Swedi

Re: [NTG-context] Translaing ConTeXt interface to Arabic

2008-06-22 Thread Arthur Reutenauer
> btw, writing a lunar based calendar converter in lua ... Glad to know I'm not the only Lua addict whose first thought was to do that ;-) Arthur P-S: If we're going to implement calendar localization we have to make sure we take the famous Swedish February 30th, 1712 in account :-) __

Re: [NTG-context] Translaing ConTeXt interface to Arabic

2008-06-22 Thread Hans Hagen
Hartmut Henkel wrote: > On Sun, 22 Jun 2008, Hans Hagen wrote: > >> Calendrical Calculations, by Nachum Dershowitz and >> Edward M. Reingold, Software --- Practice & Experience, p 899--928. > > fwiw, hijra is also mentiond in the Calendar FAQ, > http://www.tondering.dk/claus/calendar.html ah,

Re: [NTG-context] Translaing ConTeXt interface to Arabic

2008-06-22 Thread Hartmut Henkel
On Sun, 22 Jun 2008, Hans Hagen wrote: > Calendrical Calculations, by Nachum Dershowitz and > Edward M. Reingold, Software --- Practice & Experience, p 899--928. fwiw, hijra is also mentiond in the Calendar FAQ, http://www.tondering.dk/claus/calendar.html Regards, Hartmut _

Re: [NTG-context] Translaing ConTeXt interface to Arabic

2008-06-22 Thread Hans Hagen
Khaled Hosny wrote: > On Fri, Jun 20, 2008 at 08:13:37PM -0600, Idris Samawi Hamid wrote: >> On Fri, 20 Jun 2008 20:03:10 -0600, Idris Samawi Hamid >> <[EMAIL PROTECTED]> wrote: >> >>> On Fri, 20 Jun 2008 19:11:57 -0600, Khaled Hosny <[EMAIL PROTECTED]> >>> wrote: >>> > Not to mention Saudi A

Re: [NTG-context] Bigger interline space and grid

2008-06-22 Thread Hans Hagen
Aditya Mahajan wrote: > Hi, > > I cannot figure out how to increase the interline space with grid > snapping. The following does not work > > \setuplayout[grid=yes] > > \setupinterlinespace[auto,big] > \setupwhitespace [medium] > \setupindenting [medium,yes] > > \showgrid > > \starttext >

Re: [NTG-context] Unicode PDF bookmarks and headers

2008-06-22 Thread Khaled Hosny
On Sun, Jun 22, 2008 at 07:41:33AM -0600, Idris Samawi Hamid wrote: > On Sun, 22 Jun 2008 01:12:38 -0600, Khaled Hosny <[EMAIL PROTECTED]> > wrote: > > > I can't get Unicode (Arabic) PDF bookmarks or headers (see the attached > > file), even after including "\input spec-tst" after the wiki page

Re: [NTG-context] protruding with luatex mkiv?

2008-06-22 Thread Hans Hagen
Uwe Koloska wrote: > Hello, > > how can I use protruding with mkiv and luatex? I tried different examples > from the different manuals and the garden and found the following piece that > works OK with pdftex and mkiv (?): > > -- > \setupc

Re: [NTG-context] [Dev-luatex] bug in context/luatex

2008-06-22 Thread Hans Hagen
Yue Wang wrote: > Hi, Hans: > > pdftex and LuaTeX produce different results with the following source > file. Please check. > I dont know whether it is a bug in ConTeXt or LuaTeX. > > \usetypescriptfile[type-buy] > \usetypescript[lucida][texnansi] > \setupbodyfont[lucida,12pt] > \starttext > `he

Re: [NTG-context] Unicode PDF bookmarks and headers

2008-06-22 Thread Idris Samawi Hamid
On Sun, 22 Jun 2008 01:12:38 -0600, Khaled Hosny <[EMAIL PROTECTED]> wrote: > I can't get Unicode (Arabic) PDF bookmarks or headers (see the attached > file), even after including "\input spec-tst" after the wiki page > http://wiki.contextgarden.net/PDF_Bookmarks_and_Headers > But I get miss-enc

Re: [NTG-context] Translaing ConTeXt interface to Arabic

2008-06-22 Thread Khaled Hosny
On Sat, Jun 21, 2008 at 07:38:25PM -0600, Idris Samawi Hamid wrote: > On Sat, 21 Jun 2008 14:02:24 -0600, Khaled Hosny <[EMAIL PROTECTED]> > wrote: > > >> Well, since we're not using it for long-term historical ranges -- and > >> we'll need to be able to advance/reverse it a couple of days no ma

[NTG-context] Unicode PDF bookmarks and headers

2008-06-22 Thread Khaled Hosny
I can't get Unicode (Arabic) PDF bookmarks or headers (see the attached file), even after including "\input spec-tst" after the wiki page http://wiki.contextgarden.net/PDF_Bookmarks_and_Headers But I get miss-encoded text instead, am I missing some thing? Regards, Khaled -- Khaled Hosny Arab