Beside a short account on the Euler-Maclaurin formula, using a recent progress in variable-precision arithmetic and symbolic computation and the corresponding {c Mathematica} package {t Ort-ho-go-nal-Po-ly-no-mi-als} $[$Facta Univ. Ser. Math. Inform. {\bf19} $(2004)$, $17-36;$ Math. Balkanica {\bf 26} $(2012)$, $169-184]$, we obtain extensions of the Euler-Maclaurin formula for the composite (shifted) Gauss-Legendre formula, as well as for its Lobatto modification. Some special cases are also presented.