Am 05.11.2016 um 23:54 schrieb Guenter Milde:

Inputenc never supported an l7x or l7xenc option. LyX got this wrong from the 
beginning

Tanks, now I got it.

So the fix is simply the attached one. No fileformat change is necessary.

I tested the patch with some Lithuanian texts from the Lithuanian Wikipedia and it works.

thanks and regards
Uwe
 lib/encodings | 3 +--
 lib/languages | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/lib/encodings b/lib/encodings
index 75ae8f3..47c23cf 100644
--- a/lib/encodings
+++ b/lib/encodings
@@ -69,8 +69,7 @@ End
 Encoding iso8859-9 latin5 "Turkish (ISO 8859-9)" ISO-8859-9 fixed inputenc
 End
 
-# Not standard, see http://www.vtex.lt/tex/littex/index.html
-Encoding iso8859-13 l7xenc "Baltic (ISO 8859-13)" ISO-8859-13 fixed inputenc
+Encoding iso8859-13 latin7 "Baltic (ISO 8859-13)" ISO-8859-13 fixed inputenc
 End
 
 Encoding iso8859-15 latin9 "Western European (ISO 8859-15)" ISO-8859-15 fixed 
inputenc
diff --git a/lib/languages b/lib/languages
index 53d5feb..4433738 100644
--- a/lib/languages
+++ b/lib/languages
@@ -800,7 +800,7 @@ Language lithuanian
        BabelName        lithuanian
        PolyglossiaName  lithuanian
        QuoteStyle       german
-       Encoding         iso8859-4
+       Encoding         iso8859-13
        FontEncoding     L7x
        LangCode         lt_LT
        AsBabelOptions   true

Reply via email to