GeneralLaTeX ==> PDF build

General information and discussion about TeXnicCenter
Post Reply
johnmb
Posts: 2
Joined: Mon May 25, 2009 1:58 am

LaTeX ==> PDF build

Post by johnmb »

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)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: LaTeX ==> PDF build

Post by localghost »

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
johnmb
Posts: 2
Joined: Mon May 25, 2009 1:58 am

Re: LaTeX ==> PDF build

Post by johnmb »

Thank you for your prompt reply. I re-installed MikTeX and selected a complete rather than a basic package. It is working now.
John
Post Reply