lilypond-book: Various fixes and improvements
-
book_latex.py: Remove unused code
This was missed in commit 3863f416 (from December 2008).
-
book_snippets.py: Improve comment
-
lilypond-book: Correctly handle deprecated format of
line-width
optionFixes #3459 (closed).
-
lilypond-book: Fix combination of
verbatim
andquote
for LaTeX modeIf both
verbatim
andquote
options are used for a LilyPond environment, the created LaTeX code starts with\begin{quote} \noindent \begin{verbatim}
LaTeX's
quote
environment contains special code to signal the next nested environment that it already has inserted some vertical space. However,\noindent
hides this marker. As a consequence, theverbatim
environment inserts vertical space again, causing a far too large vertical gap.This commit fixes this by not inserting
\noindent
before\begin{verbatim}
. It has a minor side effect, though: If optionverbatim
is used (without optionquote
) the vertical space to the previous paragraph slightly increases. Reason is that for code likefoo \begin{verbatim}
LaTeX's
verbatim
environment inserts\topsep
as the vertical amount of space, whilefoo \begin{verbatim}
causes
\partopsep
to be inserted, which is a slightly larger vertical space. -
lilypond-book: Improve comments and help strings for
--left-padding
-
lilypond-book: Add LaTeX support for vertically shifting inline images
This commit adds a new command line option
--inline-vshift=VSHIFT
and an argument to snippet optioninline
. -
tex-snippet-options.lytex: Extend tests