Re: [latex2html] Re: [l2h] incorrect equation

2000-12-28 Thread John A. Turner
> "RM" == Ross Moore <[EMAIL PROTECTED]>: >> However, I noticed a problem - if a macro cmd appears within the text RM> Within $..$s, or just straight in the text ? just straight in the text, e.g. \dx, where \dx is defined as: \newcommand{\dx}{\mbox{${\Delta x \,}$}} RM> The above solution

[latex2html] Re: [l2h] incorrect equation

2000-12-28 Thread Ross Moore
> > "RM" == Ross Moore <[EMAIL PROTECTED]>: > > RM> # these macros are only ever used within math-environments > RM> # and made into images; > RM> # so just ignore them for all other processing > RM> > RM> &ignore_commands( <<_IGNORED_CMDS_); > RM> mathmacroA > RM> mathmacroB > RM> mathmacr

[latex2html] Re: [l2h] incorrect equation

2000-12-28 Thread John A. Turner
> "RM" == Ross Moore <[EMAIL PROTECTED]>: RM> There is an alternative approach, using (La)TeX macros. RM> RM> 1. Write your math-environment code in a shortened form, RM> using home-grown macros with parameters, instead of RM> repeating large chunks of code. RM> RM> Now you need a

Re: [l2h] incorrect equation

2000-12-22 Thread John A. Turner
> "RM" == Ross Moore <[EMAIL PROTECTED]>: RM> If you use a lot of code within $$$$, RM> and several of these in which the only difference lies in the RM> middle of the code, then it is possible that the algorithm for reusing RM> images may think that 2 images will be the same, when in fac

Re: [l2h] incorrect equation

2000-12-22 Thread Ross Moore
Hi John. I just tried my suggestion using your example files. It works like a dream. Cheers, Ross

Re: [l2h] incorrect equation

2000-12-22 Thread Ross Moore
> > "MW" == Martin Wolf <[EMAIL PROTECTED]>: > > MW> Hallo John! > MW> I'm guessing that you are running l2h under a Win*-operating-system. > > nope - I'm on SGI Irix 6.5.6m > > MW> Then the problem is a little l2h-bug: > MW> > MW> in the function &find_unique(pstoimg) two image-files are

Re: [l2h] incorrect equation

2000-12-21 Thread John A. Turner
> "MW" == Martin Wolf <[EMAIL PROTECTED]>: MW> Hallo John! MW> I'm guessing that you are running l2h under a Win*-operating-system. nope - I'm on SGI Irix 6.5.6m MW> Then the problem is a little l2h-bug: MW> MW> in the function &find_unique(pstoimg) two image-files are opened and MW> compa

Re: [l2h] incorrect equation

2000-12-21 Thread Martin Wolf
Hallo John! I'm guessing that you are running l2h under a Win*-operating-system. Then the problem is a little l2h-bug: in the function &find_unique(pstoimg) two image-files are opened and compared. To work correct, the files must be set to the binary mode by calling binmode(filename); after the o

[l2h] incorrect equation

2000-12-18 Thread John A. Turner
consider this html: http://www.turner-family.com/John/l2h/99.2b8/incorrect_img/incorrect_img.html what's odd about it is that the first line of eq. 3 is the wrong image - it's reusing the first line of eq. 1, while the latex is different - the 2nd term should not be there - see: http://www.