Am Wed, 19 Apr 2017 16:35:44 +0530 schrieb RD Holkar:

> For the attached tex file, when I set ``marathi'' as the default language
> in polyglossia, and compile the file, it gives me following error and
> warning, respectively:
> 
> 1.
> LaTeX error: "kernel/key-choice-unknown"
> !
> ! Key 'fontspec/Script' accepts only a fixed set of choices.
> !
> ! See the LaTeX3 documentation for further information.
> !
> ! For immediate help type H <return>.

If you do what the message says and type "H" and return then you get
this message

|'''''''''''''''''''''''''''''''''''''''''''''''
| The key 'fontspec-opentype/Script' only accepts predefined values, and
| 'Devaganari' is not one of these.
|...............................................

And looking carefully you can see that is says "Devaganari" and not
"Devanagari". 


And when you look into gloss-marathi.ldf you can see the source for
the typo:

\PolyglossiaSetup{marathi}{
 script=Devaganari,
            ^^^^should be Devanagari






-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to