From 6ddc5921abc9edd3fc9ae9382d4dd4e730133578 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 8 Mar 2020 22:45:04 +0000 Subject: also have to stop echo \c interpretation git-svn-id: svn://tug.org/texlive/trunk@54187 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/utils/xindy/TLpatches/patch-03-echo-f | 18 +++++++++++++++--- .../xindy/xindy-src/make-rules/alphabets/Makefile.am | 7 ++++--- .../xindy/xindy-src/make-rules/alphabets/Makefile.in | 7 ++++--- 3 files changed, 23 insertions(+), 9 deletions(-) (limited to 'Build/source/utils') diff --git a/Build/source/utils/xindy/TLpatches/patch-03-echo-f b/Build/source/utils/xindy/TLpatches/patch-03-echo-f index b0a207027ba..33c9b4f050d 100644 --- a/Build/source/utils/xindy/TLpatches/patch-03-echo-f +++ b/Build/source/utils/xindy/TLpatches/patch-03-echo-f @@ -10,13 +10,25 @@ ## Copyright (C) 2004-2005 by Gour. ## ## This program is free software; you can redistribute it and/or -@@ -274,7 +275,8 @@ alphabets-inc.tex : $(DOCS) +@@ -245,7 +246,9 @@ + + alphabets-inc.tex : $(DOCS) + $(RM) $@ +- echo '\chapter{Latin scripts}' >>$@ ++# zsh, dash, others make echo '\f' output a form feed. Likewise they ++# interpret \c (no further output). Sigh. ++ printf '\%s{Latin scripts}' "chapter" >>$@ + echo '\ienc{cp1252}' >>$@ + echo '\section{Codepage 1252}' >>$@ + for i in $(DOCS_CP1252); do echo "\\input{$$i}" >>$@; done +@@ -274,8 +277,8 @@ echo '\section{Codepage latin9}' >>$@ for i in $(DOCS_LATIN9); do echo "\\input{$$i}" >>$@; done echo '\ienc{cp1251}' >>$@ - echo '\fenc{T2A}' >>$@ -+# zsh, dash, others make echo '\f' output a form feed. Sigh. +- echo '\chapter{Cyrillic scripts}' >>$@ + printf '\%s{T2A}\n' "fenc" >>$@ - echo '\chapter{Cyrillic scripts}' >>$@ ++ printf '\%s{Cyrillic scripts}' "chapter" >>$@ echo '\section{Codepage 1251}' >>$@ for i in $(DOCS_CYR_1251); do echo "\\input{$$i}" >>$@; done + # echo '\ienc{iso-8859-7}' >>$@ diff --git a/Build/source/utils/xindy/xindy-src/make-rules/alphabets/Makefile.am b/Build/source/utils/xindy/xindy-src/make-rules/alphabets/Makefile.am index 63060b28839..abe84581faa 100644 --- a/Build/source/utils/xindy/xindy-src/make-rules/alphabets/Makefile.am +++ b/Build/source/utils/xindy/xindy-src/make-rules/alphabets/Makefile.am @@ -246,7 +246,9 @@ DOCS = $(DOCS_CPS) $(DOCS_LAT) $(DOCS_CYR) $(DOCS_OTHER) $(DOCS_UTF8) alphabets-inc.tex : $(DOCS) $(RM) $@ - echo '\chapter{Latin scripts}' >>$@ +# zsh, dash, others make echo '\f' output a form feed. Likewise they +# interpret \c (no further output). Sigh. + printf '\%s{Latin scripts}' "chapter" >>$@ echo '\ienc{cp1252}' >>$@ echo '\section{Codepage 1252}' >>$@ for i in $(DOCS_CP1252); do echo "\\input{$$i}" >>$@; done @@ -275,9 +277,8 @@ alphabets-inc.tex : $(DOCS) echo '\section{Codepage latin9}' >>$@ for i in $(DOCS_LATIN9); do echo "\\input{$$i}" >>$@; done echo '\ienc{cp1251}' >>$@ -# zsh, dash, others make echo '\f' output a form feed. Sigh. printf '\%s{T2A}\n' "fenc" >>$@ - echo '\chapter{Cyrillic scripts}' >>$@ + printf '\%s{Cyrillic scripts}' "chapter" >>$@ echo '\section{Codepage 1251}' >>$@ for i in $(DOCS_CYR_1251); do echo "\\input{$$i}" >>$@; done # echo '\ienc{iso-8859-7}' >>$@ diff --git a/Build/source/utils/xindy/xindy-src/make-rules/alphabets/Makefile.in b/Build/source/utils/xindy/xindy-src/make-rules/alphabets/Makefile.in index cd967ff6bd2..93e9aee307f 100644 --- a/Build/source/utils/xindy/xindy-src/make-rules/alphabets/Makefile.in +++ b/Build/source/utils/xindy/xindy-src/make-rules/alphabets/Makefile.in @@ -1014,7 +1014,9 @@ romanian/latin2.pl : romanian/utf8.pl.in alphabets-inc.tex : $(DOCS) $(RM) $@ - echo '\chapter{Latin scripts}' >>$@ +# zsh, dash, others make echo '\f' output a form feed. Likewise they +# interpret \c (no further output). Sigh. + printf '\%s{Latin scripts}' "chapter" >>$@ echo '\ienc{cp1252}' >>$@ echo '\section{Codepage 1252}' >>$@ for i in $(DOCS_CP1252); do echo "\\input{$$i}" >>$@; done @@ -1043,9 +1045,8 @@ alphabets-inc.tex : $(DOCS) echo '\section{Codepage latin9}' >>$@ for i in $(DOCS_LATIN9); do echo "\\input{$$i}" >>$@; done echo '\ienc{cp1251}' >>$@ -# zsh, dash, others make echo '\f' output a form feed. Sigh. printf '\%s{T2A}\n' "fenc" >>$@ - echo '\chapter{Cyrillic scripts}' >>$@ + printf '\%s{Cyrillic scripts}' "chapter" >>$@ echo '\section{Codepage 1251}' >>$@ for i in $(DOCS_CYR_1251); do echo "\\input{$$i}" >>$@; done # echo '\ienc{iso-8859-7}' >>$@ -- cgit v1.2.3