[OT] creating-a-style-file-in-context
I've tested and installed fontin and museo in my texmf-local/tex/context/fonts/opentype/ directory The font has been found according to output from mtxrun --script fonts --list script but still Museo700 and fontin will not be find by doing context 74.tex I have installed type-exljbris.tex under the "third" structure. Anyway I attached the 74.log and some other outputs in output.txt . What seems to be wrong here? Thanks in advance for any help Janneman luigi scarso skrev:
http://randomdeterminism.wordpress.com/2009/10/21/creating-a-style-file-in-c...
-- luigi
------------------------------------------------------------------------
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
% ---- Output from mtxrun --script fonts --list fontinregular Fontin Regular Fontin-SmallCaps.otf fontinsans Fontin Sans Rg Bold Fontin_Sans_BI_45b.otf fontinsansrgbold Fontin Sans Rg Bold Fontin_Sans_BI_45b.otf fontinsansrgnormal Fontin Sans Rg Normal Fontin_Sans_I_45b.otf fontinsansrgregular Fontin Sans Rg Regular Fontin_Sans_R_45b.otf fontinsansscregular Fontin Sans Sc Regular Fontin_Sans_SC_45b.otf ... museo Museo 700 Bold Museo700-Regular.otf museo700bold Museo 700 Bold Museo700-Regular.otf museoregular Museo 700 Bold Museo700-Regular.otf % ------
From the type-exljbris.tex file
\starttypescript [serif] [fontin] \setups[font:fallback:serif] \definefontsynonym [Serif] [Fontin-Regular] \definefontsynonym [SerifItalic] [Fontin-Italic] \definefontsynonym [SerifBold] [Fontin-Bold] \definefontsynonym [SerifBoldItalic] [SerifBold] \definefontsynonym [SerifCaps] [Fontin-Caps] \stoptypescript \starttypescript [sans] [fontin] \setups[font:fallback:sans] \definefontsynonym [Sans] [FontinSans-Regular] \definefontsynonym [SansItalic] [FontinSans-Italic] \definefontsynonym [SansBold] [FontinSans-Bold] \definefontsynonym [SansBoldItalic] [FontinSans-BoldItalic] \definefontsynonym [SansCaps] [FontinSans-Caps] \stoptypescript \starttypescript [fontin] \definetypeface [fontin] [rm] [serif] [fontin] [default] \definetypeface [fontin] [ss] [sans] [fontin] [default] \definetypeface [fontin] [tt] [mono] [modern] [default] [rscale=1.1] \definetypeface [fontin] [mm] [math] [palatino] [default] \stoptypescript And from the t-irex.tex file: \definefont [interludefont] [name:museo700 at 28pt] \definefont [chapterfont] [name:museo700 at 32pt]
Am 25.10.2009 um 10:15 schrieb Jan-Erik Hägglöf:
I've tested and installed fontin and museo in my texmf-local/tex/context/fonts/opentype/ directory
The font has been found according to output from mtxrun --script fonts --list script
but still Museo700 and fontin will not be find by
let context know there are new files in the TeX directory luatools --generate Wolfgang
Wolfgang Schuster wrote:
Am 25.10.2009 um 10:15 schrieb Jan-Erik Hägglöf:
I've tested and installed fontin and museo in my texmf-local/tex/context/fonts/opentype/ directory
The font has been found according to output from mtxrun --script fonts --list script
but still Museo700 and fontin will not be find by
let context know there are new files in the TeX directory
luatools --generate
On top of that: In type-exljbris, you should use the first column of the output of mtxrun --script fonts --list, if you use the name: prefix. When I look at the list, I see no font named 'museo700'. Similarly, it seems there is no font named 'Fontin-Bold'. Best wishes, Taco
Am 25.10.2009 um 10:27 schrieb Taco Hoekwater:
On top of that:
In type-exljbris, you should use the first column of the output of mtxrun --script fonts --list, if you use the name: prefix.
type-exlbjbris.mkiv: % Museo, Museo Sans \starttypescript [serif] [museo] \definefontsynonym [Museo-300] [name:museo300] [features=default] \definefontsynonym [Museo-500] [name:museo500] [features=default] \definefontsynonym [Museo-700] [name:museo700] [features=default] \stoptypescript Terminal: rover:~ wolf$ mtxrun --script fonts --list museo* museo Museo 300 Regular Museo300-Regular.otf museo300 Museo 300 Museo300-Regular.otf museo300regular Museo 300 Regular Museo300-Regular.otf museo500 Museo 500 Museo500-Regular.otf museo500medium Museo 500 Medium Museo500-Regular.otf museo700 Museo 700 Museo700-Regular.otf museo700bold Museo 700 Bold Museo700-Regular.otf museoregular Museo 300 Regular Museo300-Regular.otf Wolfgang
Wolfgang Schuster skrev:
Am 25.10.2009 um 10:27 schrieb Taco Hoekwater:
On top of that:
In type-exljbris, you should use the first column of the output of mtxrun --script fonts --list, if you use the name: prefix.
type-exlbjbris.mkiv:
% Museo, Museo Sans
\starttypescript [serif] [museo] \definefontsynonym [Museo-300] [name:museo300] [features=default] \definefontsynonym [Museo-500] [name:museo500] [features=default] \definefontsynonym [Museo-700] [name:museo700] [features=default] \stoptypescript
Terminal:
rover:~ wolf$ mtxrun --script fonts --list museo* museo Museo 300 Regular Museo300-Regular.otf museo300 Museo 300 Museo300-Regular.otf museo300regular Museo 300 Regular Museo300-Regular.otf museo500 Museo 500 Museo500-Regular.otf museo500medium Museo 500 Medium Museo500-Regular.otf museo700 Museo 700 Museo700-Regular.otf museo700bold Museo 700 Bold Museo700-Regular.otf museoregular Museo 300 Regular Museo300-Regular.otf
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
I've done the luatools --generate stuff and in the t-irex.tex I have \definefont [interludefont] [name:museo700bold at 28pt] \definefont [chapterfont] [name:museo700bold at 32pt] and the output from mtxrun --script fonts --list museo* museo Museo 700 Bold Museo700-Regular.otf museo700bold Museo 700 Bold Museo700-Regular.otf museoregular Museo 700 Bold Museo700-Regular.otf but still the error message: define font | forced type otf of Museo700-Regular not found define font | font with name Museo700-Regular is not found define font | unknown font Museo700-Regular, loading aborted I just installed the museo700 not museo500 or museo300, is this causing this? What should I do from here? Not so good at this. I have not altered anything in the original type-xljbris.tex or type-xljbris.mkiv Is there some changes neccessary in those files? many thanks Janneman
Am 25.10.2009 um 11:27 schrieb Jan-Erik Hägglöf:
I just installed the museo700 not museo500 or museo300, is this causing this?
I tested this myself and there is no difference but it's possible you use a older version of the museo fonts, can you download them from myfonts.com and try it again. Wolfgang
On Sun, 25 Oct 2009, Jan-Erik Hägglöf wrote:
Wolfgang Schuster skrev:
Am 25.10.2009 um 10:27 schrieb Taco Hoekwater:
On top of that:
In type-exljbris, you should use the first column of the output of mtxrun --script fonts --list, if you use the name: prefix.
type-exlbjbris.mkiv:
% Museo, Museo Sans
\starttypescript [serif] [museo] \definefontsynonym [Museo-300] [name:museo300] [features=default] \definefontsynonym [Museo-500] [name:museo500] [features=default] \definefontsynonym [Museo-700] [name:museo700] [features=default] \stoptypescript
Terminal:
rover:~ wolf$ mtxrun --script fonts --list museo* museo Museo 300 Regular Museo300-Regular.otf museo300 Museo 300 Museo300-Regular.otf museo300regular Museo 300 Regular Museo300-Regular.otf museo500 Museo 500 Museo500-Regular.otf museo500medium Museo 500 Medium Museo500-Regular.otf museo700 Museo 700 Museo700-Regular.otf museo700bold Museo 700 Bold Museo700-Regular.otf museoregular Museo 300 Regular Museo300-Regular.otf
Wolfgang
I've done the luatools --generate stuff
and in the t-irex.tex I have
\definefont [interludefont] [name:museo700bold at 28pt] \definefont [chapterfont] [name:museo700bold at 32pt]
and the output from
mtxrun --script fonts --list museo*
museo Museo 700 Bold Museo700-Regular.otf museo700bold Museo 700 Bold Museo700-Regular.otf museoregular Museo 700 Bold Museo700-Regular.otf
but still the error message:
define font | forced type otf of Museo700-Regular not found define font | font with name Museo700-Regular is not found define font | unknown font Museo700-Regular, loading aborted
I just installed the museo700 not museo500 or museo300, is this causing this?
What should I do from here? Not so good at this. I have not altered anything in the original type-xljbris.tex or type-xljbris.mkiv
Can you test what happens with a minimal file: \definefont[testfont][name:museo700] \starttext \testfont \input knuth \stoptext
Is there some changes neccessary in those files?
No. type-exljbris works fine here. The only other thing that I can think of is probably something wrong with the PATH. Try running mtxrun --script context 74.tex (rather than context 74.tex) Aditya
Here is a test and the attached output and also the path of where the fonts are placed in file font.dir and the output from mtxrun --script fonts list museo* in fonts.list Janneman
Can you test what happens with a minimal file:
\definefont[testfont][name:museo700]
\starttext \testfont \input knuth \stoptext
Is there some changes neccessary in those files?
No. type-exljbris works fine here.
The only other thing that I can think of is probably something wrong with the PATH. Try running
mtxrun --script context 74.tex (rather than context 74.tex)
Aditya ------------------------------------------------------------------------
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
museo Museo 700 Bold Museo700-Regular.otf museo700bold Museo 700 Bold Museo700-Regular.otf museoregular Museo 700 Bold Museo700-Regular.otf -- version: 1.10 -- file: test -- format: cont-en -- stamp: 2009.10.21 10:28 -- escape: [===[ ... ]===] jobvariables = jobvariables or { } jobvariables.checksums = jobvariables.checksums or { } jobvariables.checksums={ new="22AF645D1859CB5CA6DA0C484F1F37EA", old="149603E6C03516362A8DA23F624DB945", } jobvariables = jobvariables or { } jobvariables.collected = jobvariables.collected or { } jobvariables.collected={ randomseed=0.1938218880416, totalnofparbackgrounds=0, } jobpasses = jobpasses or { } jobpasses.collected = jobpasses.collected or { } jobpasses.collected={ } structure = structure or { } structure.specials = structure.specials or { } structure.specials.collected = structure.specials.collected or { } structure.specials.collected={ } structure = structure or { } structure.lists = structure.lists or { } structure.lists.collected = structure.lists.collected or { } structure.lists.collected={ } structure = structure or { } structure.counters = structure.counters or { } structure.counters.collected = structure.counters.collected or { } structure.counters.collected={ ["@@si"]={ { 0, 0 }, }, endnote={ { 0, 0, 0, 0 }, }, figure={ { 0, 0 }, }, footnote={ { 0, 0, 0, 0 }, }, formula={ { 0, 0 }, }, graphic={ { 0, 0 }, }, intermezzo={ { 0, 0 }, }, ["itemgroup:itemize"]={ { 0, 0 }, }, linenote={ { 0, 0, 0, 0 }, }, realpage={ { 0, 1 }, }, subpage={ { 0, 1 }, }, table={ { 0, 0 }, }, userpage={ { 0, 1 }, }, } jobpages = jobpages or { } jobpages.collected = jobpages.collected or { } jobpages.collected={ { block="bodypart", number=1, prefixdata=1, }, } jobreferences = jobreferences or { } jobreferences.collected = jobreferences.collected or { } jobreferences.collected={ } jobregisters = jobregisters or { } jobregisters.collected = jobregisters.collected or { } jobregisters.collected={ } jobpositions = jobpositions or { } jobpositions.collected = jobpositions.collected or { } jobpositions.collected={ } jobobjects = jobobjects or { } jobobjects.collected = jobobjects.collected or { } jobobjects.collected={ } joblists = joblists or { } joblists.collected = joblists.collected or { } joblists.collected={ } structure = structure or { } structure.blocks = structure.blocks or { } structure.blocks.collected = structure.blocks.collected or { } structure.blocks.collected={ } job.packer={ index={ { connector="\\endash ", prefix="no", set="part", }, }, keys={ directives=true, metadata=true, numberdata=true, numbers=true, pagedata=true, prefixdata=true, sectiondata=true, specification=true, }, version=1.01, }
On Sun, 25 Oct 2009, Jan-Erik Hägglöf wrote:
Here is a test and the attached output and also the path of where the fonts are placed in file font.dir and the output from mtxrun --script fonts list museo* in fonts.list
Can context read the fonts? One way to check is mtxrun --script fonts --list "museo*" --info Aditya
Aditya Mahajan skrev:
On Sun, 25 Oct 2009, Jan-Erik Hägglöf wrote:
Here is a test and the attached output and also the path of where the fonts are placed in file font.dir and the output from mtxrun --script fonts list museo* in fonts.list
Can context read the fonts? One way to check is
mtxrun --script fonts --list "museo*" --info
Aditya Output is as follows:
mtxrun --script fonts --list "museo*" --info MTXrun | fontname: museo MTXrun | fullname: Museo 700 Bold MTXrun | filename: Museo700-Regular.otf MTXrun | MTXrun | fontname: museo700bold MTXrun | fullname: Museo 700 Bold MTXrun | filename: Museo700-Regular.otf MTXrun | MTXrun | fontname: museoregular MTXrun | fullname: Museo 700 Bold MTXrun | filename: Museo700-Regular.otf MTXrun |
___________________________________________________________
Aditya Mahajan skrev:
On Sun, 25 Oct 2009, Jan-Erik Hägglöf wrote:
Here is a test and the attached output and also the path of where the fonts are placed in file font.dir and the output from mtxrun --script fonts list museo* in fonts.list
Can context read the fonts? One way to check is
mtxrun --script fonts --list "museo*" --info
Aditya _____
And the ls -l output: ls -l ctx/tex/texmf-local/tex/context/fonts/opentype/ totalt 5760 -rw-r--r-- 1 sameman sameman 1063912 2009-03-21 01:09 Biolinum_Bd.otf -rw-r--r-- 1 sameman sameman 1060284 2009-03-21 01:01 Biolinum_Re.otf -rw-r--r-- 1 sameman sameman 25424 2006-02-25 21:02 Delicious-BoldItalic.otf -rw-r--r-- 1 sameman sameman 24648 2006-02-25 21:02 Delicious-Bold.otf -rw-r--r-- 1 sameman sameman 25264 2006-02-25 21:02 Delicious-Heavy.otf -rw-r--r-- 1 sameman sameman 25036 2006-02-25 21:02 Delicious-Italic.otf -rw-r--r-- 1 sameman sameman 24700 2006-02-25 21:02 Delicious-Roman.otf -rw-r--r-- 1 sameman sameman 25532 2006-02-25 21:02 Delicious-SmallCaps.otf -rw-r--r-- 1 sameman sameman 33964 2007-12-09 19:20 Diavlo_BLACK_II_37.otf -rw-r--r-- 1 sameman sameman 33460 2007-12-09 19:20 Diavlo_BOLD_II_37.otf -rw-r--r-- 1 sameman sameman 32704 2007-12-09 19:20 Diavlo_BOOK_II_37.otf -rw-r--r-- 1 sameman sameman 33404 2007-12-09 19:20 Diavlo_LIGHT_II_37.otf -rw-r--r-- 1 sameman sameman 34696 2007-12-09 19:20 Diavlo_MEDIUM_II_37.otf -rw-r--r-- 1 sameman sameman 30460 2006-02-27 15:01 Fontin-Bold.otf -rw-r--r-- 1 sameman sameman 30636 2006-02-27 15:01 Fontin-Italic.otf -rw-r--r-- 1 sameman sameman 30396 2006-02-27 15:01 Fontin-Regular.otf -rw-r--r-- 1 sameman sameman 24984 2007-03-05 22:29 Fontin_Sans_B_45b.otf -rw-r--r-- 1 sameman sameman 24268 2007-03-05 22:33 Fontin_Sans_BI_45b.otf -rw-r--r-- 1 sameman sameman 24772 2007-03-05 22:27 Fontin_Sans_I_45b.otf -rw-r--r-- 1 sameman sameman 25564 2007-03-05 22:33 Fontin_Sans_R_45b.otf -rw-r--r-- 1 sameman sameman 27384 2007-03-05 22:24 Fontin_Sans_SC_45b.otf -rw-r--r-- 1 sameman sameman 29308 2006-02-27 15:01 Fontin-SmallCaps.otf -rw-r--r-- 1 sameman sameman 955076 2009-03-21 00:35 LinLibertine_Bd.otf -rw-r--r-- 1 sameman sameman 330492 2009-03-21 00:49 LinLibertine_BI.otf -rw-r--r-- 1 sameman sameman 209344 2009-03-21 00:56 LinLibertineC_Re.otf -rw-r--r-- 1 sameman sameman 367060 2009-03-21 00:43 LinLibertine_It.otf -rw-r--r-- 1 sameman sameman 1089596 2009-03-21 00:17 LinLibertine_Re.otf -rw-r--r-- 1 sameman sameman 129080 2008-07-04 13:53 Museo700-Regular.otf -rw-r--r-- 1 sameman sameman 19996 2006-10-07 11:48 Tallys_15.otf
Am 21.10.2009 um 11:05 schrieb luigi scarso:
http://randomdeterminism.wordpress.com/2009/10/21/creating-a-style-file-in-c...
Why not simplefonts instead of typescript files, there is also a definefont command \definesimplefont[interludefont][Museo700 at 28pt] For the interlude text the standard- or textmakeup environments are perfect suited. Wolfgang
Wolfgang Schuster skrev:
Am 21.10.2009 um 11:05 schrieb luigi scarso:
http://randomdeterminism.wordpress.com/2009/10/21/creating-a-style-file-in-c...
Why not simplefonts instead of typescript files, there is also a definefont command
\definesimplefont[interludefont][Museo700 at 28pt]
For the interlude text the standard- or textmakeup environments are perfect suited.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Thanks for the fonts i've replaced them , moved everything my home/user/.fonts directory Done luatools --generate mtxrun .....--reload still no finding fonts Something seems to be wrong with the path but I set $OSFONTDIR to /usr/share/fonts:/home/sameman/.fonts Still no finding fonts So it seems nothing wrong with the museo fonts (Thanks Wolfgang anyway !) It is the same issue with the other fonts I've downloaded. Janneman
Am 25.10.2009 um 15:17 schrieb Jan-Erik Hägglöf:
Thanks for the fonts i've replaced them , moved everything my home/ user/.fonts directory
Can you put them in your TeX directory and see what happens, on my system the font lies here: /Users/wolf/context/tex/texmf-project/fonts/opentype/museo/Museo700- Regular.otf Wolfgang
Wolfgang Schuster skrev:
Am 25.10.2009 um 15:17 schrieb Jan-Erik Hägglöf:
Thanks for the fonts i've replaced them , moved everything my home/user/.fonts directory
Can you put them in your TeX directory and see what happens, on my system the font lies here:
/Users/wolf/context/tex/texmf-project/fonts/opentype/museo/Museo700-Regular.otf
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
YES BOX! That worked, really AWESOME THANK YOU VERY MUCH!!! Cheers Janneman
On Sun, 25 Oct 2009, Wolfgang Schuster wrote:
Am 21.10.2009 um 11:05 schrieb luigi scarso:
http://randomdeterminism.wordpress.com/2009/10/21/creating-a-style-file-in-c...
Why not simplefonts instead of typescript files,
I understand typescripts, so there was never a need to try out simplefonts. I did that right now and it setting the document fonts is really easy. I might end up not using typescripts any more :-)
there is also a definefont command
\definesimplefont[interludefont][Museo700 at 28pt]
This does not work, I get latin modern mono instead! \definesimplefont[interludefont][Museo700] works correctly, but at the main font size. \definesimplefont[interludefont][Museo700][size=28pt] does not change the font size.
For the interlude text the standard- or textmakeup environments are perfect suited.
True. I will post an update "soon". Aditya
Am 26.10.2009 um 06:42 schrieb Aditya Mahajan:
On Sun, 25 Oct 2009, Wolfgang Schuster wrote:
Why not simplefonts instead of typescript files,
I understand typescripts, so there was never a need to try out simplefonts. I did that right now and it setting the document fonts is really easy. I might end up not using typescripts any more :-)
use whatever you like, it's your decision what method you use
there is also a definefont command
\definesimplefont[interludefont][Museo700 at 28pt]
This does not work, I get latin modern mono instead!
You need the latest version of the module. Wolfgang
On Mon, 26 Oct 2009, Wolfgang Schuster wrote:
Am 26.10.2009 um 06:42 schrieb Aditya Mahajan:
On Sun, 25 Oct 2009, Wolfgang Schuster wrote:
there is also a definefont command
\definesimplefont[interludefont][Museo700 at 28pt]
This does not work, I get latin modern mono instead!
You need the latest version of the module.
Works perfectly. Is there some documentation other than the source? Aditya
On Mon, 26 Oct 2009, Wolfgang Schuster wrote:
Am 26.10.2009 um 17:13 schrieb Aditya Mahajan:
You need the latest version of the module.
Works perfectly. Is there some documentation other than the source?
Not yet, what do you want to know?
1. What should be the argument of \setmainfont so that all font switches work. From a few examples that I tried, it should be the font name (2nd column in mtxrun --script font --list output) after removing Regular/Regu ending. Is that correct? 2. When does \sc work? It works with Fontin, but does not work with Iwona, although both have the smcp feature. 3. Should \simplefonts!weight also include lightcondensed and heavy? Aditya
Am 27.10.2009 um 07:13 schrieb Aditya Mahajan:
Not yet, what do you want to know?
1. What should be the argument of \setmainfont so that all font switches work. From a few examples that I tried, it should be the font name (2nd column in mtxrun --script font --list output) after removing Regular/Regu ending. Is that correct?
Yes, you need the fontname without any extension /regular, italic, bold ...) because the module use the extension to find all alternatives.
2. When does \sc work? It works with Fontin, but does not work with Iwona, although both have the smcp feature.
In the same way as you do it with typescript and fontfeatures, enable the latin script. \setmainfont[Iwona][script=latin] It was Hans decision to use script=dflt in ConTeXt and I'm uncertain if I should change this in the module and make latin as the default script.
3. Should \simplefonts!weight also include lightcondensed and heavy?
Can you provide a list for them. Wolfgang
Wolfgang Schuster wrote:
Am 27.10.2009 um 07:13 schrieb Aditya Mahajan:
Not yet, what do you want to know?
1. What should be the argument of \setmainfont so that all font switches work. From a few examples that I tried, it should be the font name (2nd column in mtxrun --script font --list output) after removing Regular/Regu ending. Is that correct?
Yes, you need the fontname without any extension /regular, italic, bold ...) because the module use the extension to find all alternatives.
2. When does \sc work? It works with Fontin, but does not work with Iwona, although both have the smcp feature.
In the same way as you do it with typescript and fontfeatures, enable the latin script.
\setmainfont[Iwona][script=latin]
i consider it a bug in iwona not to have set up default well; if i remember well this is reported to the authors Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Am 27.10.2009 um 09:50 schrieb Hans Hagen:
2. When does \sc work? It works with Fontin, but does not work with Iwona, although both have the smcp feature. In the same way as you do it with typescript and fontfeatures, enable the latin script. \setmainfont[Iwona][script=latin]
i consider it a bug in iwona not to have set up default well; if i remember well this is reported to the authors
there are fonts as well where you need the latin script, e.g. cambria needs it since you consider it a bug in the fonts i will stay with default and mention it in the manual Wolfgang
Wolfgang Schuster wrote:
Am 27.10.2009 um 09:50 schrieb Hans Hagen:
2. When does \sc work? It works with Fontin, but does not work with Iwona, although both have the smcp feature. In the same way as you do it with typescript and fontfeatures, enable the latin script. \setmainfont[Iwona][script=latin]
i consider it a bug in iwona not to have set up default well; if i remember well this is reported to the authors
there are fonts as well where you need the latin script, e.g. cambria needs it
since you consider it a bug in the fonts i will stay with default and mention it in the manual
at some point we will have a database with proper defaults but that's work in progress (part of font goodies) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Tue, 27 Oct 2009, Wolfgang Schuster wrote:
Am 27.10.2009 um 07:13 schrieb Aditya Mahajan:
2. When does \sc work? It works with Fontin, but does not work with Iwona, although both have the smcp feature.
In the same way as you do it with typescript and fontfeatures, enable the latin script.
\setmainfont[Iwona][script=latin]
OK.
3. Should \simplefonts!weight also include lightcondensed and heavy?
Can you provide a list for them.
Many fonts provide a heavy version; Antykwa provides condensed light; Kurier provides condensed medium and condensed heavy. So, a partial list might be (I don't know if this is complete or not) \def\simplefonts!weight {\v!light,\v!normal,\v!medium,\v!heavy \v!condensed\v!light,\v!condensed,\v!condensed\v!medium,\v!condensed\v!heavy} Thanks, Aditya
Am 27.10.2009 um 14:38 schrieb Aditya Mahajan:
3. Should \simplefonts!weight also include lightcondensed and heavy?
Can you provide a list for them.
Many fonts provide a heavy version; Antykwa provides condensed light; Kurier provides condensed medium and condensed heavy. So, a partial list might be (I don't know if this is complete or not)
\def\simplefonts!weight {\v!light,\v!normal,\v!medium,\v!heavy,\v!condensed\v!light,\v! condensed,\v!condensed\v!medium,\v!condensed\v!heavy}
I need also a list like these for each weight (this is the logic to find all alternatives for a given font): \getparameters [\????sf\v!heavy] [ \c!regular={heavyregular,heavy}, \c!italic={heavyitalic,\namedsimplefontparameter\v!heavy \c!regular}, \c!slanted={\namedsimplefontparameter\v!heavy\c!italic}, \c!bold={\namedsimplefontparameter\v!heavy\c!regular}, \c!bolditalic={\namedsimplefontparameter\v!heavy\c!bold}, \c!boldslanted={\namedsimplefontparameter\v!heavy\c!bolditalic}, \c!caps={\namedsimplefontparameter\v!heavy\c!regular}, \c!italiccaps={\namedsimplefontparameter\v!heavy\c!caps}, \c!slantedcaps={\namedsimplefontparameter\v!heavy\c!italiccaps}, \c!boldcaps={\namedsimplefontparameter\v!heavy\c!caps}, \c!bolditaliccaps={\namedsimplefontparameter\v!heavy\c!boldcaps}, \c!boldslantedcaps={\namedsimplefontparameter\v!heavy\c! bolditaliccaps}] Wolfgang
participants (6)
-
Aditya Mahajan
-
Hans Hagen
-
Jan-Erik Hägglöf
-
luigi scarso
-
Taco Hoekwater
-
Wolfgang Schuster