[NTG-context] sources of http://www.pragma-ade.com/general/manuals/style.pdf
Hello, I am a beginner with Context, and would like to know if there is a way to get the sources of the following document : http://www.pragma-ade.com/general/manuals/style.pdf I am trying to adapt the style I use with Latex (that is to say : http://mirrors.ctan.org/macros/latex/contrib/classicthesis/ClassicThesis.pdf), and this document has some features which might be useful for it. Moreover I don't know how to make the command width=66\averagecharacterwidth work, if I see the sources I may be successful in trying to make it work. Sincerely -- Alexandre KRISPIN ___ 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] Itemizing from zero
> Hey folks, > > I noticed some other people had issues with \startitemize[n] counting > starting from zero as a bug a while ago. In my case, I need a specific > list to start counting from zero. > > Is there any way to do this? see: http://wiki.contextgarden.net/Enumerations example: --- \starttext \startitemize[n][start=0] \dorecurse{3}{\item Lorem ipsum} \stopitemize \stoptext --- Adam ___ 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] Itemizing from zero
Hey folks, I noticed some other people had issues with \startitemize[n] counting starting from zero as a bug a while ago. In my case, I need a specific list to start counting from zero. Is there any way to do this? -- Kip Warner -- 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 ___
[NTG-context] PNG file corrupted by ASCII conversion
Hi I'm getting the following error with PNG images: libpng error: PNG file corrupted by ASCII conversion !LuaTeX error: libpng: internal error ==> Fatal error occurred, no output PDF file produced! minimal example --- \starttext \placefigure{}{\externalfigure[mill.png]} \stoptext --- LuaTeX in minimals beta-0.70.1-2011051923 (rev 4277) and latest trunk beta-0.71.0-2011061600 (rev 4301) are both affected. Adam ___ 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] dejavu math fallback?
Hi Using math with dejavu as the bodyfont produces: ! Math error: parameter \Umathquad\displaystyle is not set. minimal example: --- \setupbodyfont[dejavu] \starttext $e = mc^2$ \stoptext --- Installing the xits-math (https://github.com/khaledhosny/xits-math/) solves the problem. Shouldn't there be a fallback to lmmath or similar? Log using context without xits-math attached. Adam context export-example.tex mtx-context | run 1: luatex --fmt="/home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en" --lua="/home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en.lui" --backend="pdf" "./export-example.tex" This is LuaTeX, Version beta-0.71.0-2011061600 (rev 4301) \write18 enabled. (export-example.tex ConTeXt ver: 2011.06.16 00:34 MKIV fmt: 2011.6.16 int: english/english system > cont-new.mkiv loaded (/usr/share/texmf/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > export-example.top loaded (export-example.top) fonts > latin modern fonts are not preloaded languages > language en is active backend > export > enabling export to xml (/usr/share/texmf/tex/context/base/type-siz.mkiv) (/usr/share/texmf/tex/context/base/type-otf.mkiv){/usr/share/texmf/fonts/map/dvips/lm/lm-math.map}{/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map}{/usr/share/texmf/fonts/map/pdftex/context/mkiv-base.map} fonts > defining > forced type otf of xits-math not found fonts > defining > font with asked name 'xits-math' is not found using lookup 'file' fonts > defining > unknown font xits-math, loading aborted fonts > defining > unable to define xits-math.otf as \*dejavu7ptmmmr33* fonts > defining > forced type otf of xits-math not found fonts > defining > font with asked name 'xits-math' is not found using lookup 'file' fonts > defining > unknown font xits-math, loading aborted fonts > defining > unable to define xits-math.otf as \*dejavu9ptmmmr22* fonts > defining > forced type otf of xits-math not found fonts > defining > font with asked name 'xits-math' is not found using lookup 'file' fonts > defining > unknown font xits-math, loading aborted fonts > defining > unable to define xits-math.otf as \*dejavu12ptmmmr11* system > begin file export-example.tex at line 16 structure > sectioning > chapter @ level 2 : 0.1 -> Example verbatims > file export.tex does not exist (/usr/share/texmf/tex/context/sample/zapf.tex) floatblocks > 1 placed (/usr/share/texmf/tex/context/sample/zapf.tex) (/usr/share/texmf/tex/context/sample/tufte.tex) Overfull \hbox (1.0876pt too wide) in paragraph at lines 1--34 \*dejavu12ptrmtf* everyÂday caÂpacÂity to seÂlect, edit, sinÂgle out, strucÂture, highÂlight, group, Overfull \hbox (2.30989pt too wide) in paragraph at lines 1--34 \*dejavu12ptrmtf* hole, pick over, sort, inÂteÂgrate, blend, inÂspect, filÂter, lump, skip, smooth, Overfull \hbox (0.86143pt too wide) in paragraph at lines 1--34 \*dejavu12ptrmtf* itemÂize, reÂview, dip into, flip through, browse, glance into, leaf through, backend > xmp > using file '/usr/share/texmf/tex/context/base/lpdf-pdx.xml' pages > flushing realpage 1, userpage 1, subpage 1 floatblocks > 2 placed (/usr/share/texmf/tex/context/sample/tufte.tex) Overfull \hbox (1.0876pt too wide) in paragraph at lines 1--40 \*dejavu12ptrmtf* everyÂday caÂpacÂity to seÂlect, edit, sinÂgle out, strucÂture, highÂlight, group, Overfull \hbox (2.30989pt too wide) in paragraph at lines 1--40 \*dejavu12ptrmtf* hole, pick over, sort, inÂteÂgrate, blend, inÂspect, filÂter, lump, skip, smooth, Overfull \hbox (0.86143pt too wide) in paragraph at lines 1--40 \*dejavu12ptrmtf* itemÂize, reÂview, dip into, flip through, browse, glance into, leaf through, (/usr/share/texmf/tex/context/sample/zapf.tex) pages > flushing realpage 2, userpage 2 (/usr/share/texmf/tex/context/sample/ward.tex) (/usr/share/texmf/tex/context/sample/tufte.tex) Overfull \hbox (2.0251pt too wide) in paragraph at lines 56--56 \*dejavu12ptrmtf* avÂerÂage, apÂproxÂiÂmate, clusÂter, agÂgreÂgate, outÂline, sum Overfull \hbox (9.8708pt too wide) in paragraph at lines 56--56 \*dejavu12ptrmtf* glance into, leaf through, skim, reÂfine, enuÂmerÂate, glean, (/usr/share/texmf/tex/context/sample/knuth.tex pages > flushing realpage 3, userpage 3 ) ! Math error: parameter \Umathquad\displaystyle is not set. system > tex > error on line 62 in file export-example.tex: Math error: parameter \Umathquad\displaystyle is not set ... 52 \startparagraph \input zapf (Zapf) \stopparagraph 53 54 \startdescription {Ward} \input ward \stopdescription 55 56 \startdescription {Tufte} \input tufte \stopdescription 57
Re: [NTG-context] PDF Viewer Navigation Tree
On Thu, Jun 16, 2011 at 1:51 AM, Kip Warner wrote: > Hey folks, > > I'm not sure where to be looking, as this may well be a feature already > implemented in ConTeXt or its lower level dependencies. I couldn't find > anything in the mailing archives, nor in the reference manual or wiki. > > In my PDF viewer Evince, I have a navigation tree in the side bar that > allows me quick access to various parts of some PDF documents. When I > was using Texinfo, this was generated automatically for each @chapter / > @section / @subsection / etc when the PDF was being written out. I > noticed this doesn't appear to happen automatically with ConTeXt. > > How does one go about doing the same in ConTeXt? pdfbookmarks ? http://wiki.contextgarden.net/PDF_Bookmarks_and_Headers -- 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 ___
[NTG-context] PDF Viewer Navigation Tree
Hey folks, I'm not sure where to be looking, as this may well be a feature already implemented in ConTeXt or its lower level dependencies. I couldn't find anything in the mailing archives, nor in the reference manual or wiki. In my PDF viewer Evince, I have a navigation tree in the side bar that allows me quick access to various parts of some PDF documents. When I was using Texinfo, this was generated automatically for each @chapter / @section / @subsection / etc when the PDF was being written out. I noticed this doesn't appear to happen automatically with ConTeXt. How does one go about doing the same in ConTeXt? -- Kip Warner -- 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 ___
[NTG-context] MTXrun | resolvers: warning: no lua configuration files found
Hello, While following http://wiki.contextgarden.net/Debian_installation for installing context_2010.07.30-1_all.deb did bring the step mtxrun --generate me this output: MTXrun | resolvers: variable 'SELFAUTOLOC' set to '/usr/bin' MTXrun | resolvers: variable 'SELFAUTODIR' set to '/usr' MTXrun | resolvers: variable 'SELFAUTOPARENT' set to '.' MTXrun | resolvers: variable 'TEXMFCNF' set to '' MTXrun | resolvers: variable 'TEXMF' set to '' MTXrun | resolvers: variable 'TEXOS' set to '/usr' MTXrun | resolvers MTXrun | resolvers: warning: no lua configuration files found MTXrun | resolvers MTXrun | resolvers Executing context --help gives me MTXrun | forcing cache reload MTXrun | resolvers: warning: no lua configuration files found MTXrun | resolvers MTXrun | resolvers MTXrun | the resolver databases are not present or outdated MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: remembering file 'mtx-context.lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | unknown script 'context.lua' or 'mtx-context.lua' What should I do to get the lua configuration files? Groeten Stappers -- > And is there a policy on top-posting vs. bottom-posting? Yes. ___ 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] beta
On 15 juin 2011, at 15:02, Wolfgang Schuster wrote: > > The code moved to the core and name of the command changed. > > \starttext > \unit{10 km/h} > \stoptext > > Wolfgang > Thanks 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] LuaTeX + microtype: Small Caps vs. Letter Spacing
On 15-6-2011 7:12, N. Lindenhayn wrote: Ah. Ok that explains it. This means that in latex/fontspec it works with \setmainfont[Renderer=basic]{...}. I guess so (if basic == basemode). There's nothing wrong with basemode in such cases. thanks Ulrike and Hans for the comments. It works fine with Renderer=basic, although I'm not sure what the side effects of switching from Full to Basic will be (it's not a particularly well documented feature, at least in the fontspec manual). In most cases a basic mode is good enough when you want to do intercharacter spacing as it makes only sense for scripts that have isolated glyphs (even ligatures are to be avoided). Sorry for posting to the wrong list; I was thinking about putting this in the Lua list, but I remembered someone saying anything Lua related is welcome on the ConTeXt list as well... which it probably is, but LuaLa(!)TeX is a different story, obviously. I'll try to gather more info on the renderer issue, wait a day or two for more comments here, and then will post the problem to the Lua list. it's no problem at all posting here, it's just that you get more respons when there is a context example given Hans - 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] LuaTeX + microtype: Small Caps vs. Letter Spacing
Ah. Ok that explains it. This means that in latex/fontspec it works with \setmainfont[Renderer=basic]{...}. I guess so (if basic == basemode). There's nothing wrong with basemode in such cases. thanks Ulrike and Hans for the comments. It works fine with Renderer=basic, although I'm not sure what the side effects of switching from Full to Basic will be (it's not a particularly well documented feature, at least in the fontspec manual). Sorry for posting to the wrong list; I was thinking about putting this in the Lua list, but I remembered someone saying anything Lua related is welcome on the ConTeXt list as well... which it probably is, but LuaLa(!)TeX is a different story, obviously. I'll try to gather more info on the renderer issue, wait a day or two for more comments here, and then will post the problem to the Lua list. take care Nils ___ 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] writing the name of the section on all the pages
Is there a way to skip these margin texts momentarily, e.g. on the first page of a new chapter? Julian 2011/5/20 Wolfgang Schuster > > Am 19.05.2011 um 23:59 schrieb : > > > Thanks again, > > > > it works very well. However I still have one question: is it possible to > decide of the placement of the overlay and its alignment? With your example > the section name is centered both horizontally and vertically. I'd like to > flush it right at least. > > In many cases you can replace your overlay with a layer (\setlayer etc.) > but in your case you can replace > > \setupbackgrounds [state=repeat] > \defineoverlay [side] [{\rotate[rotation=90]{\getmarking[section]}}] > \setupbackgrounds [text] [rightmargin] [background=side] > > with > > \setuptexttexts [margin] > [][\rightaligned{\rotate[rotation=90]{\getmarking[section]}}] > [\leftaligned{\rotate[rotation=90]{\getmarking[section]}}][] > > 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 > > ___ > -- Julian Becker Institut für Angewandte Physik, R.123 Westfälische Wilhelms-Universität Münster Corrensstr. 2/4 48149 Münster / Westfalen Tel. 0251 83-3 61 53 Mob. 0151 599 848 29 e-mail: j_bec...@uni-muenster.de "Keep thy heart with all diligence; for it is the wellspring of life." ___ 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] ConTeXt PPA
On Wed, Jun 15, 2011 at 10:51, Reviczky, Adam wrote: > > Why does it require Mono? That's a deal-killer for me. > > It does not. > OK, Launchpad's listing confused me. Sorry. Maybe it would have been better to use separate PPAs for unrelated projects? mathew ___ 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] ConTeXt PPA
On Sun, Jun 12, 2011 at 20:17, Kip Warner wrote: > Adam was very kind enough to provide us with an up-to-date PPA for > ConTeXt which makes installation much easier for those of us running > Ubuntu. > > https://launchpad.net/~reviczky/+archive/ppa > Why does it require Mono? That's a deal-killer for me. mathew ___ 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] Placing figures flush right and captions in the margin
Am 15.06.2011 15:15, schrieb Wolfgang Schuster: Am 15.06.2011 um 10:17 schrieb Hans Hagen: Did you check the details.pdf manualal? This won’t help because it’s ConTeXt’s fault. This is a quick fix for strc-flt.mkiv but the leftmargin etc. keys are then ignored when the caption is placed in the margin. %\def\locatefloatbox % {\alignstrutmode\zerocount % \shiftalignedline % {\floatparameter\c!leftmargin }{\floatparameter\c!rightmargin}% % {\floatparameter\c!innermargin}{\floatparameter\c!outermargin}% % \alignedline{\floatparameter\c!location}\v!middle} \def\locatefloatbox {\alignstrutmode\zerocount \doifnotcommon{\floatcaptionparameter\c!location}{\v!outermargin,\v!innermargin,\v!leftmargin,\v!rightmargin} {\shiftalignedline {\floatparameter\c!leftmargin }{\floatparameter\c!rightmargin}% {\floatparameter\c!innermargin}{\floatparameter\c!outermargin}}% \alignedline{\floatparameter\c!location}\v!middle} The reason why the caption disappears is that you put it in \everyrightofalignedline and the content is replaced with the rightmargin skip in the \shiftalignedline command. Wolfgang Thank you Wolfgang, I'll try this as soon as I have access to my ConTeXt. Christoph ___ 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] Placing figures flush right and captions in the margin
Am 15.06.2011 um 10:17 schrieb Hans Hagen: > Did you check the details.pdf manualal? This won’t help because it’s ConTeXt’s fault. This is a quick fix for strc-flt.mkiv but the leftmargin etc. keys are then ignored when the caption is placed in the margin. %\def\locatefloatbox % {\alignstrutmode\zerocount % \shiftalignedline % {\floatparameter\c!leftmargin }{\floatparameter\c!rightmargin}% % {\floatparameter\c!innermargin}{\floatparameter\c!outermargin}% % \alignedline{\floatparameter\c!location}\v!middle} \def\locatefloatbox {\alignstrutmode\zerocount \doifnotcommon{\floatcaptionparameter\c!location}{\v!outermargin,\v!innermargin,\v!leftmargin,\v!rightmargin} {\shiftalignedline {\floatparameter\c!leftmargin }{\floatparameter\c!rightmargin}% {\floatparameter\c!innermargin}{\floatparameter\c!outermargin}}% \alignedline{\floatparameter\c!location}\v!middle} The reason why the caption disappears is that you put it in \everyrightofalignedline and the content is replaced with the rightmargin skip in the \shiftalignedline command. 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] beta
Am 15.06.2011 um 14:25 schrieb Otared Kavian: > At the cost of being ridiculous once more, I would report that the following > does not work anymore with the latest beta (ConTeXt ver: 2011.06.15 11:49 > MKIV): > > \usemodule[dimensions] > \starttext > $10\su{km/h}$ > \stoptext > > This is taken from your example, which worked fine two days ago… The code moved to the core and name of the command changed. \starttext \unit{10 km/h} \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] beta
On 15 juin 2011, at 11:57, Hans Hagen wrote: > Hi, > > I uploaded a new beta. > > Hans Hi Hans, At the cost of being ridiculous once more, I would report that the following does not work anymore with the latest beta (ConTeXt ver: 2011.06.15 11:49 MKIV): \usemodule[dimensions] \starttext $10\su{km/h}$ \stoptext This is taken from your example, which worked fine two days ago… Best regards: OK ___ 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] LuaTeX + microtype: Small Caps vs. Letter Spacing
On 15-6-2011 12:51, Ulrike Fischer wrote: Ah. Ok that explains it. This means that in latex/fontspec it works with \setmainfont[Renderer=basic]{...}. I guess so (if basic == basemode). There's nothing wrong with basemode in such cases. \kerncharacters is define in typo-krn. As far as I can see from luatex-fonts.lua the generic code doesn't load typo-krn. Does that mean that letterspacing in node-mode with latex would need some new code? It depends (one can also to it at the tex end using macros or some lua parsing as normally this kind of inter character kerning is happening in controller situations). In context a lot happens in lua nowadays (but we need to keep an eye on interference). I expect to do some more in this area. Hans - 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] beta
2011/6/15 Hans Hagen : > Hi, > > I uploaded a new beta. > Hi Hans, I made a patch for luatex-fonts-enc.lua in this beta, which helps to generate luatex plain format for CJK fonts processing. --- luatex-fonts-enc.lua2011-03-25 16:54:08.0 +0800 +++ luatex-fonts-enc-hack.lua 2011-06-15 19:16:59.0 +0800 @@ -18,8 +18,8 @@ setmetatable(fonts.encodings.agl, { __index = function(t,k) if k == "unicodes" then texio.write(" ") -local unicodes = dofile(resolvers.findfile("font-agl.lua")) -fonts.encodings.agl = { unicodes = unicodes } + dofile(resolvers.findfile("font-agl.lua")) +local unicodes = fonts.encodings.agl.unicodes return unicodes else return nil -- 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 ___
Re: [NTG-context] LuaTeX + microtype: Small Caps vs. Letter Spacing
Am Wed, 15 Jun 2011 11:48:10 +0200 schrieb Hans Hagen: > On 15-6-2011 10:59, Ulrike Fischer wrote: > >> With ConTeXt ver: 2011.06.13 23:08 MKIV fmt: 2011.6.15 (from the >> minimals) the following fails: > > I have to admit that I never used \letterspacefont (luatex offers it as > a pdftex compatibility feature and as such it's strongly related to > traditional font handling). The command makes a copy of an internal > (tfm) + adapted metrics. > >> \starttext >> >> \font\test=file:fxlr.otf >> \test abc \letterspacefont\lspfont=\font 500 \lspfont blub > > base mode i.e. traditional, so it works > So, when someone wants that feature he/she'd better force basemode which > is no big deal as letterspacing is selectively applied to often known / > specially defined fonts. Ah. Ok that explains it. This means that in latex/fontspec it works with \setmainfont[Renderer=basic]{...}. > Anyhow, context users will not use that command / method but instead use > \kerncharacters[fraction], as in: > > {test {\kerncharacters[.5] test \bf test} test} \kerncharacters is define in typo-krn. As far as I can see from luatex-fonts.lua the generic code doesn't load typo-krn. Does that mean that letterspacing in node-mode with latex would need some new code? -- Ulrike Fischer ___ 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] [mkiv] \setupfootnotes[n=2] not working properly
On 13-6-2011 4:14, C. wrote: No ideas? Hm, this must be a tough one, then. Or maybe nobody cares about footnotes set in columns :D -Ursprüngliche Nachricht- Von: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] Im Auftrag von C. Gesendet: Mittwoch, 8. Juni 2011 22:43 An: ConTeXt Betreff: [NTG-context] [mkiv] \setupfootnotes[n=2] not working properly When using columns in footnotes, the line length is not adjusted. Instead, they have the same length as if there where only one column (like in the normal setup). This works like it should in context-online (wich uses mkii, I suppose). Please make it work in mkiv, too. Is there a minimal example? Columns are always somewhat tricky. Hans - 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] Modules inside project structure
On 13-6-2011 11:50, Andreas Schneider wrote: I'm currently trying to split our ConTeXt project into smaller parts, utilizing the ConTeXt project structure. I thought it might be a good idea to also extract reusable parts into private modules. Now I face the problem, that I can't find an optimal spot to place these modules. Currently I just have them at the root of the project where I also have the environment file that is used. That kinda works, since \usemodule uses resolvers.findctxfile which also traverses parent directories. Unfortunately \registerctxluafile doesn't, so the corresponding lua file isn't loaded (which I currently circumvent with dofile()). I guess it might be cleaner to make use of texmf-project or something similar, however that would require the "user" (who is working with that project) to modify their TeX tree and rebuild their formats. It's also a bit strange, since these modules are exclusive to that one project - a new project would at least require copies of these files anyway. So these modules should preferably lie somewhere beneath the actual project, and not "globally" on the system of the user. What would you suggest to handle such projects that should be separated and independent from the ConTeXt installation of the "users"? Would you use modules at all in that case? I always put project specific files in texmf-project. This tree is standard part of the minimals so there is no need for additional configuration. One only has to run mtxrun --generate after adding files (in most cases projects files get changed, not added). Hans - 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] beta
Hi, I uploaded a new beta. Hans - 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] LuaTeX + microtype: Small Caps vs. Letter Spacing
On 15-6-2011 10:59, Ulrike Fischer wrote: With ConTeXt ver: 2011.06.13 23:08 MKIV fmt: 2011.6.15 (from the minimals) the following fails: I have to admit that I never used \letterspacefont (luatex offers it as a pdftex compatibility feature and as such it's strongly related to traditional font handling). The command makes a copy of an internal (tfm) + adapted metrics. \starttext \font\test=file:fxlr.otf \test abc \letterspacefont\lspfont=\font 500 \lspfont blub base mode i.e. traditional, so it works %breaks: letterspaced font is not small small caps: \font\test=file:fxlr.otf:mode=node;+smcp \test abc \letterspacefont\lspfont=\font 500 \lspfont blub a font defined to use node mode, but the copy is a basemode one so it has regular shapes and no smallcaps (as there are changed on the fly) %letterspacefont works: \font\test=file:fxlr.otf:mode=base;+smcp \test abc \letterspacefont\lspfont=\font 500 \lspfont blub base mode i.e. traditional, so it works \stoptext So, when someone wants that feature he/she'd better force basemode which is no big deal as letterspacing is selectively applied to often known / specially defined fonts. Anyhow, context users will not use that command / method but instead use \kerncharacters[fraction], as in: {test {\kerncharacters[.5] test \bf test} test} or \setuphead [section] [style=\sca, textstyle={\kerncharacters[.5]}] etc. Support using \letterspacefont is very unlikely to end up in the core font code. Hans - 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] \Context bug?
On 15-6-2011 10:41, Taco Hoekwater wrote: On 06/15/2011 10:36 AM, Vedran Miletić wrote: 2011/6/15 Taco Hoekwater: On 06/15/2011 10:24 AM, Vedran Miletić wrote: Hans, could you please fix this in stable version that is on CTAN as well? CTAN will get fixed when there is a new stable release. Best wishes, Taco Will there be new stable release before TL2011 is released? Highly unlikely. Sorry, but a borked \Context macro does not classify as a major bug. Not big enough to warrant a new release, in any case. also, one can add such a patch to the cont-new.mkiv file if needed (which will get replaced with an update then) Hans - 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] measuring alphabet length
On 13-6-2011 2:34, Wolfgang Schuster wrote: Am 13.06.2011 um 14:30 schrieb luigi scarso: How can I do the same thing in ConTeXt? plain TeX is ok, for example, \newdimen\AlphaBet \bgroup \setbox10=\hbox{abcdefghijklmnopqrstuvwxyz} \global\AlphaBet=\wd10\egroup \the\AlphaBet \starttext \dowithnextbox {\edef\AlphabetLength{\the\nextboxwd}}% \hbox{abcdefghijklmnopqrstuvwxyz} \AlphabetLength \stoptext Hans wrote also a command for this but it never went into core: http://archive.contextgarden.net/message/20070314.120612.adab0a8b.en.html Ok, I'll add it. There will also be an expandable variant (proper typeset but the string must be utf characters only) \starttext \setwidthof{Robin Kirkham}\to\whatever \whatever=\widthofstring{Robin Kirkham} \stoptext - 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] Placing figures flush right and captions in the margin
Am 15.06.2011 10:17, schrieb Hans Hagen: On 14-6-2011 5:03, Christoph Redecker wrote: On 13.06.2011 16:14, Christoph Redecker wrote: Hi, I want to place my figures flush right, so that they are aligned with the right border of my text area. Captions should be in the right margin, flush left, ragged right. It is a one-sided document. I've tried \setupfloats[ location=right] \setupcaptions[ location=rightmargin, align=flushleft, headstyle=\tfx, style=\tfx] Considering the overall activity on the list since I posted the question, can I assume that these options simply have not been implemented yet? Did you check the details.pdf manualal? Hello Hans, I now checked details.pdf, but I can only find (many!) placement options for placing figures - not for the captions. I also noticed that the wiki command reference does _not_ list the following options for \setupcaptions: left middle right lefthanging righthanging leftmargin rightmargin innermargin outermargin They _are_ included in the pdf command reference (ref-en.pdf) dated June 13, 2011. Regards Christoph ___ 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] LuaTeX + microtype: Small Caps vs. Letter Spacing
Am Wed, 15 Jun 2011 09:33:38 +0200 schrieb Hans Hagen: > On 14-6-2011 9:52, N. Lindenhayn wrote: > >> \documentclass{scrartcl} >> \usepackage{fontspec,microtype} >> \setmainfont{Minion Pro}%or TeX Gyre Termes, or Latin Modern Roman... >> \begin{document} >> stealing sheep\par >> \textls{stealing sheep}\par >> \textsc{stealing sheep}\par >> \textls{\textit{stealing sheep}}\par >> \textls{\textbf{stealing sheep}}\par >> \textls{\textsc{stealing sheep}} >> \end{document} > > on this list you should provide an example using context macros At first I thought that it is a pure latex problem which should better go at comp.text.tex or the lualatex mailing list. But it could be that there is (context) font code or luatex problem. With ConTeXt ver: 2011.06.13 23:08 MKIV fmt: 2011.6.15 (from the minimals) the following fails: \starttext \font\test=file:fxlr.otf \test abc \letterspacefont\lspfont=\font 500 \lspfont blub %breaks: letterspaced font is not small small caps: \font\test=file:fxlr.otf:mode=node;+smcp \test abc \letterspacefont\lspfont=\font 500 \lspfont blub %letterspacefont works: \font\test=file:fxlr.otf:mode=base;+smcp \test abc \letterspacefont\lspfont=\font 500 \lspfont blub \stoptext (fxlr.otf are the linux libertine O fonts as you get them in the libertine package on CTAN. But probably the problem can be tested with every font where small caps are implemented with +smcp). -- Ulrike Fischer ___ 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] \Context bug?
2011/6/15 Vedran Miletić : > 2011/6/15 Taco Hoekwater : >> On 06/15/2011 10:24 AM, Vedran Miletić wrote: >>> >>> Hans, could you please fix this in stable version that is on CTAN as well? >> >> CTAN will get fixed when there is a new stable release. > > Will there be new stable release before TL2011 is released? TL 2011 is usually fixed for bugs manually. Mojca ___ 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] \Context bug?
On 06/15/2011 10:36 AM, Vedran Miletić wrote: 2011/6/15 Taco Hoekwater: On 06/15/2011 10:24 AM, Vedran Miletić wrote: Hans, could you please fix this in stable version that is on CTAN as well? CTAN will get fixed when there is a new stable release. Best wishes, Taco Will there be new stable release before TL2011 is released? Highly unlikely. Sorry, but a borked \Context macro does not classify as a major bug. Not big enough to warrant a new release, in any case. 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 ___
Re: [NTG-context] \Context bug?
2011/6/15 Taco Hoekwater : > On 06/15/2011 10:24 AM, Vedran Miletić wrote: >> >> Hans, could you please fix this in stable version that is on CTAN as well? > > CTAN will get fixed when there is a new stable release. > > Best wishes, > Taco Will there be new stable release before TL2011 is released? Vedran ___ 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] \Context bug?
On 06/15/2011 10:24 AM, Vedran Miletić wrote: Hans, could you please fix this in stable version that is on CTAN as well? CTAN will get fixed when there is a new stable release. 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 ___
Re: [NTG-context] \Context bug?
2011/6/9 Wolfgang Schuster : > > Am 09.06.2011 um 23:13 schrieb Vedran Miletić: > >> Hi, >> >> is it intentional that >> >> \starttext >> \Context >> \stoptext >> >> makes context (mkiv, haven't tried mkii) hang indefinitely? >> >> I'm using latest beta. > > Change this in font-ini.mkiv: > > %\unexpanded\def\getscaledglyph > #1#2#3{{\setscaledstyledsymbolicfont{#1}{#2}\doifnumberelse{#3}\char\donothing#3}} > \unexpanded\def\getscaledglyph > #1#2#3{{\setscaledstyledsymbolicfont\fontbody{#1}{#2}\doifnumberelse{#3}\char\donothing#3}} > > Better use \ConTeXt or \CONTEXT, \Context is only a variation of the logo > which isn’t used anywhere. Hans, could you please fix this in stable version that is on CTAN as well? Vedran ___ 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] math: how to display ≔?
On 14-6-2011 4:30, Aditya Mahajan wrote: On Tue, 14 Jun 2011, Hans Hagen wrote: On 14-6-2011 12:51, Paul Menzel wrote: Dear ConTeXt folks, probably this is again a font problem, but I just want to report that the definition symbol ≔ (colon equal) [1] I am able to insert directly using Neo layout [2] is not displayed. The virtual lm does not has that symbol so I've added it. In LM, \colonequals is created by a TeX macro. There were a few other symbols that were in the same category (\mapsto, long arrows). Earlier we did not have a clean mechanism to add these fallbacks. Is there such a mechanism now? Virtual shapes ... (at some point I will make that a more general feature). Hans - 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] Placing figures flush right and captions in the margin
On 14-6-2011 5:03, Christoph Redecker wrote: On 13.06.2011 16:14, Christoph Redecker wrote: Hi, I want to place my figures flush right, so that they are aligned with the right border of my text area. Captions should be in the right margin, flush left, ragged right. It is a one-sided document. I've tried \setupfloats[ location=right] \setupcaptions[ location=rightmargin, align=flushleft, headstyle=\tfx, style=\tfx] Considering the overall activity on the list since I posted the question, can I assume that these options simply have not been implemented yet? Did you check the details.pdf manualal? - 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] no-break space broken
On 14-6-2011 11:04, Peter Münster wrote: Hello, With the latest beta, the no-break space seems to be broken: \starttext \hsize1pt bla~bla % line breaks here \stoptext No problem with mkii. fixed in next beta Hans - 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] combining character (unicode 0364)
On 15-6-2011 8:51, Daniel Schopper wrote: Hi, ok, I checked the font in indesign (well…) and there the positioning worked as expected. I’ll update ConTeXt, hopefully that helps… anyway, if it fails, in order to check it we need a complete example + font Hans - 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] /usr/bin/luatools:2329: bad argument #1 to '(for generator)' (directory metatable expected, got nil)
On 14-6-2011 8:57, Aditya Mahajan wrote: On Tue, 14 Jun 2011, Hans Hagen wrote: On 14-6-2011 6:48, Stappers wrote: Hello, While doing context foo I do get LuaTools | merging library /usr/share/texmf/tex/context/base/data-ctx.lua LuaTools | merging library /usr/share/texmf/tex/context/base/luat-fio.lua LuaTools | merging library /usr/share/texmf/tex/context/base/luat-cnf.lua LuaTools | saving merge from cont-en.lua LuaTools | using compiled initialization file: cont-en.luc LuaTools | using lua initialization file: cont-en.luc /usr/bin/luatools:2329: bad argument #1 to '(for generator)' (directory metatable expected, got nil) What should I do to get beyond that error message? I'm using Debian on an AMD64, context package is version 2009.11.26-2 way too old .. luatex as well as context moved on (and luatools in no longer used) FWIW, I get the same error message on my TL2010 installation. $luatex --version This is LuaTeX, Version beta-0.67.0-2011042320 (rev 4192) $context --version MTXrun | main context file: /usr/share/texmf-dist/tex/context/base/context.tex MTXrun | current version: 2010.05.24 13:05 $context --make MTXrun | running command: luatools --make --compile cont-en . LuaTools | using compiled initialization file: cont-en.luc LuaTools | using lua initialization file: cont-en.luc /usr/bin/luatools:2734: bad argument #1 to '(for generator)' (directory metatable expected, got nil) I am pretty sure that ConTeXt in TL2010 was working at some stage and failed after I updated. I normally just use the minimals, so I never bothered to dig into this. There has been a change in the lua lfs functions dealing with dir scanning and although the context lua code has been adapted to this, it might not be the case in all distributions. So, it's an unlucky combination of older / newer code. Hans - 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] LuaTeX + microtype: Small Caps vs. Letter Spacing
On 14-6-2011 9:52, N. Lindenhayn wrote: \documentclass{scrartcl} \usepackage{fontspec,microtype} \setmainfont{Minion Pro}%or TeX Gyre Termes, or Latin Modern Roman... \begin{document} stealing sheep\par \textls{stealing sheep}\par \textsc{stealing sheep}\par \textls{\textit{stealing sheep}}\par \textls{\textbf{stealing sheep}}\par \textls{\textsc{stealing sheep}} \end{document} on this list you should provide an example using context macros Hans - 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 ___