Re: [NTG-context] Symbola font glyph size
On Sat, Feb 12, 2011 at 9:09 PM, Taco Hoekwater wrote: > > > On 12 feb. 2011, at 20:48, Vianney le Clément wrote: > >> >> If I use \definedfont[file:Symbola602.otf sa 2], the glyphs are more >> or less the good size, but the metrics are way too large. I have no >> problems with this font in OpenOffice. >> > How old is your luatex and context combination? It sounds like a bug we fixed > a while ago (the font is probably a postscript font with an abnormal units > per em setting) No, it's a truetype font with 2048 UnitsPerEm. This font has not kerning at all: it is only usable as .. symbol ! :-) > > Best wishes, > > Taco > ___ > 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 > ___ > -- 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 ___
Re: [NTG-context] Table of Contents issues
Dear Tom, I had the similar problem. You may consider Andrea's and Wolfgang's suggestion in ntg-context Digest mail, Vol 80, issue 24, 25. "chapter head and placelist" Enjoy ConTeXt. best regards, Dalyoung ___ 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 ___
[NTG-context] Chinese TTC fonts can not be loaded with the beta (2011.02.11)
Hi, For this example with simsun.ttc (it can be download from http://www.slax.org/modules.php?action=detail&id=2630): \definefont[song][name:nsimsun] \starttext \song 测试 \stoptext ConTeXt MkIV said: fonts > fallback modern rm 12pt is loaded system > begin file b at line 3 fonts > otf loading > loading: selfautoparent:texmf-local/fonts/truetype/winfonts/simsun.ttc (hash: simsun-nsimsun) fonts > otf loading > font loaded okay fonts > otf loading > loading failed (file read error) fonts > defining > forced type ttc of simsun not found I have tested the uming.ttc (AR PL UMing, it can be download from http://www.freedesktop.org/wiki/Software/CJKUnifonts/Download) and got the same error. -- Best regards, Li Yanrui ___ 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 ___
[NTG-context] Using fonts from multiple families
\usetypescriptfile[type-one] \usetypescriptfile[type-gyr] TexLive 2010 MKII on a PC I'm completely flummoxed as how to use fonts from different families. Follows is an attempt to use Pallatino (rm) for the text of a book, Iwono-heavy for chapter titles (sansbold), Iwona-light (sans) for page headers (intended but not implemented), and Chancery (cg) for the dedication. The only font that appears to come out right are the chapter titles and I can't change their size without changing the size of the text font. I apparently haven't found the right manual yet or am too stupid to understand what must be a relatively simple concept. \starttypescript [BookFont][texnansi,ec,qx,t5,default] \definetypeface[BookFont][rm][serif][pallatino][default] %text body \definetypeface[BookFont][ss][sans][iwona-light][default] %page headers \definetypeface[BookFont][ss][sansbold][iwona-heavy][default] %chapters \definetypeface[BookFont][tt][type][postscript][default] %embedded code \definetypeface[BookFont][cg][calligraphic][chancery][default] %dedic. \definetypeface[BookFont][mm][math][pallatino][default] %math \stoptypescript \usetypescript[BookFont][ec] \setupbodyfont[BookFont,12pt] \switchtobodyfont[serif] \setuphead [chapter][style=sansbold, alternative=middle] \definehead [intro][chapter] \setuphead [intro][number=no] \definecombinedlist [content][intro,chapter,section] \setuphead[chapter][style=sansbold] \starttext {\cg Dedication} \page \completecontent \intro{Introduction - Ag} \input knuth \chapter{First chapter - Ag} \input knuth \chapter{Second Chapter - Ag} \input Knuth \stoptext Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.TomBenjey.com -Original Message- From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Wolfgang Schuster Sent: Saturday, February 12, 2011 1:56 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Table of Contents issues Am 12.02.2011 um 18:12 schrieb Tom: > Using a very recent download of TexLive 2010 (MKII) on my PC, my success > generating a useful table of contents has been somewhat limited. > > I can't figure out how to put the title, "Contents," in the font I desire. > The various parameters I found in the documentation affect the chapter > titles and the page numbers but nothing I've found allows me to control the > title of the ToC. What am I overlooking? > > I would also like for the unnumbered "chapter" titles, such as introduction > or preface, to align with the other chapter titles, not with their numbers. > Aligntitle seems to have no effect on anything from what I have seen. \setuphead[chapter][style=sansbold] \definehead[intro][chapter] \setuphead [intro][number=no] \definecombinedlist[content][intro,chapter,section] \setupcombinedlist [content][style=sansbold] \starttext \completecontent \intro{Introduction} \input knuth \chapter{First chapter} \input knuth \chapter{Second Chapter} \input knuth \stoptext 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 ___ ___ 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 ___
[NTG-context] span figure
Hello, I am trying to take as much place as possible for a centered figure on a page. For this, I am doing \placefigure [here] % Place [] % Label {} % Legend { \externalfigure[Figure.pdf] [factor=broad] % Also: max, fit %[width=10cm] % Does not work with factor } By playing with width I get something very close to what I need, but I can see that there's always an initial blank skip at the beginning of the page which is larger than the skip at the bottom. I have tried with \vskip-1.5cm and similar, but this does not move the figure up. How can I take as much place as possible in a page for a figure with identical empty spaces, at the top and the bottom? If I set it to [top] or [center] or [mid] I do not see any difference. thanks, Pau ___ 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 ___
Re: [NTG-context] Symbola font glyph size
On Sat, Feb 12, 2011 at 21:09, Taco Hoekwater wrote: > How old is your luatex and context combination? It sounds like a bug we fixed > a while ago (the font is probably a postscript font with an abnormal units > per em setting) Thanks for your answer. I'm using the latest context beta minimals (updated today): ConTeXt - 2011.02.11 18:18 and LuaTeX-0.65.0. Is there a newer version fixing the problem? Vianney ___ 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 ___
Re: [NTG-context] Table of Contents issues
This works. Now I want to make the chapter titles larger but my experiments using style have failed. There must be a different way to do this. If I understand bodyfont correctly, it is used for the text of the document, not for the titles. In my case, the body is in a serif font and the titles are sanserif. Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.TomBenjey.com -Original Message- From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Wolfgang Schuster Sent: Saturday, February 12, 2011 1:56 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Table of Contents issues Am 12.02.2011 um 18:12 schrieb Tom: > Using a very recent download of TexLive 2010 (MKII) on my PC, my success > generating a useful table of contents has been somewhat limited. > > I can't figure out how to put the title, "Contents," in the font I desire. > The various parameters I found in the documentation affect the chapter > titles and the page numbers but nothing I've found allows me to control the > title of the ToC. What am I overlooking? > > I would also like for the unnumbered "chapter" titles, such as introduction > or preface, to align with the other chapter titles, not with their numbers. > Aligntitle seems to have no effect on anything from what I have seen. \setuphead[chapter][style=sansbold] \definehead[intro][chapter] \setuphead [intro][number=no] \definecombinedlist[content][intro,chapter,section] \setupcombinedlist [content][style=sansbold] \starttext \completecontent \intro{Introduction} \input knuth \chapter{First chapter} \input knuth \chapter{Second Chapter} \input knuth \stoptext 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 ___ ___ 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 ___
Re: [NTG-context] Symbola font glyph size
On 12 feb. 2011, at 20:48, Vianney le Clément wrote: > > If I use \definedfont[file:Symbola602.otf sa 2], the glyphs are more > or less the good size, but the metrics are way too large. I have no > problems with this font in OpenOffice. > How old is your luatex and context combination? It sounds like a bug we fixed a while ago (the font is probably a postscript font with an abnormal units per em setting) Best wishes, Taco ___ 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 ___
[NTG-context] Symbola font glyph size
Hello, I have some troubles using the Symbola font mentioned some time ago on the mailing list (http://users.teilar.gr/~g1951d/Symbola602.zip). It seems like the font metrics are loaded correctly, but the glyphs in the pdf appear approximately half the size, leaving white space above and next to it. Here is a minimal example: \starttext Gg {\definedfont[file:Symbola602.otf]Gg} Gg \stoptext If I use \definedfont[file:Symbola602.otf sa 2], the glyphs are more or less the good size, but the metrics are way too large. I have no problems with this font in OpenOffice. Any ideas? Vianney ___ 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 ___
Re: [NTG-context] Table of Contents issues
Am 12.02.2011 um 18:12 schrieb Tom: > Using a very recent download of TexLive 2010 (MKII) on my PC, my success > generating a useful table of contents has been somewhat limited. > > I can't figure out how to put the title, "Contents," in the font I desire. > The various parameters I found in the documentation affect the chapter > titles and the page numbers but nothing I've found allows me to control the > title of the ToC. What am I overlooking? > > I would also like for the unnumbered "chapter" titles, such as introduction > or preface, to align with the other chapter titles, not with their numbers. > Aligntitle seems to have no effect on anything from what I have seen. \setuphead[chapter][style=sansbold] \definehead[intro][chapter] \setuphead [intro][number=no] \definecombinedlist[content][intro,chapter,section] \setupcombinedlist [content][style=sansbold] \starttext \completecontent \intro{Introduction} \input knuth \chapter{First chapter} \input knuth \chapter{Second Chapter} \input knuth \stoptext 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 ___
Re: [NTG-context] delimitedtext, spacebefore and grid
Am 12.02.2011 um 08:47 schrieb Oliver Buerschaper: > Just wanted to ask whether anyone has looked into these issues… a solution > would be much appreciated (and put to immediate use in a current project ;-) Not sure if there are side effects but this works (requires mkiv and a recent installation): \setuplayout[grid=yes]\showgrid \setupbodyfont[14pt] \usemodule[annotation] \define[2]\ZitatCommand {\topskip\dimexpr\topskip+\lineheight/2\relax \startnarrower “#2”% \stopnarrower} \defineannotation [zitat] [alternative=command, command=\ZitatCommand, spacebefore=halfline, spaceafter=halfline] \starttext \startzitat \input tufte \stopzitat \dorecurse{2}{\input tufte\par} \startzitat \input tufte \stopzitat \dorecurse{3}{\input tufte\par} \startzitat \input tufte \stopzitat \input tufte \stoptext 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 ___
[NTG-context] Table of Contents issues
Using a very recent download of TexLive 2010 (MKII) on my PC, my success generating a useful table of contents has been somewhat limited. I can't figure out how to put the title, "Contents," in the font I desire. The various parameters I found in the documentation affect the chapter titles and the page numbers but nothing I've found allows me to control the title of the ToC. What am I overlooking? I would also like for the unnumbered "chapter" titles, such as introduction or preface, to align with the other chapter titles, not with their numbers. Aligntitle seems to have no effect on anything from what I have seen. \definehead [intro][chapter] \setuphead [intro][number=no,textstyle=\ss\bf] \setuphead [chapter][textstyle=\ss\bf,numberstyle=\ss\bf] \definecombinedlist [content][intro,chapter,section] \setupcombinedlist[content][style=\ss\bf,textstyle=\ss\bf,pagestyle=\ss\bf,n umberstyle=\ss\bf,aligntitle=yes] \setuplist [intro][headnumber=no] \starttext \completecontent \intro{Introduction} \input knuth \chapter{First chapter} \input knuth \chapter{Second Chapter} \input Knuth \stoptext Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.TomBenjey.com ___ 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 ___
Re: [NTG-context] ntg-context Digest, Vol 80, Issue 49
Dear Hans, Thank you for your concern about Korean. Korean labels are working well, but the index tagging need a little more. I checked index in my file and found that some words which should be in the same group are scattered. Also, the order of list doesn't follow the order of korean letter. the order should be ㄱ, ㄴ, ㄷ, ㄹ, ㅁ, ㅂ, ㅅ, ㅇ, ㅈ, ㅊ, ㅋ, ㅌ, ㅍ, ㅎ In english index, Capital letter and small letter are mixed. I'll send pdf file to you. Thanks again. best regards, Dalyoung > > > Message: 5 > Date: Fri, 11 Feb 2011 18:27:55 +0100 > From: Hans Hagen > To: mailing list for ConTeXt users > Subject: [NTG-context] references > Message-ID: <4d55719b.4040...@wxs.nl> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Hi, > > I uploaded a beta. New: > > - Improved \textxt behaviour (for Mojca's code). > - Korean labels and index tagging (with help from Jeong Dalyoung). > - Cleaned of referencing (formats). ___ 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 ___