- support for Vietnamese, Thai, Serbian Cyrillic and Mongolian will now
automatically be installed to MiKTeX
- language support files for Belarusian and Hungarian are now included
+- new spell-checker dictionary for Serbian(Latin)
- updated to eLyXer 1.2.5
- updated spell-checker dictionaries for Belarusian, Breton, Italian, Korean,
- Latin, Norwegian, Portuguese, Romanian, Slovakian and Swedish
+ Latin, Norwegian, Portuguese, Romanian, Serbian(Cyrillic), Slovakian and Swedish
(To benefit from them you must uninstall an already installed LyX 2.0.x and
then use this installer.)
- updated thesaurus for Italian, Norwegian (Bokmal), Portuguese, Romanian,
sq_AL.dic
sr_RS.aff
sr_RS.dic
+sr_RS-Latin.aff
+sr_RS-Latin.dic
sv_SE.aff
sv_SE.dic
ta_IN.aff
# read out the possible spell-checker filenames from the file
FileOpen $R5 "$INSTDIR\Resources\HunspellDictionaryNames.txt" r
- ${for} $5 1 66
- # the file has 132 lines, but we only need to check for one of the 2 dictionary files per language
+ ${for} $5 1 68
+ # the file has 136 lines, but we only need to check for one of the 2 dictionary files per language
# therefore check only for every second line
FileRead $R5 $String # skip the .aff file
FileRead $R5 $String # $String is now the .dic filename
# read out the locations from the file
FileOpen $R5 "$INSTDIR\Resources\HunspellDictionaryNames.txt" r
- ${For} $5 1 132 # the file has 132 lines
+ ${For} $5 1 136 # the file has 136 lines
FileRead $R5 $String # $String is now the dictionary name
StrCpy $R3 $String -6 # $R3 is now the dictionary language code
AddSize 3310
SectionEnd
-Section /o "Srpski" SecDSerbian
+Section /o "Srpski (Cirilica)" SecDSerbianC
StrCpy $DictCodes "sr_RS,$DictCodes"
- AddSize 3460
+ AddSize 3560
+SectionEnd
+
+Section /o "Srpski (Latinica)" SecDSerbianL
+ StrCpy $DictCodes "sr_RS-Latin,$DictCodes"
+ AddSize 2000
SectionEnd
Section /o "Svenska" SecDSwedish
Call StrPoint
${if} $Pointer != "-1"
IntOp $0 ${SF_SELECTED} | ${SF_RO}
- SectionSetFlags ${SecDSerbian} $0
- SectionSetSize ${SecDSerbian} 0
+ SectionSetFlags ${SecDSerbianC} $0
+ SectionSetSize ${SecDSerbianC} 0
+ ${endif}
+ StrCpy $Search "sr_RS-Latin"
+ Call StrPoint
+ ${if} $Pointer != "-1"
+ IntOp $0 ${SF_SELECTED} | ${SF_RO}
+ SectionSetFlags ${SecDSerbianL} $0
+ SectionSetSize ${SecDSerbianL} 0
${endif}
StrCpy $Search "sv_SE"
Call StrPoint