Re: [NTG-context] Bug in symb-ini.mkiv?
On 15-1-2012 21:11, Otared Kavian wrote: Hi Wolfgang, Combing through various setups and definitions of my document, finally I could find the culprit: the error message was due to the change in the way \color should be used now. Changing all over \color[darkred] (for instance) with \startcolor[darkred]…\stopcolor, fixed the error messages. Since this may happen with other users who have \color somewhere in their file, I give below the minimal example I could find to show the problem. \color[darkred]{blabla} is also ok the fact that one could use it as 'switch' was a side effect of using \groupedcommand which is clever enough to identify this case (although \starttext \color[red] test \stoptext would still fail) 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] Unicode character for "\,"?
On 15-1-2012 23:27, Peter Münster wrote: On Sun, Jan 15 2012, Wolfgang Schuster wrote: \|\sixperemspace\| No, there is a line break: \starttext \hsize1pt bla\sixperemspace bla \stoptext well, it's a space and therefore a valid breakpoint (i.e. it's not \sixperemnonbreakspace) 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] separate publication lists for different publication types
hi all, is it possible to have separate publication lists for different publication types? eg. one list for the book, booklet, inbooks, manuals and the other list for article, conference, periodicals? I tried to define two different bibliography style files for each list, where I defined \setuppublicationlayout just for the desired types, but this doesn't work. either it gives me a blank line for an undefined record type or it takes the definition from somewhere else. thanks, michael ___ 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] ctxparskip is "Undefined control sequence" in project only
On 16-1-2012 11:34, Steffen Wolfrum wrote: Hi, here's another "Undefined control sequence" with recent beta: when using \ctxparskip in a project's component (see attached) the following error below pops up. (When running the same example as a stand-alone-file it works fine!) Steffen ! Undefined control sequence. system> tex> error on line 7 in file chap_X.tex: Undefined control sequence ... 1 %&context 2 %!TEX TS-program = luatex 3 \startcomponent chap_X 4 \project MyProject 5 6 7>> \startexdent 8 9 test 10 11 \stopexdent 12 13 \stopcomponent 14 \117>exdent:before ->\ctxparskip Why don't you use \setupindenting? Setting some low level variable is pretty fragile and \ctxparskip is now a protected one i.e. even more low level. Actually, using it in the past was never a guaranteed to work option as other (synchronization) mechanisms could overload your setting. 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] Setting structureuservariable
Hello all, I've discovered the magic of structureuservariabl and have therefore converted all my headings to use the start/stop syntax. It's raised a few quick questions though: 1. Is \startchapter \stopchapter etc the "proper way" to do things from now on? Or is it really just up to the user? 2. Is there a way to provide a default value for a structureuservariable? I'd like to set a reference number based on a global counter if the user doesn't supply their own. 3. In a similar vein - is it possible to define a reference for a section if the user doesn't provide one. E.g. if they provide \startchapter[title=My Example Chapter] instead of: \startchapter[chap:examplechapter][title=My Example Chapter] can I set the reference for them? (I will have some sections that could be usefully auto-referenced). Many thanks in advance, Felix ___ 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-otn.lua:1809: attempt to index local 'chainlookup' (a nil value)
On 14-1-2012 14:12, Simo Ojala wrote: Hi, I am just trying to quickly report this without joining mailing list, hopefully it works. I am getting strange error reports with hebrew words and ConTeXt IV. Error is following: "error: /usr/share/texmf/tex/context/base/font-otn.lua:1809: attempt to index local 'chainlookup' (a nil value)". My suspicion is that this could be some regression bug introduced to ConTeXt IV. This is because I could not think anything I have done wrong and my testing file is very simple. I also have earlier standalone ConTeXt IV that does not give this error. Exact details can be found from tex/stackexhange where I initially started to ask around. I post this thing here only to make sure that this catches the attention of the right people. Question in tex/stackexchange: http://tex.stackexchange.com/questions/41052/hebrew-words-causes-strange-errors-with-context-iv-luatex line 1032 in font-otf.lua is: if features and supported(features) then but that should be if not features or supported(features) then The check for supported was introduced a while ago after some discussion between Khaled and me regarding interference between apple font specific stuff that interfered badly with regular features. (You can patch that line but also need to wipe the font cache then or also set otf.version = 2.736 in the same file which will do that automatically.) 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] font-otn.lua:1809: attempt to index local 'chainlookup' (a nil value)
On 14-1-2012 14:12, Simo Ojala wrote: > ... with respect to rtl, use: \setupalign[r2l] and not \textdir or \pardir (these might even become dummies some day). I've added \definefontfeature [hebrew] [arabic] [script=hebr] \definefontfeature [simplehebrew] [simplearabic] [script=hebr] to the set of predefined features 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] ctxparskip is "Undefined control sequence" in project only
Am 16.01.2012 um 12:34 schrieb Hans Hagen: > On 16-1-2012 11:34, Steffen Wolfrum wrote: >> Hi, >> >> here's another "Undefined control sequence" with recent beta: >> >> when using \ctxparskip in a project's component (see attached) the following >> error below pops up. >> (When running the same example as a stand-alone-file it works fine!) >> >> Steffen >> >> >> ! Undefined control sequence. >> >> system> tex> error on line 7 in file chap_X.tex: Undefined control >> sequence ... >> >> 1 %&context >> 2 %!TEX TS-program = luatex >> 3 \startcomponent chap_X >> 4 \project MyProject >> 5 >> 6 >> 7>> \startexdent >> 8 >> 9 test >> 10 >> 11 \stopexdent >> 12 >> 13 \stopcomponent >> 14 >> >> >> \117>exdent:before ->\ctxparskip > > Why don't you use \setupindenting? To have discrete control over stretch tolerances, both baseline and parskip: plus XXpt minusYYpt Steffen ___ 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] Setting structureuservariable
On 16-1-2012 12:39, Felix Ingram wrote: Hello all, I've discovered the magic of structureuservariabl and have therefore converted all my headings to use the start/stop syntax. It's raised a few quick questions though: 1. Is \startchapter \stopchapter etc the "proper way" to do things from now on? Or is it really just up to the user? Indeed it is ... however, there are cases where the old method is still handy, for instance when processing unstructured xml (take xhtml: is just a chapter title then and not structure at all). 2. Is there a way to provide a default value for a structureuservariable? I'd like to set a reference number based on a global counter if the user doesn't supply their own. Currently not ... but I can add it. 3. In a similar vein - is it possible to define a reference for a section if the user doesn't provide one. E.g. if they provide \startchapter[title=My Example Chapter] instead of: \startchapter[chap:examplechapter][title=My Example Chapter] \startchapter[reference=chap:examplechapter,title=My Example Chapter] can I set the reference for them? (I will have some sections that could be usefully auto-referenced). how would you refer to such auto reference? - 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] Setting structureuservariable
Am 16.01.2012 um 12:39 schrieb Felix Ingram: > Hello all, > > I've discovered the magic of structureuservariabl and have therefore > converted all my headings to use the start/stop syntax. It's raised a > few quick questions though: > > 1. Is \startchapter \stopchapter etc the "proper way" to do things > from now on? Or is it really just up to the user? You can use either \chapter or \startchapter nut the second form is better when you want to set different texts for the heading and the table of contents or the headers, bookmarks etc. > 2. Is there a way to provide a default value for a > structureuservariable? I'd like to set a reference number based on a > global counter if the user doesn't supply their own. > 3. In a similar vein - is it possible to define a reference for a > section if the user doesn't provide one. E.g. if they provide > > \startchapter[title=My Example Chapter] > > instead of: > > \startchapter[chap:examplechapter][title=My Example Chapter] > > can I set the reference for them? (I will have some sections that > could be usefully auto-referenced). When you use \startchapter references are set with \startchapter[reference=…,title=…]. 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] ctxparskip is "Undefined control sequence" in project only
On 16-1-2012 13:01, Steffen Wolfrum wrote: Am 16.01.2012 um 12:34 schrieb Hans Hagen: On 16-1-2012 11:34, Steffen Wolfrum wrote: Hi, here's another "Undefined control sequence" with recent beta: when using \ctxparskip in a project's component (see attached) the following error below pops up. (When running the same example as a stand-alone-file it works fine!) Steffen ! Undefined control sequence. system> tex> error on line 7 in file chap_X.tex: Undefined control sequence ... 1 %&context 2 %!TEX TS-program = luatex 3 \startcomponent chap_X 4 \project MyProject 5 6 7>>\startexdent 8 9 test 10 11 \stopexdent 12 13 \stopcomponent 14 \117>exdent:before ->\ctxparskip Why don't you use \setupindenting? To have discrete control over stretch tolerances, both baseline and parskip: plus XXpt minusYYpt you can always manipulate \parskip then - 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] Setting structureuservariable
>> 2. Is there a way to provide a default value for a >> structureuservariable? I'd like to set a reference number based on a >> global counter if the user doesn't supply their own. > > Currently not ... but I can add it. I'm assuming I could poke a value in using Lua. Would be nice to have but not a big deal for the time being. >> 3. In a similar vein - is it possible to define a reference for a >> section if the user doesn't provide one. E.g. if they provide >> >> \startchapter[title=My Example Chapter] >> >> instead of: >> >> \startchapter[chap:examplechapter][title=My Example Chapter] >> > > \startchapter[reference=chap:examplechapter,title=My Example Chapter] >> can I set the reference for them? (I will have some sections that >> could be usefully auto-referenced). > > how would you refer to such auto reference? My report will have a number of findings. I want to give each of these a unique reference number based on a project identifier (set by the user as a global variable) plus a sequential number coming from a counter. In the vast majority of cases the user shouldn't be concerned with having to define these themselves. I'd like them to exist as uservariables and proper references so that they could be referred to if required. I'd only be using the references when looping through all of the findings, so I could reconstruct the reference value as I looped. At the moment I'm doing this hack to get a clickable reference to a finding in my summary table: for k, v in ipairs(structures.lists.collected) do ... context.bTD() context("\\goto{"..(v.references.realpage-2).."}[page("..v.references.realpage..")]") context.eTD() In thinking it through, however, I suppose that if the user is going to be referring to the findings themselves then they should just define their own reference and use that. I just wanted to use proper references for any parts I was auto-generating. I'll stick with my hack for the time being. Many thanks, Felix ___ 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] another surprising change (line break in TOC)
Hi, the good old command for breaking list entries (eg. headings in the TOC) like this ... \startLevelOne[ title={Das Krankenhaus als Leistungserbringer in der GKV}, marking={Das Krankenhaus als Leistungserbringer in der GKV}, list={Das Krankenhaus\\als Leistungserbringer in der GKV}, bookmark={Das Krankenhaus als Leistungserbringer in der GKV}] ... pop up this error message: ! Missing } inserted. system > tex > error on line 1 in file TOCDateien/TOCtocDatei.tex: Missing ... ... } \endgroup \\->\endgroup \par \doalignline {\hss }{\hss }\begingroup l.1 Das Krankenhaus\\ als Leistungserbringer in der GKV \structurelistgenerictitle ...\currentlistindex )} \dostoptagged \063>MyListItemIT ...]{\TOCstyleBF \midaligned {#2 }}\hfill \tf #3 ... l.86 \placeTOCtoc[criterium=text,interaction=all] ? Process aborted Is this a bug, or do we have an other syntax today? Steffen ___ 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] another surprising change (line break in TOC)
Am 16.01.2012 um 15:21 schrieb Steffen Wolfrum: > Hi, > > the good old command for breaking list entries (eg. headings in the TOC) like > this ... > > > \startLevelOne[ >title={Das Krankenhaus als Leistungserbringer in der GKV}, > marking={Das Krankenhaus als Leistungserbringer in der GKV}, > list={Das Krankenhaus\\als Leistungserbringer in der GKV}, > bookmark={Das Krankenhaus als Leistungserbringer in der GKV}] > > > ... pop up this error message: > > > ! Missing } inserted. > > system > tex > error on line 1 in file TOCDateien/TOCtocDatei.tex: > Missing ... > > ... > > >} > > \endgroup > \\->\endgroup > \par \doalignline {\hss }{\hss }\begingroup > l.1 Das Krankenhaus\\ > als Leistungserbringer in der GKV > \structurelistgenerictitle ...\currentlistindex )} > \dostoptagged > \063>MyListItemIT ...]{\TOCstyleBF \midaligned {#2 > }}\hfill \tf #3 > ... > l.86 \placeTOCtoc[criterium=text,interaction=all] > > ? > Process aborted > > Is this a bug, or do we have an other syntax today? Send a example where we can see how the list entries are formatted. 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] another surprising change (line break in TOC)
> Send a example where we can see how the list entries are formatted. > > Wolfgang Sorry, no example now: I am just about to leave the desk. In the TUC file it looks like this: { ["metadata"]=49, ["numberdata"]=48, ["references"]={ ["block"]="bodypart", ["component"]="chap_01", ["internal"]=25, ["realpage"]=15, ["referenceprefix"]="chap_01", ["section"]=2, ["tag"]="?", }, ["titledata"]={ ["bookmark"]="Das Krankenhaus als Leistungserbringer in der GKV", ["label"]="chapter", ["marking"]="Das Krankenhaus als Leistungserbringer in der GKV", ["title"]="Das Krankenhausals Leistungserbringer in der GKV", }, } HTH, Steffen ___ 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? Counters inherit chapter number
Hi all, This works as expected* (empty section title with "5 6 7 8" on the next line \definenumber[examplecounter] \setnumber[examplecounter]{5} \starttext \startsection \getnumber[examplecounter] \incrementnumber[examplecounter] \getnumber[examplecounter] \incrementnumber[examplecounter] \getnumber[examplecounter] \incrementnumber[examplecounter] \getnumber[examplecounter] \incrementnumber[examplecounter] \stopsection \stoptext This does not: \definenumber[examplecounter] \setnumber[examplecounter]{5} \starttext \startchapter \getnumber[examplecounter] \incrementnumber[examplecounter] \getnumber[examplecounter] \incrementnumber[examplecounter] \getnumber[examplecounter] \incrementnumber[examplecounter] \getnumber[examplecounter] \incrementnumber[examplecounter] \stopchapter \stoptext The second example has an empty chapter heading followed by "1. 1.1 1.2 1.3". This is on version: 2011.11.29. Apologies if this is has been addressed - I'm holding off updating until I've worked out some more features in my doc. Felix * As expected by me ___ 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] Bug? Counters inherit chapter number
Am 16.01.2012 um 15:43 schrieb Felix Ingram: > Hi all, > > This works as expected* (empty section title with "5 6 7 8" on the next line > > \definenumber[examplecounter] > \setnumber[examplecounter]{5} > \starttext > \startsection > \getnumber[examplecounter] > \incrementnumber[examplecounter] > \getnumber[examplecounter] > \incrementnumber[examplecounter] > \getnumber[examplecounter] > \incrementnumber[examplecounter] > \getnumber[examplecounter] > \incrementnumber[examplecounter] > \stopsection > \stoptext > > This does not: > > \definenumber[examplecounter] > \setnumber[examplecounter]{5} > \starttext > \startchapter > \getnumber[examplecounter] > \incrementnumber[examplecounter] > \getnumber[examplecounter] > \incrementnumber[examplecounter] > \getnumber[examplecounter] > \incrementnumber[examplecounter] > \getnumber[examplecounter] > \incrementnumber[examplecounter] > \stopchapter > \stoptext > > The second example has an empty chapter heading followed by "1. 1.1 1.2 1.3". > > This is on version: 2011.11.29. Apologies if this is has been > addressed - I'm holding off updating until I've worked out some more > features in my doc. By default the counter is reset with each new chapter, since you have chapters in your first example the counter is incremented but in your second example \startchapter sets the counter back to zero. To have a counter which isn’t reset you need “way=bytext" and to remove the chapter number from the \getnumber result you have to add “prefix=no”. The full \definenumber declaration is then \definenumber[examplecounter][way=bytext,prefix=no] 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] another surprising change (line break in TOC)
On 16-1-2012 15:39, Steffen Wolfrum wrote: Send a example where we can see how the list entries are formatted. Wolfgang Sorry, no example now: I am just about to leave the desk. no example == no answer 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] ntg-context Digest, Vol 91, Issue 66
> By default the counter is reset with each new chapter, since you have chapters > in your first example the counter is incremented but in your second example > \startchapter sets the counter back to zero. > > To have a counter which isn?t reset you need ?way=bytext" and to remove > the chapter number from the \getnumber result you have to add ?prefix=no?. > > The full \definenumber declaration is then > \definenumber[examplecounter][way=bytext,prefix=no] Thanks Wolfgang. I've updated the wiki page with this explanation. Felix ___ 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] starttyping/stoptyping broken?
On Sat, Jan 14, 2012 at 04:37, Hans Hagen wrote: > this related to the buffer bug (still no new beta as i'm redoing some font > code and have not much time today) OK. Is there some convenient way to revert to the last known good version of standalone ConTeXt? I ended up installing the Ubuntu package, which was confused by my standalone install until I deleted that. Then I had to mess with OSFONTDIR to get my fonts working again. I then got the error (noted on the mailing list before) involving ! Math error: parameter \Umathquad\displaystyle is not set. which as you probably recall, is caused by font with asked name 'lmmath' is not found using lookup 'file' unknown font lmmath, loading aborted when trying to use a custom typescript that doesn't have a math font, and \startitemize. There is a Ubuntu package lmodern which claims to be OpenType versions of Latin Modern, and it's installed as a dependency when installing Ubuntu's ConTeXt package, but it only includes LMMathSymbols, LMMathExtension and LMMathItalic, none of which seem acceptable to ConTeXt as lmmath. After struggling with *that* for a while, I found the easiest solution was to go to http://www.gust.org.pl/projects/e-foundry/lm-math/download/index_html and download the latest lmmath, rename it as lmmath.otf and install it in my personal ~/.fonts. Noting all this here as searching the mailing list and Google hadn't pointed me at that solution. Is there a better one? mathew -- http://www.pobox.com/~meta/> ___ 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] Pagebreak in a list of figures
Hello, I tried (unsuccessfully) to insert a page break on the concrete position in a list of figures. Minimal example: \starttext \dorecurse{30}{\placefigure{Nic}{\externalfigure[any-figure.jpg]}} \completelistoffigures[pageboundaries={5,10,13}] \completelistoffigures[5,10,13] \stoptext I did not find any other solution (google, garden), only these two ideas, the second one only in relation to the general content. Versions: In TeXlive 2010 the first solution works properly. In TeXlive 2011 and ConTeXt from the garden (ver: 2011.05.18 18:04 MKIV fmt: 2011.10.31) do not work neither the first, nor the second. What is the proper way now? Tomas Hala ___ 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 beta
Hi, I uploaded a new beta. This time a couple of fixes + some reorganization of font related code. More to follow. 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] Pagebreak in a list of figures -- version
Hellow, the version of ConTeXt I used is: ver: 2012.01.12 11:03 MKIV fmt: 2012.1.16. Tomas Hala Mon, Jan 16, 2012 ve 06:19:01PM +0100 Tomas Hala napsal(a): # Hello, # # I tried (unsuccessfully) to insert a page break on the concrete position in # a list of figures. # # Minimal example: # \starttext # \dorecurse{30}{\placefigure{Nic}{\externalfigure[any-figure.jpg]}} # \completelistoffigures[pageboundaries={5,10,13}] # \completelistoffigures[5,10,13] # \stoptext # # I did not find any other solution (google, garden), only these two ideas, # the second one only in relation to the general content. # # Versions: # In TeXlive 2010 the first solution works properly. # In TeXlive 2011 and ConTeXt from the garden (ver: 2011.05.18 18:04 MKIV fmt: 2011.10.31) do not work neither the first, nor the second. # # What is the proper way now? # # Tomas Hala ___ 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] Unicode character for "\,"?
On Mon, Jan 16 2012, Hans Hagen wrote: > well, it's a space and therefore a valid breakpoint (i.e. it's not > \sixperemnonbreakspace) So the answer is "no, there is no unicode equivalent for \," ? What about NARROW NO-BREAK SPACE ? About 1 or 2 years ago, it was the same width as \, but now it's much smaller. Is the actual version the correct one? Comment from http://www.fileformat.info/info/unicode/char/202f/ : "a narrow form of a no-break space, typically the width of a thin space or a mid space" -- Peter ___ 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] Unicode character for "\,"?
On 16-1-2012 19:53, Peter Münster wrote: On Mon, Jan 16 2012, Hans Hagen wrote: well, it's a space and therefore a valid breakpoint (i.e. it's not \sixperemnonbreakspace) So the answer is "no, there is no unicode equivalent for \," ? What about NARROW NO-BREAK SPACE ? About 1 or 2 years ago, it was the same width as \, but now it's much smaller. Is the actual version the correct one? Comment from http://www.fileformat.info/info/unicode/char/202f/ : "a narrow form of a no-break space, typically the width of a thin space or a mid space" all those lovely incompatible names ... anyhow, so you want em/8 instead of space/8 .. 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] standardmakeup...
Dear all, I tried to recompile a booklet. Then I realized that whatever I give for arguments the standardmakeup environment gives me an empty page although it should give only after the first standarmakeup an empty page but not after the second standardmakeup. - This behavior is encountered in all versions of Context I have on my machine based on luatex 0.70, including todays beta. May be I miss something? I have an example attached. Kind regards Willi test-standardmakeup.tex Description: Binary data ___ 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] Citations fail when components and bodymatter are used
Hi! Citations don't work when components are present in a bodymatter. The presence of a component breaks the citations. Tested with versions: MkIV, 2011.11.29 23:11 MkIV, 2012.01.16 18:33 Regards Marco Example: %% % report.bbl % %% \startpublication [ k=updatedmediasense, a=Victor Kardeby, t=inproceedings, ] \arttitle {The Updated MediaSense Framework} \author {Victor}[V.]{}{Kardeby} \author {Stefan}[S.]{}{Forsström} \author {Jamie}[J.]{}{Walters} \title{Fifth International Conference on Digital Telecommunications} \pubyear {2010} \organization {Mid Sweden University} \stoppublication % % component.tex % % \startcomponent component Content not relevant \stopcomponent %% % report.tex % %% \starttext % works if start/stopbodymatter is commented out \startbodymatter From product: \cite[updatedmediasense] % works if \component is commented out \component component \stopbodymatter \placepublications [criterium=all] \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] Citations fail when components and bodymatter are used
> Citations don't work when components are present in > a bodymatter. Sorry for the missing error description. It displays [[error 2]] instead of the expected [1]. Regards Marco ___ 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] Type 1 font loading with new beta
Hi font gurus, With context from begin of the year it worked to load a type 1 font with a typescript based on the following syntax: \starttypescript [serif] [LTpalatino] [name] \usetypescript[serif][fallback] \definefontsynonym [Serif] [file:pr] \definefontsynonym [SerifItalic][file:poios] \definefontsynonym [SerifBold][file:pb] \definefontsynonym [SerifCaps][file:posc] \definefontsynonym [SerifBoldOsF][file:pobos] \definefontvariant [Serif][osf][OsF] \stoptypescript \starttypescript[LT-Palatino] \definetypeface [LT-Palatino][rm][serif][LTpalatino][default][] \stoptypescript Error: \232>28 ...oldOsF][file:pobos] \definefontvariant [Serif][osf][OsF] \stoptyp... \232>28 \232>29 \font_typescript_process_typescript_file_and_store ... \font_typescripts_load_file ...ipt_file_and_store \else \font_typescript_pro... \next2 #1,->\font_typescripts_load_file {#1} \syst_helpers_do_process_comma_i... ... l.18 \setupbodyfont [LT-Palatino,rm,10pt] Is due to the overhauling the approach now different? Kind regards Willi ___ 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] standardmakeup...
Am 16.01.2012 um 22:44 schrieb Willi Egger: > Dear all, > > I tried to recompile a booklet. Then I realized that whatever I give for > arguments the standardmakeup environment gives me an empty page although it > should give only after the first standarmakeup an empty page but not after > the second standardmakeup. - This behavior is encountered in all versions of > Context I have on my machine based on luatex 0.70, including todays beta. > > May be I miss something? Change \setupmakeup[standard][bottom=,top=] to \setupmakeup[standard][bottom=,top=,page=yes] BTW: The makeup environment has a align key (you can use this to get rid of all the \centerline and \leftaligned settings) and the font command (\bf, \bs etc.) don’t take argument and you can remove the braces. 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] Unicode character for "\,"?
On Mon, Jan 16 2012, Hans Hagen wrote: > all those lovely incompatible names ... anyhow, so you want em/8 instead of > space/8 .. It would be nice. But probably, you had a reason to change it to space/8, didn't you? -- Peter ___ 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] Type 1 font loading with new beta
Am 16.01.2012 um 23:00 schrieb Willi Egger: > Hi font gurus, > > With context from begin of the year it worked to load a type 1 font with a > typescript based on the following syntax: > > \starttypescript [serif] [LTpalatino] [name] > \usetypescript[serif][fallback] > \definefontsynonym [Serif] [file:pr] > \definefontsynonym [SerifItalic][file:poios] > \definefontsynonym [SerifBold][file:pb] > \definefontsynonym [SerifCaps][file:posc] > \definefontsynonym [SerifBoldOsF][file:pobos] > \definefontvariant [Serif][osf][OsF] > \stoptypescript > > \starttypescript[LT-Palatino] > \definetypeface [LT-Palatino][rm][serif][LTpalatino][default][] > \stoptypescript > > Error: > > \232>28 ...oldOsF][file:pobos] \definefontvariant > [Serif][osf][OsF] \stoptyp... > \232>28 >\232>29 > \font_typescript_process_typescript_file_and_store ... > > \font_typescripts_load_file ...ipt_file_and_store > \else \font_typescript_pro... > \next2 #1,->\font_typescripts_load_file {#1} >\syst_helpers_do_process_comma_i... > ... > l.18 \setupbodyfont > [LT-Palatino,rm,10pt] > > Is due to the overhauling the approach now different? The \definefontvariant command is no longer available in MkIV because for truetype/opentype fonts it isn’t necessary. 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] Unicode character for "\,"?
On 16-1-2012 23:08, Peter Münster wrote: On Mon, Jan 16 2012, Hans Hagen wrote: all those lovely incompatible names ... anyhow, so you want em/8 instead of space/8 .. It would be nice. But probably, you had a reason to change it to space/8, didn't you? Not really ... some time ago the code dealing with those spaces was adapted to deal with tagging and at that point some decisions were made (after all, these things were not available in mkii so untill code gets cleaned up and stabelizes antything can happen). 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] Unicode character for "\,"?
On Mon, Jan 16 2012, Hans Hagen wrote: > Not really ... some time ago the code dealing with those spaces was adapted to > deal with tagging and at that point some decisions were made (after all, > these things were not available in mkii so untill code gets cleaned up and > stabelizes antything can happen). No problem. I can continue using "\,", the source looks just a bit uglier... ;) -- Peter ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Questions on \definition
Hey list, A couple of questions concerning \definition: (1) What is the difference between \definedescription and \setupdescriptions? (2) What is the difference between \definition and \description? (3) How do I change the colour of the definition header? I tried the following, but it did not work: \setuphead [definition] [color=colour_head] -- 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 ___
Re: [NTG-context] Questions on \definition
Hello, ** Kip Warner [2012-01-16 19:52:39 -0800]: > Hey list, > A couple of questions concerning \definition: (not an expert, just read command reference) > (1) What is the difference between \definedescription and > \setupdescriptions? the first should define new "description", the second change style of already defined "description". > (2) What is the difference between \definition and \description? This example \starttext \definition{Hi} \stoptext gives error: "Undefined control sequence ...". Where this command is defined? > (3) How do I change the colour of the definition header? I tried the > following, but it did not work: > \setuphead > [definition] > [color=colour_head] If I were you I would do that: \starttext \definedescription[definition][headcolor=colour_head] \definition{Hi}. This is definition. \setupdescriptions[definition][headcolor=colour_head2] \definition{Hi2}. This is second definition. \stoptext --- WBR, Vladimir Lomov -- Because the wine remembers. ___ 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 ___