Lo del indice padre
diff --git a/apuntsfme.dtx b/apuntsfme.dtx
index 31ebe48..68ba730 100644
--- a/apuntsfme.dtx
+++ b/apuntsfme.dtx
@@ -412,7 +412,7 @@
 {\bfseries}% Thm head font
 {}%        Punctuation after thm head
 {5pt plus 1pt minus 1pt}% Space after thm head: \newline = linebreak
-{\index{#3((defi:#2))}\label{defi:#2}\thmname{#1}\thmnumber{ #2}.}% Thm head specko
+{\idx{#3}\thmname{#1}\thmnumber{ #2}.}% Thm head specko
 %    \end{macrocode}
 %
 % \subsection{Options}