<div dir="ltr">unsubscribe</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 11, 2017 at 3:00 AM, <span dir="ltr"><<a href="mailto:xetex-request@tug.org" target="_blank">xetex-request@tug.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send XeTeX mailing list submissions to<br>
<a href="mailto:xetex@tug.org">xetex@tug.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank" rel="noreferrer">http://tug.org/mailman/<wbr>listinfo/xetex</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:xetex-request@tug.org">xetex-request@tug.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:xetex-owner@tug.org">xetex-owner@tug.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of XeTeX digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Mixed Roman and Indian alphabets for Sanskrit (was: what is<br>
\setmainfont used for?) (Dominik Wujastyk)<br>
2. Re: Mixed Roman and Indian alphabets for Sanskrit (was: what<br>
is \setmainfont used for?) (ShreeDevi Kumar)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Fri, 10 Feb 2017 14:41:26 -0700<br>
From: Dominik Wujastyk <<a href="mailto:wujastyk@gmail.com">wujastyk@gmail.com</a>><br>
To: Ulrike Fischer <<a href="mailto:news3@nililand.de">news3@nililand.de</a>>, "XeTeX (Unicode-based TeX)<br>
discussion." <<a href="mailto:xetex@tug.org">xetex@tug.org</a>><br>
Subject: [XeTeX] Mixed Roman and Indian alphabets for Sanskrit (was:<br>
what is \setmainfont used for?)<br>
Message-ID:<br>
<CAKdt-CcShyWFtfYR9XBpTajRF=<wbr>5uik93h=<a href="mailto:kYpngrVj7KxErTMg@mail.gmail.com">kYpngrVj7KxErTMg@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
This discussion reminds me of a long-standing question in my mind.<br>
hyph-sa.tex contains hyphenation rules for Sanskrit in several different<br>
scripts, including Latin script.<br>
<br>
The Polyglossia file gloss-sanskrit.ldf contains codes for invoking many of<br>
the scripts in which the Sanskrit language is written, such as Devanagari,<br>
Gujarati, Malayalam and so on. But there isn't a rule for saying, for<br>
Sanskrit, [Script=Latin].<br>
<br>
How would this be done? I've been looking at commands like<br>
\xpg@fontsetup@latin,<br>
but it's quite hard (for me) to see what's going on. (I should get the doc<br>
file.)<br>
<br>
Has someone already solved or addressed this, or am I wrong about it in<br>
some way?<br>
<br>
The idea would be to be able to say<br>
<br>
\setmainfont{FreeSans}[Script=<wbr>Latin]<br>
\newfontfamily\sanskGujarati{<wbr>Code2000}[Script=Gujarati]<br>
<br>
etc.<br>
<br>
Actually, the more I play with this, the less I understand what's going<br>
on. I thought I had Polyglossia nailed, but I don't. Why doesn't<br>
\sanskGujarati set my text in Gujarati script?<br>
<br>
Dominik<br>
<br>
<br>
<br>
On 10 February 2017 at 03:10, Ulrike Fischer <<a href="mailto:news3@nililand.de">news3@nililand.de</a>> wrote:<br>
<br>
> Am Fri, 10 Feb 2017 08:54:09 +0100 schrieb Zdenek Wagner:<br>
><br>
> > OK, I have a newer version. Maybe the bug is known and was fixed just a<br>
> few<br>
> > days ago.<br>
><br>
> What do mean by that you have newer version? Your fontspec is from<br>
> 2016 and mine from 2017.<br>
><br>
> And yes the bug is known. I discussed it two weeks ago with Will.<br>
><br>
><br>
> --<br>
> Ulrike Fischer<br>
> <a href="http://www.troubleshooting-tex.de/" target="_blank" rel="noreferrer">http://www.troubleshooting-<wbr>tex.de/</a><br>
><br>
><br>
><br>
> ------------------------------<wbr>--------------------<br>
> Subscriptions, Archive, and List information, etc.:<br>
> <a href="http://tug.org/mailman/listinfo/xetex" target="_blank" rel="noreferrer">http://tug.org/mailman/<wbr>listinfo/xetex</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://tug.org/pipermail/xetex/attachments/20170210/e5ff46af/attachment-0001.html" target="_blank" rel="noreferrer">http://tug.org/pipermail/<wbr>xetex/attachments/20170210/<wbr>e5ff46af/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sat, 11 Feb 2017 07:07:37 +0530<br>
From: ShreeDevi Kumar <<a href="mailto:shreeshrii@gmail.com">shreeshrii@gmail.com</a>><br>
To: "XeTeX (Unicode-based TeX) discussion." <<a href="mailto:xetex@tug.org">xetex@tug.org</a>><br>
Cc: Ulrike Fischer <<a href="mailto:news3@nililand.de">news3@nililand.de</a>><br>
Subject: Re: [XeTeX] Mixed Roman and Indian alphabets for Sanskrit<br>
(was: what is \setmainfont used for?)<br>
Message-ID:<br>
<<a href="mailto:CAG2NduU_3G5CCpZPrLHj_06MYi_JdB1dwDgS_AYAc%2BZYvR12MA@mail.gmail.com">CAG2NduU_3G5CCpZPrLHj_06MYi_<wbr>JdB1dwDgS_AYAc+ZYvR12MA@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I use Polyglossia with a modified version of ucharclasses to automatically<br>
switch font based on script. The preamble has the following :<br>
<br>
% mainfont, englishfont, sanskritfont, romanfont, devanagarifont,<br>
englishfont, vedafont<br>
\defaultfontfeatures{Mapping=<wbr>tex-text}<br>
%Polyglossia<br>
%Script (default = Devanagari) passed to Fontspec for Sanskrit language if<br>
\devanagarifont or \sanskritfont not defined<br>
\defaultfontfeatures{Mapping=<wbr>tex-text}<br>
\setmainlanguage{english}<br>
\setotherlanguage{sanskrit}<br>
%<br>
%Fontspec<br>
\setmainfont[Color=teal]{<wbr>FreeSerif}<br>
\setmonofont[Path=/home/shree/<wbr>sanskritdocuments-git/fonts/,<wbr>Scale=0.7]{mplus-1m-regular.<wbr>ttf}<br>
%<br>
\newfontfamily{\englishfont}{<wbr>FreeSerif}<br>
%<br>
\newfontfamily{\<wbr>devanagarifont}[Scale=1]{Lohit Devanagari}<br>
\newfontfamily{\tamilfont}[<wbr>Script=Tamil,Scale=0.9]{Lohit Tamil Classical}<br>
\newfontfamily{\telugufont}[<wbr>Path=/home/shree/<wbr>sanskritdocuments-git/fonts/,<wbr>Script=Telugu,Scale=1.1]{<wbr>Pothana2000Vedic_1_2_1.ttf}<br>
\newfontfamily{\gujaratifont}[<wbr>Path=/home/shree/<wbr>sanskritdocuments-git/fonts/,<wbr>Scale=1,Script=Gujarati]{Rasa-<wbr>Regular.ttf}<br>
\newfontfamily{\vedafont}[<wbr>Scale=1.2,Color=purple]{<wbr>Siddhanta}<br>
\newfontfamily{\vedablackfont}<wbr>[Scale=1.1]{Siddhanta}<br>
%<br>
\usepackage[Latin, GeneralPunctuation, DevanagariMarks, DevanagariPreMarks,<br>
DevanagariExtended, DevanagariPostMarks, Gujarati, Tamil, Telugu,<br>
VedicExtensions, SuperscriptsAndSubscripts]{<wbr>ucharclasses}<br>
\setTransitionsForLatin{\<wbr>englishfont}{}<br>
\setTransitionTo{<wbr>GeneralPunctuation}{\<wbr>englishfont}<br>
\setTransitionTo{<wbr>SuperscriptsAndSubscripts}{\<wbr>englishfont}<br>
\setTransitionTo{<wbr>DevanagariPreMarks}{\<wbr>devanagarifont}<br>
\setTransitionTo{<wbr>DevanagariPostMarks}{\<wbr>devanagarifont}<br>
\setTransitionTo{<wbr>DevanagariMarks}{\vedafont}<br>
\setTransitionTo{<wbr>DevanagariExtended}{\<wbr>vedablackfont}<br>
\setTransitionTo{<wbr>VedicExtensions}{\vedafont}<br>
\setTransitionTo{Gujarati}{\<wbr>gujaratifont}<br>
\setTransitionTo{Tamil}{\<wbr>tamilfont}<br>
\setTransitionTo{Telugu}{\<wbr>telugufont}<br>
%<br>
\setTransitionsFor{Latin}<br>
{\hyphenrules{english}\<wbr>englishfont}<br>
{\hyphenrules{sanskrit}\<wbr>devanagarifont}<br>
\setTransitionsFor{Devanagari}<br>
{\hyphenrules{sanskrit}\<wbr>devanagarifont}<br>
{\hyphenrules{english}\<wbr>englishfont}<br>
%<br>
<br>
<br>
ShreeDevi<br>
______________________________<wbr>______________________________<br>
??? - ?????? - ???? @ <a href="http://bhajans.ramparivar.com" target="_blank" rel="noreferrer">http://bhajans.ramparivar.com</a><br>
<br>
On Sat, Feb 11, 2017 at 3:11 AM, Dominik Wujastyk <<a href="mailto:wujastyk@gmail.com">wujastyk@gmail.com</a>><br>
wrote:<br>
<br>
> This discussion reminds me of a long-standing question in my mind.<br>
> hyph-sa.tex contains hyphenation rules for Sanskrit in several different<br>
> scripts, including Latin script.<br>
><br>
> The Polyglossia file gloss-sanskrit.ldf contains codes for invoking many<br>
> of the scripts in which the Sanskrit language is written, such as<br>
> Devanagari, Gujarati, Malayalam and so on. But there isn't a rule for<br>
> saying, for Sanskrit, [Script=Latin].<br>
><br>
> How would this be done? I've been looking at commands like \xpg@fontsetup@latin,<br>
> but it's quite hard (for me) to see what's going on. (I should get the doc<br>
> file.)<br>
><br>
> Has someone already solved or addressed this, or am I wrong about it in<br>
> some way?<br>
><br>
> The idea would be to be able to say<br>
><br>
> \setmainfont{FreeSans}[Script=<wbr>Latin]<br>
> \newfontfamily\sanskGujarati{<wbr>Code2000}[Script=Gujarati]<br>
><br>
> etc.<br>
><br>
> Actually, the more I play with this, the less I understand what's going<br>
> on. I thought I had Polyglossia nailed, but I don't. Why doesn't<br>
> \sanskGujarati set my text in Gujarati script?<br>
><br>
> Dominik<br>
><br>
><br>
><br>
> On 10 February 2017 at 03:10, Ulrike Fischer <<a href="mailto:news3@nililand.de">news3@nililand.de</a>> wrote:<br>
><br>
>> Am Fri, 10 Feb 2017 08:54:09 +0100 schrieb Zdenek Wagner:<br>
>><br>
>> > OK, I have a newer version. Maybe the bug is known and was fixed just a<br>
>> few<br>
>> > days ago.<br>
>><br>
>> What do mean by that you have newer version? Your fontspec is from<br>
>> 2016 and mine from 2017.<br>
>><br>
>> And yes the bug is known. I discussed it two weeks ago with Will.<br>
>><br>
>><br>
>> --<br>
>> Ulrike Fischer<br>
>> <a href="http://www.troubleshooting-tex.de/" target="_blank" rel="noreferrer">http://www.troubleshooting-<wbr>tex.de/</a><br>
>><br>
>><br>
>><br>
>> ------------------------------<wbr>--------------------<br>
>> Subscriptions, Archive, and List information, etc.:<br>
>> <a href="http://tug.org/mailman/listinfo/xetex" target="_blank" rel="noreferrer">http://tug.org/mailman/<wbr>listinfo/xetex</a><br>
>><br>
><br>
><br>
><br>
><br>
> ------------------------------<wbr>--------------------<br>
> Subscriptions, Archive, and List information, etc.:<br>
> <a href="http://tug.org/mailman/listinfo/xetex" target="_blank" rel="noreferrer">http://tug.org/mailman/<wbr>listinfo/xetex</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://tug.org/pipermail/xetex/attachments/20170211/a313d8b9/attachment-0001.html" target="_blank" rel="noreferrer">http://tug.org/pipermail/<wbr>xetex/attachments/20170211/<wbr>a313d8b9/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
XeTeX mailing list<br>
<a href="mailto:XeTeX@tug.org">XeTeX@tug.org</a><br>
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank" rel="noreferrer">http://tug.org/mailman/<wbr>listinfo/xetex</a><br>
<br>
<br>
------------------------------<br>
<br>
End of XeTeX Digest, Vol 155, Issue 8<br>
******************************<wbr>*******<br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Kevin Warnock<br>(415) 613-9990 mobile phone number<br><a href="http://KevinWarnock.com" target="_blank">http://KevinWarnock.com</a> - my blog<br></div>
</div>