Re: [NTG-context] PSTricks in Context
On Tue, Dec 16, 2014 at 1:27 PM, luigi scarso luigi.sca...@gmail.com wrote: On Mon, Dec 15, 2014 at 9:46 PM, Herbert Voss herbert.v...@fu-berlin.de wrote: Am 15.12.2014 um 14:06 schrieb luigi scarso: If we have a postscript interpreter, Is it possible to avoid dvi2ps at all, using only a context mkiv ? Yes, that could be possible. It would be interesting (well, at least for me) to have a how to --- if only for a specific pst module known to work with mkiv. I have done something here https://foundry.supelec.fr/scm/viewvc.php/trunk/ghostscript/9.15/?root=swiglib using barcode.ps from http://bwipp.terryburton.co.uk/ -- 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] PSTricks in Context
On Wed, Dec 17, 2014 at 10:22 PM, Context NTG wrote: I am using on Win7 x 64bit with standalone Context from http://standalone.contextgarden.net/setup/context-setup-win64.zip in \tex\texmf-context\tex\context\base\m-pstricks.mkii line 46 looks as following: \loadpstrickscolors{colo-rgb.mkii}} The following example does not yield anything \usemodule[pstricks] \starttext \startPSTRICKS \pspicture(0mm,0mm)(30mm,30mm) \psline(0,0)(3,3) \endpspicture \stopPSTRICKS \stoptext Is there anything I am doing wrong? Probably not, but the ConTeXt Minimals are missing support for PSTricks (there are a lot of tools missing, including many binaries). If you know how to install it, probably the easiest option to get PSTricks running on Windows would be W32TeX. (I could actually make a rsync-able complete version of W32TeX with a relative ease. It contains the latest version of all the tools, including ConTeXt. Maybe I should do that as MikTeX no longer supports ConTeXt, TeX Live has frozen ConTeXt and binaries, ConTeXt Distribution lacks some tools, and W32TeX is actually one of the best TeX collections for Windows around; its only drawback is the lack of an installer and updater – comparable to what MikTeX offers.) Mojca ___ 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] PSTricks in Context
Would you perhaps also have the instructions how to just add PST to standalone ConTeXt, similar to TikZ is used in standalone ConTeXt. I want to work with clean ConTeXt without all the overhead of MikTeX or any other Windows version of TeX. In Standalone ConTeXt I work perfectly easy with drawings in metapost, TikZ, and graphs with Gnuplot and R. I would like to add PST to it, but was up to now unsuccessful. Many Thanks Jeroen 2014-12-18 14:29 GMT+00:00 Mojca Miklavec mojca.miklavec.li...@gmail.com: On Wed, Dec 17, 2014 at 10:22 PM, Context NTG wrote: I am using on Win7 x 64bit with standalone Context from http://standalone.contextgarden.net/setup/context-setup-win64.zip in \tex\texmf-context\tex\context\base\m-pstricks.mkii line 46 looks as following: \loadpstrickscolors{colo-rgb.mkii}} The following example does not yield anything \usemodule[pstricks] \starttext \startPSTRICKS \pspicture(0mm,0mm)(30mm,30mm) \psline(0,0)(3,3) \endpspicture \stopPSTRICKS \stoptext Is there anything I am doing wrong? Probably not, but the ConTeXt Minimals are missing support for PSTricks (there are a lot of tools missing, including many binaries). If you know how to install it, probably the easiest option to get PSTricks running on Windows would be W32TeX. (I could actually make a rsync-able complete version of W32TeX with a relative ease. It contains the latest version of all the tools, including ConTeXt. Maybe I should do that as MikTeX no longer supports ConTeXt, TeX Live has frozen ConTeXt and binaries, ConTeXt Distribution lacks some tools, and W32TeX is actually one of the best TeX collections for Windows around; its only drawback is the lack of an installer and updater – comparable to what MikTeX offers.) Mojca ___ 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 ___ ___ 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] PSTricks in Context
I am using on Win7 x 64bit with standalone Context from http://standalone.contextgarden.net/setup/context-setup-win64.zip http://standalone.contextgarden.net/setup/context-setup-win64.zip in \tex\texmf-context\tex\context\base\m-pstricks.mkii line 46 looks as following: \loadpstrickscolors{colo-rgb.mkii}} The following example does not yield anything \usemodule[pstricks] \starttext \startPSTRICKS \pspicture(0mm,0mm)(30mm,30mm) \psline(0,0)(3,3) \endpspicture \stopPSTRICKS \stoptext Is there anything I am doing wrong? Jeroen 2014-12-16 13:07 GMT+00:00 Herbert Voss herbert.v...@fu-berlin.de: Am 16.12.2014 um 11:35 schrieb luigi scarso: On Tue, Dec 16, 2014 at 11:04 AM, Akira Kakuto kak...@fuk.kindai.ac.jp mailto:kak...@fuk.kindai.ac.jp wrote: Hi Luigi, The example works if one copies colo-rgb.mkii as colo-rgb.tex in the same folder of the example ... It is OK by changing line 46 in m-pstricks.mkii: \loadpstrickscolors{colo-rgb}} to \loadpstrickscolors{colo-rgb.__mkii}} as Herbert said. In the recent beta's, the change was already done. yes right --- I have downloaded the current into TL, but one can do the same with the zips of beta and have the correct \loadpstrickscolors{colo-rgb.mkii} I have a script cpCTX2TL which installs the current beta and then copies all relevant files into the current TL installation. Herbert ___ 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 ___ ___ 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] PSTricks in Context
On Mon, Dec 15, 2014 at 3:27 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Mon, Dec 15, 2014 at 12:53 PM, Herbert Voss wrote: Am 15.12.2014 um 09:55 schrieb Mojca Miklavec: Anyway, the version in TeX Live now runs, but creates wrong results (it prints out (0,0)(3,3) instead of drawing the line for example). (And I'm not too eager to add support for PSTricks to the distribution. It's a can of worms with zillion of other utilities that we don't ship. And close-to-zero users.) huh?? The only problem is this line \loadpstrickscolors{colo-rgb}} as mentioned in my mail. The problem is that this is not the only problem ;) Or at least that didn't solve all the problems for me. First of all I had to use Kakuto-san's example, adding something like \pspicture(0mm,0mm)(30mm,30mm) ... \endpspicture in front and at the back (which is extremely ugly to see in ConTeXt). So the complete minimal example was: \usemodule[pstricks] \starttext \startPSTRICKS \pspicture(0mm,0mm)(30mm,30mm) \psline(0,0)(3,3) \endpspicture \stopPSTRICKS \stoptext However that still doesn't work with TeX Live 2014 even after fixing the issue with mkii in the filename: ! Missing } inserted. inserted text } to be read again \endgroup \endpspicture ...]\fi \fi \pst@killglue \endgroup \egroup \ifdim \wd \pst@hb... l.12 \endpspicture According to Kakuto-san it works with the latest ConTeXt, but I need a bit of tweaking to try it out and even if it does users would need to install (at least part of) W32TeX, wait for TLContrib to release a newer version of ConteXt or tweak themselves in order to try it out. Mojca I have downloaded cont-mpd.zip cont-ppc.zip cont-tmf.zip and unzipped them into texmf-dist of my 2014 TL (and rebuilt the formats and ls-R). I have tried mtxrun --script update but it fails with resolvers | tds | no 'texmf-linux-64' under tree '/opt/luatex/texlive/2014/tex' (with a missed newline in my linux box) The example works if one copies colo-rgb.mkii as colo-rgb.tex in the same folder of the example so I guess that we need to find a suitable location for colo-rgb.tex in the tds (I dont know if it's safe to add colo-rgb.tex to the base folder of context, but I suspect it is not) -- 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] PSTricks in Context
Hi Luigi, The example works if one copies colo-rgb.mkii as colo-rgb.tex in the same folder of the example ... It is OK by changing line 46 in m-pstricks.mkii: \loadpstrickscolors{colo-rgb}} to \loadpstrickscolors{colo-rgb.mkii}} as Herbert said. In the recent beta's, the change was already done. Best, Akira ___ 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] PSTricks in Context
On Tue, Dec 16, 2014 at 11:04 AM, Akira Kakuto kak...@fuk.kindai.ac.jp wrote: Hi Luigi, The example works if one copies colo-rgb.mkii as colo-rgb.tex in the same folder of the example ... It is OK by changing line 46 in m-pstricks.mkii: \loadpstrickscolors{colo-rgb}} to \loadpstrickscolors{colo-rgb.mkii}} as Herbert said. In the recent beta's, the change was already done. yes right --- I have downloaded the current into TL, but one can do the same with the zips of beta and have the correct \loadpstrickscolors{colo-rgb.mkii} -- 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] PSTricks in Context
On Mon, Dec 15, 2014 at 9:46 PM, Herbert Voss herbert.v...@fu-berlin.de wrote: Am 15.12.2014 um 14:06 schrieb luigi scarso: If we have a postscript interpreter, Is it possible to avoid dvi2ps at all, using only a context mkiv ? Yes, that could be possible. It would be interesting (well, at least for me) to have a how to --- if only for a specific pst module known to work with mkiv. -- 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] PSTricks in Context
Am 16.12.2014 um 11:35 schrieb luigi scarso: On Tue, Dec 16, 2014 at 11:04 AM, Akira Kakuto kak...@fuk.kindai.ac.jp mailto:kak...@fuk.kindai.ac.jp wrote: Hi Luigi, The example works if one copies colo-rgb.mkii as colo-rgb.tex in the same folder of the example ... It is OK by changing line 46 in m-pstricks.mkii: \loadpstrickscolors{colo-rgb}} to \loadpstrickscolors{colo-rgb.__mkii}} as Herbert said. In the recent beta's, the change was already done. yes right --- I have downloaded the current into TL, but one can do the same with the zips of beta and have the correct \loadpstrickscolors{colo-rgb.mkii} I have a script cpCTX2TL which installs the current beta and then copies all relevant files into the current TL installation. Herbert ___ 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] PSTricks in Context
On Sun, Dec 14, 2014 at 6:45 PM, context context wrote: Could someone tell me how to install and use PSTricks in Context First of all try to figure out if you could use MetaPost or TikZ instead. Either of them is a lot more pdf-friendly. Unless you still work with MkII and go via dvi-ps-pdf, you need to compile the PSTricks graphic separately into DVI, then PS, then PDF, and include the final graphic into the document. While ConTeXt macros can do that for you, it's still very ugly. Unless you have a very very very strong reason to use PSTricks, you would be better off with other solutions. In any case PSTricks isn't supported in the standalone distribution, so you need to use TeX Live. This is (probably) the proper syntax to get it running: \usemodule[pstricks] \starttext \startPSTRICKS \psline(0,0)(3,3) \stopPSTRICKS \stoptext But for MkII you need to enable unrestricted write18, else you end up with runsystem(texexec test-texapp.tex --once --batch)...disabled (restricted). runsystem(dvips test-texapp)...disabled (restricted). runsystem(ps2pdf test-texapp.ps test-texapp.pdf)...disabled (restricted). (and maybe then it won't work anyway) and for MkIV it currently fails to work as well: (/usr/local/texlive/2014/texmf-dist/tex/generic/pst-tools/pst-tools.tex `PST-tools' v0.05, 2014/05/12 (hv)) v1.63, 2014/06/24 (tvz,hv)) pstricks: loading colors from colo-rgb ! I can't find file `colo-rgb'. \loadpstrickscolors ...g colors from #1}\input #1 \relax \popmacro \dodefine... l.47 ...s}{using indirect method; enable write18}} (Press Enter to retry, or Control-D to exit) Mojca ___ 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] PSTricks in Context
Am 15.12.2014 um 09:13 schrieb Mojca Miklavec: (and maybe then it won't work anyway) and for MkIV it currently fails to work as well: (/usr/local/texlive/2014/texmf-dist/tex/generic/pst-tools/pst-tools.tex `PST-tools' v0.05, 2014/05/12 (hv)) v1.63, 2014/06/24 (tvz,hv)) pstricks: loading colors from colo-rgb ! I can't find file `colo-rgb'. \loadpstrickscolors ...g colors from #1}\input #1 \relax \popmacro \dodefine... l.47 ...s}{using indirect method; enable write18}} (Press Enter to retry, or Control-D to exit) for mkiv read: http://www.ntg.nl/pipermail/ntg-context/2014/079514.html Herbert ___ 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] PSTricks in Context
On Mon, Dec 15, 2014 at 9:28 AM, Herbert Voss wrote: Am 15.12.2014 um 09:13 schrieb Mojca Miklavec: (and maybe then it won't work anyway) and for MkIV it currently fails to work as well: (/usr/local/texlive/2014/texmf-dist/tex/generic/pst-tools/pst-tools.tex `PST-tools' v0.05, 2014/05/12 (hv)) v1.63, 2014/06/24 (tvz,hv)) pstricks: loading colors from colo-rgb ! I can't find file `colo-rgb'. \loadpstrickscolors ...g colors from #1}\input #1 \relax \popmacro \dodefine... l.47 ...s}{using indirect method; enable write18}} (Press Enter to retry, or Control-D to exit) for mkiv read: http://www.ntg.nl/pipermail/ntg-context/2014/079514.html Ah. I was running ConTeXt from TL 2014, but I was looking at the sources from the latest distribution where the problem has already been fixed. That confused me. Anyway, the version in TeX Live now runs, but creates wrong results (it prints out (0,0)(3,3) instead of drawing the line for example). (And I'm not too eager to add support for PSTricks to the distribution. It's a can of worms with zillion of other utilities that we don't ship. And close-to-zero users.) Mojca ___ 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] PSTricks in Context
Anyway, the version in TeX Live now runs, but creates wrong results (it prints out (0,0)(3,3) instead of drawing the line for example). In the case of mtx-context | current version: 2014.12.11 12:02 The following is OK. % % context test.tex % \usemodule[pstricks] \starttext \startmidaligned \startPSTRICKS \pspicture(0mm,0mm)(30mm,30mm) \psline(0,0)(3,3) \endpspicture \stopPSTRICKS \stopmidaligned \stoptext Of course there are examples that don't match ConTeXt. Best, Akira ___ 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] PSTricks in Context
Am 15.12.2014 um 09:55 schrieb Mojca Miklavec: Anyway, the version in TeX Live now runs, but creates wrong results (it prints out (0,0)(3,3) instead of drawing the line for example). (And I'm not too eager to add support for PSTricks to the distribution. It's a can of worms with zillion of other utilities that we don't ship. And close-to-zero users.) huh?? The only problem is this line \loadpstrickscolors{colo-rgb}} as mentioned in my mail. Herbert ___ 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] PSTricks in Context
On Mon, Dec 15, 2014 at 12:53 PM, Herbert Voss herbert.v...@fu-berlin.de wrote: Am 15.12.2014 um 09:55 schrieb Mojca Miklavec: Anyway, the version in TeX Live now runs, but creates wrong results (it prints out (0,0)(3,3) instead of drawing the line for example). (And I'm not too eager to add support for PSTricks to the distribution. It's a can of worms with zillion of other utilities that we don't ship. And close-to-zero users.) huh?? The only problem is this line \loadpstrickscolors{colo-rgb}} as mentioned in my mail. Herbert If we have a postscript interpreter, Is it possible to avoid dvi2ps at all, using only a context mkiv ? -- 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] PSTricks in Context
On Mon, Dec 15, 2014 at 12:53 PM, Herbert Voss wrote: Am 15.12.2014 um 09:55 schrieb Mojca Miklavec: Anyway, the version in TeX Live now runs, but creates wrong results (it prints out (0,0)(3,3) instead of drawing the line for example). (And I'm not too eager to add support for PSTricks to the distribution. It's a can of worms with zillion of other utilities that we don't ship. And close-to-zero users.) huh?? The only problem is this line \loadpstrickscolors{colo-rgb}} as mentioned in my mail. The problem is that this is not the only problem ;) Or at least that didn't solve all the problems for me. First of all I had to use Kakuto-san's example, adding something like \pspicture(0mm,0mm)(30mm,30mm) ... \endpspicture in front and at the back (which is extremely ugly to see in ConTeXt). So the complete minimal example was: \usemodule[pstricks] \starttext \startPSTRICKS \pspicture(0mm,0mm)(30mm,30mm) \psline(0,0)(3,3) \endpspicture \stopPSTRICKS \stoptext However that still doesn't work with TeX Live 2014 even after fixing the issue with mkii in the filename: ! Missing } inserted. inserted text } to be read again \endgroup \endpspicture ...]\fi \fi \pst@killglue \endgroup \egroup \ifdim \wd \pst@hb... l.12 \endpspicture According to Kakuto-san it works with the latest ConTeXt, but I need a bit of tweaking to try it out and even if it does users would need to install (at least part of) W32TeX, wait for TLContrib to release a newer version of ConteXt or tweak themselves in order to try it out. Mojca ___ 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] PSTricks in Context
Am 15.12.2014 um 15:27 schrieb Mojca Miklavec: First of all I had to use Kakuto-san's example, adding something like \pspicture(0mm,0mm)(30mm,30mm) ... \endpspicture in front and at the back (which is extremely ugly to see in ConTeXt). I see, \tikzpicture .. \endtikzpicture looks nicer ;-) Herbert ___ 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] PSTricks in Context
Am 15.12.2014 um 14:06 schrieb luigi scarso: If we have a postscript interpreter, Is it possible to avoid dvi2ps at all, using only a context mkiv ? Yes, that could be possible. Herbert ___ 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] PSTricks in Context
On Mon, Dec 15, 2014 at 9:45 PM, Herbert Voss wrote: Am 15.12.2014 um 15:27 schrieb Mojca Miklavec: First of all I had to use Kakuto-san's example, adding something like \pspicture(0mm,0mm)(30mm,30mm) ... \endpspicture in front and at the back (which is extremely ugly to see in ConTeXt). I see, \tikzpicture .. \endtikzpicture looks nicer ;-) Well, that also, but in that case it would be \starttikzpicture ... \stoptikzpicture. The pairs \tikzpicture ... \endtikzpicture and \pspicture ... \endpspicture are plain TeX commands. I would expect from ConTeXt to support \startpspicture ... \stoppspicture out of the box (if it supported PST properly). Mojca ___ 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] PSTricks in Context
On Mon, 15 Dec 2014 21:45:52 +0100 Herbert Voss herbert.v...@fu-berlin.de wrote: Am 15.12.2014 um 15:27 schrieb Mojca Miklavec: First of all I had to use Kakuto-san's example, adding something like \pspicture(0mm,0mm)(30mm,30mm) ... \endpspicture in front and at the back (which is extremely ugly to see in ConTeXt). I see, \tikzpicture .. \endtikzpicture looks nicer ;-) No, but \startMPcode draw origin--(1,1) scaled 30mm ; \stopMPcode DOES look nicer ;-) ___ 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] PSTricks in Context
On Mon, 15 Dec 2014, Mojca Miklavec wrote: On Mon, Dec 15, 2014 at 9:45 PM, Herbert Voss wrote: Am 15.12.2014 um 15:27 schrieb Mojca Miklavec: First of all I had to use Kakuto-san's example, adding something like \pspicture(0mm,0mm)(30mm,30mm) ... \endpspicture in front and at the back (which is extremely ugly to see in ConTeXt). I see, \tikzpicture .. \endtikzpicture looks nicer ;-) Well, that also, but in that case it would be \starttikzpicture ... \stoptikzpicture. The pairs \tikzpicture ... \endtikzpicture and \pspicture ... \endpspicture are plain TeX commands. I would expect from ConTeXt to support \startpspicture ... \stoppspicture out of the box (if it supported PST properly). This is a minor issue that can be easily fixed by a few lines of wrapper code in m-pstricks. pstricks relies on other parts of the tex ecosystem (a tex.pro file IIRC, and some binaries) that are not shipped with ConTeXt standalone. It will be great if MKIV supports pstricks out of the box. There are some very nice pstricks packages that are hard (and time consuming) to replicate. Aditya ___ 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] PSTricks in Context
Could someone tell me how to install and use PSTricks in Context Many Thanks Jeroen ___ 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] PSTricks with ConTeXT
Hi, Sorry to insist, but does this code compile? \starttyping \usemodule[pstricks] \usePSTRICKSmodule[pst-barcode] \startPSTRICKS \pspicture(-4mm,-1mm)(38mm,26mm) \psbarcode{9781860742712}{includetext guardwhitespace}{ean13}% \endpspicture \stopPSTRICKS \stoptyping In fact, I get a white page, is this normal ? I tried to put myself in TikZ which is well supported by ConTeXt, but I much prefer PSTricks. Thank you. ___ 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] PSTricks with ConTeXT
Hi, After searching, it seems it is not possible to compile a file containing a PSTricks environment ? Is that correct ? Regards, Fabrice ___ 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] PSTricks with ConTeXT
On 3/20/2014 6:31 PM, Fabrice Couvreur wrote: Hi, After searching, it seems it is not possible to compile a file containing a PSTricks environment ? Is that correct? see m-pstricks.mkiv - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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] PSTricks with ConTeXT
Hi, If I compile the following example, the pdf output is empty. \starttyping \usemodule[pstricks] \startPSTRICKS \pspicture(0cm,0cm)(20cm,20cm) \psline(0,0)(20,20) \psline(1,1)(10,10) \endpspicture \stopPSTRICKS \stoptyping Thanks. ___ 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] PsTRICKS in Context
To all, I am the author of a physics booklet written in LATEX+PsTRICKS. Now, my I intend is to make one improved version in Context, but I have many schems with PSTRICKS commands. Did you know a easy way to make the migration? Thanks a lot Jorge ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] PsTRICKS in Context
batela wrote: To all, I am the author of a physics booklet written in LATEX+PsTRICKS. Now, my I intend is to make one improved version in Context, but I have many schems with PSTRICKS commands. Did you know a easy way to make the migration? there is a module, m-pstric.tex \usemodule[pstrick] \startPSTRICKS \pspicture(0,0)(10,10) \dorecurse{10}{\psline(0,0)(\recurselevel,10)} \dorecurse{10}{\psline(0,0)(10,\recurselevel)} \endpspicture \stopPSTRICKS an option is to put the graphics in separate files and/or use checksum trickery as used in m-r (not yet done) 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] PsTRICKS in Context
Thanks. But, in this LATEX_to_Context migration, I need to convert at hand several latex commands. For example: \begin{itemize} to \startitemize \end{itemize} to \stopitemize \begin{table}_to_\starttable and so on. this is a very hard task. Perhaps I need to make: perl -ps 's/\begin{itemize}/\startitemize/g' *.tex Em 19/06/2006, às 4:52, Hans Hagen escreveu: batela wrote: To all, I am the author of a physics booklet written in LATEX+PsTRICKS. Now, my I intend is to make one improved version in Context, but I have many schems with PSTRICKS commands. Did you know a easy way to make the migration? there is a module, m-pstric.tex \usemodule[pstrick] \startPSTRICKS \pspicture(0,0)(10,10) \dorecurse{10}{\psline(0,0)(\recurselevel,10)} \dorecurse{10}{\psline(0,0)(10,\recurselevel)} \endpspicture \stopPSTRICKS an option is to put the graphics in separate files and/or use checksum trickery as used in m-r (not yet done) 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context Um Abraço, Jorge Magalhães ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context