Package: texlive-music
Version: 2024.20250309-2
Severity: normal

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}

#########################################################################################################################


-- Package-specific info:
IMPORTANT INFORMATION: We will only consider bug reports concerning
the packaging of TeX Live as relevant. If you have problems with
combination of packages in a LaTeX document, please consult your
local TeX User Group, the comp.text.tex user group, the author of
the original .sty file, or any other help resource. 

In particular, bugs that are related to up-upstream, i.e., neither
Debian nor TeX Live (upstream), but the original package authors,
will be closed immediately.

   *** The Debian TeX Team is *not* a LaTeX Help Desk ***

If you report an error when running one of the TeX-related binaries 
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report.

Please run your example with
        (pdf)latex -recorder ...
(or any other program that supports -recorder) and send us the generated
file with the extension .fls, it lists all the files loaded during
the run and can easily explain problems induced by outdated files in
your home directory.

Don't forget to also include minimal examples of other files that are 
needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!

If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at

http://www.minimalbeispiel.de/mini-en.html (english)

or 

http://www.minimalbeispiel.de/mini.html (german)

##################################
minimal input file


##################################
other files

######################################
 List of ls-R files

-rw-r--r-- 1 dominik dominik 14666 Dec 14  2016 /home/dominik/texmf/ls-R
-rw-r--r-- 1 root root 308 Oct 31  2024 /usr/local/share/texmf/ls-R
-rw-r--r-- 1 root root 2368 Aug 11  2025 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Feb 28  2025 /usr/share/texmf/ls-R -> 
/var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 Mar 13  2025 /usr/share/texlive/texmf-dist/ls-R -> 
/var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Mar 13  2025 /usr/share/texlive/texmf-dist/ls-R -> 
/var/lib/texmf/ls-R-TEXLIVEDIST
######################################
 Config files
-rw-r--r-- 1 root root 475 Aug 11  2025 /etc/texmf/web2c/texmf.cnf
lrwxrwxrwx 1 root root 33 Mar 13  2025 /usr/share/texmf/web2c/fmtutil.cnf -> 
/var/lib/texmf/fmtutil.cnf-DEBIAN
lrwxrwxrwx 1 root root 32 Mar 13  2025 /usr/share/texmf/web2c/updmap.cfg -> 
/var/lib/texmf/updmap.cfg-DEBIAN
-rw-r--r-- 1 root root 3909 Aug 11  2025 
/var/lib/texmf/tex/generic/config/language.dat
######################################
 Files in /etc/texmf/web2c/
total 8
-rw-r--r-- 1 root root 283 Jun  8  2020 mktex.cnf
-rw-r--r-- 1 root root 475 Aug 11  2025 texmf.cnf
######################################
 md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c  /etc/texmf/texmf.d/00debian.cnf

-- System Information:
Debian Release: 13.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.16.3+deb13-rt-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages texlive-music depends on:
ii  python3             3.13.5-1
ii  tex-common          6.19
ii  texlive-base        2024.20250309-1
ii  texlive-binaries    2024.20240313.70630+ds-6
ii  texlive-latex-base  2024.20250309-1

texlive-music recommends no packages.

texlive-music suggests no packages.

Versions of packages tex-common depends on:
ii  ucf  3.0052

Versions of packages tex-common suggests:
ii  debhelper  13.24.2

Versions of packages texlive-music is related to:
ii  tex-common        6.19
ii  texlive-binaries  2024.20240313.70630+ds-6

-- no debconf information

Reply via email to