Changes

Jump to navigation Jump to search
35 bytes added ,  15:09, 15 August 2013
fixes use of logs.report and string.gsub
-- include all systems (pages)
-- name is like \LILYTEMP/mainfile-temp-lilypond-21.pdf
logs.report("LILYPOND ","name='" .. name .. "'") local syco = 0 for ts in io.lines(local scname = string.gsub(name, '%.pdf$', '-systems.count') for ts in io.lines(scname) do
syco = ts*1
end
for nr = 1, syco do
logs.report("LILYPOND ","including system no." .. nr)
context("\\externalfigure[" .. string.gsub(name, '%.pdf$', '-' .. nr) .. "]")
end

Navigation menu