MiKTeX and proTeXtHelp please

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
fandapribyl
Posts: 5
Joined: Sun Nov 18, 2007 10:59 pm

Help please

Post by fandapribyl »

HI, I am a total beginner. I installed miktex and texnicenter, put in the address of latex.exe during the texniccenter configuration. When I tried to create a PDF file from a TEX file downloaded from somewhere, there were reported several errors and nothing happened. Even when I tried create PDF file from original techniccenter template, there were errors again. Of course I have Acrobat reader.
I have no idea what did I wrong. I did everything as I read it in instructions and it doesnt work. Could anybody give me an advise how to start the program working? Thank you very much

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

Help please

Post by localghost »

At first, I suggest to install Ghostscript and GSview additionally and start the build profile wizard again (Alt+F7, button in the lower left corner in the following window). Then you don't have to put in the path and arguments for the required binaries by yourself.
fandapribyl wrote: […] When I tried to create a PDF file from a TEX file downloaded from somewhere, there were reported several errors and nothing happened. Even when I tried create PDF file from original techniccenter template, there were errors again. […]

Please name the source where you downloaded that file. Take a look into the directory where you saved it (suffix .tex) and search for a file with the same name, but the suffix .log and post it here as attachment. That is necessary to figure out what's going wrong. It contains the error messages. I assume that you installed a basic MiKTeX and now some files are missing that are required for compilation.


Best regards and welcome on Board
Thorsten
fandapribyl
Posts: 5
Joined: Sun Nov 18, 2007 10:59 pm

Re: Help please

Post by fandapribyl »

Thanks, I hope this file is what you asked for
Attachments
LaTeX1.log
(856 Bytes) Downloaded 305 times
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Help please

Post by localghost »

That's OK so. But I presumed that this log file would tell a little bit more. So I have to ask you for your source (.tex) file. Please post it as attachment.
fandapribyl
Posts: 5
Joined: Sun Nov 18, 2007 10:59 pm

Re: Help please

Post by fandapribyl »

Oh sorry, here it is.
Attachments
LaTeX1.tex
(989 Bytes) Downloaded 303 times
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Help please

Post by localghost »

Did you read the comments at the beginning of the file?
%%
%% ATTENTION: You need a main file to use this one here.
%% Use the command "\input{filename}" in your
%% main file to include this file.
%%

So, in this form the file can't work. Save this file as "title.tex", generate a header file to make it work and name this file "thesis.tex".

Code: Select all

\documentclass[12pt,a4paper]{report}
\usepackage[T1]{fontenc}                               % Enable Cork Encoding
\usepackage[latin1]{inputenc}                          % Enable special national characters
\usepackage[english]{babel}                            % Hyphenation for English language
\usepackage[bindingoffset=1cm, margin=2cm]{geometry}   % Setting the type area

\begin{document}
  \input{title}
\end{document}
I ask again for the download source of this file. Could you please name that for me? Would be very interesting for checking whether the source is up to date.

All mentioned packages can be found on CTAN (Comprehensive TeX Archive Network). Just type in their names (Search package descriptions) and you will find detailed information. There are many packages that let you change and control the way LaTeX typesets your document. But you will find that out step by step. For example you can try another font package.

Since you are a beginner, I recommend to read some general documentation about LaTeX. There is a beginner's guide called lshort which gives a simple introduction to LaTeX basics. In addition to that you should take a look at l2tabu, which represents an overview about things that have to be avoided.

Much more flexible document classes are provided by the KOMA Script Bundle. First of all written for German users, but also usable by others. A guide in English is included.
Last edited by localghost on Wed Nov 21, 2007 11:28 pm, edited 1 time in total.
fandapribyl
Posts: 5
Joined: Sun Nov 18, 2007 10:59 pm

Re: Help please

Post by fandapribyl »

Do you mean the source of the file I have sent you (Latex1.txt)? That is not downloaded, that is a template in texniccenter, or if it comes from miktex, i dont know.
http://www.miktex.org/Setup.aspx
http://texniccenter.org/21.html
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Help please

Post by localghost »

fandapribyl wrote: Do you mean the source of the file I have sent you (Latex1.txt)? That is not downloaded, that is a template in texniccenter, or if it comes from miktex, i dont know.

Thanks for that information. I haven't yet worked with these templates so I didn't know. It's a template that's coming with TeXnicCenter. Save that template file as "title.tex" and follow the instructions in my last post.
fandapribyl
Posts: 5
Joined: Sun Nov 18, 2007 10:59 pm

Re: Help please

Post by fandapribyl »

Thank you very much, it seems to work OK now
Post Reply