<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<!--Converted with LaTeX2HTML 96.1-h (September 30, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
<HTML>
<HEAD>
<TITLE>1.7 Speeding up typesetting</TITLE>
<META NAME="description" CONTENT="1.7 Speeding up typesetting">
<META NAME="keywords" CONTENT="xyguide-html">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<LINK REL=STYLESHEET HREF="xyguide-html.css">
</HEAD>
<BODY LANG="EN" BGCOLOR="#FFFFFF">
<P ALIGN=RIGHT><FONT SIZE=1>Xy-pic User's Guide</FONT> <A HREF="18pt.html"><IMG SRC="./quest.gif" ALIGN=TOP HEIGHT=27 WIDTH=21 BORDER=0 ALT="?"></A><A NAME="basicsspeeding" NAME="tex2html176" HREF="node9.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previous.gif"></A><A NAME="tex2html178" HREF="node9.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previoussection.gif"></A><A NAME="tex2html180" HREF="node3.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="up" SRC="./up.gif"></A><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./nextsection_gr.gif"><A NAME="tex2html182" HREF="node11.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./next.gif"></A></P><H2><A NAME="SECTION00037000000000000000">1.7 Speeding up typesetting</A></H2> One thing that you will notice is that Xy-pic is sometimes slow in
typesetting diagrams (this is to be expected considering the number
of drawing operations performed as reflected by the number last in
each <code>xymatrix</code> message). If you followed the rule of starting all
entries with a (nonexpandable) character or <code>{</code> then you can insert the declaration
<P><CENTER><TABLE BORDER=BASIC CELLPADDING=3 COLS=1><TR><TD> <code>\CompileMatrices</code>
</TABLE></CENTER><P>
<P>
in the preamble of your document: this will create temporary
files<A NAME="tex2html6" HREF="footnode.html#1465"><IMG ALIGN=ABSMIDDLE ALT="gif" SRC="./foot.gif"></A> containing <em>compiled</em> versions of each
matrix that can be loaded very quickly; they are automatically
recreated when a matrix is changed.
<P>
If this causes some diagrams to not work, then such compilation can be
explicitly switched off by using <code>\xymatrixnocompile</code> in place of
<code>\xymatrix</code>. Compilation can be switched off completely with
<code>\NoCompileMatrices</code> (which respects TeX grouping as does
<code>\CompileMatrices</code>, by the way).
<P>
And if you are still not satisfied with the speed then you can add
the following:
<P><CENTER><TABLE BORDER=BASIC CELLPADDING=3 COLS=1><TR><TD> <code>\OnlyOutlines</code>
</TABLE></CENTER><P>
<P>
which will omit all compiled pictures; the additional command
<code>\ShowOutlines</code> will add a dotted rectangle outlining the size of
the picture.
<P>
<P> <P ALIGN=RIGHT><FONT SIZE=1>Xy-pic User's Guide</FONT> <A HREF="18pt.html"><IMG SRC="./quest.gif" ALIGN=TOP HEIGHT=27 WIDTH=21 BORDER=0 ALT="?"></A><A NAME="tex2html176" HREF="node9.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previous.gif"></A><A NAME="tex2html178" HREF="node9.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="previous" SRC="./previoussection.gif"></A><A NAME="tex2html180" HREF="node3.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="up" SRC="./up.gif"></A><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./nextsection_gr.gif"><A NAME="tex2html182" HREF="node11.html"><IMG WIDTH=27 HEIGHT=27 BORDER=0 ALIGN=ABSMIDDLE ALT="next" SRC="./next.gif"></A><P><ADDRESS>
<BR><HR>
<a href="COPYING/index.html">�/a> <a href="http://www.brics.dk/~krisrose/">Kristoffer H. Rose</a>
<<a href="mailto:krisrose@brics.dk">krisrose@brics.dk</a>>
January 6, 1997
/
<a href="http://www-dsed.llnl.gov/files/programs/unix/latex2html/manual/">LaTeX2<TT>HTML</TT>v96.1-h</a>
</FONT>
</ADDRESS>
</BODY>
</HTML>
|