Skip to content

Found something incompatible with fragment #318

@bv74

Description

@bv74

Hi,

When I run a document with lyluatex, I got this error :

Module lyluatex Warning: Found something incompatible with `fragment`
(lyluatex)               (or `relative`). Setting them to false.
(lyluatex)               on input line 7
Module lyluatex Info: Compiling score tmp-ly/1d30f6b5270b295501c0cd29f895f4c3 wi
th LilyPond executable '/usr/local/bin/lilypond'. on input line 7
<tmp-ly/1d30f6b5270b295501c0cd29f895f4c3-1.pdf, id=1, 57.21375pt x 23.08624pt>
File: tmp-ly/1d30f6b5270b295501c0cd29f895f4c3-1.pdf Graphic file (type pdf)
<use tmp-ly/1d30f6b5270b295501c0cd29f895f4c3-1.pdf>
Package luatex.def Info: tmp-ly/1d30f6b5270b295501c0cd29f895f4c3-1.pdf  used on 
input line 4.
(luatex.def)             Requested size: 57.2136pt x 23.08617pt.
[1

Nevetheless, the output is correct. When I run directly with lilypond (frescobaldi) I see nothing abnormal.

I've Debian 11.2, Lilypond 2.20.0, Texlive 2020.

Here under the header of latex logs :

This is LuaHBTeX, Version 1.12.0 (TeX Live 2020/Debian)  (format=lualatex 2023.7.3)  28 NOV 2023 09:13
 system commands enabled.
**ecm.tex
(./ecm.tex
LaTeX2e <2020-10-01> patch level 4
Lua module: luaotfload 2021-01-08 3.17 Lua based OpenType font support
Lua module: lualibs 2020-12-30 2.73 ConTeXt Lua standard libraries.
Lua module: lualibs-extended 2020-12-30 2.73 ConTeXt Lua libraries -- extended c
ollection.

The MWE :

\documentclass{article}
\usepackage{fontspec}
\usepackage[program=/usr/local/bin/lilypond]{lyluatex}

\begin{document}

\lilypondfile[staffsize=12]{Lilypond2023/echantillon1.ly}

\end{document}

And the .ly file :

\version "2.18.2"
\language "italiano"

global = {
  \key do \minor
  %\time 4/4
  %\partial 2
}

rightOne = \relative do'' {
  \global
 <<lab1 fad'>>
  }

\score {
  \new PianoStaff \with {
    %instrumentName = "Pno"
  } <<
    \new Staff = "right" << \rightOne  >>
  >>
  \layout { }
}

Thank you for your help.
BVA

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