From eed15584e7cf200a40e0e3f787c4cd8cbf205405 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Fri, 17 Mar 2006 15:45:34 +0000 Subject: [PATCH] (First steps): change example to verbatim. --- ChangeLog | 7 +++++++ Documentation/user/tutorial.itely | 12 ++++++------ python/lilylib.py | 9 +++------ 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2d1adface9..1e4c10f95f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-03-17 Han-Wen Nienhuys + + * Documentation/user/tutorial.itely (First steps): change example + to verbatim. + 2006-03-17 Graham Percival * Documentation/user/ examples, advanced: minor changes from mailist. @@ -6,6 +11,8 @@ 2006-03-17 Han-Wen Nienhuys + * python/lilylib.py (system): revert have_select kludge. + * Documentation/user/tutorial.itely (Commenting input files): update version numbers in doc. diff --git a/Documentation/user/tutorial.itely b/Documentation/user/tutorial.itely index ec47f19127..8fa82e1fc1 100644 --- a/Documentation/user/tutorial.itely +++ b/Documentation/user/tutorial.itely @@ -237,9 +237,9 @@ programmer-oriented editor will do, for example Notepad. Do not use a word processor, since these insert formatting codes that will confuse LilyPond.} and enter -@example -@{ c'4 e' g' @} -@end example +@verbatim +{ c'4 e' g' } +@end verbatim Save it on the desktop as @file{test.ly} and make sure that it is not called @file{test.ly.TXT}. Double clicking @file{test.ly} will process @@ -256,9 +256,9 @@ installed already, refer to the file @file{INSTALL.txt}.} In your text editor, enter the following input and save the file as @file{test.ly} -@example -@{ c'4 e' g' @} -@end example +@verbatim +{ c'4 e' g' } +@end verbatim @noindent To process @file{test.ly}, proceed as follows diff --git a/python/lilylib.py b/python/lilylib.py index 23d268f620..5ce5b29848 100644 --- a/python/lilylib.py +++ b/python/lilylib.py @@ -17,11 +17,11 @@ import optparse import subprocess ## windows mingw cross compile doesn't have selectmodule.so -have_select = True +have_fcntl = True try: - import select + import fcntl except ImportError: - have_select = False + have_fcntl = False ################################################################ # Users of python modules should include this snippet @@ -96,9 +96,6 @@ def system (cmd, log = '' - if not have_select: - show_progress = True - if show_progress: retval = proc.wait() else: -- 2.39.2