Hi Werner!

So the `stable' branch should add the file `txi-pt.tex' from upstream,
right?


Yes. And we need to add the filename to the list of copied files in 
grand-replace.py. See attached patch for stable/2.20.

Knut

>From 36e4be23ca414ca9d315d89b94d5a3e4cbb20f4d Mon Sep 17 00:00:00 2001
From: Knut Petersen <knut_peter...@t-online.de>
Date: Thu, 4 Jul 2019 11:03:34 +0200
Subject: [PATCH 1/2] Add tex/txi-pt.tex

We need txi-*.tex files for all the languages we
support. Without them, building of lilypond fails.

If you did not experience that problem, you were
lucky and texinfo is installed on your build system.
In that case the system's txi-pt.tex is used, see
Documentation/pt/web.texi2pdf.log.

txi-pt.tex is taken from texinfo 6.1 (we use that
version in gub).
---
 scripts/build/grand-replace.py |  1 +
 tex/txi-pt.tex                 | 72 ++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)
 create mode 100644 tex/txi-pt.tex

diff --git a/scripts/build/grand-replace.py b/scripts/build/grand-replace.py
index bb038fbf1d..fa7ece14c5 100644
--- a/scripts/build/grand-replace.py
+++ b/scripts/build/grand-replace.py
@@ -50,6 +50,7 @@ copied_files = [
     'txi-hu.tex',
     'txi-it.tex',
     'txi-nl.tex',
+    'txi-pt.tex',
     ]
 
 def main ():
diff --git a/tex/txi-pt.tex b/tex/txi-pt.tex
new file mode 100644
index 0000000000..202bf10eaf
--- /dev/null
+++ b/tex/txi-pt.tex
@@ -0,0 +1,72 @@
+% $Id: txi-pt.tex 5191 2013-02-23 00:11:18Z karl $
+% txi-pt.tex -- Portuguese translations for texinfo.tex.
+%
+% Copyright 1999, 2007, 2008 Free Software Foundation, Inc.
+%
+% This program is free software; you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation; either version 3 of the License, or (at
+% your option) any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this program.  If not, see <http://www.gnu.org/licenses/>.
+%
+% Written by Lalo Martins <l...@webcom.com> at 05 August 1999
+
+\txisetlanguage{portuguese}{2}{3}
+
+\plainnonfrenchspacing
+
+\gdef\putwordAppendix{Ap\^endice}
+\gdef\putwordChapter{Cap\'\ptexi tulo}
+\gdef\putwordfile{Data}
+\gdef\putwordin{em}
+\gdef\putwordInfo{Info}
+\gdef\putwordMethodon{M\'etodo de}
+\gdef\putwordon{em}
+\gdef\putwordof{de}
+\gdef\putwordpage{P\'agina}
+\gdef\putwordsection{se\,c\~ao}
+\gdef\putwordSection{Se\,c\~ao}
+\gdef\putwordsee{veja}
+\gdef\putwordSee{Veja}
+\gdef\putwordShortTOC{Breve Sum\'ario}
+\gdef\putwordTOC{Sum\'ario}
+%%
+\gdef\putwordNoTitle{Sem T\'\ptexi tulo}
+%%
+%% New defintion for the output of months.
+\gdef\putwordMJan{Janeiro}
+\gdef\putwordMFeb{Fevereiro}
+\gdef\putwordMMar{Mar\,co}
+\gdef\putwordMApr{Abril}
+\gdef\putwordMMai{Maio}
+\gdef\putwordMJun{Junho}
+\gdef\putwordMJul{Julho}
+\gdef\putwordMAug{Agosto}
+\gdef\putwordMSep{Setembro}
+\gdef\putwordMOct{Outubro}
+\gdef\putwordMNov{Novembro}
+\gdef\putwordMDec{Dezembro}
+%%
+%% Index handling should also work correct in german
+\gdef\putwordIndexNonexistent{(\'Indice inexistente)}
+\gdef\putwordIndexIsEmpty{(\'Indice vazio)}
+%%
+%% \defmac
+\gdef\putwordDefmac{Macro}
+%% \defspec
+\gdef\putwordDefspec{Forma Especial}
+%% \defivar
+\gdef\putwordDefivar{Vari\'avel de Inst\^ancia}
+%% \defvar
+\gdef\putwordDefvar{Vari\'avel}
+%% \defopt
+\gdef\putwordDefopt{Op\,c\~ao de Usu\'ario}
+%% \deffun
+\gdef\putwordDeffunc{Fun\,c\~ao}
-- 
2.22.0

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to