Graphics, Figures & Tables! LaTeX Error: File `tkz-obj-eu-draw-triangles.tex' not found.

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
caliban2fr
Posts: 2
Joined: Sun Sep 25, 2022 2:06 pm

! LaTeX Error: File `tkz-obj-eu-draw-triangles.tex' not found.

Post by caliban2fr »

Hi all,
I just install Miktek and Texmaker on a new PC, and when i made a test to be sure all was working, I had the message quoted in the titel :
! LaTeX Error: File `tkz-obj-eu-draw-triangles.tex' not found.
On my last computer, I had a ancient version of Miktex and of Texmaker, and all was fine. I updated them, and i had the same error message on the same file, but on my ancient PC.
It seems that the new version of tikz is make troubles, but I can't find where.

The part of the tek-file where the error appeared is :
\newcommand{\ecdd}{
\begin{tikzpicture}
%Style des noeuds : 3cm de large, 1cm de haut, angles arrondis, fond gris cl, texte en gras
\tikzstyle{noeud}=[minimum width=3cm,minimum height=1cm,
rectangle,rounded corners=5pt,draw,
fill=gray!10,text=black,font=\bfseries]
\node[noeud] (H) at (0,0) {Société};
\node[noeud] (C) at (0,-1.5) {École/Pédag1};
\node[noeud] (S) at (0,-3) {Discipline};
\node[noeud] (E) at (0,-4.5) {Domaine};
\node[noeud] (P) at (0,-6) {Secteur};
\node[noeud] (D) at (0,-7.5) {Thème};
\node[noeud] (F) at (0,-9) {Sujet};
%Flèches vert le bas :
\draw[->][line width=2pt] (-0.5,-0.5) -- (-0.5,-1);
\draw[->][line width=2pt] (-0.5,-2) -- (-0.5,-2.5);
\draw[->][line width=2pt] (-0.5,-3.5) -- (-0.5,-4);
\draw[->][line width=2pt] (-0.5,-5) -- (-0.5,-5.5);
\draw[->][line width=2pt] (-0.5,-6.5) -- (-0.5,-7);
\draw[->][line width=2pt] (-0.5,-8) -- (-0.5,-8.5);
%Flèches vers le haut :
\draw[<-][line width=2pt] (0.5,-0.5) -- (0.5,-1);
\draw[<-][line width=2pt] (0.5,-2) -- (0.5,-2.5);
\draw[<-][line width=2pt] (0.5,-3.5) -- (0.5,-4);
\draw[<-][line width=2pt] (0.5,-5) -- (0.5,-5.5);
\draw[<-][line width=2pt] (0.5,-6.5) -- (0.5,-7);
\draw[<-][line width=2pt] (0.5,-8) -- (0.5,-8.5);
\end{tikzpicture}}

It seems that the objetc which make the little triangle at the end of the arrows is not recognized.
What can I do to solve this ?

Thank you for any answer,

Caliban

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Bartman
Posts: 369
Joined: Fri Jan 03, 2020 2:39 pm

! LaTeX Error: File `tkz-obj-eu-draw-triangles.tex' not found.

Post by Bartman »

I can't see any reason in your source code snippet that could generate the quoted error message.

Apart from that I'd like to suggest you the following changes to your TikZ code.

Code: Select all

\documentclass[tikz, border=5pt]{standalone}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[french]{babel}

\usetikzlibrary{matrix}

\newcommand{\ecdd}{% Line endings are treated as spaces.
\begin{tikzpicture}[
% Style des noeuds: 
% 3cm de large, 1cm de haut, angles arrondis, fond gris cl, texte en gras
  noeud/.style={
    minimum width=3cm,
    minimum height=\pgfkeysvalueof{/pgf/minimum width}/3,
%    rectangle,% default shape of a node
    rounded corners=5pt,
    draw,
    fill=gray!10,
    font=\bfseries
  }
]
\matrix [
  matrix of nodes, 
  nodes=noeud,
  row sep=5mm
] (m) {
  Société\\
  École/Pédag1\\
  Discipline\\
  Domaine\\
  Secteur\\
  Thème\\
  Sujet\\
};

% Down and up arrows:
\path 
  (m-1-1.west) -- coordinate [pos=1/3] (shifted west) (m-1-1.east)
  (m-1-1.west) -- coordinate [pos=2/3] (shifted east) (m-1-1.east)
;

\foreach \row [
  remember=\row as \rowlast (initially 1)
] in {2,...,7}{
  \path [->,line width=2pt] 
    (m-\rowlast-1.south-|shifted west) edge 
    (m-\row-1.north-|shifted west)
    (m-\row-1.north-|shifted east) edge 
    (m-\rowlast-1.south-|shifted east)
  ;
}
\end{tikzpicture}}

\begin{document}
\ecdd
\end{document}
Further information on the comment: Line endings are treated as spaces.
caliban2fr
Posts: 2
Joined: Sun Sep 25, 2022 2:06 pm

! LaTeX Error: File `tkz-obj-eu-draw-triangles.tex' not found.

Post by caliban2fr »

Thank you for your post Bartman.
I don't understand the matrix particularities, but i will investigate them.
Post Reply