Add lvl,lk,rk into output doc env