Date:Thu, 4 Oct 2001 16:13:11 +0200
Reply-To:Hebrew TeX list <[log in to unmask]>
Sender:Hebrew TeX list <[log in to unmask]>
From:Dan Kenigsberg <[log in to unmask]>
Subject:Re: bug in heblatex's gim numbering
In-Reply-To:<[log in to unmask]> from "Nadav
Har'El" at Oct 04, 2001 03:41:23 PM
Content-Type:text/plain; charset=iso-8859-1
> > >
> > > Just a quick hint to get you going: take the original macros and add
> > > a *single blank* after *every* explicit number if not already there.
> > > If that works, please report; I shall explain later.
> > >
> > Indeed this seems to work!
>
> I'm curious as to which space was the important one. It appears to me
> that most of the are redundant...
>
The ones just before the \fi's as in
\ifnum\@tempcntb>199\resh \advance\@tempcntb-200 \fi%
are essential.
> Another thing that I'm curious about: why do you *really* need gimatria
> for those huge numbers? I don't suppose you have thosands of appendices,
> or that you number your 1,000 page work using gimatria...
Point taken. It just felt broken somehow. BTW, is there a hebrew-calendar
version of \today?
>
> When I needed a simple gimatria macro, I used
>
> \def\hebrg#1{\@hebrg{\@nameuse{c@#1}}}
>
> \def\@hebrg#1{\ifcase#1\or à'\or á'\or â'\or ã'\or ä'\or å'\or æ'\or ç'\or
> è'\or é'\or é"à\or é"á\or é"â\or è"ã\or è"å\or è"æ\or é"æ\or é"ç\or é"è\or
> ë\or ë"à\or ë"á\else\@ctrerr\fi}
>
> And you can use \hebrg just like \Roman. (it worked in LaTeX 2.09 - I never
> tried it in LaTeX 2e). It only worked for parameters up to 22, but it was
> more than enough for my uses.
However, I would like to cite *YOUR* TODO line (from hebrew-general.sty):
% \hebr, \hebrg: new commands to show Hebrew alphabetic counters.
% the \hebrg uses geresh's, and gimatria. The result of \hebrg
% should be typeset in RL mode: there is no direction change command inside
% it.
% TODO: make them work for any number, not using a case
;-/) ...
Dan.