General ⇒ Compile Plain Tex
Compile Plain Tex
I have a file sent to me by a friend which is written in plain tex. Thus it can not be run with Latex. How can i get TexNicCenter to compile in plain tex?
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Compile Plain Tex
Copy a build profile, rename it and replace latex by tex or pdflatex by pdftex, respectively.
Best regards
Thorsten¹
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Compile Plain Tex
...Or simply write this as the first line of the file and compile with the profile LaTeX => DVI:
If you prefer the profile LaTeX=>PDF, then write this:
In both cases, it is preferrable to deactivate the calling to BibTeX and MakeIndex that is usually included in every profile. Go to Build > Define Output profiles, select the profile and check the box at the left of the sentence "Don't use BibTeX in this profile". Same thing for MakeIndex.
Code: Select all
%&etex
Code: Select all
%&pdfetex
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.