samiel” post=65082Ahhhh, beati i ciechi poiché di essi…
In effetti la segnalazione più ampia ottenuta col comando
suggeritomi da OldClaudio mi ha fatto individuare l’errore.Visto che l’appetito vien mangiando…
Qui c’è una ridefinizione di alcuni comandi
per produrre delle schede numerate e ombreggiate:
`\newcommand{\changesections}{%
\titleformat{\subsection}
{\relax}
{\MakeTextLowercase{\thesubsection}}
{1em}
{\large\ttfamily\textbf}%
\titleformat{\subsubsection}
{\relax}
{\MakeTextLowercase{\thesubsubsection}}
{1em}
{\normalsize\ttfamily}%
}
\newcommand{\cardsection}[1]{%
\phantomsection
\addcontentsline{toc}{subsubsection}{\ttfamily\small #1} %
\subsubsection*{#1}}
\newcounter{card}
\newenvironment{card}[1]
{\changesections\begin{shaded}\stepcounter{card}%
\phantomsection
\addcontentsline{toc}{subsection}
{\ttfamily\small Scheda n.\texorpdfstring{\ }{ }%
\arabic{card} – #1}
\subsection*{\ttfamily Scheda n.~\arabic{card}\\#1}}
{\end{shaded}}`
e l’errore che spunta è:
`! Undefined control sequence.
\changesections ->\titleformat
{\subsection } {\relax } {\MakeTextLowercase …\card #1->\changesections
\begin {shaded}\stepcounter {card}\phantomsection …
l.29 \begin{card}{Condivisioni con BitTorrent}`
Ce cosa c’è qui di incompatibile con memoir?M.
\titleformat è un comando del pacchetto titlesec che è incompatibile con memoir. La classe ha i suoi metodi per modificare l’aspetto dei titoli.
Ciao
Enrico