jperon / lyluatex

Alternative à lilypond-book pour lualatex
MIT License
58 stars 11 forks source link

insert-examples.lua slurps empty lines #266

Closed lemzwerg closed 5 years ago

lemzwerg commented 5 years ago

[git 1bb88622c451ad663be8fbed50114dba6c9f543f]

Have a look at section 'Wrapping Raw PDF Filenames'. After the small inline lilypond graphics there is a vertical space completely out of order. Looking into insert-raw-pdf.tex there is

...
This basically is a way to provide pre-configured commands. In this case
\lilyinline{ c'8 d' c' d'} it is used to pre-configure an inline
type, entered as \verb+\lilyinline{ c'8 d' c' d'}+.

\bigskip \cmd{lyscore} takes one mandatory argument which can be empty -- as in
...

which insert-examples.lua mishandles as

...
This basically is a way to provide pre-configured commands. In this case
\lilyinline{ c'8 d' c' d'} it is used to pre-configure an inline
type, entered as \verb+\lilyinline{ c'8 d' c' d'}+.
\bigskip \cmd{lyscore} takes one mandatory argument which can be empty -- as in
...

In other words, the paragraph structure of this TeX section is completely lost.