Re: [NTG-context] luatex-plain & metapost
2009/10/26 luigi scarso : >> luigi scarso wrote: >>> OK -- I understand this. >>> Any plan to implement btex...etex in mplib ? >> >> Not btex ... etex, no. >> >> Maybe something new will appear in the long run, maybe not. >> >> Best wishes, >> Taco > >>well, you can set up some kind of mechanism >>that eventually produces a picture that mp can handle, or roll out your own >>code >>anyhow, i see not much reason for spending >>time on that kind of support for plain as i have no use for it >> >>Hans > > > OK. Well... I have implemented btex .. etex feature upon Hans & Taco's luatex-mplib.* files mostly by mimicking the implementation in context. Please visit http://cvs.ktug.or.kr/viewcvs/ko.TeX/luatexko/luatexplainko-mplib.tex http://cvs.ktug.or.kr/viewcvs/ko.TeX/luatexko/luatexplainko-mplib.lua Best, -- Dohyun Kim ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] luatex-plain & metapost
> luigi scarso wrote: >> OK -- I understand this. >> Any plan to implement btex...etex in mplib ? > > Not btex ... etex, no. > > Maybe something new will appear in the long run, maybe not. > > Best wishes, > Taco >well, you can set up some kind of mechanism >that eventually produces a picture that mp can handle, or roll out your own >code >anyhow, i see not much reason for spending >time on that kind of support for plain as i have no use for it > >Hans OK. -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] luatex-plain & metapost
luigi scarso wrote: > OK -- I understand this. > Any plan to implement btex...etex in mplib ? Not btex ... etex, no. Maybe something new will appear in the long run, maybe not. Best wishes, Taco ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] luatex-plain & metapost
luigi scarso wrote: On Mon, Oct 26, 2009 at 9:08 AM, Taco Hoekwater wrote: luigi scarso wrote: On Sun, Oct 25, 2009 at 6:30 PM, Hans Hagen wrote: forget about metafun in plain ... it cooperates with mkiv and it's very unlikely that i'll ever make it generic ok , but this also doesn't work \pdfoutput=1 \setmplibformat{plain} \mplibcode beginfig(1) ; draw fullcircle scaled 10cm withcolor red withpen pencircle xscaled 4mm yscaled 2mm rotated 30 ; label(btex Foo etex,(0bp,0bp)); There is no btex .. etex in mplib, at all. So there are no others way to put a text in a btex ...etex fashion ? well, you can set up some kind of mechanism that eventually produces a picture that mp can handle, or roll out your own code anyhow, i see not much reason for spending time on that kind of support for plain as i have no use for it Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] luatex-plain & metapost
On Mon, Oct 26, 2009 at 10:47 AM, Taco Hoekwater wrote: > > > luigi scarso wrote: >> On Mon, Oct 26, 2009 at 9:08 AM, Taco Hoekwater wrote: >>> >>> luigi scarso wrote: On Sun, Oct 25, 2009 at 6:30 PM, Hans Hagen wrote: > forget about metafun in plain ... it cooperates with mkiv and it's very > unlikely that i'll ever make it generic ok , but this also doesn't work \pdfoutput=1 \setmplibformat{plain} \mplibcode beginfig(1) ; draw fullcircle scaled 10cm withcolor red withpen pencircle xscaled 4mm yscaled 2mm rotated 30 ; label(btex Foo etex,(0bp,0bp)); >> >>> There is no btex .. etex in mplib, at all. >>> >> So there are no others way to put a text in a btex ...etex fashion ? > > Not without macro/lua support, no. context mkiv does support these > things, but Hans is (understandably) unwilling to write code to > deal with the fairly unpredictable font setup of the luatex-plain > environment. OK -- I understand this. Any plan to implement btex...etex in mplib ? -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] luatex-plain & metapost
luigi scarso wrote: > On Mon, Oct 26, 2009 at 9:08 AM, Taco Hoekwater wrote: >> >> luigi scarso wrote: >>> On Sun, Oct 25, 2009 at 6:30 PM, Hans Hagen wrote: forget about metafun in plain ... it cooperates with mkiv and it's very unlikely that i'll ever make it generic >>> ok , but this also doesn't work >>> \pdfoutput=1 >>> \setmplibformat{plain} >>> \mplibcode >>>beginfig(1) ; >>>draw fullcircle >>>scaled 10cm >>>withcolor red >>>withpen pencircle xscaled 4mm yscaled 2mm rotated 30 ; >>>label(btex Foo etex,(0bp,0bp)); > >> There is no btex .. etex in mplib, at all. >> > So there are no others way to put a text in a btex ...etex fashion ? Not without macro/lua support, no. context mkiv does support these things, but Hans is (understandably) unwilling to write code to deal with the fairly unpredictable font setup of the luatex-plain environment. Best wishes, Taco ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] luatex-plain & metapost
On Mon, Oct 26, 2009 at 9:08 AM, Taco Hoekwater wrote: > > > luigi scarso wrote: >> On Sun, Oct 25, 2009 at 6:30 PM, Hans Hagen wrote: >>> forget about metafun in plain ... it cooperates with mkiv and it's very >>> unlikely that i'll ever make it generic >> ok , but this also doesn't work >> \pdfoutput=1 >> \setmplibformat{plain} >> \mplibcode >> beginfig(1) ; >> draw fullcircle >> scaled 10cm >> withcolor red >> withpen pencircle xscaled 4mm yscaled 2mm rotated 30 ; >> label(btex Foo etex,(0bp,0bp)); > > There is no btex .. etex in mplib, at all. > So there are no others way to put a text in a btex ...etex fashion ? -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] luatex-plain & metapost
luigi scarso wrote: > On Sun, Oct 25, 2009 at 6:30 PM, Hans Hagen wrote: >> forget about metafun in plain ... it cooperates with mkiv and it's very >> unlikely that i'll ever make it generic > ok , but this also doesn't work > \pdfoutput=1 > \setmplibformat{plain} > \mplibcode >beginfig(1) ; >draw fullcircle >scaled 10cm >withcolor red >withpen pencircle xscaled 4mm yscaled 2mm rotated 30 ; >label(btex Foo etex,(0bp,0bp)); There is no btex .. etex in mplib, at all. Best wishes, Taco ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] luatex-plain & metapost
On Sun, Oct 25, 2009 at 6:30 PM, Hans Hagen wrote: > forget about metafun in plain ... it cooperates with mkiv and it's very > unlikely that i'll ever make it generic ok , but this also doesn't work \pdfoutput=1 \setmplibformat{plain} \mplibcode beginfig(1) ; draw fullcircle scaled 10cm withcolor red withpen pencircle xscaled 4mm yscaled 2mm rotated 30 ; label(btex Foo etex,(0bp,0bp)); endfig ; \endmplibcode \end -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] luatex-plain & metapost
luigi scarso wrote: On Sun, Oct 25, 2009 at 4:54 PM, Hans Hagen wrote: luigi scarso wrote: I'm experimenting with luatex-plain in minimals, cfr. label(textext("Foo"),(0bp,0bp)); textext is a mkiv feature not a metafun macro ? Anyway, this also doesn't work %luatex-test-wrong.tex \pdfoutput=1 \setmplibformat{metafun} \mplibcode beginfig(1) ; draw fullcircle scaled 10cm withcolor red withpen pencircle xscaled 4mm yscaled 2mm rotated 30 ; label(btex Foo etex,(0bp,0bp)); endfig ; \endmplibcode \end forget about metafun in plain ... it cooperates with mkiv and it's very unlikely that i'll ever make it generic Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] luatex-plain & metapost
On Sun, Oct 25, 2009 at 4:54 PM, Hans Hagen wrote: > luigi scarso wrote: >> >> I'm experimenting with >> luatex-plain in minimals, cfr. > >> label(textext("Foo"),(0bp,0bp)); > > textext is a mkiv feature not a metafun macro ? Anyway, this also doesn't work %luatex-test-wrong.tex \pdfoutput=1 \setmplibformat{metafun} \mplibcode beginfig(1) ; draw fullcircle scaled 10cm withcolor red withpen pencircle xscaled 4mm yscaled 2mm rotated 30 ; label(btex Foo etex,(0bp,0bp)); endfig ; \endmplibcode \end -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] luatex-plain & metapost
luigi scarso wrote: I'm experimenting with luatex-plain in minimals, cfr. label(textext("Foo"),(0bp,0bp)); textext is a mkiv feature Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] luatex-plain & metapost
I'm experimenting with luatex-plain in minimals, cfr. minimals/tex/texmf-context/tex/generic/context All examples are compiled with $> luatex --fmt=luatex-plain.fmt luatex-test.tex luatex-plain.fmt is build with $>luatex --ini luatex-plain.tex This is ok: %luatex-test.tex \pdfoutput=1 \setmplibformat{metafun} \mplibcode beginfig(1) ; draw fullcircle scaled 10cm withcolor red withpen pencircle xscaled 4mm yscaled 2mm rotated 30 ; label("Foo",(0bp,0bp)); endfig ; \endmplibcode \end This is wrong: %luatex-test-wrong.tex \pdfoutput=1 \setmplibformat{metafun} \mplibcode beginfig(1) ; draw fullcircle scaled 10cm withcolor red withpen pencircle xscaled 4mm yscaled 2mm rotated 30 ; label(textext("Foo"),(0bp,0bp)); endfig ; \endmplibcode \end Any ideas ? -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___