Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lyluatex produces real numbers that lilypond doesn't understand #269

Closed
lemzwerg opened this issue Jul 30, 2019 · 0 comments
Closed

lyluatex produces real numbers that lilypond doesn't understand #269

lemzwerg opened this issue Jul 30, 2019 · 0 comments

Comments

@lemzwerg
Copy link
Contributor

As mentioned in issue #268, lyluatex contains a buglet that produces invalid real numbers.

Example:

\documentclass{article}

\usepackage{lyluatex}


\begin{document}

\begin{lilypond}[insert=fullpage,
                 extra-top-margin=-125.27pt,
                 debug]
  c'1
\end{lilypond}

\end{document}

The temporary file now contains

top-margin = -1.5000000004761e-05\pt

which makes lilypond complain:

987e5fb03b54c78dba5c5218ec607f2c.ly:20:35: Fehler: syntax error, unexpected REAL, expecting '.' or '='
    top-margin = -1.5000000004761e
                                  -05\pt
@jperon jperon closed this as completed in d17f1ba Dec 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant