Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: sjlatex under MiKTeX 2.4 and above


From   "Newson, Roger B" <r.newson@imperial.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: sjlatex under MiKTeX 2.4 and above
Date   Mon, 17 Mar 2008 16:52:41 -0000

Thanks to Martyn and Zurab for their feedback so far.

For what it's worth, I have found that a quick and dirty fix is to
revise the Windows batch file DOIT.BAT by replacing the 3 lines reading

latex %MAIN%

with lines reading

latex %MAIN% --interaction=nonstopmode

and removing (or commenting out) the 3 lines reading

if errorlevel 1 goto latexerror

This change (which disables the error responses of DOIT.BAT) at least
causes DOIT.BAT to input main.tex and to output main.ps, as it did in
previous versions. And, when I input main.ps to Adobe Distiller, it
outputs what looks like a sensible main.pdf. Therefore, if all else
fails, a solution for me personally might be to have my own local
version od DOIT.BAT.

Roger



Roger B Newson
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: r.newson@imperial.ac.uk 
Web page: www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/pop
genetics/reph/

Opinions expressed are those of the author, not of the institution.

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Martyn
Sherriff
Sent: 17 March 2008 16:03
To: statalist@hsphsun2.harvard.edu
Subject: st: RE: sjlatex under MiKTeX 2.4 and above

Roger,
        It appears to work properly under Stata 10/ Vista/ MikTex 2.7
Martyn

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Newson, Roger
B
Sent: 17 March 2008 13:09
To: statalist@hsphsun2.harvard.edu
Subject: st: sjlatex under MiKTeX 2.4 and above

Has anybody else attempted to use the latest SJ LaTeX (see -whelp
sjlatex-) under MiKTeX Revisions 2.4 or above under Windows? And, if so,
have they had any problems?

I ask because I seem to be having problems. Under my Stata 10 (which is
up to date according to -update query-), the online help for -sjlatex-
states that -sjlatex- has been tested under MiKTeX 2.3. My MiKTeX is
MiKTeX Revision 2.4.1779, and the latest update on
http://www.miktex.org/
is MiKTeX 2.7. I attempted to install the new -sjlatex- by typing

sjlatex install using C:\sjtemp

which worked, creating a new foldet c:\sjtemp under my Windows XP
system. However, when I ran the -doit,bat- file to input main.tex and
output main.ps, LaTeX aborted with the message (in main.log)

%%%% BEGINNING OF TeX LOG - CUT HERE
(C:\texmf\tex\latex\xcolor\xcolor.sty
Package: xcolor 2005/12/21 v2.09 LaTeX color extensions (UK)
 (C:\texmf\tex\latex\00miktex\color.cfg
File: color.cfg 2005/12/29 v1.1 MiKTeX 'color' configuration
)
Package xcolor Info: Package option `override' ignored on input line
211.
Package xcolor Info: Driver file: dvips.def on input line 220.
LaTeX Info: Redefining \color on input line 692.
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line
1328.
Package xcolor Info: Model `RGB' extended on input line 1344.
Package xcolor Info: Model `HTML' substituted by `rgb' on input line
1346.
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line
1347.
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line
1348.
Package xcolor Info: Model `HSB' substituted by `hsb' on input line
1349.
Package xcolor Info: Model `Gray' substituted by `gray' on input line
1350.
Package xcolor Info: Model `wave' substituted by `hsb' on input line
1351.
))
\st@box=\box30
\st@box@wd=\dimen132
\st@box@ht=\dimen133
\st@box@dp=\dimen134
! Font \mmbf=ptmb at 9.6pt not loadable: Metric (TFM) file not found.
l.128 \font\mmbf=ptmb at 9.6pt
                             
?
%%%% END OF TeX LOG - CUT HERE

This suggests (to me) that there is a TeX font metric (TFM) file, used
by -sjlatex-, which is present under MiKTeX 2.3, but which is not
available under MiKTeX 2.4.

Fortunately, I still have my old SJ LaTeX (dated 26.06.2007), which
still works, although it is a bit out of date. However, there must
presumably be users of MiKTeX 2.4 and above under Windows who also use
sjlatex, and would like to have the latest sjlatex. Have any of them had
any problems?

Best wishes (and thanks in advance)

Roger


Roger B Newson
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: r.newson@imperial.ac.uk
Web page: www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/pop
genetics/reph/

Opinions expressed are those of the author, not of the institution.

*
*   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/




  _____  

avast! Antivirus <http://www.avast.com> : Outbound message clean. 


Virus Database (VPS): 080316-0, 16/03/2008
Tested on: 17/03/2008 16:02:35
avast! - copyright (c) 1988-2008 ALWIL Software.



*
*   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/

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index