I must admit that I find this a bit frustrating. The tex-gyre font project looks so promising, but users need a simpler syntax to use the fonts (I know we want need this anymore with luatex, but it needs to be fixed anyway).
This type of patch to type-gyr.tex should help:
-\starttypescript[serif][palatino][ec,texnansi,cs,el,qx,rm,t5,t2a,t2 b,t2c,l7x] +\starttypescript[serif][palatino,pagella][ec,texnansi,cs,el,qx,rm,t 5,t2a,t2b,t2c,l7x]
(you can't define a typeface for an undefined typescript).
Hans doesn't like avantgarde, so for you adventor you will have to create a completely new typescript, as it was never previously defined in the core.
Cheers, Taco
'type-gyr.tex' defines!!! adventor. But the encoding-script is wrong, as Thomas has pointed out. --- excerpt from type-gyr.tex --- \definetypescriptprefix [n:adventor][TeXGyreAdventor] \definetypescriptprefix [f:adventor][ag] \starttypescript [serif] [pagella,termes,heros,bonum,schola,adventor] [ec,texnansi,cs,el,qx,rm,t5,t2a,t2b,t2c,l7x] \loadmapfile[q\typescriptprefix{f:\typescripttwo}-\typescriptthree.map] \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Regular] [\typescriptthree-q\typescriptprefix{f:\typescripttwo}r] [encoding=\typescriptthree] ... \stoptypescript \starttypescript [sans] [heros,adventor] [name] \definefontsynonym [Sans] [\typescriptprefix{n:\typescripttwo}-Regular] ... \stoptypescript \starttypescript [map] [pagella,termes,bonum,schola,heros,adventor] [all] \loadmapfile[q\typescriptprefix{f:\typescripttwo}-\typescriptthree.map] \stoptypescript --- I still have some questions: - A complete (all gyre-fonts) type-script makes sense. Will 'type- gyr' be fixed, or should I create my own? - What are the map-files at the gyre-site for? - Is the second \loadmapfile entry above redundant? - What is the correct texfont syntax, to install adventors small-caps variant? - There are enc-files in the ??dvips?? subdirectory of the font tree: 'fonts/enc/dvips/tex-gyre/q-<encoding>-sc.enc Should I make use from these files? Will they be found there? Wolfgang
Wolfgang Werners-Lucchini wrote:
I must admit that I find this a bit frustrating. The tex-gyre font project looks so promising, but users need a simpler syntax to use the fonts (I know we want need this anymore with luatex, but it needs to be fixed anyway). This type of patch to type-gyr.tex should help:
-\starttypescript[serif][palatino][ec,texnansi,cs,el,qx,rm,t5,t2a,t2 b,t2c,l7x] +\starttypescript[serif][palatino,pagella][ec,texnansi,cs,el,qx,rm,t 5,t2a,t2b,t2c,l7x]
(you can't define a typeface for an undefined typescript).
Hans doesn't like avantgarde, so for you adventor you will have to create a completely new typescript, as it was never previously defined in the core.
Cheers, Taco
'type-gyr.tex' defines!!! adventor. But the encoding-script is wrong, as Thomas has pointed out.
Oops, I should study the files more before replying, sorry.
I still have some questions:
- A complete (all gyre-fonts) type-script makes sense. Will 'type- gyr' be fixed, or should I create my own?
It should get fixed.
- What are the map-files at the gyre-site for?
The xxx-hh zips you mean? these are absolete.
- Is the second \loadmapfile entry above redundant?
I _think_ so, but am not completely sure.
- What is the correct texfont syntax, to install adventors small-caps variant?
I do not know, I am not even sure you should run texfont.
- There are enc-files in the ??dvips?? subdirectory of the font tree:
'fonts/enc/dvips/tex-gyre/q-<encoding>-sc.enc
Should I make use from these files? Will they be found there?
The enc files will (should) be found automatically by pdftex, even if they are in the dvips folder. But this depends on the previous question somehow. Taco
participants (2)
-
Taco Hoekwater
-
Wolfgang Werners-Lucchini