diff --git a/lib/wordrep.gi b/lib/wordrep.gi index a231fc55a0..a7672b66b5 100644 --- a/lib/wordrep.gi +++ b/lib/wordrep.gi @@ -214,6 +214,35 @@ local a,n,t, i,j, str; + str:= ""; + + # is it conjugate? + i:=1; + j:=Length(l); + while i+1-l[j] then + i:=i-1; + j:=j+1; + fi; + if i>0 then + # write as conjugate + str:=DoNSAW(l{[i+1..j-1]},names,tseed); + if i+21 then Add( str, '*' );