Re: [NTG-context] special features in simplefonts.
On 01/24/2015 10:46 PM, John Culleton wrote: In regular Context font usage I have this statement that works: \def\Fontsize{13} \font \rm = file:MinionPro-Regular.otf:+liga;expansion=default;protrusion=quality at \Fontsize bp Hi John, well, I don’t know how to use the definition above. How would I use this font in simplefonts? it is the trailing parameters that I don't know how to use in simplefonts, like: :+liga;expansion=default;protrusion=quality As the body font: \setuppapersize[A6] \definefontfamily[minion][serif][Minion Pro][features={default,quality}] \setupalign[hanging, hz] \setupbodyfont[minion, 13pt] \starttext \input knuth \stoptext As a text font (copied from http://www.ntg.nl/pipermail/ntg-context/2013/075529.html): \setuppapersize[A6] \definefontfamily[minion][rm][Minion Pro][features={default,quality}] \definefont[minionquality][\classfont{minion}{Serif} at 13pt] \setupalign[hanging, hz] \starttext \input zapf \minionquality\setupinterlinespace \input zapf \stoptext These font features (default and quality) are already defined in font-pre.mkiv. I hope it helps, Pablo -- http://www.ousia.tk ___ 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] contextual alternates
On 1/25/2015 3:52 PM, Jan Tosovsky wrote: On 2015-01-25 Hans Hagen wrote: On 1/24/2015 2:12 PM, Pablo Rodriguez wrote: I have the following sample: \definefontfeature[default][default][script=latn, calt=yes] \definefontfamily[mainface][serif][Pecita] \setupbodyfont[mainface] \starttext \input zapf \stoptext The Pecita font is licensed under the Open Font License and it can be downloaded at http://pecita.eu/b/Pecita.otf. For some strange reason, the contextual alternates feature isn’t working. maybe they depend on other features being set There are lots of definitions in calt table, but referenced via 'lookup' mechanism. lookup calt5 { #sub @calt30' @calt30' by [a.I_ ... f_dotlessi._I]; } calt5; language ENG ; # English script DFLT; lookup calt5; To me it is quite unusual. so the script / language combination is default / english (dflt/eng) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] letter booklet
Am 25.01.2015 um 23:15 schrieb John Kitzmiller k...@inradius.net: Desired outcome: a multipage booklet on letter size paper with margins lined up when duplex printed and folded. Using imposition with [letter][letter,landscape] did not work, so to start I used: \definepapersize[booklet][width=140mm,height=216mm] \setuppapersize[booklet][letter,landscape] \setuparranging[2UP,doublesided] \setuplayout[width=115mm, leftedge=0mm, leftmargin=0mm, backspace=15mm, rightmargin=0mm, rigthedge=0mm] \showframe \starttext \dorecurse{8}{\input Ward \page} \stoptext but the inside and outside margins do not line up. Where is the elegant path? 1. Set your document doublesided with \setuppagenumbering[alternative=doublesided] 2. Reduce the width of the backspace \setuplayout[backspace=10mm] 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] contextual alternates
On 01/25/2015 05:20 PM, Hans Hagen wrote: On 1/25/2015 3:52 PM, Jan Tosovsky wrote: On 2015-01-25 Hans Hagen wrote: On 1/24/2015 2:12 PM, Pablo Rodriguez wrote: [...] The Pecita font is licensed under the Open Font License and it can be downloaded at http://pecita.eu/b/Pecita.otf. For some strange reason, the contextual alternates feature isn’t working. maybe they depend on other features being set There are lots of definitions in calt table, but referenced via 'lookup' mechanism. lookup calt5 { #sub @calt30' @calt30' by [a.I_ ... f_dotlessi._I]; } calt5; language ENG ; # English script DFLT; lookup calt5; To me it is quite unusual. so the script / language combination is default / english (dflt/eng) Many thanks for your replies, Hans and Jan. I’m afraid that the following doesn’t work: \definefontfeature[default][default][script=latn,language=eng, calt=yes] \definefontfamily[mainface][rm][Pecita] \setupbodyfont[mainface] \starttext \input zapf \stoptext Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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] contextual alternates
On 1/24/2015 2:12 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \definefontfeature[default][default][script=latn, calt=yes] \definefontfamily[mainface][serif][Pecita] \setupbodyfont[mainface] \starttext \input zapf \stoptext The Pecita font is licensed under the Open Font License and it can be downloaded at http://pecita.eu/b/Pecita.otf. For some strange reason, the contextual alternates feature isn’t working. What am I missing here? maybe they depend on other features being set - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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] Context modules not on CATN and not in TeX Live
Hi! I'm trying to learn ConTeXt working through some examples I found on Context Garden and the internet. Since I already have TeX Live 2014 installed I could run most of the examples. When I ran into a problem, I installed the standalone version and compared the supplied modules. The following modules are not part of Context in TeX Live 2014. animation/ GPL 3 annotation/GPL 3 cmscbf/GPL 2 on CTAN cmttbf/GPL 2 on CTAN fancybreak/GPL 3 layout/GPL title/ GPL 3 urwgaramond/ GPL 2 on CTAN urwgothic/ Public Domain on CTAN visualcounter/ Simplified BSD License Some are on CTAN, some are missing there. Since TeX Live takes the files from CTAN, it would be nice to put the missing modules there. What is the correct way to do that? I ask because I want to give a tutorial about ConTeXt at the Dante meeting in april and it would be nice to tell the audience that everything they need is already part of TeX Live and no extra installation is required. Axel -- Man sollte das mal mit ConTeXt betrachten. ___ 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] contextual alternates
On 2015-01-25 Hans Hagen wrote: On 1/24/2015 2:12 PM, Pablo Rodriguez wrote: I have the following sample: \definefontfeature[default][default][script=latn, calt=yes] \definefontfamily[mainface][serif][Pecita] \setupbodyfont[mainface] \starttext \input zapf \stoptext The Pecita font is licensed under the Open Font License and it can be downloaded at http://pecita.eu/b/Pecita.otf. For some strange reason, the contextual alternates feature isn’t working. maybe they depend on other features being set There are lots of definitions in calt table, but referenced via 'lookup' mechanism. lookup calt5 { #sub @calt30' @calt30' by [a.I_ ... f_dotlessi._I]; } calt5; language ENG ; # English script DFLT; lookup calt5; To me it is quite unusual. Jan attachment: winmail.dat___ 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] letter booklet
Desired outcome: a multipage booklet on letter size paper with margins lined up when duplex printed and folded. Using imposition with [letter][letter,landscape] did not work, so to start I used: \definepapersize[booklet][width=140mm,height=216mm] \setuppapersize[booklet][letter,landscape] \setuparranging[2UP,doublesided] \setuplayout[width=115mm, leftedge=0mm, leftmargin=0mm, backspace=15mm, rightmargin=0mm, rigthedge=0mm] \showframe \starttext \dorecurse{8}{\input Ward \page} \stoptext but the inside and outside margins do not line up. Where is the elegant path? Thanks, John ___ 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] Simple tocs
In this country, and perhaps elsewhere, the front matter in a technical book will have two tables of contents, one listing just major titles (e.g., just chapters and titles or just parts, chapters and titles) followed by another one that lists sections also. Using mkiv I came up with this: \startmakeup \setupcombinedlist[content][list={chapter}] \placelist[content] \stopmakeup \startmakeup \setupcombinedlist[content][list={chapter,section}] \completecontent[content] \stopmakeup \startmakeup \null \stopmakeup I get no results at all, just blank pages. Any suggestions? -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html Updated PDF e-book: Create Book Covers with Scribus 1.4.5 coming soon at http://www.booklocker.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 ___
[NTG-context] Error with \prevdepth
Hey list, I am having difficulty typesetting my book using ConTeXt version 2015.01.10 00:44. It bails on line 32... https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Handbook.tex ...with the following error: tex errorerror on line 32 in file Handbook/Handbook.tex: ! You can't use `\prevdepth' in restricted horizontal mode Any help appreciated. -- Kip Warner -- Senior Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ 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 ___