Re: [XeTeX] Polyglossia error(s) for Marathi language

2017-04-19 Thread RD Holkar
Dear Urlike Fischer,

thanks a lot! This, exactly, was the error. Things are running well now!

With best regards,
-Rohit.

On Thu, Apr 20, 2017 at 3:59 AM, Ulrike Fischer  wrote:

> 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 .
>
> 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
>


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


Re: [XeTeX] Polyglossia error(s) for Marathi language

2017-04-19 Thread Ulrike Fischer
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 .

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


[XeTeX] Polyglossia error(s) for Marathi language

2017-04-19 Thread RD Holkar
Dear all,

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 .


2.

l.2 \select@language {marathi}

)

LaTeX Font Warning: Some font shapes were not available, defaults
substituted.

 )
(see the transcript file for additional information)
Output written on Marathi.pdf (1 page).
Transcript written on Marathi.log.

However, a PDF output is produced.
Furthermore, if I change the default language from marathi (and keep the
rest untouched) to either Sanskrit of Hindi in the same file, then the
error and the warning vanish. I have observed this phenomenon on OSX and
different flavours of linux.

Marathi, Hindi and Sanskrit use the Devanagari script; hence, I think that
such a simple file should not produce any error or warning.

Your help will be very valuable! Thank you in advance!

With best regards,
-Rohit Dilip Holkar.


Marathi.tex
Description: TeX document
This is XeTeX, Version 3.14159265-2.6-0.2 (TeX Live 2015/Debian) (preloaded format=xelatex 2017.4.19)  19 APR 2017 16:20
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**\input Marathi.tex
(./Marathi.tex (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size12.clo
File: size12.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texlive/texmf-dist/tex/latex/polyglossia/polyglossia.sty
Package: polyglossia 2015/08/06 v1.42.0 Alternative to Babel for XeLaTeX and Lu
aLaTeX

(/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty
Package: etoolbox 2015/08/02 v2.2a e-TeX tools for LaTeX (JAW)
\etb@tempcnta=\count87
)
(/usr/share/texlive/texmf-dist/tex/latex/makecmds/makecmds.sty
Package: makecmds 2009/09/03 v1.0a extra command making commands
)
(/usr/share/texlive/texmf-dist/tex/latex/xkeyval/xkeyval.sty
Package: xkeyval 2014/12/03 v2.7a package option processing (HA)

(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkvutils.tex
\XKV@toks=\toks14
\XKV@tempa@toks=\toks15

(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/keyval.tex))
\XKV@depth=\count88
File: xkeyval.tex 2014/12/03 v2.7a key=value parser (HA)
))
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty
Package: expl3 2016/01/19 v6377 L3 programming layer (loader) 

(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3-code.tex
Package: expl3 2016/01/19 v6377 L3 programming layer (code)
L3 Module: l3bootstrap 2016/01/01 v6339 L3 Bootstrap code
L3 Module: l3names 2015/12/21 v6328 L3 Namespace for primitives
L3 Module: l3basics 2015/11/22 v6315 L3 Basic definitions
L3 Module: l3expan 2015/09/10 v5983 L3 Argument expansion
L3 Module: l3tl 2015/09/29 v6121 L3 Token lists
L3 Module: l3str 2016/01/03 v6357 L3 Strings
L3 Module: l3seq 2015/08/05 v5777 L3 Sequences and stacks
L3 Module: l3int 2016/01/05 v6366 L3 Integers
\c_max_int=\count89
\l_tmpa_int=\count90
\l_tmpb_int=\count91
\g_tmpa_int=\count92
\g_tmpb_int=\count93
L3 Module: l3quark 2015/08/17 v5855 L3 Quarks
L3 Module: l3prg 2015/11/01 v6216 L3 Control structures
\g__prg_map_int=\count94
L3 Module: l3clist 2015/09/02 v5901 L3 Comma separated lists
L3 Module: l3token 2015/11/11 v6249 L3 Experimental token manipulation
L3 Module: l3prop 2016/01/05 v6366 L3 Property lists
L3 Module: l3msg 2015/09/28 v6113 L3 Messages
L3 Module: l3file 2015/12/03 v6317 L3 File and I/O operations
\l_iow_line_count_int=\count95
\l__iow_target_count_int=\count96
\l__iow_current_line_int=\count97
\l__iow_current_word_int=\count98
\l__iow_current_indentation_int=\count99
L3 Module: l3skip 2016/01/05 v6366 L3 Dimensions and skips
\c_zero_dim=\dimen103
\c_max_dim=\dimen104
\l_tmpa_dim=\dimen105
\l_tmpb_dim=\dimen106
\g_tmpa_dim=\dimen107
\g_tmpb_dim=\dimen108
\c_zero_skip=\skip43
\c_max_skip=\skip44
\l_tmpa_skip=\skip45
\l_tmpb_skip=\skip46
\g_tmpa_skip=\skip47
\g_tmpb_skip=\skip48
\c_zero_muskip=\muskip10
\c_max_muskip=\muskip11
\l_tmpa_muskip=\muskip12
\l_tmpb_muskip=\muskip13
\g_tmpa_muskip=\muskip14
\g_tmpb_muskip=\muskip15
L3 Module: l3keys 2015/11/17 v6284 L3 Key-value interfaces
\g__keyval_level_int=\count100
\l_keys_choice_int=\count101
L3 Module: l3fp 2015/08/25 v5890 L3 Floating points
\c__fp_leading_shift_int=\count102
\c__fp_middle_shift_int=\count103
\c__fp_trailing_shift_int=\count104
\c__fp_big_