Niouzes.org  

Précédent   Niouzes.org > Forum > Newsgroup fr.comp.* Forum > Newsgroup fr.comp.text.tex
S'inscrire FAQ Membres Calendrier Recherche Messages du jour Marquer les forums comme lus



Réponse

 

LinkBack Outils de la discussion Modes d'affichage
  #1 (permalink)  
Vieux 11/10/2008, 06h29
Bruno
 
Messages: n/a
Par défaut Pb de couleur avec Pstricks

Bonjour,

Je débute avec PStricks. Je rencontre un problème lorsque je veux utiliser
de la couleur : cette dernière est ignorée.

Voilà un exemple avec un cercle qui devrait apparaître jaune :


-----------
\documentclass[12pt,a4paper]{article}

\usepackage {amsmath}
\usepackage {amsfonts}
\usepackage {amsthm}
\usepackage[T1]{fontenc}
\usepackage[frenchb]{babel}
\usepackage {verbatim}
\usepackage [dvips]{color}


\usepackage{pst-plot}
\usepackage{pstricks-add}


\begin {document}

\pscircle [fillcolor=yellow]{1.5}

\end {document}
-----------

Le texte compile sans erreur mais j'obtiens un cercle blanc, de la même
façon que si je n'avais pas précisé le paramètre fillcolor=yellow.

J'ai essayé avec d'autres couleurs : blue, red, green. Aucun résultat.

Auriez-vous une idée du problème ?

Je joins le log de compilation en fin de message, si ça peut aider...

Merci d'avance pour vos réponses,


--------
Log :

This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7) (preloaded
format=latex 2008.9.20) 11 OCT 2008 07:27
entering extended mode
**PStricks_couleur.tex
(PStricks_couleur.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation,
ge
rman, ngerman, german-x-2008-06-18, ngerman-x-2008-06-18, french, loaded.
("C:\Program Files\MiKTeX 2.7\tex\latex\base\article.cls"
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
("C:\Program Files\MiKTeX 2.7\tex\latex\base\size12.clo"
File: size12.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c***part=\count79
\c***section=\count80
\c***subsection=\count81
\c***subsubsection=\count82
\c***paragraph=\count83
\c***subparagraph=\count84
\c***figure=\count85
\c***table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
("C:\Program Files\MiKTeX 2.7\tex\latex\amsmath\amsmath.sty"
Package: amsmath 2000/07/18 v2.13 AMS math features
\***mathmargin=\skip43

For additional information on amsmath, use the `?' option.
("C:\Program Files\MiKTeX 2.7\tex\latex\amsmath\amstext.sty"
Package: amstext 2000/06/29 v2.01

("C:\Program Files\MiKTeX 2.7\tex\latex\amsmath\amsgen.sty"
File: amsgen.sty 1999/11/30 v2.0
\***emptytoks=\toks14
\ex***=\dimen103
))
("C:\Program Files\MiKTeX 2.7\tex\latex\amsmath\amsbsy.sty"
Package: amsbsy 1999/11/29 v1.2d
\pmbraise***=\dimen104
)
("C:\Program Files\MiKTeX 2.7\tex\latex\amsmath\amsopn.sty"
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf***bad=\count87
LaTeX Info: Redefining \frac on input line 211.
\uproot***=\count88
\leftroot***=\count89
LaTeX Info: Redefining \overline on input line 307.
\classnum***=\count90
\DOTSCASE***=\count91
LaTeX Info: Redefining \ldots on input line 379.
LaTeX Info: Redefining \dots on input line 382.
LaTeX Info: Redefining \cdots on input line 467.
\Mathstrutbox***=\box26
\strutbox***=\box27
\big***size=\dimen105
LaTeX Font Info: Redeclaring font encoding OML on input line 567.
LaTeX Font Info: Redeclaring font encoding OMS on input line 568.
\macc***depth=\count92
\c***MaxMatrixCols=\count93
\dotsspace***=\muskip10
\c***parentequation=\count94
\dspbrk***lvl=\count95
\tag***help=\toks15
\row***=\count96
\column***=\count97
\maxfields***=\count98
\andhelp***=\toks16
\eqnshift***=\dimen106
\alignsep***=\dimen107
\tagshift***=\dimen108
\tagwidth***=\dimen109
\totwidth***=\dimen110
\lineht***=\dimen111
\***envbody=\toks17
\multlinegap=\skip44
\multlinetaggap=\skip45
\mathdisplay***stack=\toks18
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
)
("C:\Program Files\MiKTeX 2.7\tex\latex\amsfonts\amsfonts.sty"
Package: amsfonts 2001/10/25 v2.2f
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold'
(Font) U/euf/m/n --> U/euf/b/n on input line 132.
)
("C:\Program Files\MiKTeX 2.7\tex\latex\amscls\amsthm.sty"
Package: amsthm 2004/08/06 v2.20
\thm***style=\toks19
\thm***bodyfont=\toks20
\thm***headfont=\toks21
\thm***notefont=\toks22
\thm***headpunct=\toks23
\thm***preskip=\skip46
\thm***postskip=\skip47
\thm***headsep=\skip48
\dth***everypar=\toks24
)
("C:\Program Files\MiKTeX 2.7\tex\latex\base\fontenc.sty"
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

("C:\Program Files\MiKTeX 2.7\tex\latex\base\t1enc.def"
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
))
("C:\Program Files\MiKTeX 2.7\tex\generic\babel\babel.sty"
Package: babel 2008/07/06 v3.8l The Babel package

*************************************
* Local config file bblopts.cfg used
*
("C:\Program Files\MiKTeX 2.7\tex\latex\00miktex\bblopts.cfg"
File: bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
)
("C:\Program Files\MiKTeX 2.7\tex\generic\babel\frenchb.ldf"
Language: frenchb 2008/05/08 v2.2a French support from the babel system

("C:\Program Files\MiKTeX 2.7\tex\generic\babel\babel.def"
File: babel.def 2008/07/06 v3.8l Babel common definitions
\babel***savecnt=\count99
\U***D=\dimen112
)
Package babel Info: Making : an active character on input line 119.
Package babel Info: Making ; an active character on input line 120.
Package babel Info: Making ! an active character on input line 121.
Package babel Info: Making ? an active character on input line 122.
\FB***Mht=\dimen113
\std***mcc=\count100
\dec***mcc=\count101
\parindentFFN=\dimen114

*************************************
* Local config file frenchb.cfg used
*
("C:\Program Files\MiKTeX 2.7\tex\generic\babel\frenchb.cfg")))
("C:\Program Files\MiKTeX 2.7\tex\latex\carlisle\scalefnt.sty")
("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\keyval.sty"
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV***toks***=\toks25
)
("C:\Program Files\MiKTeX 2.7\tex\latex\tools\verbatim.sty"
Package: verbatim 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
\every***verbatim=\toks26
\verbatim***line=\toks27
\verbatim***in***stream=\read1
)
("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\color.sty"
Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)

("C:\Program Files\MiKTeX 2.7\tex\latex\00miktex\color.cfg"
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: dvips.def on input line 130.

("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\dvips.def"
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
)
("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\dvipsnam.def"
File: dvipsnam.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
))
("C:\Program Files\MiKTeX 2.7\tex\latex\pstricks\pst-plot.sty"
("C:\Program Files\MiKTeX 2.7\tex\latex\pstricks\pstricks.sty"
Package: pstricks 2008/01/24 v0.37 LaTeX wrapper for `PSTricks' (RN,HV)

("C:\Program Files\MiKTeX 2.7\tex\generic\pstricks\pstricks.tex"
`PSTricks' v1.26 <2008/07/31> (tvz)
\pst***dima=\dimen115
\pst***dimb=\dimen116
\pst***dimc=\dimen117
\pst***dimd=\dimen118
\pst***dimg=\dimen119
\pst***dimh=\dimen120
\pst***hbox=\box28
\pst***boxg=\box29
\pst***cnta=\count102
\pst***cntb=\count103
\pst***cntc=\count104
\pst***cntd=\count105
\pst***cntg=\count106
\pst***cnth=\count107
\pst***toks=\toks28
("C:\Program Files\MiKTeX 2.7\tex\generic\pstricks\pstricks.con")
\psunit=\dimen121
\psxunit=\dimen122
\psyunit=\dimen123
\pslinewidth=\dimen124
\pst***customdefs=\toks29
\pslinearc=\dimen125
\everypsbox=\toks30
\psframesep=\dimen126
\pslabelsep=\dimen127
\pst***shift=\dimen128
\theoverlaybox=\box30
)
File: pstricks.tex 2008/07/31 v1.26 `PSTricks' (tvz)

("C:\Program Files\MiKTeX 2.7\tex\latex\xcolor\xcolor.sty"
Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)

("C:\Program Files\MiKTeX 2.7\tex\latex\00miktex\color.cfg"
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package xcolor Info: Package option `override' ignored on input line 216.
Package xcolor Info: Driver file: dvips.def on input line 225.
LaTeX Info: Redefining \color on input line 702.
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337.
Package xcolor Info: Model `RGB' extended on input line 1353.
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355.
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356.
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357.
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358.
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359.
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360.
))
Package: pst-plot 2004/07/15 package wrapper for pst-plot.tex

("C:\Program Files\MiKTeX 2.7\tex\generic\pstricks\pst-plot.tex"
("C:\Program Files\MiKTeX 2.7\tex\generic\multido\multido.tex"
v1.41, 2004/05/18 <tvz>
\multido***count=\count108
\multidocount=\count109
\multido***stuff=\toks31
) v1.01, 2008/01/26)
File: pst-plot.tex 2008/01/26 1.01 `pst-plot' (tvz)
)
("C:\Program Files\MiKTeX 2.7\tex\latex\pstricks-add\pstricks-add.sty"
Package: pstricks-add 2007/09/03 v. 0.11 package wrapper for
pstricks-add.tex (
hv)

("C:\Program Files\MiKTeX 2.7\tex\generic\pstricks-add\pstricks-add.tex"
("C:\Program Files\MiKTeX 2.7\tex\generic\pstricks\pst-node.tex"
v1.00, 2007/10/16
\psrow=\count110
\pscol=\count111
\psmatrixcnt=\count112
\psrowsep=\skip49
\pscolsep=\skip50
) ("C:\Program Files\MiKTeX 2.7\tex\generic\pst-3d\pst-3d.tex" ("C:\Program
Fil
es\MiKTeX 2.7\tex\generic\xkeyval\pst-xkey.tex"
File: pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)

("C:\Program Files\MiKTeX 2.7\tex\latex\xkeyval\xkeyval.sty"
Package: xkeyval 2008/08/13 v2.6a package option processing (HA)

("C:\Program Files\MiKTeX 2.7\tex\generic\xkeyval\xkeyval.tex"
\XKV***toks=\toks32
\XKV***tempa***toks=\toks33
\XKV***depth=\count113
File: xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)
)))
`PST-3d' v1.00, 2005/09/03 (tvz)) `pstricks-add' v3.10, 2008/08/27 (dr,hv)
\pst***dimm=\dimen129
\pst***dimn=\dimen130
\pst***dimo=\dimen131
\pst***dimp=\dimen132
\pst***cntm=\count114
\pst***cntn=\count115
\pst***cnto=\count116
\pst***cntp=\count117
\***zero=\count118
\pstRadUnit=\dimen133
\pstRadUnitInv=\dimen134
\pshooklength=\dimen135
\pshookwidth=\dimen136
\***digitcounter=\count119
\psk***subticksize=\dimen137
\pst***xticksizeA=\dimen138
\pst***xticksizeB=\dimen139
\pst***xticksizeC=\dimen140
\pst***yticksizeA=\dimen141
\pst***yticksizeB=\dimen142
\pst***yticksizeC=\dimen143
\psk***llx=\dimen144
\psk***lly=\dimen145
\psk***urx=\dimen146
\psk***ury=\dimen147
\pst***xunit=\dimen148
\pst***yunit=\dimen149
\linecnt=\count120
\chart***ColorIndex=\dimen150
\chart***ColorStep=\dimen151
\pst***chartHeight=\dimen152
\pst***chartStackDepth=\dimen153
\pst***chartStackWidth=\dimen154
\chart***Toggle=\count121
)
File: pstricks-add.tex 2008/08/27 v3.10 `PSTricks-add' (hv)
)
(PStricks_couleur.aux)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 16.
LaTeX Font Info: ... okay on input line 16.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 16.
LaTeX Font Info: ... okay on input line 16.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 16.
LaTeX Font Info: ... okay on input line 16.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 16.
LaTeX Font Info: ... okay on input line 16.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 16.
LaTeX Font Info: ... okay on input line 16.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 16.
LaTeX Font Info: ... okay on input line 16.
LaTeX Info: Redefining \degres on input line 16.
LaTeX Info: Redefining \dots on input line 16.
LaTeX Info: Redefining \up on input line 16.
[1

] (PStricks_couleur.aux) )
Here is how much of TeX's memory you used:
4864 strings out of 95305
59427 string characters out of 1183059
188247 words of memory out of 1500000
8046 multiletter control sequences out of 110000
4702 words of font info for 16 fonts, out of 1200000 for 2000
14 hyphenation exceptions out of 8191
37i,5n,39p,310b,139s stack positions out of 5000i,500n,10000p,200000b,5000s

Output written on PStricks_couleur.dvi (1 page, 720 bytes).


Réponse avec citation
Alt Today
Advertising
Google Adsense
 
This advertising will not be shown
in this way to registered members.
Register your free account today
and become a member on
Niouzes.org
Standard Sponsored Links

  #2 (permalink)  
Vieux 11/10/2008, 10h59
Bruno
 
Messages: n/a
Par défaut Re: Pb de couleur avec Pstricks


"Herbert Voss" <herbert49***googlemail.com> a écrit dans le message de news:
gcph5m$a0h$00$1***news.t-online.com...
> Bruno schrieb:
>
>> Je débute avec PStricks. Je rencontre un problème lorsque je veux
>> utiliser
>> de la couleur : cette dernière est ignorée.
>>
>> Voilà un exemple avec un cercle qui devrait apparaître jaune :

>
> fillstyle=solid was missing.
> pstricks itself loads package xcolor.
>
>
> \documentclass[12pt,a4paper]{article}
> \usepackage{pstricks}
>
> \begin {document}
>
> \pscircle [fillcolor=yellow,fillstyle=solid]{1.5}
>
> \end {document}
>
> Herbert


Merci beaucoup ! Ca fonctionne.


Réponse avec citation
 
Réponse
Tags:



Outils de la discussion
Modes d'affichage

Règles de messages
Vous pouvez ouvrir de nouvelles discussions : nonoui
Vous pouvez envoyer des réponses : nonoui
Vous pouvez insérer des pièces jointes : nonoui
Vous pouvez modifier vos messages : nonoui

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui



Fuseau horaire GMT. Il est actuellement 00h17.

Italiano - German - English - Español


Édité par : vBulletin® version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 © 2007, Crawlability, Inc. Tous droits réservés.
Version française #13 par l'association vBulletin francophone


Politique - Droit - Philosophie - Football - Medicine - Française - Bricolage - Photo - Mac Os X - Divers - Physique - Jardinage
Mecanique - Moto - Photographie - Rail - Route - Aviation - Cinema - Linux - Psychanalyse - Finance - Enigmes - Rugby
Environnement - Histoire - Programmes TV - Education - Travail - Voyages - Windows - Immobilier - Cuisine
Windows XP - Excel - Word - Outlook - Access - Internet Explorer - Office - Vista

Page generated in 0,30280 seconds with 10 queries