In particular, lilypond-book is just a python script. On windows,
we need to call the python interpreter, using the full path to
the script while being wary of spaces in the path.
- revert the previous layout change where inputenc was mentioned. This was not wrong but too intrusive for a change in branch
- mention that the aa class loads natbib to avoid compilation errors
- aa_sample.lyx: the aa package contains an outdated an customized version of natbib.sty. This file only woks with aa, but breaks the compilation of many other files on your system, therefore remove the bibliography and replace it by BibTeX; also clean up the preamble and add a note about the encoding
- aa.lyx: add a note about the encoding and set it in the document settings
A lot of this involves removing toclevel tags. They got introduced
by the automatic update of some layout files to format 19.
(cherry picked from commit b9f48eb945)
Conflicts:
lib/layouts/beamer.layout
lib/layouts/memoir.layout
lib/layouts/scrartcl.layout
lib/layouts/stdsections.inc
Do not use AM_PROG_MKDIR_P, which is obsolete. We use the AC_* version
now, which requires autoconf>=2.59d. This also mean that we need to use
the variable MKDIR_P instead of mkdir_p.
Move the handling of branch-(de)activate(master) to Buffer. This code was moved to Bufferview in [3a03e71c/lyxgit] because a cursor was necessary to call Undo::recordUndoFullDocument(). However, it turns out that the undo code is already prepared to handle an empty cursor (and do nothing in this case).
Therefore we do that and move the branch code to Buffer where it belongs.
Note that there was a bug in the previous code that broke undo support: recordUndo should always be called _before_ doing any change.
Using Cursor::setCursor or even BufferView::setCursor is often a bad
idea since it does not run DEPM. In this case (and other cases in
f&replace code) it is better to use BufferView::mouseSetCursor (which
should maybe be renamed...).