The steady propagation of a semi-infinite bubble into a tube of elliptical or rectangular cross-section