Skip
repetitive navigational links
L-Soft  -  Home of  the  LISTSERV  mailing list  manager LISTSERV(R) 14.5
Skip repetitive navigational links
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (October 2001)Back to main IVRITEX pageJoin or leave IVRITEXReplyPost a new messageSearchProportional fontNon-proportional fontLog in
Date:   Thu, 4 Oct 2001 15:21:02 +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 "Klaus Lagally" at Oct 04, 2001 01:17:10 PM
Content-Type:   text/plain; charset=us-ascii

> > 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! Thus, the updated version is:

\def\hebmildelim{'} \def\@@gim#1{\@tempcnta=#1\divide\@tempcnta\@m \ifnum\@tempcnta>0\@@hebr\@tempcnta\hebmildelim\fi \multiply\@tempcnta\@m\@tempcntb=#1\advance\@tempcntb-\@tempcnta \ifnum\@tempcntb>799 \tav\tav \advance\@tempcntb-800 \fi \ifnum\@tempcntb>399 \tav \advance\@tempcntb-400 \fi% \ifnum\@tempcntb>299 \shin \advance\@tempcntb-300 \fi% \ifnum\@tempcntb>199 \resh \advance\@tempcntb-200 \fi% \ifnum\@tempcntb>99 \qof\advance\@tempcntb-100 \fi% \ifnum\@tempcntb>0 % \ifnum\@tempcntb=16 \tet\zayin% \else% \ifnum\@tempcntb=15 \tet\vav% \else\@tempcnta\@tempcntb \divide\@tempcntb 10 \ifnum\@tempcntb>0 % \advance\@tempcntb 9 \@@hebr\@tempcntb\advance\@tempcntb-9 % \fi \multiply\@tempcntb 10\advance\@tempcnta-\@tempcntb \ifnum\@tempcnta>0 \@@hebr\@tempcnta\fi \fi \fi \fi}

And there are two open question: - How can we call @@gim recursively, so it handles thousands correctly? - why can't we do \gim{counter} just like \Roman{counter} ?

Thanks,

Dan.


Back to: Top of message | Previous page | Main IVRITEX page

LISTSERV.TAU.AC.IL CataList email list search Powered by LISTSERV email list manager