Uwe Stöhr | 8 Jun 2012 02:37
Favicon

[LyX master] - support a bunch of new languages (fileformat change) - tex2lyx support for - fontspec fonts - polyglossia

The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit 7eca5d94d1dcdceb8f9a904918642e8370550690
Author: Uwe Stöhr <uwestoehr <at> lyx.org>
Date:   Fri Jun 8 02:37:36 2012 +0200

    - support a bunch of new languages (fileformat change)
    - tex2lyx support for
      - fontspec fonts
      - polyglossia

diff --git a/lib/languages b/lib/languages
index 769f706..25169dc 100644
--- a/lib/languages
+++ b/lib/languages
 <at>  <at>  -75,6 +75,7  <at>  <at>  End
 # Real languages
 #

+# not yet supported by polyglossia
 Language afrikaans
 	GuiName          "Afrikaans"
 	BabelName        afrikaans
 <at>  <at>  -99,13 +100,14  <at>  <at>  Language american
 	LangCode         en_US
 End

-# Currently not supported (file format change!)
(Continue reading)

Pavel Sanda | 8 Jun 2012 13:12
Favicon

Re: [LyX master] - support a bunch of new languages (fileformat change) - tex2lyx support for - fontspec fonts - polyglossia

Uwe StĂśhr wrote:
> commit 7eca5d94d1dcdceb8f9a904918642e8370550690
> Author: Uwe StĂśhr <uwestoehr <at> lyx.org>
> Date:   Fri Jun 8 02:37:36 2012 +0200
> 
>     - support a bunch of new languages (fileformat change)
>     - tex2lyx support for
>       - fontspec fonts
>       - polyglossia
> 
> index bfee4cf..b1a61b9 100644
> --- a/src/BufferParams.cpp
> +++ b/src/BufferParams.cpp
>  <at>  <at>  -1244,8 +1244,22  <at>  <at>  void BufferParams::validate(LaTeXFeatures & features) const
>  			features.require("color");
>  	}
>  
> -	if (features.runparams().flavor == OutputParams::XETEX
> -	    && useNonTeXFonts)
> +	// some languages are only available via polyglossia
> +	if ( (features.runparams().flavor == OutputParams::XETEX
> +		  || language->lang() == "ancientgreek"
> +		  || language->lang() == "coptic"
> +		  || language->lang() == "divehi"
> +		  || language->lang() == "hindi"
> +		  || language->lang() == "kurmanji"
> +		  || language->lang() == "lao"
> +		  || language->lang() == "marathi"
> +		  || language->lang() == "occitan"
> +		  || language->lang() == "sanskrit"
(Continue reading)


Gmane