Re: [NTG-context] XYPic

2007-05-04 Thread Dirard Mikdad
Luigi,

It works!

Grazie mille,

Dirard

* On 04/05/07 at 02:40 luigi scarso [EMAIL PROTECTED] wrote:
 On 5/2/07, Dirard Mikdad [EMAIL PROTECTED] wrote:
  I save the following code in a file, say tt.tex.
  Then I just run texec tt.tex.
  It compiles. The problem is that the universal arrow  is not displayed
  as it should; i.e. a dotted arrow.
 
  ---
  \input xy
  \xyoption{all}
  \starttext
  \startformula
  \xymatrix{
   W \ar[dr]^{f_2} [EMAIL PROTECTED]}[d]_{f} \ar[dl]_{f_1} \\
   X  X \times Y  \ar[l]_{p_1} \ar[r]^{p_2}   Y }
  \stopformula
  \stoptext
  ---
 
 %%
 %% put a space between \ar and @
 %%
 \input xy
 \xyoption{all}
 \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
 
 Maybe there is a clean solution.
 
 -- 
 luigi
 
 If your question is of interest to others as well, please add an entry
 to the Wiki!
 
 maillist : ntg-context@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@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@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
___


Re: [NTG-context] XYPic

2007-05-02 Thread Dirard Mikdad
There seems to be something wrong with the dotted arrows. 
I tried different codes.

The following code compiles. 
---
\input xy
\xyoption{all}
\starttext
\startformula
\xymatrix{
 W \ar[dr]^{f_2} [EMAIL PROTECTED]}[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 22:10 luigi scarso [EMAIL PROTECTED] wrote:
 hmm, try this
 
 \input xy
 \xyoption{all}
 \unprotect
 \appendtoks
   \xywithoption{tips}{\let\tipsize at  at \bodyfontpoint}%
 \to\everybodyfont
 \protect %\endinput
 % \usemodule[xypic]
 \starttext
 \startformula
 \xymatrix{
  W \ar[dr]^{f_2} [EMAIL PROTECTED]}[d]_{f} \ar[dl]_{f_1} \\
  X  X \times Y  \ar[l]_{p_1} \ar[r]^{p_2}   Y }
 \stopformula
 \stoptext
 
 btw, not sure it works;
 something strange near W in your xymatrix
 -- 
 luigi
 
 If your question is of interest to others as well, please add an entry
 to the Wiki!
 
 maillist : ntg-context@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@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@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
___


Re: [NTG-context] XYPic

2007-05-02 Thread Dirard Mikdad
I save the following code in a file, say tt.tex.
Then I just run texec tt.tex.
It compiles. The problem is that the universal arrow  is not displayed
as it should; i.e. a dotted arrow.

---
\input xy
\xyoption{all}
\starttext
\startformula
\xymatrix{
 W \ar[dr]^{f_2} [EMAIL PROTECTED]}[d]_{f} \ar[dl]_{f_1} \\
 X  X \times Y  \ar[l]_{p_1} \ar[r]^{p_2}   Y }
\stopformula
\stoptext
---

Dirard

* On 02/05/07 at 11:30 luigi scarso [EMAIL PROTECTED] wrote:
 On 5/2/07, Dirard Mikdad [EMAIL PROTECTED] wrote:
  There seems to be something wrong with the dotted arrows.
  I tried different codes.
 
  The following code compiles.
  ---
  \input xy
  \xyoption{all}
  \starttext
  \startformula
  \xymatrix{
   W \ar[dr]^{f_2} [EMAIL PROTECTED]}[d]_{f} \ar[dl]_{f_1} \\
   X  X \times Y  \ar[l]_{p_1} \ar[r]^{p_2}   Y }
  \stopformula
  \stoptext
  ---
 
 
 How doy you compile it under LaTeX (or TeX) ?
 -- 
 luigi
 
 If your question is of interest to others as well, please add an entry
 to the Wiki!
 
 maillist : ntg-context@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@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@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
___


Re: [NTG-context] XYPic

2007-05-02 Thread Dirard Mikdad
I don't use LaTeX either. This code comes from my thesis which I wrote
in plain TeX.

Save the following code in a file:
--
\input xy
\xyoption{all}
\xyoption{dvips}
$$
\xymatrix{
 W \ar[dr]^{f_2} [EMAIL PROTECTED]}[d]_{f} \ar[dl]_{f_1} \\
 X  X \times Y  \ar[l]_{p_1} \ar[r]^{p_2}   Y }
 $$
 \bye
--
Then run tex file.

Dirard

* On 02/05/07 at 17:06 luigi scarso [EMAIL PROTECTED] wrote:
 On 5/2/07, Dirard Mikdad [EMAIL PROTECTED] wrote:
  I save the following code in a file, say tt.tex.
  Then I just run texec tt.tex.
 yes, ok
 How did you used to compile it under LaTeX ? (sorry, I don't use latex
 from a long time)
 
 -- 
 luigi
 
 If your question is of interest to others as well, please add an entry
 to the Wiki!
 
 maillist : ntg-context@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@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@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
___


Re: [NTG-context] XYPic

2007-05-01 Thread Dirard Mikdad
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} [EMAIL PROTECTED]}[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 [EMAIL PROTECTED] 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@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@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@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
___


[NTG-context] XYPic

2007-04-30 Thread Dirard Mikdad
Hallo,

I want to convert my thesis (which I wrote in plain tex) to ConTeXt.
Unfortunately the process fails because my documents contain 
some commutative diagrams made in Xypic. Is it possible to convert xy
code to something that ConTeXt can understand?

Thanks,

Dirard

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@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
___


[NTG-context] Xypic

2007-04-30 Thread Dirard Mikdad
Hallo,

I want to convert my thesis (which I wrote in plain tex) to ConTeXt.
Unfortunately the process fails because my documents contain 
some commutative diagrams made in Xypic. Is it possible to convert xy
code to something that ConTeXt can understand?

Thanks,

Dirard

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@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
___