# [Xy-pic] xy and prosper

Davide Sangiorgi Davide.Sangiorgi at cs.unibo.it
Wed Apr 7 10:11:47 CEST 2004

Dear Ross,
at the end of this email are the prosper and seminar files that i
tried, and thereafter, the log files that they have produced.
The prosper file (called prova_prosper.tex) does not compile
while the seminar file (called prova_seminar.tex) compiles well.
I do use the dvips,ps options. If I remove the reference to xy in
the prosper file, then this compiles well too.

Davide

Ross Moore writes:
> Hello Davide,
>
> On 02/04/2004, at 12:08 AM, Davide Sangiorgi wrote:
>
> >
> >  I tried to use the Prosper package (for producing slides)
> >   with some latex stuff i have that uses the XY package. I therefore
> >  \usepackage[all]{xy}
> >  in the preamble.
> >
> >  It did not work. It complains thus:
> >
> >  ! TeX capacity exceeded, sorry [pool size=70947].
>
>
> Does your example use curves ?
>
> In a slide, the overall size is roughly 4 x that of a diagram set
> with a 10pt or 11pt default size for text.
> But, unless you are using a PostScript back-end, curves are built-up
> from a tree of overlapping dots, placed very close together.
> This uses a *huge* amount of memory.
>
> You can reduce this memory overhead, and get better quality graphics
> as a side-effect, by using a PostScript back-end:
> e.g.
>        \usepackage[dvips,ps,all]{xy}
>
> If you want PDF output, then you'll need to use  pstopdf  or Distiller,
> on the output from  dvips .
> The 'pdftex' driver is not yet sufficiently sophisticated to provide
> the same functionality as the  PostScript  backends.
>
>
>
> Alternatively, you could construct your slides with 10pt fonts,
> but with a very small paper-size.
> Then just show the resulting slides at full-screen size, so that
> the magnification is done in the browser software.
> I've found this to be a very effective way to work with Xy-pic.
>
> >
> >  As an attempt to solve this problem, i created a file texmf.cnf with
> > the line
> >  pool_size = 300000
> >  (in the past i had a similar problem with pool size when i was
> >   writing a book and i solved it  that way). It still does not work.
> >
> >  As a try, i run the same slides using "seminar" instead of
> >  "Prosper" and it worked perfectly.
>
> Interesting.  Please send an example file(s), where I can test
> to see why there is a difference.
>
>
> >
> >  I also tried to replace "all" in   \usepackage[all]{xy} with some
> >  lighter options: it still does not work.
>
>     Including  [dvips,ps,... ] ?
>
> This way you use "vector-graphics" for lines, arrows, curves, etc.
> rather than building objects from smaller pieces.
>
>
> >
> >  Any suggestions?
>
> Hope the above helps,
>
> 	Ross
>
>
> >
> >  Thanks
> >  Davide
> >
> >
> > _______________________________________________
> > xy-pic mailing list
> > http://tug.org/mailman/listinfo/xy-pic
> >
> ------------------------------------------------------------------------
> Ross Moore                                         ross at maths.mq.edu.au
> Mathematics Department                             office: E7A-419
> Macquarie University                               tel: +61 +2 9850 8955
> Sydney, Australia                                  fax: +61 +2 9850 8114
> ------------------------------------------------------------------------

------------THE PROSPER FILE : ---------------

\documentclass[]{prosper}

\usepackage[dvips,ps,all]{xy}
\title{TTTT}
\author{PPPPP}
\begin{document}
\maketitle

CONTENT HERE....

\end{document}

------------THE SEMINAR FILE : ---------------

\documentclass[]{seminar}

\usepackage[ps,dvips,all]{xy}

\title{TTTT}
\author{PPPPP}

\begin{document}
\maketitle

CONTENT HERE....

\end{document}

---------THE PROSPER FILE LOG ---------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: prova_prosper.log
Type: application/octet-stream
Size: 9943 bytes
Desc: not available
Url : http://tug.org/pipermail/xy-pic/attachments/20040407/2a1a00ae/prova_prosper.obj
-------------- next part --------------

---------THE SEMINAR FILE LOG ---------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: prova_seminar.log
Type: application/octet-stream
Size: 6720 bytes
Desc: not available
Url : http://tug.org/pipermail/xy-pic/attachments/20040407/2a1a00ae/prova_seminar.obj