tex preparation