* Re: Help : pdf figure is black !
@ 2003-03-05 15:14 Maurice Diamantini
2003-03-05 17:27 ` Jens-Uwe Morawski
0 siblings, 1 reply; 3+ messages in thread
From: Maurice Diamantini @ 2003-03-05 15:14 UTC (permalink / raw)
Cc: Maurice Diamantini
Jens-Uwe Morawski said :
> > - ucp_context_test.pdf :
> > the first try whith context and all the black figures
> >
>
> only xpdf has the problem with black backgrounds. Using Acrobat Reader
> 5.0.5 or GhostScript everything is fine.
Yes !
xpdf show the pdf figure well, but not the figure in de pdf
file generated by ConTeXt!
No problem with gv nor with acroread :
Thank you very much!
Hans Hagen said:
> \setupcolors[state=start]
> .... [background=color,backgroundcolor=white]
>
> should work ok
It does change anything (see the bug from xpdf)
Hans Hagen said:
> btw, there is a module m-pstricks that some of the users on this
> list are using that you can use to directly include pstricks code.
Thank you: so I find the .../cont-tmf/tex/context/base/m-pstric.tex file
and tried the following code.
\Topic{Test intégrant du pstricks }
% pstric
% \startPSTRICKS[offset=2pt] ... \stopPSTRICKS
works in both dvi and pdf mode
\usemodule[pstric]
A--
\startPSTRICKS
\pspicture(0,0)(10,10)
\dorecurse{10}{\psline(0,0)(\recurselevel,10)}
\dorecurse{10}{\psline(0,0)(10,\recurselevel)}
\endpspicture
\stopPSTRICKS
--B
But for now, it doesn't work
(but it doesn't mater as I can import pdf file)
--
Maurice.Diamantini@ensta.fr - ENSTA/LMA
École Nationale Supérieure de Techniques Avancées
Laboratoire de Mathématiques Appliquées
http://www.ensta.fr/~diam
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re: Help : pdf figure is black !
2003-03-05 15:14 Help : pdf figure is black ! Maurice Diamantini
@ 2003-03-05 17:27 ` Jens-Uwe Morawski
2003-03-06 9:02 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Jens-Uwe Morawski @ 2003-03-05 17:27 UTC (permalink / raw)
On Wed, 5 Mar 2003 16:14:44 +0100
Maurice Diamantini <diam@ensta.fr> wrote:
> Hans Hagen said:
>
> > btw, there is a module m-pstricks that some of the users on this
> > list are using that you can use to directly include pstricks code.
>
> Thank you: so I find the .../cont-tmf/tex/context/base/m-pstric.tex file
> and tried the following code.
>
> \Topic{Test intégrant du pstricks }
>
> % pstric
> % \startPSTRICKS[offset=2pt] ... \stopPSTRICKS
>
> works in both dvi and pdf mode
> \usemodule[pstric]
>
> A--
> \startPSTRICKS
> \pspicture(0,0)(10,10)
> \dorecurse{10}{\psline(0,0)(\recurselevel,10)}
> \dorecurse{10}{\psline(0,0)(10,\recurselevel)}
> \endpspicture
> \stopPSTRICKS
> --B
>
> But for now, it doesn't work
as in LaTeX PSTricks requires \special to insert the PS-code in
the output. pdfTeX has no \special and that would even not work
if pdfTeX has it, since PSTricks requires the capabilities of a
PS interpreter that pdfTeX not provides. Thus, use PSTricks
with DVI output or PDF and start MetaPosting ;)
Jens
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re: Help : pdf figure is black !
2003-03-05 17:27 ` Jens-Uwe Morawski
@ 2003-03-06 9:02 ` Hans Hagen
0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2003-03-06 9:02 UTC (permalink / raw)
At 06:27 PM 3/5/2003 +0100, you wrote:
>as in LaTeX PSTricks requires \special to insert the PS-code in
>the output. pdfTeX has no \special and that would even not work
>if pdfTeX has it, since PSTricks requires the capabilities of a
>PS interpreter that pdfTeX not provides. Thus, use PSTricks
>with DVI output or PDF and start MetaPosting ;)
actually, there is some primitive support for simple ps code in pdf, but
not the full thing; not really worth looking into, more meant for special
effects in patterns and so
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-03-06 9:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-05 15:14 Help : pdf figure is black ! Maurice Diamantini
2003-03-05 17:27 ` Jens-Uwe Morawski
2003-03-06 9:02 ` Hans Hagen
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).