* Re: m-pstric
[not found] <mailman.1.1187517602.31722.ntg-context@ntg.nl>
@ 2007-08-20 1:40 ` Wolfgang Werners-Lucchini
2007-08-20 18:01 ` TEXapplication Wolfgang Werners-Lucchini
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Werners-Lucchini @ 2007-08-20 1:40 UTC (permalink / raw)
To: ntg-context
> > - If dvi is not the default, what is the right switch?
> > ('texexec --dvi ...' has no effect)
>
> --dvi would have been more intuitive, but it's --dvips.
That was the solution
Thank you Mojca!
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* TEXapplication
[not found] <mailman.1.1187517602.31722.ntg-context@ntg.nl>
2007-08-20 1:40 ` m-pstric Wolfgang Werners-Lucchini
@ 2007-08-20 18:01 ` Wolfgang Werners-Lucchini
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Werners-Lucchini @ 2007-08-20 18:01 UTC (permalink / raw)
To: ntg-context
Hallo,
while playing with m-pstric I realized that there is an other
problem.
m-pstric uses the TEXapplication start/stop mechanism, but the
resulting box has no extend. The commented version which does not
make use of TEXapplication works ok.
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: m-pstric
2007-08-18 13:36 m-pstric Wolfgang Werners-Lucchini
@ 2007-08-18 15:34 ` Mojca Miklavec
0 siblings, 0 replies; 4+ messages in thread
From: Mojca Miklavec @ 2007-08-18 15:34 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 8/18/07, Wolfgang Werners-Lucchini wrote:
> Hallo,
>
> I tried the example in the module pstric, but it is not working.
Hello Wolfgang,
my first suggestion would be: unless you have a strong reason for
using pstricks (like: extensive amount of code already written), why
not trying pgf/TikZ instead?
> Running my 'tst.tex' loads the module and since it is in pdf-mode
> a line
>
> pstricks : using indirect method; enable write18
>
> was written.
>
> But in 'tst-texapp.log' appears the same line:
>
> pstricks : using indirect method; enable write18
>
> so 'tst-texapp.tex' was not run in dvi-mode and the pstricks macros
> are not loaded and \pspicture is unknown.
First of all: do enable write18 if it's not already.
http://wiki.contextgarden.net/write18
> \startTEXapplication
>
> has a line
>
> \executesystemcommand{texexec ...}
Second of all (a question for Hans): the example only worked if I replaced
\executesystemcommand{texexec \bufferprefix\@@texapp.tex --once --batch}%
in page-app.tex with
\executesystemcommand{texexec --dvips \bufferprefix\@@texapp.tex
--once --batch}%
Are there any other cases where this would fail to work (I have a
feeling that the command is only meant for dvi->ps->pdf route)? If
not, would it make sense to add the --dvips switch? Minimal example to
test the difference:
\usemodule[pstric]
\starttext
\startPSTRICKS
\pspicture(0,0)(10,10)
\psline(0,0)(2,10)
\endpspicture
\stopPSTRICKS
\stoptext
> So my question is:
>
> - Is dvi-mode the default for texexec? (I know it was, but there were
> some opposite remarks on the list)
Not any more. dvi used to be the default mode until approximately two years ago.
> - If dvi is not the default, what is the right switch?
> ('texexec --dvi ...' has no effect)
--dvi would have been more intuitive, but it's --dvips.
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* m-pstric
@ 2007-08-18 13:36 Wolfgang Werners-Lucchini
2007-08-18 15:34 ` m-pstric Mojca Miklavec
0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Werners-Lucchini @ 2007-08-18 13:36 UTC (permalink / raw)
To: ntg-context
Hallo,
I tried the example in the module pstric, but it is not working.
Running my 'tst.tex' loads the module and since it is in pdf-mode
a line
pstricks : using indirect method; enable write18
was written.
But in 'tst-texapp.log' appears the same line:
pstricks : using indirect method; enable write18
so 'tst-texapp.tex' was not run in dvi-mode and the pstricks macros
are not loaded and \pspicture is unknown.
\startTEXapplication
has a line
\executesystemcommand{texexec ...}
So my question is:
- Is dvi-mode the default for texexec? (I know it was, but there were
some opposite remarks on the list)
- If dvi is not the default, what is the right switch?
('texexec --dvi ...' has no effect)
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-08-20 18:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.1.1187517602.31722.ntg-context@ntg.nl>
2007-08-20 1:40 ` m-pstric Wolfgang Werners-Lucchini
2007-08-20 18:01 ` TEXapplication Wolfgang Werners-Lucchini
2007-08-18 13:36 m-pstric Wolfgang Werners-Lucchini
2007-08-18 15:34 ` m-pstric Mojca Miklavec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).