Set inputenc for Spanish documentation to utf8

Works around a bug in Spanish-Babel that led to wrong output with LuaTeX and TeX fonts.
This commit is contained in:
Günter Milde 2019-04-20 16:27:58 +02:00
parent 15b7ea4828
commit e4881633ec
21 changed files with 24 additions and 38 deletions

View File

@ -20,12 +20,6 @@ Sublabel: todo
# XeTeX artifact? works with LuaTeX, explore: # XeTeX artifact? works with LuaTeX, explore:
export/doc/(|de/|es/|fr/)EmbeddedObjects_pdf4_systemF export/doc/(|de/|es/|fr/)EmbeddedObjects_pdf4_systemF
# WARNING: unknown cross-reference-class `hyperindexformat'! (ignored)
# ! Undefined control sequence.
# Text: ...e Ã<8d>ndice alfabético}{75}{section*.10}
# Text inside 'Index Entries'?
export/doc/es/(EmbeddedObjects|Math|UserGuide)_(dvi3|pdf5)_texF
# iconv fails, if a nomenclature inset contains an uncodable character # iconv fails, if a nomenclature inset contains an uncodable character
export/export/latex/iconv-error-nomenclature_pdf2 export/export/latex/iconv-error-nomenclature_pdf2

View File

@ -160,15 +160,7 @@ export/examples/(|fr/)Presentations/Seminar_(dvi|pdf).*
# Babel-Spanish uses UTF-8 encoded strings if it detects Xe/LuaTeX. # Babel-Spanish uses UTF-8 encoded strings if it detects Xe/LuaTeX.
# With "language default" (=="latin9"), Babel strings come out wrong # With "language default" (=="latin9"), Babel strings come out wrong
# when compiling with Xe/LuaTeX and TeX-fonts. # when compiling with Xe/LuaTeX and TeX-fonts.
# - The problem is generic to all Spanish documents but only manifests itself export/export/latex/es_auto-legacy_texF
# if Babel strings with non-ASCII chars are actually used
# (the ToC heading, e.g., becomes "ÃŊndice" instead of "Índice").
# - In some cases, export fails
# (see invertedTests, some more tests fail with TeXLive versions < 18).
# Should we set inputenc to utf8 in the documents to work around the problem?
# (Changing the default in lib/languages requires more tests for utf8 first.)
export/examples/es/.*_(pdf5|dvi3)_texF
export/doc/es/.*_(pdf5|dvi3)_texF
# since TL18, Babel-Ukrainean uses UTF-8 if it detects Xe/LuaTeX (for "\date"). # since TL18, Babel-Ukrainean uses UTF-8 if it detects Xe/LuaTeX (for "\date").
# * garbled output with LuaTeX + TeX fonts (since TL18) # * garbled output with LuaTeX + TeX fonts (since TL18)

View File

@ -40,7 +40,7 @@ shapepar
\maintain_unincluded_children false \maintain_unincluded_children false
\language spanish \language spanish
\language_package default \language_package default
\inputencoding auto \inputencoding utf8
\fontencoding global \fontencoding global
\font_roman "lmodern" "default" \font_roman "lmodern" "default"
\font_sans "lmss" "default" \font_sans "lmss" "default"

View File

@ -43,7 +43,7 @@ logicalmkup
\maintain_unincluded_children false \maintain_unincluded_children false
\language spanish \language spanish
\language_package default \language_package default
\inputencoding auto \inputencoding utf8
\fontencoding auto \fontencoding auto
\font_roman "lmodern" "default" \font_roman "lmodern" "default"
\font_sans "lmss" "default" \font_sans "lmss" "default"

View File

@ -9,7 +9,7 @@
\maintain_unincluded_children false \maintain_unincluded_children false
\language spanish \language spanish
\language_package default \language_package default
\inputencoding auto \inputencoding utf8
\fontencoding global \fontencoding global
\font_roman "default" "default" \font_roman "default" "default"
\font_sans "default" "default" \font_sans "default" "default"

View File

@ -9,7 +9,7 @@
\maintain_unincluded_children false \maintain_unincluded_children false
\language spanish \language spanish
\language_package default \language_package default
\inputencoding auto \inputencoding utf8
\fontencoding global \fontencoding global
\font_roman "default" "default" \font_roman "default" "default"
\font_sans "default" "default" \font_sans "default" "default"

View File

@ -164,11 +164,11 @@ varwidth
\maintain_unincluded_children false \maintain_unincluded_children false
\language spanish \language spanish
\language_package babel \language_package babel
\inputencoding auto \inputencoding utf8
\fontencoding global \fontencoding global
\font_roman "lmodern" "default" \font_roman "lmodern" "default"
\font_sans "lmss" "default" \font_sans "default" "default"
\font_typewriter "lmtt" "default" \font_typewriter "default" "default"
\font_math "auto" "auto" \font_math "auto" "auto"
\font_default_family default \font_default_family default
\use_non_tex_fonts false \use_non_tex_fonts false

View File

@ -47,7 +47,7 @@
\maintain_unincluded_children false \maintain_unincluded_children false
\language spanish \language spanish
\language_package default \language_package default
\inputencoding auto \inputencoding utf8
\fontencoding global \fontencoding global
\font_roman "default" "default" \font_roman "default" "default"
\font_sans "default" "default" \font_sans "default" "default"

View File

@ -29,7 +29,7 @@
\maintain_unincluded_children false \maintain_unincluded_children false
\language spanish \language spanish
\language_package default \language_package default
\inputencoding auto \inputencoding utf8
\fontencoding global \fontencoding global
\font_roman "palatino" "default" \font_roman "palatino" "default"
\font_sans "helvet" "default" \font_sans "helvet" "default"

View File

@ -140,7 +140,7 @@ subequations
\maintain_unincluded_children false \maintain_unincluded_children false
\language spanish \language spanish
\language_package babel \language_package babel
\inputencoding auto \inputencoding utf8
\fontencoding global \fontencoding global
\font_roman "lmodern" "default" \font_roman "lmodern" "default"
\font_sans "lmss" "default" \font_sans "lmss" "default"

View File

@ -9,7 +9,7 @@
\maintain_unincluded_children false \maintain_unincluded_children false
\language spanish \language spanish
\language_package default \language_package default
\inputencoding auto \inputencoding utf8
\fontencoding global \fontencoding global
\font_roman "default" "default" \font_roman "default" "default"
\font_sans "default" "default" \font_sans "default" "default"

View File

@ -9,7 +9,7 @@
\maintain_unincluded_children false \maintain_unincluded_children false
\language spanish \language spanish
\language_package babel \language_package babel
\inputencoding auto \inputencoding utf8
\fontencoding global \fontencoding global
\font_roman "palatino" "default" \font_roman "palatino" "default"
\font_sans "helvet" "default" \font_sans "helvet" "default"

View File

@ -56,11 +56,11 @@ enumitem
\maintain_unincluded_children false \maintain_unincluded_children false
\language spanish \language spanish
\language_package babel \language_package babel
\inputencoding auto \inputencoding utf8
\fontencoding global \fontencoding global
\font_roman "lmodern" "default" \font_roman "lmodern" "default"
\font_sans "lmss" "default" \font_sans "default" "default"
\font_typewriter "lmtt" "default" \font_typewriter "default" "default"
\font_math "auto" "auto" \font_math "auto" "auto"
\font_default_family default \font_default_family default
\use_non_tex_fonts false \use_non_tex_fonts false

View File

@ -13,7 +13,7 @@
\maintain_unincluded_children false \maintain_unincluded_children false
\language spanish \language spanish
\language_package default \language_package default
\inputencoding auto \inputencoding utf8
\fontencoding global \fontencoding global
\font_roman "default" "default" \font_roman "default" "default"
\font_sans "default" "default" \font_sans "default" "default"

View File

@ -12,7 +12,7 @@
\maintain_unincluded_children false \maintain_unincluded_children false
\language spanish \language spanish
\language_package default \language_package default
\inputencoding auto \inputencoding utf8
\fontencoding global \fontencoding global
\font_roman "default" "default" \font_roman "default" "default"
\font_sans "default" "default" \font_sans "default" "default"

View File

@ -9,7 +9,7 @@
\maintain_unincluded_children false \maintain_unincluded_children false
\language spanish \language spanish
\language_package default \language_package default
\inputencoding auto \inputencoding utf8
\fontencoding global \fontencoding global
\font_roman "default" "default" \font_roman "default" "default"
\font_sans "default" "default" \font_sans "default" "default"

View File

@ -9,7 +9,7 @@
\maintain_unincluded_children false \maintain_unincluded_children false
\language spanish \language spanish
\language_package default \language_package default
\inputencoding auto \inputencoding utf8
\fontencoding global \fontencoding global
\font_roman "default" "default" \font_roman "default" "default"
\font_sans "default" "default" \font_sans "default" "default"

View File

@ -12,7 +12,7 @@
\maintain_unincluded_children false \maintain_unincluded_children false
\language spanish \language spanish
\language_package default \language_package default
\inputencoding auto \inputencoding utf8
\fontencoding global \fontencoding global
\font_roman "default" "default" \font_roman "default" "default"
\font_sans "default" "default" \font_sans "default" "default"

View File

@ -9,7 +9,7 @@
\maintain_unincluded_children false \maintain_unincluded_children false
\language spanish \language spanish
\language_package default \language_package default
\inputencoding auto \inputencoding utf8
\fontencoding global \fontencoding global
\font_roman "default" "default" \font_roman "default" "default"
\font_sans "helvet" "default" \font_sans "helvet" "default"

View File

@ -41,7 +41,7 @@ linguistics
\maintain_unincluded_children false \maintain_unincluded_children false
\language spanish \language spanish
\language_package default \language_package default
\inputencoding auto \inputencoding utf8
\fontencoding global \fontencoding global
\font_roman "lmodern" "FreeSerif" \font_roman "lmodern" "FreeSerif"
\font_sans "default" "FreeSans" \font_sans "default" "FreeSans"

View File

@ -16,7 +16,7 @@
\maintain_unincluded_children false \maintain_unincluded_children false
\language spanish \language spanish
\language_package default \language_package default
\inputencoding auto \inputencoding utf8
\fontencoding global \fontencoding global
\font_roman "lmodern" "default" \font_roman "lmodern" "default"
\font_sans "lmss" "default" \font_sans "lmss" "default"