S.O.S. Mathematics CyberBoard

Your Resource for mathematics help on the web!
It is currently Thu, 20 Jun 2013 06:37:58 UTC

All times are UTC [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: TeX Package usage (MiKTeX)
PostPosted: Thu, 15 Oct 2009 03:40:50 UTC 
Online
Moderator
User avatar

Joined: Wed, 30 Mar 2005 04:25:14 UTC
Posts: 12172
Location: Austin, TX
I just recently reinstalled my TeX environment (TeXnic Center) and MiKTeX (typesetting system). I'm trying to make my first CV, and I got a great package (from the looks of the outputs) to do so with. I even have some sample TeX files which I could theoretically just edit a bit to reflect me instead of the sample person.

My problem: Nothing compiles. I copied the files to the appropriate directory (C:\...\MiKTeX\tex\latex\[name of the package]) and it will compile any of the default things, but whenever I so much as include
Code:
\usepackage{[packagename]}
in my header it won't compile a thing, so it makes me think I'm doing something wrong.

I know I probably need to give more info to be helpful, and I'd be glad to do so, but I really need help in figuring this out, since poring over the documentation has been far less than helpful--much to my dismay--and the internet isn't terribly helpful either. Any help appreciated.

_________________
(\ /)
(O.o)
(> <)
This is Bunny. Copy Bunny into your signature to help him on his way to world domination


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 15 Oct 2009 04:24:58 UTC 
Offline
Member of the 'S.O.S. Math' Hall of Fame
User avatar

Joined: Wed, 1 Oct 2003 04:45:43 UTC
Posts: 9642
Please include a copy of the file which you are unable to compile together with the output it produces. It's probably best if you edit out any personal details which may reveal your identity.


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 15 Oct 2009 04:33:37 UTC 
Online
Moderator
User avatar

Joined: Wed, 30 Mar 2005 04:25:14 UTC
Posts: 12172
Location: Austin, TX
The sample file I got (and have been trying to compile) is here (any of the moderncv TeX files)

I'm not sure how to copy the output from it's area, since the usual click-and-drag isn't working.

Edit:I AM looking for the log file now, though, and if I can find it I'll paste it here.

_________________
(\ /)
(O.o)
(> <)
This is Bunny. Copy Bunny into your signature to help him on his way to world domination


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 15 Oct 2009 04:52:18 UTC 
Online
Moderator
User avatar

Joined: Wed, 30 Mar 2005 04:25:14 UTC
Posts: 12172
Location: Austin, TX
It seems I cannot find the log file, it says it printed one on "latex.log" but a search of my hdd shows no such file.

_________________
(\ /)
(O.o)
(> <)
This is Bunny. Copy Bunny into your signature to help him on his way to world domination


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 15 Oct 2009 04:54:20 UTC 
Offline
Member of the 'S.O.S. Math' Hall of Fame
User avatar

Joined: Wed, 1 Oct 2003 04:45:43 UTC
Posts: 9642
Nevermind the log. Please include, inside your next post, a copy of the file on which you are running LaTeX. There is also the output from the program which I would like to see as well.


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 15 Oct 2009 05:09:03 UTC 
Online
Moderator
User avatar

Joined: Wed, 30 Mar 2005 04:25:14 UTC
Posts: 12172
Location: Austin, TX
The file I'm running LaTeX on is below. (the name is just what came with the file)

[Edited by helmut 10/17/09]

_________________
(\ /)
(O.o)
(> <)
This is Bunny. Copy Bunny into your signature to help him on his way to world domination


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 15 Oct 2009 05:30:27 UTC 
Offline
Member of the 'S.O.S. Math' Hall of Fame
User avatar

Joined: Wed, 1 Oct 2003 04:45:43 UTC
Posts: 9642
Unfortunately I cannot trace the exact problem. However, the error message I receive after trying to compile is:

Code:
("E:\MiKTeX 2.7\tex\latex\base\omscmr.fd"))
("E:\MiKTeX 2.7\tex\latex\lm\lmodern.sty")

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
...

l.26 \phone{+
             1 312 413 8263}
?

It might help to look at the template_ex.tex file contained inside moderncv.zip. This file looks very similar to CV_Diochnos.tex, and I was able to compile it.


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 15 Oct 2009 05:37:34 UTC 
Online
Moderator
User avatar

Joined: Wed, 30 Mar 2005 04:25:14 UTC
Posts: 12172
Location: Austin, TX
Hmm....still no luck. Perhaps I don't have the package properly installed. All I did was unzip the file, and then copy the result into my tex\latex\ directory, is that not correct perchance?

_________________
(\ /)
(O.o)
(> <)
This is Bunny. Copy Bunny into your signature to help him on his way to world domination


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 15 Oct 2009 05:42:41 UTC 
Offline
Member of the 'S.O.S. Math' Hall of Fame
User avatar

Joined: Wed, 1 Oct 2003 04:45:43 UTC
Posts: 9642
I don't know much about the internal directories of MikTeX. I normally copy everything to somewhere inside the "My Documents" folder and compile in there.

By the way, I do this all from the prompt. I don't use TeXnic Center.


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 15 Oct 2009 05:47:47 UTC 
Online
Moderator
User avatar

Joined: Wed, 30 Mar 2005 04:25:14 UTC
Posts: 12172
Location: Austin, TX
Matt wrote:
I don't know much about the internal directories of MikTeX. I normally copy everything to somewhere inside the "My Documents" folder and compile in there.

By the way, I do this all from the prompt. I don't use TeXnic Center.


Perhaps I'll try that. Right now I'm going to give up for the day because this has been kicking my butt all day. I'll likely try again later, but I thought I'd do the courteous thing and say I'm done for the day. Thanks for all the help Matt!

_________________
(\ /)
(O.o)
(> <)
This is Bunny. Copy Bunny into your signature to help him on his way to world domination


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 15 Oct 2009 07:00:13 UTC 
Offline
Site Admin
User avatar

Joined: Sat, 26 Apr 2003 22:14:40 UTC
Posts: 2064
Location: El Paso TX (USA)
Go to Programs->MiKTeX Package Manager

On the right, type 'moderncv' under name, then filter.

Install the file that shows up in the list.

Your file produces a PDF file on my system. The first page looks okay, the rest is not aligned nicely.

_________________
The greater danger for most of us lies not in setting our aim too high and falling short; but in setting our aim too low, and achieving our mark. - Michelangelo Buonarroti


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Contact Us | S.O.S. Mathematics Homepage
Privacy Statement | Search the "old" CyberBoard

users online during the last hour
Powered by phpBB © 2001, 2005-2011 phpBB Group.
Copyright © 1999-2013 MathMedics, LLC. All rights reserved.
Math Medics, LLC. - P.O. Box 12395 - El Paso TX 79913 - USA