Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Stata Journal


From   [email protected] (Jeff Pitblado, StataCorp LP)
To   [email protected]
Subject   Re: st: Stata Journal
Date   Tue, 26 Jul 2005 13:33:23 -0500

Alfonso Miranda <[email protected]> is having trouble with the LaTeX
files for the Stata Journal:

> I downloaded and installed the latex files for Stata Journal. I am trying to
> compile the files using MikTeX. However the following error is produced:
> 
> This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
> 
> (main.tex
> LaTeX2e <2003/12/01>
> Babel <v3.8a> and hyphenation patterns for english, french, german, ngerman,
> sp
> anish, dumylang, nohyphenation, loaded.
> (sj.cls
> Document Class: sj 2003/03/26 v1.19 Stata Journal document class
> (C:\texmf\tex\latex\base\book.cls
> Document Class: book 2004/02/16 v1.4f Standard LaTeX document class
> (C:\texmf\tex\latex\base\bk10.clo)) (C:\texmf\tex\latex\tools\calc.sty)
> (C:\texmf\tex\latex\base\ifthen.sty) (C:\texmf\tex\latex\crop\crop.sty
> (C:\texmf\tex\latex\graphics\color.sty
> (C:\texmf\tex\latex\00miktex\color.cfg)
> (C:\texmf\tex\latex\graphics\dvips.def)
> (C:\texmf\tex\latex\graphics\dvipsnam.def))
> (C:\texmf\tex\latex\graphics\graphics.sty
> (C:\texmf\tex\latex\graphics\trig.sty
> ) (C:\texmf\tex\latex\00miktex\graphics.cfg))
> 
> ! Package crop Error: Requested option `lettercenter' not provided.
> 
> See the crop package documentation for explanation.
> Type  H <return>  for immediate help.
>  ...
> 
> l.607 \AtBeginDocument
>                       {\@nameuse{CROP@init@\CROP@driver}}
> ? h
> Note that the `*center' options are obsolete. You have to request
> e.g. [a4,center] instead of [a4center].
> ?
> 
> Can anybody help me on this?

Alfonso seems to have an older version of the Stata Journal LaTeX files but is
using the current release of MiKTeX.  The current version of -sjlatex- is

	. which sjlatex
	/home/jsp/ado/plus/s/sjlatex.ado
	*! version 1.2.0 12nov2003

If Alfonso has an older version, he should first get the current version of
-sjlatex-.

	. ado uninstall sjlatex
	. net from http://www.stata-journal.com/production
	. net install sjlatex

Then he can get the current release of the Stata Journal LaTeX files

	. sjlatex install using myarticle

and move the rest of his article files into the new directory 'myarticle' (on
a Windows machine the above command will most likely put the files in
c:\DATA\myarticle\ unless Alfonso has changed Stata's working directory using
-cd-).

--Jeff
[email protected]
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index