06.01.2026 19:49:57 Dominik Thinay <dominik@unix-ag.org>:
Dear Maintainer,
the chordbox.sty ist currently unusable. (https://www.ctan.org/pkg/chordbox)
In github source of the maintainer you cant find a patch to fix the problem (https://github.com/sfranzen/chordbox/)
######################################################################################
diff -urN chordbox.sty.unpatched chordbox.sty.fix
--- chordbox.sty.unpatched 2026-01-06 19:26:23.097833233 +0100
+++ chordbox.sty.fix 2026-01-06 19:31:23.785503549 +0100
@@ -117,19 +117,20 @@
% Put coordinates at finger positions and above the frets (index 0),
% store string count, then draw the string grid and decorations
\foreach[count=\n] \fretposition in {#3} {
+ \global\let\chordbox@n\n
\foreach \fret in {0,...,\numfrets}
\coordinate (\n\fret) at (\n - 1, 0.5 - \fret);
% Extra coordinate for text below each string
\coordinate (\n) at (\n - 1, -\numfrets);
}
- \draw grid (\n - 1, -\numfrets);
+ \draw grid (\chordbox@n - 1, -\numfrets);
\ifthenelse{\isempty{#1}\or#1<2}{% Draw the "nut"
- \fill rectangle (\n - 1, .2);
+ \fill rectangle (\chordbox@n - 1, .2);
}{% Draw the position indicator
\node[left] at (11) {\pgfkeys{base fret={#1}}};
}
% Center chord name over strings
- \pgfmathparse{0.5 * (\n - 1)}
+ \pgfmathparse{0.5 * (\chordbox@n - 1)}
\node[above] at (\pgfmathresult, 1.25) {\pgfkeys{name={#2}}};
% Draw the string symbols according to argument #3
\foreach[count=\s] \fret in {#3} {#######################################################################################################################
if you wan't to get the error message:
\documentclass[]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{color}
\usepackage{babel}
\usepackage{booktabs}
\usepackage{textcomp}
\usepackage{gchords}
\usepackage{chordbox}
\usepackage{guitar}
%
\begin{document}
\chordbox{F}{1:T,3:3,3:4,2:2,1:1,x}
\end{document}
#########################################################################################################################
Regards Dominik
-- Diese Mail ist ausschließlich für den genannten Empfänger bestimmt. Sie enthält vertrauliche Informationen. Jede Verbreitung des Inhalts, auch teilweise, ist untersagt. Falls Sie diese Mail versehentlich erhalten, informieren Sie bitte unverzüglich den Absender und löschen Sie diese Mail endgültig.