Re: [NTG-context] Missing modules crossref and pararef
Hi Hraban, As lonely wiki pages your module documentation gets overlooked, you might have linked them in https://wiki.contextgarden.net/References. Thanks for the suggestion... done it. And yes, I never was into including my modules into the context-minimal distribution, but this incident made me realize that I should have. So I like to add them now. But that will be a seperate post. Greetings, Haeske -- Zenlima Inhaber / Владелец / Owner: Henning Haeske Ostseestraße 65 - 23689 Luschendorf Deutschland / Германия / Germany ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Missing modules crossref and pararef
(Sorry,.. missed an important AND and screwed up the meaning of the sentace :D ) Hi, I am AND the great help of the mailing list that time are the developer of that two modules. The two modules are used on a daily base with MKIV without any issues. So why do you want to delete them? I see the old module download got deleted.. I will provide them somehow later today and get back about this. \startParagraph is dangerously close to (MkIV core) \startparagraph ... That was done by purpose that time - and why is it dangerous for you? Interesting, I never heard of these modules. But they were for MkII anyway and long gone; their wiki pages are from 2012, and I don’t know the user Zenlima. What do you want to achieve? It’s probably possible without those modules. In general: If you dont know something does not mean just delete it. My suggestion is to contact the developer of that modules first and ask for changes or updates. I am pretty sure that if you provided own work to the OSS world you are proud of it and does not want it be deleted respectlessly. Ok that said: of course I like to update and better the modules - that is just normal software evolution. So please tell me, what part of that modules are mkii leftovers. Thanks H. ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Missing modules crossref and pararef
Hi, I am the great help of the mailing list that time are the developer of that two modules. The two modules are used on a daily base with MKIV without any issues. So why do you want to delete them? I see the old module download got deleted.. I will provide them somehow later today and get back about this. \startParagraph is dangerously close to (MkIV core) \startparagraph ... That was done by purpose that time - and why is it dangerous for you? Interesting, I never heard of these modules. But they were for MkII anyway and long gone; their wiki pages are from 2012, and I don’t know the user Zenlima. What do you want to achieve? It’s probably possible without those modules. In general: If you dont know something does not mean just delete it. My suggestion is to contact the developer of that modules first and ask for changes or updates. I am pretty sure that if you provided own work to the OSS world you are proud of it and does not want it be deleted respectlessly. Ok that said: of course I like to update and better the modules - that is just normal software evolution. So please tell me, what part of that modules are mkii leftovers. Thanks H. ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Subformula numbering problem
I created an overview about what works with the formula numbering and what not - in the hope that Context might be usable for formula-containing academic papers again on time. Unluckily I am not deep enough in Context to fix it by myself. ___ 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] Font (roboto) and math font - error
Thanks Hans, it works :) Am Wed, 27 Aug 2014 22:41:37 +0200 schrieb Hans Hagen : > On 8/27/2014 9:50 PM, Zenlima wrote: > > Hi, > > > > I am switching all my docs to the roboto font as I just like the > > look of that font. During this I ran into a problem with \item: > > > > ! Math error: parameter \Umathquad\displaystyle is not set. > > .. > > l.26 \item h > > ere we list the points, > > > > In my example: as soon I enable any of the two \definetypeface > > lines I am running into that error.. even if I only enable the math > > font. > > > > Every hint is welcome :) > > > > Here is my example to reproduce the error: > > > > ---8<-- > > > > \enableregime[utf] \definefontfeature[fakesc][default][size=.8] > > \starttypescript [sans] [roboto] > > \definefontsynonym[Sans][name:robotolight][fallbacks=Sans] > >\definefontsynonym[SansBold][name:robotoregular] > >\definefontsynonym[SansItalic][name:robotolightitalic] > >\definefontsynonym[SansSlanted][name:robotolightitalic] > >\definefontsynonym[SansBoldItalic][name:robotoregularitalic] > >\definefontsynonym[SansBoldSlanted][name:robotoregularitalic] > >\definefontsynonym[SansCaps] [name:robotolight][features=fakesc] > > \stoptypescript > > \starttypescript [math] [latinmodern] > >\definefontsynonym[Math][name:latinmodernmathregular] > > \stoptypescript \definetypeface[fliesstext][ss][sans][roboto] > > \definetypeface[fliesstext][mm][math][latinmodern][default] > > \setupbodyfont[fliesstext,ss,11pt] \starttext \startitemize \item here > > we list the points, \item one after the other. \stopitemize \stoptext > > > \definefontfeature[fakesc][default][size=.8] > > \starttypescript [sans] [roboto] > \definefontsynonym[Sans][name:robotolight][fallbacks=Sans] > \definefontsynonym[SansBold][name:robotoregular] > \definefontsynonym[SansItalic][name:robotolightitalic] > \definefontsynonym[SansSlanted][name:robotolightitalic] > \definefontsynonym[SansBoldItalic][name:robotoregularitalic] > \definefontsynonym[SansBoldSlanted][name:robotoregularitalic] > \definefontsynonym[SansCaps] [name:robotolight][features=fakesc] > \stoptypescript > > % \starttypescript [math] [latinmodern] [name] > % \loadfontgoodies[lm] > % \definefontsynonym [MathRoman] > [file:latinmodern-math-regular.otf] > [features={math\mathsizesuffix,lm-math},goodies=lm] % \stoptypescript > > \definetypeface[fliesstext][ss][sans][roboto] > \definetypeface[fliesstext][rm][sans][roboto] > \definetypeface[fliesstext][tt][sans][roboto] > % \definetypeface[fliesstext][mm][math][latinmodern][default] > \definetypeface[fliesstext][mm][math][modern][default] > > \setupbodyfont[fliesstext,ss,11pt] > > \starttext > \startitemize > \item here we list the points, > \item one after the other. > \stopitemize > \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 > ___ ___ 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] Font (roboto) and math font - error
Hi, I am switching all my docs to the roboto font as I just like the look of that font. During this I ran into a problem with \item: ! Math error: parameter \Umathquad\displaystyle is not set. .. l.26 \item h ere we list the points, In my example: as soon I enable any of the two \definetypeface lines I am running into that error.. even if I only enable the math font. Every hint is welcome :) Here is my example to reproduce the error: ---8<-- \enableregime[utf] \definefontfeature[fakesc][default][size=.8] \starttypescript [sans] [roboto] \definefontsynonym[Sans][name:robotolight][fallbacks=Sans] \definefontsynonym[SansBold][name:robotoregular] \definefontsynonym[SansItalic][name:robotolightitalic] \definefontsynonym[SansSlanted][name:robotolightitalic] \definefontsynonym[SansBoldItalic][name:robotoregularitalic] \definefontsynonym[SansBoldSlanted][name:robotoregularitalic] \definefontsynonym[SansCaps] [name:robotolight][features=fakesc] \stoptypescript \starttypescript [math] [latinmodern] \definefontsynonym[Math][name:latinmodernmathregular] \stoptypescript \definetypeface[fliesstext][ss][sans][roboto] \definetypeface[fliesstext][mm][math][latinmodern][default] \setupbodyfont[fliesstext,ss,11pt] \starttext \startitemize \item here we list the points, \item one after the other. \stopitemize \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] setuplayout with duplex -> shifted textarea
Hi, I have a both sided document in which I have to switch the layout inside a page. If I do that with text only content it works fine, but as soon I have "bigger" objects (like a table) the textarea get messed up (shifted horizontally). I added in this example inner and outer margin notes to make it more obvious. Is there a way so solve this "unwanted shifting" like on page 2 of the attached example? Thanks, H. --8< \setuppapersize[A4][A4] \definelayout[WithoutMarginnotes][location={duplex},grid=no,topspace=3cm,height=24cm,backspace=3cm,cutspace=0cm,leftmargin=1cm,leftmargindistance=0.4cm,width=16cm,rightmargindistance=0cm,rightmargin=0cm] \definelayout[WithMarginnotes][location={duplex},grid=no,topspace=3cm,height=24cm,backspace=3cm,cutspace=0cm,leftmargin=1cm,leftmargindistance=0.4cm,width=12.1cm,rightmargindistance=0.4cm,rightmargin=3.5cm] \setuppagenumbering[alternative=doublesided,location=] \starttext \setuplayout[WithMarginnotes] \dorecurse {6} { \ininner[stack=yes]{\expanded{\dorecurse{2}{IM\recurselevel\space}}}% \inouter[stack=yes]{\expanded{\dorecurse{3}{OM\recurselevel\space}}}% \input tufte \par } \setuplayout[WithoutMarginnotes] \placetable[split][]{Big table object} { \setupTABLE[row][1][width=\textwidth] \bTABLE[split=repeat] \bTABLEhead \bTR \bTD XXX \eTD \eTR \eTABLEhead \bTABLEbody \dorecurse{20}{ \bTR \bTD XXX \eTD \eTR} \eTABLEbody \eTABLE } \setuplayout[WithMarginnotes] \dorecurse {3} { \ininner[stack=yes]{\expanded{\dorecurse{2}{IM\recurselevel\space}}}% \inouter[stack=yes]{\expanded{\dorecurse{3}{OM\recurselevel\space}}}% \input tufte \par } \stoptext layoutchange-1.pdf Description: Adobe PDF document ___ 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] Different font variants (normal <> condensed, light <> regular <> bold, etc.)
Thanks Wolfgang, your example works. :) For understanding I tried to make the example script-name independent, so it doesn't fix my environment onto one specific script (see attached files). But there must be some secret naming conventions.. then I guess and entered a command to switch to the roboto-typescripcollection.. but I guess wrongly. Are all secret (font) naming conventions somewhere documented? I think the limitation of font-dimensions decreases the reuse ability of context/mkiv a lot. Also I found some thoughts that were made in the context community some time ago: http://meeting.contextgarden.net/2010/talks/2010-09-15-mojca-fonts/some-thoughts-about-typescripts.pdf Is there any progress in that direction with context/mkiv? H. \starttext %\usetypescriptcollection[roboto] \switchtobodyfont[400-700--normal] \rm\input ward\par \ss\input ward \blank \switchtobodyfont[400-700--consended] \rm\input ward\par \ss\input ward \blank \switchtobodyfont[500-700--normal] \rm\input ward\par \ss\input ward \blank \switchtobodyfont[300-400--normal] \rm\input ward\par \ss\input ward \stoptext \starttypescriptcollection [roboto] \starttypescript [sans] [400-700--normal] \setups[font:fallback:sans] \definefontsynonym [Sans] [file:robotoregular] \definefontsynonym [SansItalic] [file:robotoitalic] \definefontsynonym [SansBold] [file:robotobold] \definefontsynonym [SansBoldItalic] [file:robotobolditalic] \stoptypescript \starttypescript [sans] [400-700--condensed] \definefontsynonym [Sans] [file:robotocondensed] \definefontsynonym [SansItalic] [file:robotocondenseditalic] \definefontsynonym [SansBold] [file:robotoboldcondensed] \definefontsynonym [SansBoldItalic] [file:robotoboldcondenseditalic] \stoptypescript \starttypescript [sans] [500-800--normal] \definefontsynonym [Sans] [file:robotomedium] \definefontsynonym [SansItalic] [file:robotomediumitalic] \definefontsynonym [SansBold] [file:robotoblack] \definefontsynonym [SansBoldItalic] [file:robotoblackitalic] \stoptypescript \starttypescript [sans] [300-400--normal] \definefontsynonym [Sans] [file:robotolight] \definefontsynonym [SansItalic] [file:robotolightitalic] \definefontsynonym [SansBold] [file:robotoregular] \definefontsynonym [SansBoldItalic] [file:robotoitalic] \stoptypescript \starttypescript [serif] [400-700--normal,400-700--condensed,500-800--normal] \definefontsynonym [Serif] [file:robotoslabregular] \definefontsynonym [SerifBold] [file:robotoslabbold] \stoptypescript \starttypescript [serif] [300-400--normal] \definefontsynonym [Serif] [file:robotoslablight] \definefontsynonym [SerifBold] [file:robotoslabregular] \stoptypescript \starttypescript [400-700--normal,400-700--consended,500-800--normal,300-400--normal] \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default] [features=default] \definetypeface [\typescriptone] [rm] [sans] [\typescriptone] [default] [features=default] \stoptypescript \stoptypescriptcollection signature.asc Description: PGP signature ___ 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] Different font variants (normal <> condensed, light <> regular <> bold, etc.)
Thanks Wolfgang, your example works. :) For understanding I tried to make the example script-name independent, so it doesn't fix my environment onto one specific script (see attached files). But there must be some secret naming conventions.. then I guess and entered a command to switch to the roboto-typescripcollection.. but I guess wrongly. Are all secret (font) naming conventions somewhere documented? I think the limitation of font-dimensions decreases the reuse ability of context/mkiv a lot. Also I found some thoughts that were made in the context community some time ago: http://meeting.contextgarden.net/2010/talks/2010-09-15-mojca-fonts/some-thoughts-about-typescripts.pdf Is there any progress in that direction with context/mkiv? H. signature.asc Description: PGP signature ___ 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] Chapter number in list colored (setuplist)
> 2. You didn’t test numbercolor. You are correct: after my mistyped try'n'error I did not checked it any further as the documentation in the wiki. I updated it with that missing attribute. thanks signature.asc Description: PGP signature ___ 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] Chapter number in list colored (setuplist)
Am Tue, 9 Jul 2013 12:20:18 -0400 (EDT) schrieb Aditya Mahajan : > numbercolor=bordeaux I am so sorry.. I tried that too but I must have mistyped it then.. now it works :) 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Chapter number in list colored (setuplist)
Hi, I want to color the chapter number in the table of content. The attribute "numbercolor" does not exist in setuplist. So I tried to color the chapter number via "numberstlye" ("numbercommand" is also not working): ---8< \define[1]\listChapterColor{\color[bordeaux]{X #1}} \setuplist[chapter][color=black,numberstyle=\listChapterColor] 8<-- The X appears in the new color (bordeaux), but the chapter number is still uncolored - same color like rest of that line (black). What am I doing wrong here? H. ___ 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] Different font variants (normal <> condensed, light <> regular <> bold, etc.)
Hi, I am trying to define the different variants of the Roboto font ([1] for sans and [2][3][4][5] for serif). Now I am trying to define this for context but I have no idea how to define the condensed versions (plus how to access it later). And how do I enter and access the different weights next to regular and bold (light, thin, heavy)? And how to define the weight light as default (instead of regular)? I got so far: 8<-- \enableregime[utf] \definefontfeature[Latn-smallcaps][smcp=yes,script=latn,kern=yes] \definefontfeature[fakeitalic][default][slant=.25] \definefontfeature[arab][mode=node,language=dflt,script=arab,init=yes,medi=yes,fina=yes,isol=yes,liga=yes,dlig=yes,rlig=yes,clig=yes,mark=yes,mkmk=yes,kern=yes,curs=yes] \definefontsynonym [arab--scheherazade--serif][name:scheherazade][features=arab] \definefontsynonym[brai--6punktoj][name:6punktoj] %^1 \starttypescript[sans][roboto] \definefontfallback[Sans][brai--6punktoj][0x2800-0x283f][force=yes,check=no] \definefontfallback[Sans][arab--scheherazade--serif][0x0600-0x06ff,0x0750-0x077f,0xfb50-0xfdff,0xfe70-0xfefe][force=yes,check=no,rscale=1.9] \definefontsynonym[Sans][name:robotoregular][fallbacks=Sans] \definefontsynonym[SansBold][name:robotobold] \definefontsynonym[SansItalic][name:robotoitalic] \definefontsynonym[SansSlanted][name:robotoitalic] \definefontsynonym[SansBoldItalic][name:robotobolditalic] \definefontsynonym[SansBoldSlanted][name:robotobolditalic] \definefontsynonym[SansCaps][name:robotoregular][features=Latn-smallcaps] \stoptypescript \starttypescript[serif][roboto] \definefontfallback[Serif][brai--6punktoj][0x2800-0x283f][force=yes,check=no] \definefontfallback[Serif][arab--scheherazade--serif][0x0600-0x06ff,0x0750-0x077f,0xfb50-0xfdff,0xfe70-0xfefe][force=yes,check=no,rscale=1.9] \definefontsynonym[Serif][name:robotoslabregular][fallbacks=Serif] \definefontsynonym[SerifBold][name:robotoslabbold] \definefontsynonym[SerifItalic][name:robotoslabregular][features=fakeitalic] \definefontsynonym[SerifSlanted][name:robotoslabregular][features=fakeitalic] \definefontsynonym[SerifBoldItalic][name:robotoslabbold][features=fakeitalic] \definefontsynonym[SerifBoldSlanted][name:robotoslabbold][features=fakeitalic] \definefontsynonym[SerifCaps][name:robotoslabregular][features=Latn-smallcaps] \stoptypescript \definetypeface[fliesstext][rm][serif][roboto] \definetypeface[fliesstext][ss][sans][roboto] \setupbodyfont[fliesstext,rm,11pt] 8<-- Any help is appreciated :-) 1) That braille font is created by myself and will be published for ConTeXt soon - still a little rocky. [1] https://dl-ssl.google.com/android/design/Roboto_Hinted_2029.zip [2] http://ff.static.1001fonts.net/r/o/roboto-slab.regular.ttf [3] http://ff.static.1001fonts.net/r/o/roboto-slab.thin.ttf [4] http://ff.static.1001fonts.net/r/o/roboto-slab.light.ttf [5] http://ff.static.1001fonts.net/r/o/roboto-slab.bold.ttf ___ 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] Crossref package
Hi Patrick, I put the actual crossref package temporary under this link: http://zenlima.eu/t-crossref-0.9.3.zip I will try to catch an admin to fix the broken link. H. ___ 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] [***SPAM***] unwanted space and error in combination of writebetweenlist and placecontent[criterium= local]
Hi, I ran into one error and one problem during building a part as two columns into the toc. 1. Extra line: I am getting an unwanted extra empty line at the bottom of two columns with an even number of total lines - with an odd number of total lines no extra empty line appears. How can I get rid of it? (see attached example) 2. This error only appears only with \placecontent[criterium=local] in combination with a beginning line of \writebetweenlist; with a global \placecontent and \writebetweenlist it works fine. To reproduce this uncomment the line "%\placecontent[criterium=local]" in the attached example. (Sorry that I was not able to make the example shorter, I needed some "meat" to fill the toc for the showcases) Thanks, H. --8< \usemodule[subsub] \definehead[paragraphHead][alternative=myheader,section=section-8,number=no] \defineheadalternative [myheader] [alternative=horizontal, renderingsetup=setup:myheader] \startsetups [setup:myheader] \inouter{\headtextcontent} \stopsetups \setuplist[chapter][style=bold,before=\blank,alternative=b,width=1.5em,color=HeadColor] \setuplist[section][margin=1.5em,width=2em] \setuplist[subsection][margin=3.5em,width=3em] \setuplist[paragraphHead][alternative=c,style=\tfx] \def\startParagraphTocColumns{% \writebetweenlist[paragraphHead][location=here]{\setupnarrower[left=2em]\startnarrower[left]\startcolumns[n=2,distance=0mm,balance=yes]}% \ignorespaces} \def\stopParagraphTocColumns{% \writebetweenlist[paragraphHead][location=here]{\stopcolumns\stopnarrower}% \ignorespaces} \starttext \setupcombinedlist[content][list={chapter,section,subsection,textdividerHead,paragraphHead}] \completecontent \startParagraphTocColumns \dorecurse{5}{\paragraphHead{Hasselt makes headlines} \input tufte} \stopParagraphTocColumns \chapter{Lorem ipsum} \section{Sed eram} \chapter{Lorem ipsum} %\placecontent[criterium=local] \section{Sed eram} \section{Sed eram} \startParagraphTocColumns \dorecurse{5}{\paragraphHead{Hasselt makes headlines} \input tufte} \stopParagraphTocColumns \section{Sed eram} \section{Sed eram} \startParagraphTocColumns \dorecurse{4}{\paragraphHead{Hasselt makes headlines} \input tufte} \stopParagraphTocColumns \section{Sed eram} \startParagraphTocColumns \dorecurse{3}{\paragraphHead{Hasselt makes headlines} \input tufte} \stopParagraphTocColumns \section{Sed eram} \section{Sed eram} \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] [***SPAM***] heading in margin -> strange extra vertical spaces
Hi, I want to display the lowest heading in the outer margin. But as soon the simple text becomes a heading, a strange extra line appears on top of the margin. In my minimum example below the first paragraph shows how it should look like in the pdf-file; the second paragraph is with a heading in the margin. Can anyone tell me, a) how to get rid of the unwanted extra vertical space? b) Why is the line-break in the margin of the second paragraph different than above? Thanks, H. --8<--- \definesection[section-8] \definehead[myheader][][number=no,before=,style=\bf,aligntitle=yes,section=section-8] \starttext \inouter{Hasselt makes headlines} \input tufte \inouter{\myheader{Hasselt makes headlines}} \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] command \text inside math environment not working anymore
Hi, during entering some formulas in a mkiv document I realized that the command \text is not working anymore. What is the new comḿand to embed text into a formula? I attached two minimal examples and the error message. Thanks for your help. :-) H. ---8<-works: \startformula V_{X} \stopformula ---8<-does not work: \startformula V_{\text X} \stopformula ---8<-error message: ! Missing } inserted. system > tex > error on line 5 in file mathe-test6.tex: Missing ... 1 \starttext 2 3 \startformula 4 V_{\text X} 5 >> \stopformula 6 7 \stoptext } $ \stopdisplaymath ->\stopinnermath $ $\par \afterdisplayspace \par \egroup \strc_formulas_stop_formula ...native \v!formula } \dostoptagged \dostoptagge... l.5 \stopformula ? ___ 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] Complex Ruby
Hi, I wonder how to make complex ruby like it is shown in the comments of the ruby module. Maybe I don't see the the obvious - can anyone help me with that? I need ruby text above and under a word in mkiv. H. ___ 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: Charis SIL / SmallCaps
Hi, thanks! Now it works with the \setff{..} command. > or otherwise also set up kerns Sorry, I dont understand what you mean with this. Can you explain it? > btw, there is a smallcaps feature predefined. I thought the \sc is the predefined command for the smallcaps font feature. Am I wrong? H. ___ 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] setupformulas reset not working
Thanks, that explanation makes it a lot easier :-) > \formulaparameter is a command to access the values of the keys for > the \setupformula command, e.g. \formulaparameter{spacebefore} > results in “big”. > ___ 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] mkiv: Charis SIL / SmallCaps
Hi, I wonder how to make that the font Chris SIL (http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=CharisSIL_download) displays its Smallcaps. I checked the font with fontforge and it really contains the Smallcaps and also the smcp table. But for whatever reason I cannot get context to show the smallcaps. I tried an example out of this mailing list: \definefontfeature[smallcapitals] [smcp=yes] \definefontfeature[oldstylenumber][onum=yes] %\setupbodyfont[pagella] \setupbodyfont [charissil] \starttext {VA abc \setff{smallcapitals} VA abc} {VA abc \addff{smallcapitals} VA abc} {12345 \setff{oldstylenumber} 12345} {VA {\kap VAabc}} {VA {\cap VAabc}} {VA {\CAP VAabc}} {VA {\sc VAabc}} \stoptext In the above example I only get smallcaps with the \kap and \cap - but then also the big letters are transformed into smallcaps :-(. With pagella is works fine - but not with charissil. What have I to do in order the get the smallcaps to work with context? Thanks, H. ___ 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] setupformulas reset not working
Hi, In my work I have standalone formulas and formulas inside a paragraph (see idea of module pararef). For standalone formulas the default settings are ok. But for the formuals inside the paragraphs I need to change the afer- and beforespaces. So I have to change the spaces before and after a formula often. Unlucky \startformula[spacebefore=...,spaceafter=...] is not working. So I try to achieve it via the "big" setup function: \setupformulas[spacebefore=...,spaceafter=...] - not nice but it works (except that "strange" space \formulaparameter). But now after that paragraph I want to reset the spaces of setupformulas. In the file strc-math.mkiv says that the spaces are defined like this: ... c!spacebefore=\v!big, \c!spaceafter=\formulaparameter\c!spacebefore, ... So I tried after \stopformula to reset the spaces with: \setupformulas[spacebefore=\v!big,spaceafter=\formulaparameter\c!spacebefore] and \setupformulas[spacebefore=\big,spaceafter=\formulaparameter\spacebefore] but both failed. Is there any possibility to reset the spaces of setupformulas? And what kind of space is \formulaparameter? H. ___ 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] Suggestion for formula numbering
Hi, as of actual need I summed up all kinds of formula numbering - some basics are working. You can find this list on my user talk page: http://wiki.contextgarden.net/User_talk:Zenlima As I also found a note in str-math.mkiv that it needs to be rewritten and the example syntax which leaded me to confusion in the past, I worked out a suggestion for a more intuitive syntax for formula numbering. In sum it ends with: All three commands: \NR \placeformula \formualanumber will share the same attributes: * sublevel (maybe better: formulalevel or just level?) to define and concrete the (sub-)level of the formula * listlabel (maybe textlabel? the numberlabel is still needed) to add a entry in the list of formulas * reference just a classic reference in order to link to it so that the syntax is more intuitive during the writing. Also. this way the commands: placesubformula placenamedformula placenamedsubformula startstopsubformulas subformulanumber will become needless. For the "why" and examples please look at: http://wiki.contextgarden.net/User_talk:Zenlima#Suggestion_for_new_syntax I hope you will find parts you like and feel free to add your opinion. :-) H. ___ 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] Desperate help needed: Formular numbering and List of Formulas
Hi Andreas, thanks for your example.. I also got it to work - so my desperate case is half solved. I added it also to the working cases: http://wiki.contextgarden.net/User_talk:Zenlima#align_-_subformular_.5B.2B.5D In order to prevent unnecessary frustration I added a warning at the two related math pages. I tried to extend your example with named subformulas in different ways but as a result the numbers vanished or the table of formulas messed up. Also I found the note in str-math.mkiv that a rewrite is needed. Ciao H. ___ 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] Desperate help needed: Formular numbering and List of Formulas
Hi, I am closing my dissertation (finally) but I had to realize that subnumbering of formulas is still not working in mkiv. Unluckily going back to mkii is not an option for other reasons. For that I really need help to bring back a fully working formula numbering. I searched the entire wiki and mailing list for possible examples and put all in one test file - I got non to work but maybe I also made a mistake somewhere. Additionally I wrote everything on my talk page of the wiki: http://wiki.contextgarden.net/User_talk:Zenlima If every method has to be fixed my priority is the \NR[+][c]-method. Maybe someone can give additionally hints how to get a proper list of formulas. I attached the test file with its pdf result in addition to the wiki page. Thanks H. context-test-mathe.pdf Description: Adobe PDF document \usemodule[newmath] \setupformulas[way=bytext,prefix=no] \setupsubformulas[conversion=romannumerals] \starttext \title{List of formulas} \placelist[formula][criterium=all,alternative=c] \framed{not ok} \chapter{Chapter One} \chapter{Chapter Two} \subject{math - formula} Expected formular number: (1): \placenamedformula[one]{Der einfache Test} \startformula c^2 = a^2 + b^2. \stopformula \framed{ok} \subject{math - subformula} Expected formular numbers: (2a) and (2b): \startsubformulas[eq:1] \placeformula[eq:first] \startformula PM \xrightarrow R_{PM} \xrightarrow PM \stopformula \placeformula[eq:second] \startformula R_{PM} = \{ K, F, Z, U, I, J\} \stopformula \stopsubformulas \framed{not ok} \subject{math - align - formula} Expected formular numbers: (3a) and (3b) and a reference to formular (3b): \startsubformulas \startformulas \placeformula \startformula \startalign[n=3, align={right,middle,left}] \NC PM \xrightarrow \NC R_{PM} \NC \xrightarrow PM \NR[+] \NC R_{PM} \NC = \NC \{ A, B, C, D, E\} \NR[a] \stopalign \stopformula \stopformulas \stopsubformulas \framed{not ok} Expected formular numbers: (4) and (5) \placeformula \startformula \startalign[n=3, align={right,middle,left}] \NC PM \xrightarrow \NC R_{PM} \NC \xrightarrow PM \NR[+] \NC R_{PM} \NC = \NC \{ A, B, C, D, E\} \NR[+] \stopalign \stopformula \framed{ok} \subject{math - align - subformula} Expected formular numbers: (6.1), (6.2) and (6.c) plus referece on (6.1) and (6.2): \placesubformula \startformula \startalign[n=3, align={right,middle,left}] \NC PM \xrightarrow \NC R_{PM} \NC \xrightarrow PM \NR[gleichung1a][.1] \NC R_{PM} \NC = \NC \{ A, B, C, D, E\} \NR[gleichung1b][.2] \NC R_{PM} \NC = \NC \{ A, B, C, D, E\} \NR[+][c] \stopalign \stopformula \framed{not ok} Expected formular numbers: (8a) and (8b) plus reference on (8a and 8b): \placesubformula \startformula \startalign[n=3, align={right,middle,left}] \NC PM \xrightarrow \NC R_{PM} \NC \xrightarrow PM \NR[gleichung1a][+] \NC R_{PM} \NC = \NC \{ A, B, C, D, E\} \NR[gleichung1b][] \stopalign \stopformula \framed{not ok} \subject{math - eqalignno - formula} Taken from wiki and removed the subformulanumber. Expected formular numbers: (11), (12), (13) and (14): \placeformula \startformula \eqalignno{ c^2 &= a^2 + b^2 &\formulanumber \cr c &= \left(a^2 + b^2\right)^{\vfrac{1}{2}} &\formulanumber\cr a^2 + b^2 &= c^2 &\formulanumber \cr d^2 &= e^2&\formulanumber \cr} \stopformula \framed{ok} \subject{math - eqalignno - subformula} Directly taken form wiki. Expected formular numbers: %\placeformula %\startformula %\eqalignno{ % c^2 &= a^2 + b^2 &\formulanumber{a} \cr % c &= \left(a^2 + b^2\right)^{\vfrac{1}{2}} &\subformulanumber{b}\cr % a^2 + b^2 &= c^2 &\subformulanumber{c} \cr % d^2 &= e^2&\formulanumber\cr} %\stopformula \framed{not ok (does not work. subformularnumber is unknown)} \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Epub woes
> Try lucifox (is a part of lucifox addon for firefox) arg.. to late.. try lucidor as a part of lucifox... :-D ___ 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] Epub woes
> Is there any reader able to read mathml ? Try lucifox (is a part of lucifox addon for firefox) ___ 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] New module: simplebib
Hallo, here is my third module for you guys: a simple bibliography without a database but with items: http://modules.contextgarden.net/simplebib http://wiki.contextgarden.net/Simple_Bibliography Please feel free to comment. H. ___ 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] New module: crossref
Hi, after the feedback for my first module (pararef) and regarding my next upcoming module I decided to put crossref into its own module, so that it can be used by other modules or without any other module. http://modules.contextgarden.net/crossref Unluckily I forgot to fill out the filename field at the very beginning. As I cannot change the filename anymore, I ask a modules-db admin to change it from -0.9.zip to t-crossref-0.9.zip - thanks! :-S http://wiki.contextgarden.net/Cross_Referencing @Sieste and Wolfgang I removed move my wrong spelling of bra[c]kets and replaced it by left and right as Wolfgang suggested. @Lukas I added your czech alternative. @Philipp I like to put into a public vcs like github. I think it should be something general for all modules (maybe a github like installation on contextgarden? @Philipp and Wolfgang Is there any quick to understand doc for s-mod? @Wolfgang I did not understood your "helpers example". Maybe you can show me a point where it would make sense in this crossref module? Of course to all: feel free to comment it and I hope it will be usefull for some of you. H. PS. Sorry for my half finished post sended before.. it is clearly too late. PPS. pararef will be updated soon to work with crossref ___ 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] New module: crossref
Hi, after the feedback for my first module (pararef) and regarding my next upcoming module I decided to put crossref into its own module, so that it can be used by other modules or without any other module. http://modules.contextgarden.net/crossref Unluckily I forgot to fill out the filename field at the very beginning. As I cannot change the filename anymore, I ask a modules-db admin to change it from -0.9.zip to t-crossref-0.9.zip - thanks! :-S http://wiki.contextgarden.net/Cross_Referencing @Sieste and Wolfgang I removed move my wrong spelling of bra[c]kets and replaced it by left and right as Wolfgang suggested. @Lukas I added your czech alternative. @Philipp ___ 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] bug?: component inside component
Hi, I tried to recompile a book (no project file, 1 product file, many component files) the first time for a while - but now it breaks with weird and random error messages. It starts when I have a component inside a component.. but only when I have more than just a few pages text. And is stops with e.g. "a missing bracket", "one bracket more than needed", "math module missing" etc etc. It is definitely not one of the reported errors.. and the error message changes as I add or remove some text (letters, paragraph). Also I realized that references over components borders don't work any more (they link to an external document: componentname.pdf). Is this a known bug? I found some remarks regarding broken references over component borders. Does there exists any other way of integrating tex-file into tex-files for context? I will continue trying to isolate the error.. but atm it tricks me pretty well. Thanks in advance H. ___ 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] New module: pararef
Hi Sietse, hi Wolfgang, thanks for your first feedback. Right now I am working on your suggestions. @Wolfgang: I don't understand your suggestion: "add a label key to disable/enable the label text". Can you describe it more detaily or in other words? I am not sure how to implement it with the refs to a paragraph. > To include the module in the minimals he should send a mail to Mojca. That will come, but I wanted to get some feedback first.. and it was necessary as we saw :-) H. ___ 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] New module: pararef
Hallo, after so many of you helped me, I want to give back. I just made my t-pararef module public for everyone: http://modules.contextgarden.net/pararef http://wiki.contextgarden.net/Paragraph_Referencing Please feel free to send me comments about the coding style and what I could have done in a better way. E.g. the interface file is missing, but I don't know how it should look like. But I hope mainly that it will prove beneficial for some of you. H. ___ 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 ___