[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    lilypond-book latex input duplicating
From:       Jason Addison <jraddison () gmail ! com>
Date:       2022-11-29 21:58:22
Message-ID: CAA0wQb3cUOCdh2cDdDeyKk1c1zA2THTROWLHtpzW+VNSQqCNoA () mail ! gmail ! com
[Download RAW message or body]

If I \input{something} twice in a lytex file, it gets duplicated by
lilypond-book. How do I keep this from happening?

I'm using lilypond 2.22.2, from brew.

For example:

inp.lytex:
>>>>
\documentclass[]{book}
\begin{document}
Hey!
\input{you}
Hey!
\input{you}
\end{document}
<<<<

you.tex:
>>>>
You!
<<<<

command:
$ lilypond-book --output=out --pdf inp.lytex

now see out/you.tex:
$ cat out/you.tex
You!
You!

There are 2 "You!" strings, and the pdf file, from running "pdflatex
inp.tex" in out/, looks like:

Hey! You! You! Hey! You! You!

What I expect is:

Hey! You! Hey! You!

By the way, if I input it three times it gets triplicated. If I do it
once, it is normal.

Thanks,
Jason

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic