Ronald Florence wrote:

> Alfredo Braunstein <[EMAIL PROTECTED]> writes:
> 
>> Juergen Spitzmueller wrote:
>> 
>> > ControlRef. Does it help if you change LyX's ControlRef and all
>> > instances to ControlLyXRef or something?
>> 
>> adding
>> 
>> #define ControlRef ControlLyXRef
>> 
>> to the top of src/frontends/controllers/ControlRef.h may just work...
> 
> Thanks to Juergen and Alfredo.  This gets close, but the compile of
> lyx-1.3.2 later gags at:

Then this hack is no good... your can try directly Juergen's suggestion.

maybe somethig like (using bash, from within the src/ directory, untested):

for x in `grep -l ControlRef {,*/,*/*/}*.{C,h}`; do echo $x; mv $x $x.save;
cat $x.save | sed s/ControlRef/ControlLyXRef/g > $x; done

will do. 

(if something fails, original files should have a .save appended)

Hope it helps,

Alfredo


Reply via email to