[NTG-context] XYPic

Dirard Mikdad dmikdad at math.leidenuniv.nl
Tue May 1 11:18:30 CEST 2007


Hi all,

I created a m-xypic.tex file with the code that Luigi suggested.
Then I tried to run texec on my file t.tex, but texec hangs with a message <xymatrix 4x2.

This is the code in t.tex

---
\usemodule[xypic]
\starttext
\startformula
\xymatrix{
& W \ar[dr]^{f_2} \ar@{.>}[d]_{f} \ar[dl]_{f_1} &&\\
X & X \times Y  \ar[l]_{p_1} \ar[r]^{p_2} &  Y }
\stopformula
\stoptext
---

Dirard


* On 01/05/07 at 09:09 luigi scarso <luigi.scarso at gmail.com> wrote:
> Also in
> http://thread.gmane.org/gmane.comp.tex.context/5227/focus=5254
> Save following line in m-xypic.tex
> 
> %%%%%%%%%%%%%%%%%%%%%%%%%%%
> %m-xypic.tex
> %
> \input xy
> 
> \xyoption{all}
> 
> \unprotect
> 
> \appendtoks
>    \xywithoption{tips}{\let\tipsize <at>  <at> \bodyfontpoint}%
> \to\everybodyfont
> 
> \protect \endinput
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 
> And in you tex file put before \starttext
> \usemodule[xypic]
> 
> 
> -- 
> luigi
> ----------------------------------------------------------------
> If your question is of interest to others as well, please add an entry
> to the Wiki!
> 
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________



More information about the ntg-context mailing list