Credo che più “minimo” di così non si possa: mi scuso per la lunghezza.
`
\documentclass[11pt,draft,a4paper]{scrbook}
\usepackage{etex}
\usepackage{mio}
\usepackage{makeidx}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage[italian]{babel}
\usepackage[dvips]{epsfig}
\usepackage{bm}
\usepackage[mathscr]{eucal}
\usepackage{fancyhdr}
\usepackage[italian]{varioref}
\usepackage{pifont}
\usepackage{graphics}
\usepackage{url,multicol}
\usepackage{indentfirst}
\usepackage{shapepar}
\usepackage{guit}
\usepackage{empheq,xcolor,amsmath}
\usepackage{wrapfig}
\usepackage{colortbl,booktabs,chess}
\usepackage{epigraph,layout}
\usepackage{rotating}
\usepackage{musixtex}
%\usepackage{showidx}
%\usepackage{showkeys}
%\definecolor{labelkey}{rgb}{1,0,0}
%testatine
\pagestyle{fancyplain}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\lhead[\fancyplain{}{\bfseries\thepage}]%
{\fancyplain{}{\bfseries\small\rightmark}}
\rhead[\fancyplain{}{\bfseries\small\leftmark}]%
{\fancyplain{}{\bfseries\thepage}}
\cfoot{}
%Per indice analitico
\let\orgtheindex\theindex
\let\orgendtheindex\endtheindex
\def\theindex{%
\def\twocolumn{\begin{multicols}{2}}%
\def\onecolumn{}%
\clearpage
\orgtheindex
}
\def\endtheindex{%
\end{multicols}%
\orgendtheindex
}
%
\newcolumntype{G}{>{\columncolor[gray]{0.8}}c}
%\includeonly{prefa,intro,appendice}
\makeindex
%Fine preambolo
\begin{document}
\chapter{Appendice}
Per gli appassionati di scacchi
\board{B* * *KR}
{*r* * *B}
{ * * *R*}
{* b p p }
{ *P*k*P*}
{*p* P *p}
{ P *P* P}
{* *N*N* }
\[\showboard\]
Per chi ama la musica
\begin{music}
\startextract
\Notes\qu c\cu d\cu e\ccu f\ccu g\ccu h\ccl i\enotes\bar
\Notes\cca j\cca i\cca g\ca f\ca d\qa c\enotes
\endextract
\end{music}
\end{document}
`
se compilo così come è, si ferma alla riga 74
con questo messaggio d’errore:
! You can’t use `\char”64′ after \advance.
\@nextitem …fi \fi \fi \fi \fi \fi \advance \@c
\@ne
l.74 {* *N*N* }
che si riferisce a testo prima [\i] del \begin{music};
se commento solo \usepackage{etex}
mi dice
! No room for a new \count .
\ch@ck …\else \errmessage {No room for a new #3}
\fi
l.715 \newcount\s@Niv
? ^C! Interruption.
\alloc@ …l \advance \count 1#1\@ne \ch@ck #1#4#2
\allocationnumber \count 1…
l.715 \newcount\s@Niv
se commento solo \usepackage{musixtex}
e le righe da \begin{music} in poi,
mi dà correttamente la scacchiera
evidentemente c’è qualche conflitto di packages
come posso uscirne?
Ernesto