#14 Making Prosper work with MikTex

open
nobody
None
5
2002-11-26
2002-11-26
No

I'm working on a Windows system(98), MikTex(2.2), and WinEdt(5.2). I have successfully used this
combination in the past to write my math papers, though I'm more familiar with a Unix setup. I'm now
trying to make prosper work, but after a few days of reading and trying things, it's time to admit I'm
stymied.

In WinEdt, I try the most basic file:

\documentclass[pdf,azure]{prosper}
\title{This is a test slide show}
\author{RDrummond}

\begin{document}

\maketitle
\begin{slide}{The first slide}
\framebox[2in][c]{E-I-E-I-O}
There was a farmer had a dog...
\end{slide}

\end{document}

And I can click the latex button with seemingly no errors (and the same response when I go into cygwin
and manually do it). But when I go to look in Yap, it looks like I'm viewing two blank pages, until I pull
back and notice that the orientation is Portrait and the text is all to the left of the actual pages.

I tried to latex some of the doc samples provided with prosper, but they all did this. All the text is to the
left. So I figured I've done something screwy.

Now here's a weird part: I thought, what the heck and dvips -Ppdf -ta4 (I have entered p+ psfonts.cmz and
p +psfonts.cmz in my config.ps) and the slides came out looking perfect. This, despite the fact that
errors abounded, out of environment space, ps2pk out of memory, then ps2pk "has performed an illegal
operation and will be shut down" and phvr8r source file can't be found. Why and how could this have
happened?

ps2pdf just gives me two blank screens. pdflatex gives me two blank screens.

I've tried to read all the background material but I couldn't seem to find anything relating to why my first
step with latex gives me the really weird dvi file. I'll include my log. Any help would be greatly
appreciated.

RDrummond

This is TeX, Version 3.14159 (MiKTeX 2.2) (preloaded format=latex 2000.11.28) 25 NOV 2002 20:49
**again.tex
(again.tex
LaTeX2e <2001/06/01>
Babel <v3.6h> and hyphenation patterns for english, french, german, ngerman, du
mylang, nohyphenation, loaded.
(C:\texmf\tex\latex\prosper\prosper.cls
Document Class: prosper 2000/11/02, v. 1.0h
(c) 2000 Frederic Goualard, CWI, The Netherlands
CVSId: $Id: prosper.cls,v 1.1.1.1 2000/11/28 11:15:12 exupery Exp $

(C:\texmf\tex\latex\seminar\seminar.cls
Document Class: seminar 1997/10/13, 1.4
Document Style: `seminar' v1.4 <1997/10/13> (tvz)
\slidewidth=\dimen102
\slideheight=\dimen103
\footheight=\dimen104
(C:\texmf\tex\latex\base\article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(C:\texmf\tex\latex\base\leqno.clo
File: leqno.clo 1998/08/17 v1.1c Standard LaTeX option (left equation numbers)
) (C:\texmf\tex\latex\base\size10.clo
File: size10.clo 2001/04/21 v1.4e Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen105
)
(C:\texmf\tex\latex\seminar\sem-page.sty)
\before@document=\toks14
\after@document=\toks15
\before@enddocument=\toks16
\c@slide=\count87
\slide@count=\count88
\@slidebox=\box26
\not@slidebox=\box27
\slide@hook=\toks17
\after@slide=\toks18
\slide@footins=\insert233
\slide@listdepth=\count89
\saved@specials=\box28
\before@newslide=\toks19
\after@slidepage=\toks20
\slidesep=\skip43
\c@note=\count90
\slideframewidth=\dimen106
\slideframesep=\dimen107
\semin=\dimen108
\semcm=\dimen109
)
(C:\texmf\tex\latex\seminar\semcolor.sty
Style Option: `semcolor' for doc style `seminar' 1.0 <93/04/01> (tvz)
(C:\texmf\tex\generic\pstricks\pstricks.tex
`PSTricks' v97 patch 14 <1999/12/23> (tvz)
\pst@dima=\dimen110
\pst@dimb=\dimen111
\pst@dimc=\dimen112
\pst@dimd=\dimen113
\pst@dimg=\dimen114
\pst@dimh=\dimen115
\pst@hbox=\box29
\pst@boxg=\box30
\pst@cnta=\count91
\pst@cntb=\count92
\pst@cntc=\count93
\pst@cntd=\count94
\pst@cntg=\count95
\pst@cnth=\count96
\pst@toks=\toks21
(C:\texmf\tex\generic\pstricks\pstricks.con)
\psunit=\dimen116
\psxunit=\dimen117
\psyunit=\dimen118
\pslinewidth=\dimen119
\pst@customdefs=\toks22
\pslinearc=\dimen120
\everypsbox=\toks23
\psframesep=\dimen121
\pslabelsep=\dimen122
\theoverlaybox=\box31
))
(C:\texmf\tex\latex\seminar\semlayer.sty
\@@slidebox=\box32
\c@overlay=\count97
)
(C:\texmf\tex\latex\graphics\graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

(C:\texmf\tex\latex\graphics\keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks24
)
(C:\texmf\tex\latex\graphics\graphics.sty
Package: graphics 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)
(C:\texmf\tex\latex\graphics\trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
) (C:\texmf\tex\latex\00miktex\graphics.cfg)
Package graphics Info: Driver file: dvips.def on input line 80.

(C:\texmf\tex\latex\graphics\dvips.def
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
))
\Gin@req@height=\dimen123
\Gin@req@width=\dimen124
)
(C:\texmf\tex\latex\hyperref\hyperref.sty
Package: hyperref 2002/11/07 v6.73c Hypertext links for LaTeX
\@linkdim=\dimen125
\Hy@linkcounter=\count98
\Hy@pagecounter=\count99

(C:\texmf\tex\latex\hyperref\pd1enc.def
File: pd1enc.def 2002/11/07 v6.73c Hyperref: PDFDocEncoding definition (HO)
)
(C:\texmf\tex\latex\00miktex\hyperref.cfg)
Package hyperref Info: Option `bookmarks' set `true' on input line 1739.
Package hyperref Info: Option `pdffitwindow' set `true' on input line 1739.
Package hyperref Info: Option `pdfcenterwindow' set `true' on input line 1739.
Package hyperref Info: Hyper figures OFF on input line 1787.
Package hyperref Info: Link nesting OFF on input line 1792.
Package hyperref Info: Hyper index ON on input line 1795.
Package hyperref Info: Plain pages ON on input line 1800.
Package hyperref Info: Backreferencing OFF on input line 1807.

Implicit mode ON; LaTeX internals redefined
Package hyperref Info: Bookmarks ON on input line 1911.
(C:\texmf\tex\latex\ltxmisc\url.sty
\Urlmuskip=\muskip10
Package: url 1999/03/28 ver 1.5x Verb mode for urls, etc.
)
LaTeX Info: Redefining \url on input line 2050.
\Fld@menulength=\count100
\Field@Width=\dimen126
\Fld@charsize=\dimen127
\Choice@toks=\toks25
\Field@toks=\toks26
Package hyperref Info: Hyper figures OFF on input line 2508.
Package hyperref Info: Link nesting OFF on input line 2513.
Package hyperref Info: Hyper index ON on input line 2516.
Package hyperref Info: backreferencing OFF on input line 2523.
Package hyperref Info: Link coloring OFF on input line 2528.
\c@Item=\count101
\c@Hfootnote=\count102
)
*hyperref using driver hdvips*
(C:\texmf\tex\latex\hyperref\hdvips.def
File: hdvips.def 2002/11/07 v6.73c Hyperref driver for dvips

(C:\texmf\tex\latex\hyperref\pdfmark.def
File: pdfmark.def 2002/11/07 v6.73c Hyperref definitions for pdfmark specials
\pdf@docset=\toks27
\pdf@box=\box33
\pdf@toks=\toks28
\pdf@defaulttoks=\toks29
\Fld@listcount=\count103
\@outlinefile=\write3
))
\slideWidth=\skip44
\c@trueSlideCounter=\count104

(C:\texmf\tex\latex\prosper\PPRframes.sty
Package: PPRframes 2000/04/18

`Frames' style for prosper ---
(c) 2000 Frederic Goualard, IRIN, France
CVSId: $Id: PPRframes.sty,v 1.1.1.1 2000/11/28 11:15:11 exupery Exp $

(C:\texmf\tex\latex\seminar\semhelv.sty
Style Option: `semhelv' for the `seminar' doc style 1.4 <2000/05/08> (tvz)
Modified by Stefan (see source for details)
LaTeX Font Info: Font shape `OT1/helvetica/m/n' will be
(Font) scaled to size 8.20007pt on input line 176.
) (C:\texmf\tex\latex\amsfonts\amssymb.sty
Package: amssymb 2002/01/22 v2.2d

(C:\texmf\tex\latex\amsfonts\amsfonts.sty
Package: amsfonts 2001/10/25 v2.2f
\@emptytoks=\toks30
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold'
(Font) U/euf/m/n --> U/euf/b/n on input line 132.
))
(C:\texmf\tex\latex\pstricks\pst-grad.sty
Package: pst-grad 1997/03/25 package wrapper for PSTricks pst-grad.tex

(C:\texmf\tex\generic\pstricks\pst-grad.tex v97 patch 1, 1997/04/28)))
\c@item@step=\count105
\c@overlay@page=\count106
\theoverlays=\box34
\c@overlaysCount=\count107
\c@limitOverlays=\count108
)
(again.aux)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
Package hyperref Info: Link coloring OFF on input line 6.
(C:\texmf\tex\latex\hyperref\nameref.sty
Package: nameref 2001/01/27 v2.19 Cross-referencing by name of section
\c@section@level=\count109
)
LaTeX Info: Redefining \ref on input line 6.
LaTeX Info: Redefining \pageref on input line 6.
(again.out) (again.out)
LaTeX Font Info: Font shape `OT1/helvetica/m/n' will be
(Font) scaled to size 14.16972pt on input line 8.
LaTeX Font Info: Font shape `OT1/helvetica/m/n' will be
(Font) scaled to size 11.80809pt on input line 8.
LaTeX Font Info: Try loading font information for T1+phv on input line 8.

(C:\texmf\tex\latex\psnfss\t1phv.fd
File: t1phv.fd 2001/06/04 scalable font definitions for T1/phv.
)
LaTeX Font Info: Font shape `OT1/helvetica/bx/n' in size <17.28> not availab
le
(Font) Font shape `OT1/helvetica/b/n' tried instead on input line
8.
LaTeX Font Info: Font shape `OT1/helvetica/b/n' will be
(Font) scaled to size 14.16972pt on input line 8.
LaTeX Font Info: Try loading font information for U+msa on input line 8.
(C:\texmf\tex\latex\amsfonts\umsa.fd
File: umsa.fd 2002/01/19 v2.2g AMS font definitions
)
LaTeX Font Info: Try loading font information for U+msb on input line 8.

(C:\texmf\tex\latex\amsfonts\umsb.fd
File: umsb.fd 2002/01/19 v2.2g AMS font definitions
)
LaTeX Font Info: Font shape `OT1/helvetica/m/n' will be
(Font) scaled to size 5.74005pt on input line 8.
LaTeX Font Info: Font shape `OT1/helvetica/m/n' will be
(Font) scaled to size 4.10004pt on input line 8.
[1

] [2

] (again.aux) )
Output written on again.dvi (2 pages, 6920 bytes).

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I would like to know the same thing, for I have got the same
    problem ........ please post here if you have received an
    answer, thank you.

     
  • Jose

    Jose - 2003-05-25

    Logged In: YES
    user_id=786245

    Hello!

    It doesn't make sense to try to load the dvi file with a viewer,
    like Yap, since the prosper package is based on the
    famous 'seminar' one (van Zandt), that also is based on
    the 'PSTricks' package (van Zandt, again)... This package is
    (postscript) device dependent, it means that you have to
    process the output from LaTeX with a device driver to have
    a ''viewable'' output. Such a behaviour of the dvi file viewed in
    Yap is common, but it should not be a problem: just view the
    PS output of, for example, dvips.

    For getting full color on the PS and PDF output, try:
    \documentclass[slideColor,pdf,colorBG,azure]{prosper}

    With this and the last versions of MikTeX and WinEdt, all
    goes OK, except one thing: the PDF document generated
    with ps2pdf from WinEdt has a wrong paper size: the
    american letter one. If you have this problem, this could help:

    **** BEGIN EXTRACT FROM HOW TO USE GHOSTSCRIPT
    *****
    Ghostscript is distributed configured to use U.S. letter paper
    as its default page size. There are two ways to select other
    paper sizes from the command line:

    If the desired paper size is listed in the section on paper
    sizes known to Ghostscript below, you can select it as the
    default paper size for a single invocation of Ghostscript by
    using the -sPAPERSIZE= switch, for instance
    -sPAPERSIZE=a4
    -sPAPERSIZE=legal
    Otherwise you can set the page size using the pair of
    switches
    -dDEVICEWIDTHPOINTS=w -dDEVICEHEIGHTPOINTS=h
    Where w be the desired paper width and h be the desired
    paper height in points (units of 1/72 of an inch).
    Individual documents can (and often do) specify a paper size,
    which takes precedence over the default size. To force a
    specific paper size and ignore the paper size specified in the
    document, select a paper size as just described, and also
    include the -dFIXEDMEDIA switch on the command line.

    Changing the installed default paper size
    You can change the installed default paper size on an
    installed version of Ghostscript, by editing the initialization
    file gs_init.ps. This file is usually in the lib directory
    somewhere in the search path. See the section on finding
    files for details.

    Find the consecutive lines

    % Optionally choose a default paper size other than U.S.
    letter.
    % (a4)
    Then to make A4 the default paper size, uncomment the
    second line to change this to

    % Optionally choose a default paper size other than U.S.
    letter.
    (a4)
    For a4 you can substitute any paper size Ghostscript knows.

    Sometimes the initialization files are compiled into
    Ghostscript can cannot be changed.
    **** BEGIN EXTRACT FROM HOW TO USE GHOSTSCRIPT
    *****

    You can also add the option '-sPAPERSIZE=a4' to the
    gswin32c command line that you can find in the file
    WinEdt/bin/ps2pdf.bat. It's the same effect.

    With all this taked into account, I got perfect output for both,
    PS and PDF files, from your sourcecode.

    I wish all this could help!
    Greetings.

     
  • Jose

    Jose - 2003-05-25

    Logged In: YES
    user_id=786245

    I said:

    >You can also add the option '-sPAPERSIZE=a4' to the
    >gswin32c command line that you can find in the file
    >WinEdt/bin/ps2pdf.bat. It's the same effect.

    The file name is wrong. Actually, it is:
    {WinEdt_path}\Exec\ps2pdf.edt

    Sorry!

     
  • Mark Davidson

    Mark Davidson - 2003-11-30

    Logged In: YES
    user_id=920516

    I have lately been looking a prosper for developing lectures.
    After a few days of playing around with it in the
    WinEdt/miktek environment I have finally made some progress
    in getting the desired pdf files.

    The sequence that works for me is:

    1) latex in usual way. (ignore the dvi file produced)
    2) press dvips (in WinEdt)
    3) press gsview ( the little Ghost view Icon)
    4) In the file menu of gsview press convert, an interface
    appears; select pdfwrite. A save window appears; wite the
    file name( make sure it is the same as the tex files name),
    don't forget the pdf extension.

    This is the only sequence that has consistently worked for
    me.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks