Comment configurer jPicEdt...

Tchize tchize at myrealbox.com
Mar 3 Oct 10:14:39 BST 2006


1) the errors
\qbezier(140,80)(140,80)(140,80)
This look obvious to me this line in latex is wrong. You added a bezier
segment for which the 3 points are at same location, leading to
mathematical errors. This need to be fixed in your editor (you probably
have several points at same position on (140,80))
IF you can't find out in editor why it create those points, try to
remove the correspond lines in the tex file, rerun latex.

2) the result
"Output written on jpicedt33213.dvi (1 page, 82008 bytes)."

According to latex output, you don't seem to be missing any library.

Did you try to open that jpicedt33213.dvi file? Is it present?

Patrick Gelin a écrit :
> Bonjour!
>
> Je découvre jPicEdt, un logiciel de dessin vectoriel WysiWyg en Latex qui
> permet donc d'insérer très facillement des expressions mathématique dans le
> dessin. Cela fait 2 ans que je cherchais quelque chose comme ça, maintenant
> je ne lache plus...
>
>
> Mais voilà, les commandes latex ne veulent pas marcher... Je les ai
> configurer automatiquement en préchargeant la configuration unix/tetex. En
> fait j'arrive bien à créer le fichier Latex lorsque j'appuie sur le bouton
> Latex (cf fichier ci-dessous). Mais impossible de voir le DVI. Aussi
> lorsque j'éssaie de compiler le fichier latex directement avec texmaker
> j'ai un fichier de log bourré d'eereurs (cf.ci dessous).
>
> Est ce que j'ai bien installé tous les modules latex? Est ce simplement un
> problème de paramétrage dans jPicEdt?
>
> Merci pour votre aide!
>
> ************** PARAMETRAGE JPICEDT ********************
> Latex: {i}/unix/tetex/ext_proc.sh {p} latex {f}
> DVI: {i}/unix/tetex/ext_proc.sh {p} xdvi {f}
> DVIPS: {i}/unix/tetex/ext_proc.sh {p} dvips {f}
> Ghostview: {i}/unix/tetex/ext_proc.sh {p} kghostview {f}.ps
>
> J'ai vérifié que le fichier .tex est bien crée dans le répertoire /tmp.
> Aussi j'ai essayé de rajouter les extensions de fichier comme ça:
>
> Latex: {i}/unix/tetex/ext_proc.sh {p} latex {f}.tex
> DVI: {i}/unix/tetex/ext_proc.sh {p} xdvi {f}.dvi
> DVIPS: {i}/unix/tetex/ext_proc.sh {p} dvips {f}.dvi
> Ghostview: {i}/unix/tetex/ext_proc.sh {p} kghostview {f}.ps
>
> Mais jamais je n'ai vue de fichier .dvi dans /tmp!
>
> ************** FICHIER LATEX GENERE PAR JPICEDT ********************
> %LaTeX-picture environment using emulated lines and arcs
> %You can rescale the whole picture (to 80% for instance) by using the
> command \def\JPicScale{0.8}
> \documentclass{article} 
> \usepackage{epic,eepic} 
> \thispagestyle{empty}
> \begin{document}
> \ifx\JPicScale\undefined\def\JPicScale{1}\fi
> \unitlength \JPicScale mm
> \begin{picture}(170,80)(0,0)
> \linethickness{0.3mm}
> \qbezier(20,30)(19.69,30.94)(21.25,41.25)
> \qbezier(21.25,41.25)(22.81,51.56)(30,60)
> \qbezier(30,60)(37.97,67.5)(46.88,67.5)
> \qbezier(46.88,67.5)(55.78,67.5)(60,60)
> \qbezier(60,60)(62.97,51.56)(63.12,41.25)
> \qbezier(63.12,41.25)(63.28,30.94)(70,30)
> \qbezier(70,30)(76.88,31.25)(80,40)
> \qbezier(80,40)(83.12,48.75)(90,50)
> \qbezier(90,50)(96.56,49.38)(101.25,45)
> \qbezier(101.25,45)(105.94,40.62)(120,40)
> \qbezier(120,40)(136.88,41.88)(150,55)
> \qbezier(150,55)(163.12,68.12)(150,70)
> \qbezier(150,70)(136.25,70.62)(137.5,75)
> \qbezier(137.5,75)(138.75,79.38)(140,80)
> \qbezier(140,80)(140,80)(140,80)
> \qbezier(140,80)(140,80)(140,80)
> \linethickness{0.3mm}
> \qbezier(20,20)(19.87,21.58)(24.27,32.55)
> \qbezier(24.27,32.55)(28.66,43.53)(39.12,45)
> \qbezier(39.12,45)(45.27,44.04)(44.55,36.36)
> \qbezier(44.55,36.36)(43.82,28.68)(47.12,25)
> \qbezier(47.12,25)(48.15,24.43)(49.57,24.68)
> \qbezier(49.57,24.68)(50.98,24.92)(52.12,25)
> \qbezier(52.12,25)(54.37,24.96)(57.13,24.83)
> \qbezier(57.13,24.83)(59.89,24.7)(62.12,25)
> \qbezier(62.12,25)(65.61,25.69)(69.65,27.36)
> \qbezier(69.65,27.36)(73.7,29.03)(77.12,30)
> \qbezier(77.12,30)(82.42,32.95)(83.63,47.04)
> \qbezier(83.63,47.04)(84.84,61.14)(95,70)
> \qbezier(95,70)(102.79,67.55)(109.2,48.96)
> \qbezier(109.2,48.96)(115.61,30.37)(117.12,25)
> \qbezier(117.12,25)(118.17,21.08)(114.42,20.44)
> \qbezier(114.42,20.44)(110.66,19.8)(110,20)
> \linethickness{0.3mm}
> \qbezier(80,20)(85.93,20.73)(92.9,19.94)
> \qbezier(92.9,19.94)(99.87,19.14)(100,15)
> \qbezier(100,15)(98.73,12.27)(92.31,13.44)
> \qbezier(92.31,13.44)(85.89,14.61)(85,15)
> \put(45,60){\makebox(0,0)[cc]{$X_3$}}
>
> \end{picture}
> \end{document}
>
>
> ************** LOG FILE TEXMAKER *************** :
> This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (format=latex
> 2006.9.26)  3 OCT 2006 10:14
> entering extended mode
> **jpicedt33213.tex
> (./jpicedt33213.tex
> LaTeX2e <2003/12/01>
> Babel <v3.8d> and hyphenation patterns for american, french, german,
> ngerman, b
> ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch,
> esperanto, e
> stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk,
> polis
> h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish,
> tur
> kish, ukrainian, nohyphenation, loaded.
> (/usr/share/texmf-tetex/tex/latex/base/article.cls
> Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
> (/usr/share/texmf-tetex/tex/latex/base/size10.clo
> File: size10.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
> )
> \c at part=\count79
> \c at section=\count80
> \c at subsection=\count81
> \c at subsubsection=\count82
> \c at paragraph=\count83
> \c at subparagraph=\count84
> \c at figure=\count85
> \c at table=\count86
> \abovecaptionskip=\skip41
> \belowcaptionskip=\skip42
> \bibindent=\dimen102
> )
> (/usr/share/texmf-tetex/tex/latex/eepic/epic.sty
> Enhancements to Picture Environment. Version 1.2 - Released June 1, 1986
> \@@multicnt=\count87
> \d at lta=\count88
> \@delta=\dimen103
> \@@delta=\dimen104
> \@gridcnt=\count89
> \@joinkind=\count90
> \@dotgap=\dimen105
> \@ddotgap=\dimen106
> \@x at diff=\count91
> \@y at diff=\count92
> \x at diff=\dimen107
> \y at diff=\dimen108
> \@dotbox=\box26
> \num at segments=\count93
> \num at segmentsi=\count94
> \@datafile=\read1
> ) (/usr/share/texmf-tetex/tex/latex/eepic/eepic.sty
> Extension to Epic and LaTeX. Version 1.1e - Released Dec 21, 1999
> \@gphlinewidth=\count95
> \@eepictcnt=\count96
> \@tempdimc=\dimen109
> \maxovaldiam=\dimen110
> \@filltype=\box27
> ) (./jpicedt33213.aux)
> \openout1 = `jpicedt33213.aux'.
>
> LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 6.
> LaTeX Font Info:    ... okay on input line 6.
> LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 6.
> LaTeX Font Info:    ... okay on input line 6.
> LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 6.
> LaTeX Font Info:    ... okay on input line 6.
> LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 6.
> LaTeX Font Info:    ... okay on input line 6.
> LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 6.
> LaTeX Font Info:    ... okay on input line 6.
> LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 6.
> LaTeX Font Info:    ... okay on input line 6.
>
> ! Arithmetic overflow.
> <recently read> \@multicnt 
>                            
> l.25 \qbezier(140,80)(140,80)(140,80)
>                                      
> I can't carry out that multiplication or division,
> since the result is out of range.
>
> ! Arithmetic overflow.
> <recently read> \@multicnt 
>                            
> l.25 \qbezier(140,80)(140,80)(140,80)
>                                      
> I can't carry out that multiplication or division,
> since the result is out of range.
>
> ! Arithmetic overflow.
> <recently read> \@multicnt 
>                            
> l.25 \qbezier(140,80)(140,80)(140,80)
>                                      
> I can't carry out that multiplication or division,
> since the result is out of range.
>
> ! Arithmetic overflow.
> <recently read> \@multicnt 
>                            
> l.25 \qbezier(140,80)(140,80)(140,80)
>                                      
> I can't carry out that multiplication or division,
> since the result is out of range.
>
> ! Arithmetic overflow.
> <recently read> \@multicnt 
>                            
> l.26 \qbezier(140,80)(140,80)(140,80)
>                                      
> I can't carry out that multiplication or division,
> since the result is out of range.
>
> ! Arithmetic overflow.
> <recently read> \@multicnt 
>                            
> l.26 \qbezier(140,80)(140,80)(140,80)
>                                      
> I can't carry out that multiplication or division,
> since the result is out of range.
>
> ! Arithmetic overflow.
> <recently read> \@multicnt 
>                            
> l.26 \qbezier(140,80)(140,80)(140,80)
>                                      
> I can't carry out that multiplication or division,
> since the result is out of range.
>
> ! Arithmetic overflow.
> <recently read> \@multicnt 
>                            
> l.26 \qbezier(140,80)(140,80)(140,80)
>                                      
> I can't carry out that multiplication or division,
> since the result is out of range.
>
> LaTeX Font Info:    External font `cmex10' loaded for size
> (Font)              <7> on input line 49.
> LaTeX Font Info:    External font `cmex10' loaded for size
> (Font)              <5> on input line 49.
>
> Overfull \hbox (153.6943pt too wide) in paragraph at lines 51--52
> [][] 
>  []
>
> [1
>
> ] (./jpicedt33213.aux) ) 
> Here is how much of TeX's memory you used:
>  349 strings out of 94501
>  3841 string characters out of 1175811
>  126669 words of memory out of 1000000
>  3596 multiletter control sequences out of 10000+50000
>  3640 words of font info for 14 fonts, out of 500000 for 2000
>  580 hyphenation exceptions out of 8191
>  23i,5n,19p,143b,142s stack positions out of 1500i,500n,5000p,200000b,5000s
>
> Output written on jpicedt33213.dvi (1 page, 82008 bytes).
>   





Plus d'informations sur la liste de diffusion ubuntu-fr