Generalhelp getting started

LaTeX specific issues not fitting into one of the other forums of this category.
i#&*computers
Posts: 10
Joined: Fri May 18, 2007 3:33 pm

Re: help getting started

Post by i#&*computers »

Nope, I did use the paths you told me, but it cannot get an output. The file you sent me also did not show an output.
Is something wrong with Adobe? Also it does not seem to recognize jpg files.
I use windows xp as an operating system, and I downloaded texniccenter from the internet, where I used Miktex as my latex distribution. That should make things easier, but it does not. Actually, in winedt (as part of miktex) I do get an output, it just does not accept jpg files (I don't know about the others figure extensions, something might be wrong with graphicx). Texniccenter is supposed to be much easier to use, but so far it is not helping. Please help me because I really don't know what to do anymore!

Recommended reading 2024:

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

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

PatrickM
Posts: 3
Joined: Fri May 18, 2007 11:12 pm

Re: help getting started

Post by PatrickM »

I would really like to see the full .tex file we're talking about.
i#&*computers
Posts: 10
Joined: Fri May 18, 2007 3:33 pm

Re: help getting started

Post by i#&*computers »

My file builds/ views every now and than, I keep changing the viewer command to get the best output. What should 'view projects output', 'forward search', and 'close document before running latex' be set to to be able to build/view the file?
Also, figures are not recognized, not even in pdf. Something might be wrong with graphicx, can I get a new version of only graphicx somewhere?
I hope to be able to put the file on this site, but right now I am using a different computer, so I cannot.
Thanx a lot!
Ingrid
i#&*computers
Posts: 10
Joined: Fri May 18, 2007 3:33 pm

Re: help getting started

Post by i#&*computers »

\documentclass[11pt,a4paper,twocolumn]{report}
\usepackage{graphicx}
\begin{document}

\title{Phothosynthesis\& Climate}
\author(Ingrid Arts}/studentnumber 1330004
\begin{figure}[ht]
\begin{center}
\includegraphics{vulogo}
\end{center}
\end{figure}
Vrije Universiteit Amsterdam

\beign{figure}[ht]
\begin{center}
\includegraphics{ucd logo}
\end{center}
\end{figure}
University College of Dublin
studentnumber 06181929

Supervisors:

\maketitle
\input{introduction}
\tableofcontents
\input{location}
\input{materials\&methods}
\end{document}

This is my document. I plan on making the titlepage first, just to see how it works, and than import all the files in it. I will need more usepackages, but I'll start with one and see if that works.
User avatar
countbela666
Posts: 64
Joined: Thu Apr 26, 2007 2:44 pm

help getting started

Post by countbela666 »

Hi Ingrid,

I doubt that this does work:

Code: Select all

...
\input{materials\&methods}
...
When working with LaTeX you should avoid special characters in file names on all account. I don't know whether this solves all or just a part of your problems, but without the backslash before the & character you should get less errors.

Another remark: Do not use a center environment inside a figure environment, as it inserts unnecessary vertical space. You'd better replace it by the \centering command switch which does not.

Regards
Marcel
Listen to me children of the night, beyond the doors of darkness you will find
a thousand worlds for you to see here, take my hand and follow me...
User avatar
pumpkinegan
Posts: 91
Joined: Thu May 03, 2007 10:29 pm

help getting started

Post by pumpkinegan »

Also note that your tex file has some problems:

Code: Select all

\author(Ingrid Arts}
Be careful of the brackets, it should be

Code: Select all

\author{Ingrid Arts}

Code: Select all

\beign{figure}[ht]
Be careful of spelling, it should be

Code: Select all

\begin{figure}[ht]
It appears that you are trying to create a custom title page with university logos and other information. Putting text outside \author{} will not produce nice effects, and \maketitle will not work correctly. I would recommend the titlepage environment and do not use \maketitle. Then you will have a blank page and can insert text and figures where ever you wish. There is an example on another post at: http://latex-community.org/viewtopic.ph ... =288&p=950 #p950

In addition to Marcel's comment on filenames, I would not recommend spaces. Instead of "ucd logo" use "ucd_logo".

Patrick.
i#&*computers
Posts: 10
Joined: Fri May 18, 2007 3:33 pm

Re: help getting started

Post by i#&*computers »

Wow, that does seem to helpe somehow (there are less errors). However, I still cannot build or view my document. It always says it cannot find my figures anywhere. I don't know if that has something to do with why it won't build.
I've tried putting them in all different kind of files and folders, nothing seems to be working. Also, it does not seem to matter whether they are pdf, jpeg, or some other kind of file. What am I doing wrong :cry:
User avatar
pumpkinegan
Posts: 91
Joined: Thu May 03, 2007 10:29 pm

Re: help getting started

Post by pumpkinegan »

The figure should be placed in the same folder as the tex file.

I have attached a couple of files to get you started: a tex file with a sample png figure and the resulting pdf output when compiled with pdfLaTeX (TeXnicCenter LaTeX => PDF). It should work perfectly.

Patrick.
Attachments
TitlePageLogo.zip
(30.77 KiB) Downloaded 294 times
i#&*computers
Posts: 10
Joined: Fri May 18, 2007 3:33 pm

Re: help getting started

Post by i#&*computers »

Well, that document you sent me seems to work perfectly, in winedt. In texniccenter there are 0 errors, but adobe does not show any output. It does open, but it does not show any document.
Also, when I try to add my own figures, they are still not recognized (not in winedt, and not in texniccenter). How is this possible? I've tried jpeg, pdf, and png, but neither of these works. Am I putting them in the wrong directory or something?
Anyway, thanks a lot for your help.
Ingrid
closedwave
Posts: 1
Joined: Tue Feb 05, 2008 3:49 pm

help getting started

Post by closedwave »

countbela666 wrote:Hi Ingrid,

I doubt that this does work:

Code: Select all

...
\input{materials\&methods}
...
When working with LaTeX you should avoid special characters in file names on all account. I don't know whether this solves all or just a part of your problems, but without the backslash before the & character you should get less errors.

...

Regards
Marcel
Marcel, (et al)
is there ANY way of referencing, in a \input{filereference} statement, a .tex file which is not in the same directory as the calling .tex file? This appears to be a potentially serious limitation on the ability to create multiple documents (in their own directory) from sub-documents.

I have tried, without success, and can indeed believe that no slashes (bak or forward) are allowed. If so, this is a great pity!

Chris
Post Reply