| [ << General input and output ] | [Top][Contents][Index][ ? ] | [ Spacing issues >> ] | ||
| [ < Custom layout for headers and footers ] | [ Up : Titles and headers ] | [ Creating footnotes > ] | ||
3.2.3 Creating PDF metadata
In addition to being shown in the printed output, \header variables
are also used to set PDF metadata (the information displayed by PDF readers
as the properties of the PDF file). As metadata are applied per
output file, only \header blocks located at top level or within an
explicit \book block will be used to generate PDF metadata; while
\header variables in a \bookpart or \score block
will be reflected in the printed output of the respective blocks, the
document-wide PDF metadata will not be affected by headers at that level.
For example, setting the title property of the header block
‘Symphony I’ will also give this title to the PDF document.
\header{
title = "Symphony I"
}
If you want to set the title of the printed output to one value, but have the
title property of the PDF to have a different value, you can use
pdftitle, as below.
\header{
title = "Symphony I"
pdftitle = "Symphony I by Beethoven"
}
The variables title, subject, keywords,
subtitle, composer, arranger, poet, author
and copyright all set PDF properties and can all be prefixed with
‘pdf’ to set a PDF property to a value different from the printed output.
The PDF property Creator is automatically set to ‘LilyPond’ plus
the current LilyPond version, and CreationDate and ModDate are
both set to the current date and time. ModDate can be overridden by
setting the header variable moddate (or pdfmoddate) to a
valid PDF date string.
| [ << General input and output ] | [Top][Contents][Index][ ? ] | [ Spacing issues >> ] | ||
| [ < Custom layout for headers and footers ] | [ Up : Titles and headers ] | [ Creating footnotes > ] | ||
他の言語: español, français, italiano
About automatic language selection.