Re: [NTG-context] XYPic

2007-05-16 Thread Dirard M. Mikdad
Ok, I will do that. Thnx, Dirard * On 14/05/07 at 11:34 luigi scarso [EMAIL PROTECTED] wrote: Also, have a look at http://www.ctan.org/tex-archive/graphics/metapost/contrib/macros/metaobj It seems that it has the same power of XY-pic . -- luigi

Re: [NTG-context] XYPic

2007-05-14 Thread luigi scarso
Also, have a look at http://www.ctan.org/tex-archive/graphics/metapost/contrib/macros/metaobj It seems that it has the same power of XY-pic . -- luigi If your question is of interest to others as well, please add an entry to the

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

Re: [NTG-context] XYPic

2007-05-04 Thread luigi scarso
On 5/4/07, Dirard Mikdad [EMAIL PROTECTED] wrote: Luigi, It works! I'm not so sure about this, if I have time I will give a closer look. BTW, the safest way actually is to made your xy-diagrams in pdftex as singles figure and then import in context using \externalfigure. With a bit of TeX

Re: [NTG-context] XYPic

2007-05-03 Thread luigi scarso
hmm, some problem with [EMAIL PROTECTED] Maybe a collision with another macro of context. I will investigate -- luigi If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] XYPic

2007-05-03 Thread luigi scarso
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

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 }

Re: [NTG-context] XYPic

2007-05-02 Thread luigi scarso
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} \\

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}

Re: [NTG-context] XYPic

2007-05-02 Thread luigi scarso
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

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

Re: [NTG-context] XYPic

2007-05-02 Thread luigi scarso
On 5/2/07, Dirard Mikdad [EMAIL PROTECTED] wrote: 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}

Re: [NTG-context] XYPic

2007-05-01 Thread luigi scarso
On 4/27/07, Dirard Mikdad [EMAIL PROTECTED] wrote: 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

Re: [NTG-context] XYPic

2007-05-01 Thread luigi scarso
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

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}

Re: [NTG-context] XYPic

2007-05-01 Thread luigi scarso
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

[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

[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

Re: [NTG-context] XYpic

2005-04-29 Thread luigi.scarso
Vit, many thanks for your answer. Vit Zyka wrote: 1. For a moment I set shell_escape =f in `kpsewhich texmf.cnf' ok, done 2. Input file f.tex: \startuseMPgraphic{A} draw unitcircle scaled\overlaywidth; \stopuseMPgraphic \defineoverlay [B] [\uniqueMPgraphic{A}] \starttext

Re: [NTG-context] XYpic

2005-04-29 Thread Vit Zyka
luigi.scarso wrote: Vit, many thanks for your answer. Vit Zyka wrote: 1. For a moment I set shell_escape =f in `kpsewhich texmf.cnf' ok, done 2. Input file f.tex: \startuseMPgraphic{A} draw unitcircle scaled\overlaywidth; \stopuseMPgraphic \defineoverlay [B]

Re: [NTG-context] XYpic

2005-04-29 Thread luigi.scarso
Vit, the last things. After that I consider this topic closed. + limitation by substance: drawing is mostly done via fonts Yes, I forget to write it. [XFIG]..Export to context is good news. But still no parametrization possible :-( ..maybe something to play this summer... Now for metapost:

Re: [NTG-context] XYpic

2005-04-28 Thread luigi.scarso
Vit Zyka wrote: before I started to use context I had prepared some diagrams in xypic. Me too, for some notes on a course on commutative algebra when I was student at university. It was the only way I knew for creating vector graphics for both tex and pdftex with text and graphics

Re: [NTG-context] XYpic

2005-04-28 Thread Vit Zyka
luigi.scarso wrote: Vit Zyka wrote: before I started to use context I had prepared some diagrams in xypic. Me too, for some notes on a course on commutative algebra when I was student at university. It was the only way I knew for creating vector graphics for both tex and pdftex with text and

Re: [NTG-context] XYpic

2005-04-28 Thread luigi.scarso
Vit Zyka wrote: But a mp graphic must be preprocessed by mpost for inclusion, and I can do it only if I can execute sysytems commands; this open a security and performance issues. It is true only for very advanced features like text along line, AFAIK. For framed text it is possible to run

Re: [NTG-context] XYpic

2005-04-28 Thread Vit Zyka
luigi.scarso wrote: Vit Zyka wrote: But a mp graphic must be preprocessed by mpost for inclusion, and I can do it only if I can execute sysytems commands; this open a security and performance issues. It is true only for very advanced features like text along line, AFAIK. For framed text it is

Re: [NTG-context] XYpic

2005-04-27 Thread Vit Zyka
Henning Hraban Ramm wrote: Am 26.04.2005 um 17:35 schrieb luigi.scarso: [OT] Can XYpic be used under Context ? I will try . At least for me this works: \input xy \xyoption{frame} \starttext \framed[offset=10pt]{% \xy (0,0) *++=\hbox{text} *\frm{--} ; (50,0) *++=\hbox{text} *\frm{..} ; (100,0)

[NTG-context] XYpic (was: dotted line for \framed ?)

2005-04-26 Thread Henning Hraban Ramm
Am 26.04.2005 um 17:35 schrieb luigi.scarso: [OT] Can XYpic be used under Context ? I will try . At least for me this works: \input xy \xyoption{frame} \starttext \framed[offset=10pt]{% \xy (0,0) *++=\hbox{text} *\frm{--} ; (50,0) *++=\hbox{text} *\frm{..} ; (100,0) *++=\hbox{text} *\frm{=} ;