I installed MiKTeX 2.7 and TeXnicCenter.
I cannot create a PDF document using a simple script and directions from tutorial. The script, commands, and Output Profile are shown below.
Sample script entered into TeXnicCenter
\documentclass{article}
\begin{document}
Hello, world!
\end{document}
Sequence of commands selected:
Build
Current File - Build
Message received in:
-------- Output Profile: LaTex ==> PDF -----------
This is pdfTeX, Version 3.1415….-1.40.9 (MiKTeX 2.7)
Initexmf.EXE: No formats.ini exists.
I can’t find the default format file!
I couldn’t open file name ‘D:\Program Files\TeXnicCenter\TeX Files\Hello.aux
Couldn’t find input index file D:\Program Files\TeXnicCenter\TeX Files\Hello nor
D:\Program Files\TeXnicCenter\TeX Files\Hello.idx.
Usage: D:\program files\MiKTeX 2.7\miktex\bin\makeindex.exe [-ilqrcgLT] [-s sty] [-o ind] [-t log][-p num] [idx0 idx1 …]
LaTeX-Result: 0 Error(s), 0 Warning(s), 0 Bad Box(es), 0 Page(s)
General ⇒ LaTeX ==> PDF build
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
Re: LaTeX ==> PDF build
Seems to be an improper installation process. Start the MiKTeX Settings from the Start menu and try to build the format files subsequently. If that doesn't help, think about reinstalling the MiKTeX system.
Best regards and welcome to the board
Thorsten
Best regards and welcome to the board
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
Re: LaTeX ==> PDF build
Thank you for your prompt reply. I re-installed MikTeX and selected a complete rather than a basic package. It is working now.
John
John