Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 23/06/2016, à 10:50

GJL

compilation LaTeX avec Gedit ne fonctionne pas [Résolu]

Bonjour
j'utilise gedit 3.10 avec lequel je ne parviens pas à compiler un .tex alors que le même document est compilé sans problème après rédaction dans TeXmaker.

ci-joint un exemple bâti à partir des deux fichiers aux contenus identiques. L'un (séquence.tex) ne passe pas avec gedit (équipé du plugin latex) ma passe avecTeXmaker.
L'autre passe avec gedit et TeXmaker.


sequence.tex

\documentclass[a5paper]{book}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[frenchb]{babel}
\usepackage[colorlinks]{hyperref}
\usepackage[table,svgnames]{xcolor}
\usepackage{graphicx}
\usepackage{amsmath}
\definecolor{gristresclair}{gray}{.95}
\definecolor{jauneclair}{rgb}{255,255,107}
\definecolor{olive1}{rgb}{202,255,112}

\title{Séquences de Mathématiques}
\author{}
\date{}
\begin{document}
\maketitle
\tableofcontents
\part{Seconde Professionnelle}
\chapter{Mathématiques}
\newpage
\section{Représentations}
Blablabla
\end{document}

exemple.tex

\documentclass[a5paper]{book}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[frenchb]{babel}
\usepackage[colorlinks]{hyperref}
\usepackage[table,svgnames]{xcolor}
\usepackage{graphicx}
\usepackage{amsmath}
\definecolor{gristresclair}{gray}{.95}
\definecolor{jauneclair}{rgb}{255,255,107}
\definecolor{olive1}{rgb}{202,255,112}

\title{Séquences en Mathématiques}
\author{}
\date{}
\begin{document}
\maketitle
\tableofcontents
\part{Première Partie}
\chapter{Mathématiques}
Essai avé des accents car il semblerait que le pb vienne de là
\newpage
\section{et là aussi - Représentations}
\end{document}

Je joins également le début du log obtenu avec  gedit car il me semble qu'il indique un pb  d'encodage ce qui n'est pas le cas avec TeXmaker.


(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2008/03/30 v1.1d Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15

(/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def
File: utf8.def 2008/04/05 v1.1m UTF-8 support for inputenc
Now handling font encoding OML ...
... no UTF-8 mapping file for font encoding OML
Now handling font encoding T1 ...
... processing UTF-8 mapping file for font encoding T1



Merci d'avance pour votre aide.

Dernière modification par GJL (Le 26/06/2016, à 14:20)

Hors ligne

#2 Le 23/06/2016, à 11:37

gigiair

Re : compilation LaTeX avec Gedit ne fonctionne pas [Résolu]

Voilà une affaire bien étrange. Ni gedit ni TeXMaker n'ont la moindre intitiative dans le processus de compilation autre que d'envoyer une commande au système qui l'exécute. Peut-être que cette commande n'est pas la bonne.
Peux-tu poster le log en entier ?


--
JJR.

Hors ligne

#3 Le 23/06/2016, à 11:43

grigouille

Re : compilation LaTeX avec Gedit ne fonctionne pas [Résolu]

Que dit

latex sequence.tex && latex sequence.tex

Debian (xfce) 12
HP LaserJet M1132 MFP

Hors ligne

#4 Le 25/06/2016, à 13:47

GJL

Re : compilation LaTeX avec Gedit ne fonctionne pas [Résolu]

This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian) (format=pdflatex 2016.6.21)  25 JUN 2016 13:46
entering extended mode
 \write18 enabled.
 Source specials enabled.
 %&-line parsing enabled.
**sequence_bacpro.tex
(./sequence_bacpro.tex
LaTeX2e <2011/06/27>
Babel <3.9h> and hyphenation patterns for 78 languages loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/book.cls
Document Class: book 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/bk10.clo
File: bk10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@chapter=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2008/03/30 v1.1d Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15

(/usr/share/texlive/texmf-dist/tex/latex/base/utf8.def
File: utf8.def 2008/04/05 v1.1m UTF-8 support for inputenc
Now handling font encoding OML ...
... no UTF-8 mapping file for font encoding OML
Now handling font encoding T1 ...
... processing UTF-8 mapping file for font encoding T1

(/usr/share/texlive/texmf-dist/tex/latex/base/t1enc.dfu
File: t1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
   defining Unicode char U+00A1 (decimal 161)
   defining Unicode char U+00A3 (decimal 163)
   defining Unicode char U+00AB (decimal 171)
   defining Unicode char U+00BB (decimal 187)
   defining Unicode char U+00BF (decimal 191)
   defining Unicode char U+00C0 (decimal 192)
   defining Unicode char U+00C1 (decimal 193)
   defining Unicode char U+00C2 (decimal 194)
   defining Unicode char U+00C3 (decimal 195)
   defining Unicode char U+00C4 (decimal 196)
   defining Unicode char U+00C5 (decimal 197)
   defining Unicode char U+00C6 (decimal 198)
   defining Unicode char U+00C7 (decimal 199)
   defining Unicode char U+00C8 (decimal 200)
   defining Unicode char U+00C9 (decimal 201)
   defining Unicode char U+00CA (decimal 202)
   defining Unicode char U+00CB (decimal 203)
   defining Unicode char U+00CC (decimal 204)
   defining Unicode char U+00CD (decimal 205)
   defining Unicode char U+00CE (decimal 206)
   defining Unicode char U+00CF (decimal 207)
   defining Unicode char U+00D0 (decimal 208)
   defining Unicode char U+00D1 (decimal 209)
   defining Unicode char U+00D2 (decimal 210)
   defining Unicode char U+00D3 (decimal 211)
   defining Unicode char U+00D4 (decimal 212)
   defining Unicode char U+00D5 (decimal 213)
   defining Unicode char U+00D6 (decimal 214)
   defining Unicode char U+00D8 (decimal 216)
   defining Unicode char U+00D9 (decimal 217)
   defining Unicode char U+00DA (decimal 218)
   defining Unicode char U+00DB (decimal 219)
   defining Unicode char U+00DC (decimal 220)
   defining Unicode char U+00DD (decimal 221)
   defining Unicode char U+00DE (decimal 222)
   defining Unicode char U+00DF (decimal 223)
   defining Unicode char U+00E0 (decimal 224)
   defining Unicode char U+00E1 (decimal 225)
   defining Unicode char U+00E2 (decimal 226)
   defining Unicode char U+00E3 (decimal 227)
   defining Unicode char U+00E4 (decimal 228)
   defining Unicode char U+00E5 (decimal 229)
   defining Unicode char U+00E6 (decimal 230)
   defining Unicode char U+00E7 (decimal 231)
   defining Unicode char U+00E8 (decimal 232)
   defining Unicode char U+00E9 (decimal 233)
   defining Unicode char U+00EA (decimal 234)
   defining Unicode char U+00EB (decimal 235)
   defining Unicode char U+00EC (decimal 236)
   defining Unicode char U+00ED (decimal 237)
   defining Unicode char U+00EE (decimal 238)
   defining Unicode char U+00EF (decimal 239)
   defining Unicode char U+00F0 (decimal 240)
   defining Unicode char U+00F1 (decimal 241)
   defining Unicode char U+00F2 (decimal 242)
   defining Unicode char U+00F3 (decimal 243)
   defining Unicode char U+00F4 (decimal 244)
   defining Unicode char U+00F5 (decimal 245)
   defining Unicode char U+00F6 (decimal 246)
   defining Unicode char U+00F8 (decimal 248)
   defining Unicode char U+00F9 (decimal 249)
   defining Unicode char U+00FA (decimal 250)
   defining Unicode char U+00FB (decimal 251)
   defining Unicode char U+00FC (decimal 252)
   defining Unicode char U+00FD (decimal 253)
   defining Unicode char U+00FE (decimal 254)
   defining Unicode char U+00FF (decimal 255)
   defining Unicode char U+0102 (decimal 258)
   defining Unicode char U+0103 (decimal 259)
   defining Unicode char U+0104 (decimal 260)
   defining Unicode char U+0105 (decimal 261)
   defining Unicode char U+0106 (decimal 262)
   defining Unicode char U+0107 (decimal 263)
   defining Unicode char U+010C (decimal 268)
   defining Unicode char U+010D (decimal 269)
   defining Unicode char U+010E (decimal 270)
   defining Unicode char U+010F (decimal 271)
   defining Unicode char U+0110 (decimal 272)
   defining Unicode char U+0111 (decimal 273)
   defining Unicode char U+0118 (decimal 280)
   defining Unicode char U+0119 (decimal 281)
   defining Unicode char U+011A (decimal 282)
   defining Unicode char U+011B (decimal 283)
   defining Unicode char U+011E (decimal 286)
   defining Unicode char U+011F (decimal 287)
   defining Unicode char U+0130 (decimal 304)
   defining Unicode char U+0131 (decimal 305)
   defining Unicode char U+0132 (decimal 306)
   defining Unicode char U+0133 (decimal 307)
   defining Unicode char U+0139 (decimal 313)
   defining Unicode char U+013A (decimal 314)
   defining Unicode char U+013D (decimal 317)
   defining Unicode char U+013E (decimal 318)
   defining Unicode char U+0141 (decimal 321)
   defining Unicode char U+0142 (decimal 322)
   defining Unicode char U+0143 (decimal 323)
   defining Unicode char U+0144 (decimal 324)
   defining Unicode char U+0147 (decimal 327)
   defining Unicode char U+0148 (decimal 328)
   defining Unicode char U+014A (decimal 330)
   defining Unicode char U+014B (decimal 331)
   defining Unicode char U+0150 (decimal 336)
   defining Unicode char U+0151 (decimal 337)
   defining Unicode char U+0152 (decimal 338)
   defining Unicode char U+0153 (decimal 339)
   defining Unicode char U+0154 (decimal 340)
   defining Unicode char U+0155 (decimal 341)
   defining Unicode char U+0158 (decimal 344)
   defining Unicode char U+0159 (decimal 345)
   defining Unicode char U+015A (decimal 346)
   defining Unicode char U+015B (decimal 347)
   defining Unicode char U+015E (decimal 350)
   defining Unicode char U+015F (decimal 351)
   defining Unicode char U+0160 (decimal 352)
   defining Unicode char U+0161 (decimal 353)
   defining Unicode char U+0162 (decimal 354)
   defining Unicode char U+0163 (decimal 355)
   defining Unicode char U+0164 (decimal 356)
   defining Unicode char U+0165 (decimal 357)
   defining Unicode char U+016E (decimal 366)
   defining Unicode char U+016F (decimal 367)
   defining Unicode char U+0170 (decimal 368)
   defining Unicode char U+0171 (decimal 369)
   defining Unicode char U+0178 (decimal 376)
   defining Unicode char U+0179 (decimal 377)
   defining Unicode char U+017A (decimal 378)
   defining Unicode char U+017B (decimal 379)
   defining Unicode char U+017C (decimal 380)
   defining Unicode char U+017D (decimal 381)
   defining Unicode char U+017E (decimal 382)
   defining Unicode char U+200C (decimal 8204)
   defining Unicode char U+2013 (decimal 8211)
   defining Unicode char U+2014 (decimal 8212)
   defining Unicode char U+2018 (decimal 8216)
   defining Unicode char U+2019 (decimal 8217)
   defining Unicode char U+201A (decimal 8218)
   defining Unicode char U+201C (decimal 8220)
   defining Unicode char U+201D (decimal 8221)
   defining Unicode char U+201E (decimal 8222)
   defining Unicode char U+2030 (decimal 8240)
   defining Unicode char U+2031 (decimal 8241)
   defining Unicode char U+2039 (decimal 8249)
   defining Unicode char U+203A (decimal 8250)
   defining Unicode char U+2423 (decimal 9251)
)
Now handling font encoding OT1 ...
... processing UTF-8 mapping file for font encoding OT1

(/usr/share/texlive/texmf-dist/tex/latex/base/ot1enc.dfu
File: ot1enc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
   defining Unicode char U+00A1 (decimal 161)
   defining Unicode char U+00A3 (decimal 163)
   defining Unicode char U+00B8 (decimal 184)
   defining Unicode char U+00BF (decimal 191)
   defining Unicode char U+00C5 (decimal 197)
   defining Unicode char U+00C6 (decimal 198)
   defining Unicode char U+00D8 (decimal 216)
   defining Unicode char U+00DF (decimal 223)
   defining Unicode char U+00E6 (decimal 230)
   defining Unicode char U+00EC (decimal 236)
   defining Unicode char U+00ED (decimal 237)
   defining Unicode char U+00EE (decimal 238)
   defining Unicode char U+00EF (decimal 239)
   defining Unicode char U+00F8 (decimal 248)
   defining Unicode char U+0131 (decimal 305)
   defining Unicode char U+0141 (decimal 321)
   defining Unicode char U+0142 (decimal 322)
   defining Unicode char U+0152 (decimal 338)
   defining Unicode char U+0153 (decimal 339)
   defining Unicode char U+2013 (decimal 8211)
   defining Unicode char U+2014 (decimal 8212)
   defining Unicode char U+2018 (decimal 8216)
   defining Unicode char U+2019 (decimal 8217)
   defining Unicode char U+201C (decimal 8220)
   defining Unicode char U+201D (decimal 8221)
)
Now handling font encoding OMS ...
... processing UTF-8 mapping file for font encoding OMS

(/usr/share/texlive/texmf-dist/tex/latex/base/omsenc.dfu
File: omsenc.dfu 2008/04/05 v1.1m UTF-8 support for inputenc
   defining Unicode char U+00A7 (decimal 167)
   defining Unicode char U+00B6 (decimal 182)
   defining Unicode char U+00B7 (decimal 183)
   defining Unicode char U+2020 (decimal 8224)
   defining Unicode char U+2021 (decimal 8225)
   defining Unicode char U+2022 (decimal 8226)
)
Now handling font encoding OMX ...
... no UTF-8 mapping file for font encoding OMX
Now handling font encoding U ...
... no UTF-8 mapping file for font encoding U
   defining Unicode char U+00A9 (decimal 169)
   defining Unicode char U+00AA (decimal 170)
   defining Unicode char U+00AE (decimal 174)
   defining Unicode char U+00BA (decimal 186)
   defining Unicode char U+02C6 (decimal 710)
   defining Unicode char U+02DC (decimal 732)
   defining Unicode char U+200C (decimal 8204)
   defining Unicode char U+2026 (decimal 8230)
   defining Unicode char U+2122 (decimal 8482)
   defining Unicode char U+2423 (decimal 9251)
))
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

(/usr/share/texlive/texmf-dist/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.
))
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty
Package: babel 2013/12/03 3.9h The Babel package

(/usr/share/texlive/texmf-dist/tex/generic/babel-french/frenchb.ldf
Language: frenchb 2013/12/30 v2.6g French support from the babel system

(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.def
File: babel.def 2013/12/03 3.9h Babel common definitions
\babel@savecnt=\count88
\U@D=\dimen103
)
\FB@interchartokenstateORI=\count89
Package babel Info: Making : an active character on input line 244.
Package babel Info: Making ; an active character on input line 245.
Package babel Info: Making ! an active character on input line 246.
Package babel Info: Making ? an active character on input line 247.
\FB@Mht=\dimen104
\std@mcc=\count90
\dec@mcc=\count91
\listindentFB=\skip43
\labelwidthFB=\skip44
\leftmarginFB=\skip45
\parindentFFN=\dimen105
))
(/usr/share/texlive/texmf-dist/tex/latex/carlisle/scalefnt.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks16
)
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
Package: hyperref 2012/11/06 v6.83m Hypertext links for LaTeX

(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
Package: hobsub-hyperref 2012/05/28 v1.13 Bundle oberdiek, subset hyperref (HO)


(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty
Package: hobsub-generic 2012/05/28 v1.13 Bundle oberdiek, subset generic (HO)
Package: hobsub 2012/05/28 v1.13 Construct package bundles (HO)
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
Package: ifvtex 2010/03/01 v1.5 Detect VTeX and its facilities (HO)
Package ifvtex Info: VTeX not detected.
Package: intcalc 2007/09/27 v1.1 Expandable calculations with integers (HO)
Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in PDF mode is detected.
Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
Package etexcmds Info: Could not find \expanded.
(etexcmds)             That can mean that you are not using pdfTeX 1.50 or
(etexcmds)             that some package has redefined \expanded.
(etexcmds)             In the latter case, load this package earlier.
Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)
Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO)
Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
Package: pdfescape 2011/11/25 v1.13 Implements pdfTeX's escape features (HO)
Package: bigintcalc 2012/04/08 v1.3 Expandable calculations on big integers (HO
)
Package: bitset 2011/01/30 v1.1 Handle bit-vector datatype (HO)
Package: uniquecounter 2011/01/30 v1.2 Provide unlimited unique counter (HO)
)
Package hobsub Info: Skipping package `hobsub' (already loaded).
Package: letltxmacro 2010/09/02 v1.4 Let assignment for LaTeX macros (HO)
Package: hopatch 2012/05/28 v1.2 Wrapper for package hooks (HO)
Package: xcolor-patch 2011/01/30 xcolor patch
Package: atveryend 2011/06/30 v1.8 Hooks at the very end of document (HO)
Package atveryend Info: \enddocument detected (standard20110627).
Package: atbegshi 2011/10/05 v1.16 At begin shipout hook (HO)
Package: refcount 2011/10/16 v3.4 Data extraction from label references (HO)
Package: hycolor 2011/01/30 v1.7 Color options for hyperref/bookmark (HO)
)
(/usr/share/texlive/texmf-dist/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/auxhook.sty
Package: auxhook 2011/03/04 v1.3 Hooks for auxiliary files (HO)
)
(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO)
)
\@linkdim=\dimen106
\Hy@linkcounter=\count92
\Hy@pagecounter=\count93

(/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def
File: pd1enc.def 2012/11/06 v6.83m Hyperref: PDFDocEncoding definition (HO)
Now handling font encoding PD1 ...
... no UTF-8 mapping file for font encoding PD1
)
\Hy@SavedSpaceFactor=\count94

(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/hyperref.cfg
File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
)
Package hyperref Info: Option `colorlinks' set `true' on input line 4319.
Package hyperref Info: Hyper figures OFF on input line 4443.
Package hyperref Info: Link nesting OFF on input line 4448.
Package hyperref Info: Hyper index ON on input line 4451.
Package hyperref Info: Plain pages OFF on input line 4458.
Package hyperref Info: Backreferencing OFF on input line 4463.
Package hyperref Info: Implicit mode ON; LaTeX internals redefined.
Package hyperref Info: Bookmarks ON on input line 4688.
\c@Hy@tempcnt=\count95

(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty
\Urlmuskip=\muskip10
Package: url 2013/09/16  ver 3.4  Verb mode for urls, etc.
)
LaTeX Info: Redefining \url on input line 5041.
\XeTeXLinkMargin=\dimen107
\Fld@menulength=\count96
\Field@Width=\dimen108
\Fld@charsize=\dimen109
Package hyperref Info: Hyper figures OFF on input line 6295.
Package hyperref Info: Link nesting OFF on input line 6300.
Package hyperref Info: Hyper index ON on input line 6303.
Package hyperref Info: backreferencing OFF on input line 6310.
Package hyperref Info: Link coloring ON on input line 6313.
Package hyperref Info: Link coloring with OCG OFF on input line 6320.
Package hyperref Info: PDF/A mode OFF on input line 6325.
LaTeX Info: Redefining \ref on input line 6365.
LaTeX Info: Redefining \pageref on input line 6369.
\Hy@abspage=\count97
\c@Item=\count98
\c@Hfootnote=\count99
)

Package hyperref Message: Driver (autodetected): hpdftex.

(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def
File: hpdftex.def 2012/11/06 v6.83m Hyperref driver for pdfTeX
\Fld@listcount=\count100
\c@bookmark@seq@number=\count101

(/usr/share/texlive/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
Package: rerunfilecheck 2011/04/15 v1.7 Rerun checks for auxiliary files (HO)
Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 2
82.
)
\Hy@SectionHShift=\skip46
)
(/usr/share/texmf/tex/latex/xcolor/xcolor.sty
Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)

(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/color.cfg
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package xcolor Info: Driver file: pdftex.def on input line 225.

(/usr/share/texlive/texmf-dist/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
\Gread@gobject=\count102
)
(/usr/share/texlive/texmf-dist/tex/latex/colortbl/colortbl.sty
Package: colortbl 2012/02/13 v1.0a Color table columns (DPC)

(/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty
Package: array 2008/09/09 v2.4c Tabular extension package (FMi)
\col@sep=\dimen110
\extrarowheight=\dimen111
\NC@list=\toks17
\extratabsurround=\skip47
\backup@length=\skip48
)
\everycr=\toks18
\minrowclearance=\skip49
)
\rownum=\count103
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337.
Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1341.
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.

(/usr/share/texmf/tex/latex/xcolor/svgnam.def
File: svgnam.def 2007/01/21 v2.11 Predefined colors according to SVG 1.1 (UK)
))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)

(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/graphics.cfg
File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
)
Package graphics Info: Driver file: pdftex.def on input line 91.
)
\Gin@req@height=\dimen112
\Gin@req@width=\dimen113
)
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2013/01/14 v2.14 AMS math features
\@mathmargin=\skip50

For additional information on amsmath, use the `?' option.
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01

(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks19
\ex@=\dimen114
))
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen115
)
(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf@bad=\count104
LaTeX Info: Redefining \frac on input line 210.
\uproot@=\count105
\leftroot@=\count106
LaTeX Info: Redefining \overline on input line 306.
\clas

Hors ligne

#5 Le 25/06/2016, à 14:23

GJL

Re : compilation LaTeX avec Gedit ne fonctionne pas [Résolu]

grigouille a écrit :

Que dit

latex sequence.tex && latex sequence.tex

Dans gedit la compilation par défaut utilise pdflatex.

j'avais  essayé également avec latex (en commentant les lignes qui font appel à des png) comme tu le suggères Gribouille et ça fonctionne bien.

Voyant cela j'ai également essayé en pdflatex toujours depuis le terminal de gedit et ça marche aussi.

Donc j'ai pensé que ça venait de la commande de compilation par pdflatex incluse dans gedit.
J'ai donc remplacé une partie de son code par celui de la commande qui est utilisée par TeXmaker

#!/bin/sh
# [Gedit Tool]
# Comment=Compilation pdflatex
# Name=Pdflatex
# Shortcut=F6
# Applicability=all
# Output=output-panel
# Input=nothing
# Save-files=document


#--------------------------------------------------------------------------
#fonction de visualisation des images
visualisation()
{
   evince "$1.pdf" &
}
#--------------------------------------------------------------------------


#nomfichier : nom du fichier courant
nomfichier="$GEDIT_CURRENT_DOCUMENT_NAME"

#base : nom du fichier sans extension
base=${nomfichier%.*} 

#ext : extension du fichier 
ext=`echo $nomfichier |cut -f2 -d.`

# test
#-------------------------------------- si fichier tex, compilation
if test $ext = "tex" ; then 
   pdflatex -synctex=1 -interaction=nonstopmode $nomfichier && visualisation $base || gedit +"$(grep -n '^l\.'  "$base.log"|sed -n '1p' | cut -d':' -f1)" "$base.log"
#-------------------------------------- si fichier log, retour au fichier tex
elif test $ext = "log" ; then 
   gedit +"$(grep  '^l\.'  "$base.log"|sed -n '1p' | cut -d' ' -f1 | sed 's/.\{2\}//')" "$base.tex"
else
   echo "F4 nécessite un fichier tex ou log !"
fi

la commande d'origine dans gedit est la suivante :

#!/bin/sh
# [Gedit Tool]
# Comment=Compilation pdflatex
# Name=Pdflatex
# Shortcut=F4
# Applicability=all
# Output=output-panel
# Input=nothing
# Save-files=document


#--------------------------------------------------------------------------
#fonction de visualisation des images
visualisation()
{
   evince "$1.pdf" &
}
#--------------------------------------------------------------------------


#nomfichier : nom du fichier courant
nomfichier="$GEDIT_CURRENT_DOCUMENT_NAME"

#base : nom du fichier sans extension
base=${nomfichier%.*} 

#ext : extension du fichier 
ext=`echo $nomfichier |cut -f2 -d.`

# test
#-------------------------------------- si fichier tex, compilation
if test $ext = "tex" ; then 
   pdflatex -shell-escape -src  -interaction=nonstopmode $nomfichier && visualisation $base || gedit +"$(grep -n '^l\.'  "$base.log"|sed -n '1p' | cut -d':' -f1)" "$base.log"
#-------------------------------------- si fichier log, retour au fichier tex
elif test $ext = "log" ; then 
   gedit +"$(grep  '^l\.'  "$base.log"|sed -n '1p' | cut -d' ' -f1 | sed 's/.\{2\}//')" "$base.tex"
else
   echo "F4 nécessite un fichier tex ou log !"
fi

Donc peu de différence mais un truc m'échappe sûrement parceque ma commande "bricolée" ne renvoie rien dans le panneau inférieur de l'écran gedit

Hors ligne

#6 Le 26/06/2016, à 09:23

gigiair

Re : compilation LaTeX avec Gedit ne fonctionne pas [Résolu]

Ton extension de gedit paraît buggée. La façon d'extraire l'extension du nom de fichier est pour le moins rustique. Je en suis pas assez connaisseur en bash et je n'utilise pas gedit donc je n'ai pas envie de m'y atteler. J'ai été incapable de trouver ton script sur le web, J'ai trouvé un LaTeXPlugin-0.2.tar.gz mais les scripts sont en python et en plus j'ai été incapable de les installer.
Si tu veux utiliser gedit, le plus simple est d'envoyer directement les commandes de compilation « à la main » à travers Outils/external tools/lancer une commande, ou en ouvrant une console.

La cause de l'erreur est forcément dans le fichier log, il faudrait faire un diff entre le log du fichier qui compile et celui qui ne compile pas.


--
JJR.

Hors ligne

#7 Le 26/06/2016, à 14:19

GJL

Re : compilation LaTeX avec Gedit ne fonctionne pas [Résolu]

Merci gigiair

Après une recherche portant sur le plugin j'ai trouvé ceci très intéressant.
J'ai modifié un tout petit peu le code fourni

#!/bin/sh

filename=$GEDIT_CURRENT_DOCUMENT_NAME
shortname=`echo $filename | sed 's/\(.*\)\.tex$/\1/'`

#latex -interaction batchmode -src $filename
pdflatex -interaction batchmode -src $filename
bibtex $shortname
makeindex $shortname
#latex -interaction batchmode -src $filename
pdflatex -interaction batchmode -src $filename
#latex -synctex=1 -interaction batchmode -src $filename
pdflatex -synctex=1 -interaction batchmode -src $filename
#dvips -t a4 $shortname.dvi
#ps2pdf -sPAPERSIZE=a4 -dOptimize=true -dEmbedAllFonts=true $shortname.ps
evince $shortname.pdf

et ça marche.

Donc c'est effectivement le code qui est en cause. Je ne suis pas spécialiste non plus mais ça fonctionne avec semble-t-il un bout de code plus propre

Encore merci

Hors ligne

#8 Le 26/06/2016, à 15:02

gigiair

Re : compilation LaTeX avec Gedit ne fonctionne pas [Résolu]

Je suis content pour toi que ça marche.
personnellement j'utilise AUCTeX/Emacs depuis plus de dix ans et j'en suis particulièrement satisfait. La liste de diffusion est très active et les problèmes ne restent jamais très longtemps sans solution, donc je n'ai pas vraiment envie de faire marcher le plugin gedit qui paraît nettement moins bien suivi.


--
JJR.

Hors ligne

#9 Le 28/06/2016, à 15:32

GJL

Re : compilation LaTeX avec Gedit ne fonctionne pas [Résolu]

Pour ceux que ça intéresse

le code initial revu et corrigé :

#!/bin/sh
# [Gedit Tool]
# Comment=Compilation pdflatex
# Name=Pdflatex
# Shortcut=F4
# Applicability=all
# Output=output-panel
# Input=nothing
# Save-files=document


#--------------------------------------------------------------------------
#fonction de visualisation des images
visualisation()
{
   evince "$1.pdf" &
}
#--------------------------------------------------------------------------


#nomfichier : nom du fichier courant
nomfichier="$GEDIT_CURRENT_DOCUMENT_NAME"

#base : nom du fichier sans extension
base=${nomfichier%%.*} 

#ext : extension du fichier 
ext=${nomfichier#*.}

# test
#-------------------------------------- si fichier tex, compilation
if test $ext = "tex" ; then 
   pdflatex -shell-escape -src  -interaction=batchmode $nomfichier && visualisation $base || gedit +"$(grep -n '^l\.'  "$base.log"|sed -n '1p' | cut -d':' -f1)" "$base.log"
#-------------------------------------- si fichier log, retour au fichier tex
elif test $ext = "log" ; then 
   gedit +"$(grep  '^l\.'  "$base.log"|sed -n '1p' | cut -d' ' -f1 | sed 's/.\{2\}//')" "$base.tex"
else
   echo "F4 nécessite un fichier tex ou log !"
fi

et là ça fonctionne vite et bien

Hors ligne