texinfo-tex-region

texinfo-tex-region is an interactive compiled Lisp function in `texinfo.el'.


(texinfo-tex-region BEG END)

Run TeX on the current region.
This works by writing a temporary file (`tex-zap-file') in the directory
that is the value of `tex-directory', then running TeX on that file.

The first line of the buffer is copied to the
temporary file; and if the buffer has a header, it is written to the
temporary file before the region itself. The buffer's header is all lines
between the strings defined by `tex-start-of-header' and `tex-end-of-header'
inclusive. The header must start in the first 100 lines.

The value of `texinfo-tex-trailer' is appended to the temporary file after the region.