Re: Polyglossia: How to specify font for all latin script languages at once
- From: Manuel Collado <m.collado@xxxxxxxxxxxxxx>
- Date: Sat, 24 Sep 2011 23:38:16 +0200
El 23/09/2011 10:28, Ulrike Fischer escribió:
Am Thu, 22 Sep 2011 22:35:30 +0200 schrieb Manuel Collado:
polyglossia uses a part babel, the part which is directly included
in the format (hyphen.cfg). But \selectlanguage is directly
(re)defined by polyglossia and it is also mentioned in the
documentation. It is the correct way to change the languages for a
large part of a document. \text<lang> is only meant for small
pieces.
polyglossia.pdf mention \selectlanguage in the section:
"3.1 Other commands
The following commands are probably of lesser interest to the end user, but ought to be mentioned here.
....
Some macros defined in Babel ’s hyphen.cfg (and thus usually compiled into
the xelatex format) are redefined, but keep a similar behaviour, namely \selectlanguage, \foreignlanguage, and the environment otherlanguage."
IMHO, this doesn't mean that \selectlanguage is the preferred way to change the languages for a large part of a document. I assume that the intended way, as stated at the beginning of "section 3 Language-switching commands" is
\begin{<lang>} ... \end{<lang>}
...That is an interesting hint. I have to try this way. Is it enough to put
the gloss-file among the distributed ones in order to use it?
Better put them in a similar location in a local texmf tree. But for
test you can also simply put in the document folder.
After looking at several gloss-*.lfd files, I'm afraid that writing a new one is far beyond my capabilities.
But I remember your advice: "Imho the whole fonts switching system of polyglossia is a bit flawed".
You are probably right. My needs are more about automatic font selection than language selection. Perhaps packages like "ucharclasses" will help.
Thanks, one more time.
--
Manuel Collado - http://lml.ls.fi.upm.es/~mcollado
.
- References:
- Polyglossia: How to specify font for all latin script languages at once
- From: Manuel Collado
- Re: Polyglossia: How to specify font for all latin script languages at once
- From: Guenter Milde
- Re: Polyglossia: How to specify font for all latin script languages at once
- From: Manuel Collado
- Re: Polyglossia: How to specify font for all latin script languages at once
- From: Ulrike Fischer
- Re: Polyglossia: How to specify font for all latin script languages at once
- From: Manuel Collado
- Re: Polyglossia: How to specify font for all latin script languages at once
- From: Ulrike Fischer
- Re: Polyglossia: How to specify font for all latin script languages at once
- From: Manuel Collado
- Re: Polyglossia: How to specify font for all latin script languages at once
- From: Ulrike Fischer
- Polyglossia: How to specify font for all latin script languages at once
- Prev by Date: Re: Need help for choosing between TeX / XeTeX / LuaTeX
- Next by Date: CTAN bundle update: Circuit_macros
- Previous by thread: Re: Polyglossia: How to specify font for all latin script languages at once
- Next by thread: Odd pstricks behaviour
- Index(es):
Relevant Pages
|