summaryrefslogtreecommitdiff
path: root/scripts/lilypond-book.py
Commit message (Expand)AuthorAgeFilesLines
* lilypond-book robustness: ensure EOL at the end of @verbatim...Also honor NOGETTEXT fragment option for snippets-files. John Mandereau2009-07-251-5/+11
* Use hashlib instead of deprecated md5 module if Python >= 2.5 is presentMaximilian Albert2009-07-121-2/+7
* Improve output of LSR snippets in PDF....lilypond-book.py (output_texinfo): Always put @lydoctitle into a separate paragraph. Werner Lemberg2009-02-151-2/+2
* Oops: reenable translation of Japanese ly code commentsJohn Mandereau2009-02-141-9/+10
* Docs-ja: small fixes...- remove English translation in converters.itely; - reset file mode to sane values; - disable identifiers localization in ly code in Japanese documentation. John Mandereau2009-02-141-1/+1
* Run grand-replace for 2009.Jan Nieuwenhuizen2009-01-061-1/+1
* Update some python scripts to (c) --2008 and render grand-replace affectible.Jan Nieuwenhuizen2009-01-061-2/+2
* lilypond-book: Improve LaTeX wrapper....Using `\expandafter' ensures that the if-clause is finished before executing the \{pre,post}LilyPondExample hooks. This allows usage of other TeX conditionals within those two macros without getting warnings (or even hard to find errors in case of more complex macros). Werner Lemberg2009-01-011-6/+6
* lilypond-book: Remove `%' not needed in LaTeX output....Formatting. Werner Lemberg2009-01-011-98/+139
* Add lilypond-book fragment option 'nogettext'John Mandereau2008-12-101-2/+8
* Fix "Report bugs..." localized strings...This allows adding a link to a list where the language of the translation is used. John Mandereau2008-12-091-2/+3
* Remove obsolete paper variable `packed'.Neil Puttock2008-12-051-3/+0
* Run `make grand-replace'.Jan Nieuwenhuizen2008-12-011-1/+1
* lilypond-book: Don't replace @@lilypondversion...Reinhold Kainhofer2008-11-161-1/+1
* lilypond-book: Pass lilypond version to lilypond-book via env var in makefiles...When lilypond-book.py is called from our makefiles to build the documentation, the @TOPLEVEL_VERSION@ string has not been expanded and the lilypond version will not be available to lilypond-book. This patch detects this case and uses the LILYPOND_VERSION environment variable in that case, which is passed to lilypond-book.py by the makefiles. Reinhold Kainhofer2008-11-161-0/+11
* lilypond-book: Implement lilypondversion tag (to be replaced by the lilypond ......Syntax for the new tag is: -) LaTeX: \lilypondversion -) HTML: <lilypondversion /> -) Texinfo: @lilypondversion -) Docbook: NONE The tag / command will be replaced by the LilyPond version, like "2.11.64". Reinhold Kainhofer2008-11-161-1/+40
* Docs: add support for context names translation in ly snippetsJohn Mandereau2008-11-091-0/+6
* Python scripts: fail explicitly if Python version < 2.4...This is mainly intended for MacOS GUB binaries. John Mandereau2008-09-291-0/+1
* Fix #672...Reported by Renaud Flavigny. The output directory name sometimes contain spaces or other characters that should be escaped, but lilypond-book does not escape characters neither quote the snippets file name, which makes lilypond crash. The bug can be reproduced by writing an input file test.tex in a directory path that contains spaces and running "lilypond-book --output=out test.tex". John Mandereau2008-09-091-1/+1
* Fix #671John Mandereau2008-09-091-0/+6
* Improve man pages in `scripts' directory....help2man is quite picky: . It needs newlines to properly identify the various sections. . Examples must start with a shell prompt character. . Multiple usage lines needs the same indentation. . I've replaced the `Bugs' string with an empty one in the call to the `addoption_group' since it confuses help2man otherwise. Note that man page output is still not optimal yet; some constructs can't be handled well by automatic parsing. Werner Lemberg2008-07-311-7/+8
* Layout nitpicks for notime fragment option.Neil Puttock2008-07-241-4/+4
* Add noragged-right fragment option.Neil Puttock2008-06-231-0/+3
* Require log file if -dseparate-log-files is specified.Han-Wen Nienhuys2008-05-281-0/+2
* Do not require signatures, just consider them....\book examples do not output them. Han-Wen Nienhuys2008-05-271-1/+3
* Require .signature and .profile files if options are in process_cmd....Run regression test to other lilypond-book database dir. Han-Wen Nienhuys2008-05-271-2/+9
* Document fix relating to include ordering.Han-Wen Nienhuys2008-05-191-0/+2
* Typo.Han-Wen Nienhuys2008-05-191-2/+2
* Insert output dir in front of -I paths.Han-Wen Nienhuys2008-05-191-1/+4
* Link .signature file too.Han-Wen Nienhuys2008-05-171-0/+1
* Use doctitle header field of LSR snippets...* add and document [doctitle] lilypond-book fragment option, * define @lydoctitle macro in the proper places, * test this new feature in NR Pitches, * update makefiles accordingly, * thinko: also document texidocLANG feature, * misc: try to fix 'make clean' in Documentation/user and input/lsr with `.SECONDARY:'. John Mandereau2008-05-091-1/+14
* lilypond-book: make [relative] imply [fragment]John Mandereau2008-04-301-0/+6
* Bluntly update lilypond-book documentation...More could be explained about substitutes for psfonts -- see message of commit 0290cb1c3dff47567fd2ee6a27d6eccf95bde0d3 -- but I'm not enough knowledgeable on this topic. John Mandereau2008-04-221-1/+1
* Remove obsolete command line optionJohn Mandereau2008-04-221-5/+0
* Rename lilypond-book command line optionJohn Mandereau2008-04-221-1/+1
* Restore translated texidocs processingJohn Mandereau2008-04-201-0/+1
* lilypond-book: fix output directory of included files...Also restore accidental deletion in write_if_updated() John Mandereau2008-04-201-2/+9
* Make ly snippets variable names and comments translatable...Also clean up texi-langutils.py John Mandereau2008-04-201-2/+24
* Merge branch 'master' of /home/lilycvs/git/lily/...* 'master' of /home/lilycvs/git/lily/: Add --latex lilypond-book option John Mandereau2008-04-191-1/+8
|\
| * Add --latex lilypond-book optionJohn Mandereau2008-04-191-1/+8
* | lilypond-book: store document language in a global variable...Document language as 'lang' ly option caused trouble, especially different checksums for identical snippets depending on the language of the Texinfo document. Using a global variable is not ideal either, but as processed documents are not implemented as classes, there is currently no other way to store that kind of info and make sure that included files inherit it. John Mandereau2008-04-191-3/+6
|/
* Tune lilypond-book performance...split_output_files(): use list type when looping through hash subdirs, but still return a set. John Mandereau2008-04-141-3/+3
* Split lilypond-book output files into subdirectories....This creates bookdbdir/XX/lily-XXXXXXX where XX are hex digits. Hopefully this fixes the lilypond book performance problems on darwin. Han-Wen Nienhuys2008-04-131-10/+26
* Optionally preserve input path....- Add (dir-basename file "ext1" "ext2" ... ) function - Use dir-basename everywhere. Guile's (basename ) strips paths. - Introduce -dno-strip-output-dir option. Han-Wen Nienhuys2008-04-131-3/+0
* Use list comprehension instead of iteration.Han-Wen Nienhuys2008-03-251-2/+2
* Add a --skip-png-check option....This fixes test generation, which generates PNGs only for changed files. Han-Wen Nienhuys2008-03-251-3/+12
* Explicitly record missing filesHan-Wen Nienhuys2008-03-251-45/+41
* Add --no-lily-run option to lilypond-book.Han-Wen Nienhuys2008-03-251-5/+18
* Don't use ly.reHan-Wen Nienhuys2008-03-231-1/+1
* Further lilypond-book fixes:...* Formatting of i18n'd error messages * Do not output complete paths into texi/html files. * Copy .texidoc too. Han-Wen Nienhuys2008-03-231-23/+19