1. The --safe option has been removed with lilypond 2.24 and causes
the program to error out
2. We default to PDF output (and pdflatex) if no program is explicitly
given, since latex generates *.eps snippets which fail to convert
on many recent systems due to security measures
(cherry picked from commit 770362da97d28385bc3974891bf22d0fcb19be90)
The movement to the caption is now done in the LFUN function itself,
as we need the DocIterator in the caption
This greatly simplifies the code in the TocWidget and shifts all the
complexity to the LFUN itself
(cherry picked from commit 9464f0526ef136a27fba62369ab5087e98e9452a)
* par id actually can be 0
* properly move on in the buffer list if paragraph is not found
in the current buffer
* use dit to get label (as this might be in a different buffer)
(cherry picked from commit 4ed822925f03f197afa738e6e0ee07aa7b303986)
getLabel() usually refers to a paragraph label (e.g. \item) in this
context, not \label as in the case here.
(cherry picked from commit 7d46ddaa95f9f9243cffdd895184867d49cfa127)
This allows to insert a cross-reference to headings, figures or tables
by right-clicking on the outliner item.
If the item in question does not have a label yet, it is inserted.
(cherry picked from commit 143e534d1e749936a37e4f3607c39161eb89d293)
This function checks whether a paragraph (specified by ID) has a label.
If so, it simply inserts a reference to this at cursor position, if
not it inserts a label to that paragraph (pos 0) and then inserts
a reference at cursor position.
Needed to implement #1624 (insert cross references to items that do not
have yet a label)
(cherry picked from commit 3fe99bf6f55858c666195263b8988165639ae7b2)
According to cmake warning output while configuring:
CMake Error (dev) at po/CMakeLists.txt:72 (ADD_CUSTOM_COMMAND):
The following keywords are not supported when using
add_custom_command(OUTPUT): PRE_BUILD.
Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
po/CMakeLists.txt:106 (add_gettext_python)
This error is for project developers. Use -Wno-error=dev to suppress it.
(cherry picked from commit 13f275d0aa5ef23dcad53b3b98758e601a91b3da)
Initializing clientName at declaration time is not a good idea.
Spotted by Coverity scan.
(cherry picked from commit 3d323412ad5b4d47774de43f985202f20cabd156)
It is not necessarily, and infers with some usages, to generally escape
spaces in labels and references
(cherry picked from commit 0beb790a6a19458f3dcf1b17e7796533410c363d)