TransWikia.com

How to format a document so it compiles with tex.exe?

TeX - LaTeX Asked on March 2, 2021

I have a distribution of TeX installed, which does not include LaTeX. So compiling even trivial examples of documents gives "Undefined control sequence" errors even for something like documentclass and usepackage. I tried searching online, but everything that calls itself "TeX" seems to actually be LaTeX. Can someone provide an example of something non-trivial that would compile with TeX.exe (or PDFTeX, XeTeX, LuaTeX)? — so I can get started trying to format my documents to compile? For example, a math fraction… anything.

Update: Apparently there is a texi2pdf script included. It works in CygWin (modulo citations not being there, even after I call BibTeX on my file) — is there a way to have a similar script work in Windows? Entering CygWin takes about 60 seconds each time…

One Answer

The cygwin distribution includes latex, on your system look in /usr/bin it should look like

$ pwd
/usr/bin

$ ls -l *tex
-rwxr-xr-x 1 nm grfp 394 Sep  1  2018 dot2tex
lrwxrwxrwx 1 nm grfp  10 Jun 18 10:10 dvilualatex -> luatex.exe
lrwxrwxrwx 1 nm grfp  10 Jun 18 10:09 dviluatex -> luatex.exe
lrwxrwxrwx 1 nm grfp  10 Jun 18 10:09 etex -> pdftex.exe
lrwxrwxrwx 1 nm grfp   7 Jun 18 10:09 initex -> tex.exe
lrwxrwxrwx 1 nm grfp  10 Jun 18 10:10 latex -> pdftex.exe
lrwxrwxrwx 1 nm grfp  12 Jun 18 10:10 lualatex -> luahbtex.exe
lrwxrwxrwx 1 nm grfp  10 Jun 18 10:09 pdfetex -> pdftex.exe
lrwxrwxrwx 1 nm grfp  10 Jun 18 10:10 pdflatex -> pdftex.exe
lrwxrwxrwx 1 nm grfp  49 Jun 18 10:09 simpdftex -> /usr/share/texmf-dist/scripts/simpdftex/simpdftex

Answered by David Carlisle on March 2, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP