From 1d7214b6e287cea36aa3cce53c806d17049a9230 Mon Sep 17 00:00:00 2001
From: John Mandereau <john.mandereau@gmail.com>
Date: Fri, 3 Aug 2007 14:55:05 +0200
Subject: [PATCH] Move @documentencoding just after @setfilename

This is necessary for makeinfo 4.9.91 to get the encoding
declaration in HTML output.
---
 Documentation/de/user/lilypond.tely         | 5 ++---
 Documentation/es/user/lilypond.tely         | 4 ++--
 Documentation/fr/user/lilypond-program.tely | 2 +-
 Documentation/fr/user/lilypond.tely         | 2 +-
 Documentation/user/lilypond-program.tely    | 5 ++---
 Documentation/user/lilypond.tely            | 5 ++---
 6 files changed, 10 insertions(+), 13 deletions(-)

diff --git a/Documentation/de/user/lilypond.tely b/Documentation/de/user/lilypond.tely
index 20434cb1e5..a9d51b96f2 100644
--- a/Documentation/de/user/lilypond.tely
+++ b/Documentation/de/user/lilypond.tely
@@ -7,6 +7,8 @@
 @end ignore
 @setfilename lilypond.info
 @settitle GNU LilyPond
+@documentencoding UTF-8
+@documentlanguage de
 
 @iftex
 @afourpaper
@@ -64,9 +66,6 @@ Dieses Dokument ist auch als
 @uref{source/Documentation/user/lilypond.de.pdf,PDF} verfügbar.
 @end ifhtml
 
-@documentlanguage de
-@documentencoding UTF-8
-
 
 @c  This produces the unified index
 @syncodeindex fn cp
diff --git a/Documentation/es/user/lilypond.tely b/Documentation/es/user/lilypond.tely
index 6197af494f..cb99606fd0 100644
--- a/Documentation/es/user/lilypond.tely
+++ b/Documentation/es/user/lilypond.tely
@@ -7,6 +7,8 @@
 @end ignore
 @setfilename lilypond.info
 @settitle GNU LilyPond
+@documentencoding UTF-8
+@documentlanguage es
 
 @iftex
 @afourpaper
@@ -65,8 +67,6 @@ Este documento también está disponible como
 @uref{source/Documentation/user/lilypond.es.pdf,PDF}.
 @end ifhtml
 
-@documentlanguage es
-@documentencoding UTF-8
 
 @c  This produces the unified index
 @syncodeindex fn cp
diff --git a/Documentation/fr/user/lilypond-program.tely b/Documentation/fr/user/lilypond-program.tely
index b909496aff..3061b90b2b 100644
--- a/Documentation/fr/user/lilypond-program.tely
+++ b/Documentation/fr/user/lilypond-program.tely
@@ -8,6 +8,7 @@
 
 @setfilename lilypond-program.info
 @settitle GNU LilyPond -- utilisation du programme
+@documentencoding UTF-8
 
 @iftex
 @afourpaper
@@ -37,7 +38,6 @@ Ce document est également disponible au format
 @documentlanguage fr
 @frenchspacing on
 @end iftex
-@documentencoding UTF-8
 
 @syncodeindex fn cp
 @c @syncodeindex ky cp
diff --git a/Documentation/fr/user/lilypond.tely b/Documentation/fr/user/lilypond.tely
index ae66f10f4f..4c0365511e 100644
--- a/Documentation/fr/user/lilypond.tely
+++ b/Documentation/fr/user/lilypond.tely
@@ -8,6 +8,7 @@
 
 @setfilename lilypond.info
 @settitle GNU LilyPond -- manuel de l'utilisateur
+@documentencoding UTF-8
 
 @iftex
 @afourpaper
@@ -39,7 +40,6 @@ Ce document est également disponible au format
 @documentlanguage fr
 @frenchspacing on
 @end iftex
-@documentencoding UTF-8
 
 @syncodeindex fn cp
 @c @syncodeindex ky cp
diff --git a/Documentation/user/lilypond-program.tely b/Documentation/user/lilypond-program.tely
index 0875b059f1..ae45cd18c8 100644
--- a/Documentation/user/lilypond-program.tely
+++ b/Documentation/user/lilypond-program.tely
@@ -7,6 +7,8 @@
 @end ignore
 @setfilename lilypond-program.info
 @settitle GNU LilyPond program usage
+@documentencoding utf-8
+@documentlanguage en
 
 @iftex
 @afourpaper
@@ -39,9 +41,6 @@ This document is also available as a
 @syncodeindex fn cp
 @syncodeindex vr cp
 
-@documentlanguage en
-@documentencoding utf-8
-
 
 @finalout
 
diff --git a/Documentation/user/lilypond.tely b/Documentation/user/lilypond.tely
index 715297b4bc..f407eae695 100644
--- a/Documentation/user/lilypond.tely
+++ b/Documentation/user/lilypond.tely
@@ -7,6 +7,8 @@
 @end ignore
 @setfilename lilypond.info
 @settitle GNU LilyPond user manual
+@documentencoding utf-8
+@documentlanguage en
 
 @iftex
 @afourpaper
@@ -70,9 +72,6 @@ This document is also available as a
 @syncodeindex fn cp
 @syncodeindex vr cp
 
-@documentlanguage en
-@documentencoding utf-8
-
 
 @finalout
 
-- 
2.39.5