Skip to content

Invalid UTF-8 byte sequence (<c4>\group_end:) when recalling chords #39

@schrjako

Description

@schrjako

When I use the ^ shortcut for recalling chords in a verse-environment I get the error

! LaTeX Error: Invalid UTF-8 byte sequence (<c4>\group_end:).

I created a minimal example with which I get this error:

\documentclass{article}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[slovene]{babel}

\usepackage{leadsheets}

\setleadsheets{empty-chord-dim=0pt,smash-chords=true}

\begin{document}
	\begin{song}[remember-chords=true]{title={Example title}}

		\begin{verse}
			bol^Gj je
		\end{verse}

		\begin{verse}
			ni^č ne
		\end{verse}

	\end{song}
\end{document}

I found a workaround to this problem (using ^* {}č instead of ), but I don't believe this is the intended way to write this.

I'm attaching a log file of trying to generate a pdf (the command I ran is latex -output-format=pdf minimalexample.tex):
minimalexample.log

Is there any way to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions