[NTG-context] Font database does not report all fonts
Hi all, and happy new year ! I've just (properly) installed a fresh ConTeXt Minimals on Linux and built the font database. Although my /usr/local/share/fonts/d directory contains Delicious-BoldItalic.otf Delicious-Bold.otf Delicious-Heavy.otf Delicious-Italic.otf Delicious-Roman.otf Delicious-SmallCaps.otf the command mtxrun --script font --list elicious only reports delicioussmallcaps delicioussmallcaps /usr/local/share/fonts/d/Delicious-SmallCaps.otf The problem also arises with other (possibly all) font names. Any thoughts ? ___ 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] Questions regarding simplefonts
Hi again, although simplefonts seems very promising and I put the highest hopes on it, the lack of proper documentation simply prevents me to use it, which is somewhat frustrating. Here are some of my unanswered questions about simplefonts ; I'm willing to update the wiki with any informations this thread could bring. 1) How can I specify that the default font features should enable the standard ligatures (liga) ? I blindly tried several possibilities like \setupsimplefonts[features={liga}] but none worked 2) How can I get \sc to work with a font family whose small caps are defined as a font feature, rather than dedicated .otf files ? 3) How can I get font expansion and protrusion to work using simplefonts' dedicated keywords ? There again, I spent more than 30 minutes trying every combination I could think of, unsuccessfully. I think it would be useful to have a complete example of code involving simplefonts and expansion/protrusion that people could copy paste from the wiki 4) What is the purpose of the 'mode' keyword ? Many thanks in advance, cheers, Nicolas ___ 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] Questions regarding simplefonts
2010/1/19 Nicolas Girard nicolas.gir...@nerim.net: Hi again, I forgot this one: 5) My log files contain this reassuring message: (/home/ngirard/context/tex/texmf-context/tex/context/third/simplefonts/t-simplefonts.tex loading : ConTeXt User Module / Simplefonts ) immediatly followed with a puzzling one: system : module simplefonts not found Should I ignore it ? -- Nicolas ___ 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] 3SIDE imposition schema weirdness
Hi, i'm a little bit puzzled by the results of the following test file, using the 3SIDE imposition schema from Willi ( http://wiki.contextgarden.net/Imposition#Additional_schemas ). The results consists in pages 1|2|3 on the recto of the sheet, and pages 4|5|6 on the verso. * Is it really the intended result ? * If so, I don't understand how can \dosetuparrangement{3}{1}{6}{4}{2} give 1|2|3 // 4|5|6 . What's the rationale ? Why no page 5 among the arguments of \dosetuparrangement ? * What if one wants to fold the resulting brochure ? How to adapt the code (besides by try and error) for the resulting arrangement to be 3|6|1 // 2|4|5 ? Thanks in advance, cheers, Nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] 3SIDE imposition schema weirdness
2009/6/10 Wolfgang Schuster schuster.wolfg...@googlemail.com: http://wiki.contextgarden.net/User:Wolfgang_Schuster#Brochures Hi Wolfgang, well, it seems quite interesting ! Would you allow me to put your code in the Imposition page, or could you consider doing so ? Nevertheless, I couldn't make your code work ; I get: Fatal error: catcode push/pop mismatch. Fix this! \wait= Cheers, Nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Where to store typescripts ?
2009/6/9 Mojca Miklavec mojca.miklavec.li...@gmail.com: On Thu, Jun 4, 2009 at 16:54, luigi scarso wrote: I have minimals/tex/texmf-context/tex/context/user/type-catalog.tex This is a bad place - there's a high risk that it will be removed or overwritten. Use texmf-local or texmf-project or texmf-fonts or ~/texmf or whatever else ... but better not texmf or texmf-context. In TeX Live ~/texmf should work. I Mojca, could you please update the wiki ( http://wiki.contextgarden.net/Fonts_in_LuaTex#Installing_typescripts ) with these informations, or elaborate a little bit more ? I'm unsure about the precise directories you're advising (eg, texmf-fonts - minimals/tex/texmf-fonts/tex/context/user/ ? ) Thanks in advance, Nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Crop marks and \setuplayout[nx,ny]
2009/6/7 Hans Hagen pra...@wxs.nl: Nicolas Girard wrote: i'll add marking=page for that purpose Hi Hans, thanks in advance, that'd be great. I intend to typeset business cards in Context in the near future, i just hope i'll have climbed up the learning curve enough by then. When you dedicate some time to the marking code, it would be also great if you could get the markings to be properly shifted when using \definepageshift / \setuppageshift. Cheers, Nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Crop marks and \setuplayout[nx,ny]
Hi, the following code, which I ran with context --mode=print shows crop marks in the middle if the sheet, overlapping the pages. It is legitimate to specify dy=0pt in order to minimize paper cuts. It seems to me like, in the case when dy=0pt, the code dealing with crop marks should try not to overlap the pages, or suppress the marks between two columns of pages. What do you think ? Is there currently a solution to this ? Cheers, Nicolas \definepapersize[BC][width=85mm,height=54mm] \definelayer[blocks][width=85mm,height=54mm] \doifmodeelse{print}{ \setuppapersize[BC][A4] \setuplayout[nx=2,ny=5,dx=1cm,dy=0pt] \setuplayout[location=middle,width=fit,height=fit,marking=on] }{ \setuppapersize[BC][BC] \showframe[edge] } \setuppagenumbering[location=,state=stop] \def\ZapfinoMedium{} \def\ZapfinoBig{} \setupbackgrounds[page][background=blocks] \starttext \startstandardmakeup \setlayer[blocks][preset=rightbottom]{% \externalfigure[g-wurf][height=4.7cm]} \setlayer[blocks][preset=middletop,voffset=1mm]% {\ZapfinoMedium Title} \startbuffer \vbox{% \startlines Some Names of Some Cats \vskip-3pt\tfx smaller \vskip-5pt text \stoplines} \stopbuffer \setlayer[blocks][voffset=1.5cm,hoffset=2mm]{\getbuffer} \startbuffer \vbox{% Name and\hfill\break Address }% \stopbuffer \setlayer[blocks][preset=leftbottom,offset=1.5mm,hoffset=0.5mm]{\getbuffer} \setlayer[blocks][preset=rightbottom,offset=1.5mm]{www.samtfeld.de} \stopstandardmakeup \stoptext ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Crop marks and \setuplayout[nx,ny]
2009/6/7 Hans Hagen pra...@wxs.nl: i'll add marking=page for that purpose Hi Hans, thanks in advance, that'd be great. I intend to typeset business cards in Context in the near future, i just hope i'll have climbed up the learning curve enough by then. When you dedicate some time to the marking code, it would be also great if you could get the markings to be properly shifted when using \definepageshift / \setuppageshift. Cheers, Nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Substititute ?
Hi, shouldn't substititute be substi..., err..., replaced with substitute, in rlxtools.rb, lines 115, 148 and 207 ? Cheers, Nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Where to store typescripts ?
Hi, Where should typescript files be stored ? Is it possible to store them in user space, eg in a subdirectory of Luatex cache (when using luatex) ? Thanks in advance! Nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Where to store typescripts ?
2009/6/4 luigi scarso luigi.sca...@gmail.com: On Thu, Jun 4, 2009 at 10:34 AM, Nicolas Girard nicolas.gir...@nerim.net wrote: Hi, Where should typescript files be stored ? If you have minimals(-beta) try minimals/tex/texmf-context/tex/context/user Hi Luigi, thanks for your answer. I'm using the latest mkiv installed over texlive 2008. It is a system directory ; is it the only one ? Anyway I couldn't get my typescript file to work. Here's what I did: (assume TF is http://bitbucket.org/wolfs/typescripts/src/7050bb6918bb/type-exljbris.mkiv ) 1. put the contents of TF in a test document along with \usetypescript[delicious] The document compiled fine and the Delicious fonts were properly included. 2. copied TF in tex/context/user/ as adviced 3. ran mktexlsr, just in case 4. In the test document, removed the contents of TF and replaced it with \usetypescriptfile[type-exljibris] The compilation ran smoothly, I should say too smoothly, because I couldn't find any font-related error message, neither in the output, nor in the log file. And however, ConTeXt used lmodern fonts instead of the Delicious fonts. Cheers, Nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Where to store typescripts ?
2009/6/4 luigi scarso luigi.sca...@gmail.com: hmm try context --generate Tried that, and it didn't work. Nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Where to store typescripts ?
Wow. Now, I'm lost -- and i still can't make it work anyway. Could you explain right from the start ? Let's assume (as it is the case on my system) that the Delicious fonts are properly installed *and* the font database knows about it. Let's assume context = LuaTeX mkiv Now, 1. if I want to create a typescript file supporting some XX fonts, do I need to name the file type-XX.some_extension, or is it only a convention and the file could also be named XX.some_extension or even whatever.some_extension ? 2. what should be the extension for mkiv ? .mkiv ? .tex ? Are both allowed ? 3. Assuming I properly install such http://bitbucket.org/wolfs/typescripts/src/7050bb6918bb/type-exljbris.mkiv file, should I load it using \usetypescriptfile[type-exljbris] or \usetypescriptfile[exljbris] ? 4. What is the relationship between type-exljbris.mkiv and type-exljbris.tex ? Is type-exljbris.tex necessary when using mkiv ? 5. In order to install one or several typescript files, I should first copy them, either in tex/texmf-fonts/tex/context/user or in tex/texmf-project/tex/context/user right ? But then, what is it necessary to run ? - context --generate ? - mtxrun --script fonts --reload ? - both ? 6. How comes ConTeXt can silently substitute my fonts, without even outputting any error message ? How to change this behaviour ? How to disable font substitution ? Hopefully you forgive me for asking so many questions. Beware, answers will be recorded and published in the wiki ;-) Cheers, Nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Where to store typescripts ?
2009/6/4 luigi scarso luigi.sca...@gmail.com: so does it work now for you ? Yes it does. Thanks everybody for your assistance. I've summarized what I understood from this thread here: http://wiki.contextgarden.net/Fonts_in_LuaTex#The_standard_way:_Typescripts Please have a look correct my mistakes. Cheers, Nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Where to store typescripts ?
2009/6/4 Wolfgang Schuster schuster.wolfg...@googlemail.com: Thanks Wolfgang ! I think pretty much everything you said should now be in http://wiki.contextgarden.net/Fonts_in_LuaTex , except for font substitution, which I find quite annoying. Anyway... Cheers, Nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setuppageshift and \setuparranging
2009/6/2 Willi Egger w.eg...@boede.nl: Hi Nicolas, Page shifting is working properly here, however you need to setup the shifting as: \definepageshift[test][horizontal][30pt,-30pt,20pt,-20pt,10pt,-10pt,0pt,0pt,0pt,0pt,10pt,-10pt,+20pt,-20pt,30pt,-30pt] The page shifting mechanism is looping over the definition. i.e. you have to specify what kind of shift you want for each page in a section (i.e. 16 parameters in this case). Then you will have tell ConTeXt: \setuppageshift[paper][test] The [paper] option is needed in arranging-mode. Hi Willi, thanks for your answer, I could make it work too. I have several additional questions regarding imposition ; i'll post them in new threads. Cheers, Nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] impose.pdf
Hi, the wiki page on imposition mentions such http://www.ntg.nl:8061/impose.pdf file, which doesn't seem to be accessible. Could you please make it accessible again ? Thanks in advance, nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Page shifting crop marks
Hi when shifting pages like in the example below, it seems to me like the crop marks should be shifted accordingly. What do you think ? Thanks in advance, Nicolas \setuppapersize[CD][A4] \definepageshift[test][horizontal][30pt,-30pt,20pt,-20pt,10pt,-10pt,0pt,0pt,0pt,0pt,10pt,-10pt,+20pt,-20pt,30pt,-30pt] \setuppageshift[test] \setuplayout[margin=5mm,marking=on,location=middle] \setuparranging[2*2*4,rotated] \setuppageshift[paper][test] \showframe \starttext \dorecurse{14}{\input tufte} \stoptext ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Tikz contextwiki
2009/6/3 Mojca Miklavec mojca.miklavec.li...@gmail.com: On Wed, Jun 3, 2009 at 16:31, Nicolas Girard wrote: Hi, is it possible to run code involving the tikz module in the wiki ? Yes, just try again. Fine, thanks ! ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Table example from wiki doesn't compile with mkiv
Hi, the following code, coming straight from http://wiki.contextgarden.net/Table#Background_Colors , doesn't compile with mkiv. Cheers, Nicolas \setupcolors[state=start] \starttable[|l|l|] \HL \BL[1]\SR \NC Command \NC Meaning \NC\SR \HL \NC \tex{NC}\NC next column \NC\FR \NC \tex{NR}\NC next row\NC\LR \HL \CL[green]\SR \NC \tex{AR}\NC automatic row\NC\SR \HL \stoptable ! Missing \endgroup inserted. inserted text \endgroup to be read again \endtemplate template \endtemplate \normalTABLEmultirule #1- \use {#1}\normalTABLElongrule \dodocomplexTableGL ...LEmultirule {#3}}\fi \next \doPostTableGL #2 \TABLEgrayline -\complexTableCOLOR [2,green] \SR ... l.11 \NC \tex{AR} \NC automatic row\NC\SR ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \setuppageshift and \setuparranging
Hi, I'm testing ConTeXt's imposition abilities on a cd booket project. I'd like pages to be shifted in order to compensate paper thickness. Running the following code leads to pages that are properly shifted ; but when uncommenting the line with \setuparranging, pages aren't shifted any longer. What's wrong with my code ? Thanks in advance, Nicolas \setuppapersize[CD][A4] \definepageshift[test][horizontal][10pt,20pt,30pt,40pt,50pt] \setuppageshift[test] \setuplayout[margin=5mm,marking=on,location=middle] %\setuparranging[2*2*4,rotated] \setuppageshift[test] \showframe \starttext \dorecurse{14}{\input tufte} \stoptext ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] define font | font with name Delicious-Roman is not found
Hi all, I'm using the latest beta of context minimals, rsynced over a TeXlive 2008 on ubuntu. LuaTeX is Version beta-0.40.1-2009050920 (Web2C 7.5.7) MTXrun is TDS Runner Tool 1.22 ConTeXt is 2009.05.28 14:36 $ mtxrun --script fonts --list|grep Delicious gives: deliciousbold Delicious-Bold /usr/local/share/fonts/d/delicious_bold.otf deliciousbolditalicDelicious-BoldItalic /usr/local/share/fonts/d/delicious_bolditalic.otf deliciousheavyDelicious-Heavy /usr/local/share/fonts/d/delicious_heavy.otf deliciousitalic Delicious-Italic /usr/local/share/fonts/d/delicious_italic.otf deliciousroman Delicious-Roman /usr/local/share/fonts/d/delicious_roman.otf delicioussmallcaps Delicious-SmallCaps /usr/local/share/fonts/d/delicious_smallcaps.otf while env|grep ^OS gives OSFONTDIR=/usr/local/share/fonts Running the following file is okay: \starttext \font\Myfont=/usr/local/share/fonts/d/delicious_roman.otf at 24pt \Myfont Hello, world \stoptext but running \starttext \font\Myfont=Delicious-Roman at 24pt \Myfont Hello, world \stoptext leads to define font | font with name Delicious-Roman is not found define font | unknown font Delicious-Roman, loading aborted ! Font \Myfont=Delicious-Roman at 24pt not loadable: metric data not found or bad. What's going wrong ? Thanks very much in advance ! -- Nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] No em/en dashes (was: define font | font with name Delicious-Roman is not found)
2009/5/28 Wolfgang Schuster schuster.wolfg...@googlemail.com: Hi Wolfgang, thanks for such a fast answer ! Am 28.05.2009 um 17:59 schrieb Nicolas Girard: \starttext \font\Myfont=Delicious-Roman at 24pt \Myfont Hello, world \stoptext Please don't use \font, use ConTeXt's \definefont instead: OK, but why ? Reading the list, I see that you were still using it six months ago ; is is deprecated now ? \definefont[Myfont][name:Delicious-Roman][features=default] This indeed let me get the font. But then, I can't get any en/em dashes when typing -- / ---. I have: $ mtxrun --script fonts --list --info --pattern=delicious*roman MTXrun | fontname: deliciousroman MTXrun | fullname: Delicious-Roman MTXrun | filename: /usr/local/share/fonts/d/delicious_roman.otf MTXrun | MTXrun | gpos features: MTXrun | MTXrun | feature script languages MTXrun | MTXrun | kern latn dflt MTXrun | MTXrun | gsub features: MTXrun | MTXrun | feature script languages MTXrun | MTXrun | tlig all all MTXrun | trep all all but none of the following tests did succeed: %= \starttext \definefont[Myfont][name:Delicious-Roman][features=default] \Myfont Goodbye --- cruel -- world \stoptext %= \starttext \definefontfeature[default][mapping=tex-text] \definefont[Myfont][name:Delicious-Roman][features=default] \Myfont Goodbye --- cruel -- world \stoptext %= \starttext \definefontfeature[default][tlig=yes,mapping=tex-text] \definefont[Myfont][name:Delicious-Roman][features=default] \Myfont Goodbye --- cruel -- world \stoptext %= \starttext \definefontfeature[default][tlig=yes,script=latn,mapping=tex-text] \definefont[Myfont][name:Delicious-Roman][features=default] \Myfont Goodbye --- cruel -- world \stoptext Any thoughts ? -- Nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] No em/en dashes (was: define font | font with name Delicious-Roman is not found)
2009/5/28 Wolfgang Schuster schuster.wolfg...@googlemail.com: Am 28.05.2009 um 18:47 schrieb Nicolas Girard: Please don't use \font, use ConTeXt's \definefont instead: OK, but why ? Reading the list, I see that you were still using it six months ago ; is is deprecated now ? It's not ConTeXt style. oh, sure ; agreed. \definefont[Myfont][name:Delicious-Roman][features=default] This indeed let me get the font. But then, I can't get any en/em dashes when typing -- / ---. Sorry, my fault, the correct setup is: \definefont[Myfont][name:Delicious-Roman*default] thanks, this works ! -- Nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] MarkIV, typescripts, Delicious (was: define font | font with name Delicious-Roman is not found)
2009/5/28 Nicolas Girard nicolas.gir...@nerim.net: 2009/5/28 Wolfgang Schuster schuster.wolfg...@googlemail.com: \starttext \font\Myfont=Delicious-Roman at 24pt \Myfont Hello, world \stoptext Now, I'm trying to make the typescript code from the wiki [1] work [1] http://wiki.contextgarden.net/exljbris_typescript My test file is as follows: % == \definefontfeature[default][liga=yes,kern=yes,tlig=yes,trep=yes,script=latn,mapping=tex-text] \starttypescript [sans] [delicious] \setups[font:fallback:sans] \definefontsynonym [Sans] [Delicious-Regular] \definefontsynonym [SansItalic] [Delicious-Italic] \definefontsynonym [SansBold] [Delicious-Bold] \definefontsynonym [SansBoldItalic] [Delicious-BoldItalic] \definefontsynonym [SansCaps] [Delicious-Caps] \stoptypescript \starttypescript [sans] [delicious] \definefontsynonym [Delicious-Regular][name:Delicious-Roman] [features=default] \definefontsynonym [Delicious-Italic] [name:Delicious-Italic] [features=default] \definefontsynonym [Delicious-Bold] [name:Delicious-Bold] [features=default] \definefontsynonym [Delicious-BoldItalic] [name:Delicious-BoldItalic] [features=default] \definefontsynonym [Delicious-Caps] [name:Delicious-SmallCaps] [features=default] \stoptypescript \starttypescript [delicious] \definetypeface [delicious] [ss] [sans] [delicious] [default] \stoptypescript \setupbodyfont[delicious,ss,10pt] \starttext Goodbye --- cruel -- world fi ff ffi \italic{Italic} Roman \stoptext % == But the fonts fall silently back to lmodern. Am I missing something ? Sorry, this may sound like dumb questions, but I just don't get it :-/ -- Nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MarkIV, typescripts, Delicious (was: define font | font with name Delicious-Roman is not found)
2009/5/28 Wolfgang Schuster schuster.wolfg...@googlemail.com: Am 28.05.2009 um 19:35 schrieb Nicolas Girard: Now, I'm trying to make the typescript code from the wiki [1] work [1] http://wiki.contextgarden.net/exljbris_typescript My test file is as follows: [...] \starttypescript [delicious] \definetypeface [delicious] [ss] [sans] [delicious] [default] \stoptypescript \usetypescript[delicious] \setupbodyfont[delicious,ss,10pt] Ouuh, this just *works* ! Delightful ! Thanks so much for your assistance ! -- Nicolas ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___