Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-06 Thread Rob Heusdens
Am 04.02.2015 um 15:33 schrieb Rob Heusdens robh...@xs4all.nl: You have to write a working minimal example for further help. Wolfgang So this is the example: […] You can remove the following lines: \definefiller[ChapterFiller] \define[1]\ChapterNumberToc% {Hoofdstuk #1

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-04 Thread Rob Heusdens
You have to write a working minimal example for further help. Wolfgang So this is the example: \setupinteraction[state=start] \definehead[intro][chapter] \definehead[back][chapter] \definehead[appendix][chapter] \definecombinedlist[content][chapter,intro,appendix,back]

[NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Rob Heusdens
Hello list, I have one little problem that I need to solve to finish my work on a document. I want to format a list entry for the TOC for chapters like this: Hoofdstuk #1 -- #2 . . . . . . . . #3 Where #1 is the chapter number, #2 is the title and #3 the page number where the chapter begins.

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Rob Heusdens
You have to write your own layout for the complete list entry. When you don’t need hyperlinks for the list entries you can use “alternative=command” instead of “alternative=interactive” for \setuplist. \setupcombinedlist[content][list=chapter] \definefiller[ChapterFiller]

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-03 Thread Rob Heusdens
Remove the line above (the level key down’t work with MkIV) and use \setuplist to set “alternative=c” for the list entries where you want to apply this layout. Wolfgang I commented out the \setupcombinedlist command and placed alternative=c into the other \setuplist entries

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
Am 31.01.2015 um 17:42 schrieb Rob Heusdens robh...@xs4all.nl: \starttitlepagemakeup BIG TITLE \stoptitlepagemakeup % - empty page inserted after here, so page number becomes 5 \setcounter[userpage][5] % - without this, the page number = 3 You don’t need this manual setting

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
Hi Rob, there is a minimal sample: \setupcolors[state=start] \setupinteraction[state=start, focus=standard] \setupinteractionscreen[width=fit] \definecombinedlist[content][all] \setuphead[part][placehead=yes] \starttext \completecontent \dorecurse{5}

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
such references don't use user pagenumbers (often automated references use internal numbers or real page numbers or a symbolic name) so, either something is really wrong or your browser is bad Hans Hans, No, it can't be a browser thing (I think). In the code I sent, using the same setups

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
On 01/31/2015 05:42 PM, Rob Heusdens wrote: [...] The code looks likes this, but this examples does not exhibit the same faulty off-by-1-page interactive page jump behaviour. In the chapters in the body matter, always directly after a new chapter a section begins (in this example omitted

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
On 01/31/2015 07:28 PM, Rob Heusdens wrote: [...] If I have time I will use the \enabletrackers to see if that can direct me to where the problem may be located. Hi Rob, \enabletrackers[*destinations*] will visually display (adding a grey background to) the destination where the link

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
focus=width is the problematic part. Replace it with focus=standard and it will work better (it isn’t perfect either [there is a bug reported before]). \enabletrackers[*destinations*] \setupinteraction[state=start, focus=standard] \starttext \completecontent

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
On 01/31/2015 01:36 PM, Hans Hagen wrote: On 1/31/2015 1:12 PM, Pablo Rodriguez wrote: [...] It doesn’t show what you meant, the link destination is not on the heading itself, but on the next paragraph. \enabletrackers[*references*] \enabletrackers[*destinations*] Hi Hans, many

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
focus=width is the problematic part. Replace it with focus=standard and it will work better (it isn’t perfect either [there is a bug reported before]). \enabletrackers[*destinations*] \setupinteraction[state=start, focus=standard] \starttext \completecontent

[NTG-context] section with \sethupead[section][alternative=text]; other type of section misbehaves..

2015-01-31 Thread Rob Heusdens
When using \setuphead[section][alternative=text] I noticed two things: 1. There is an extra space (horizontally) directly after the section heading. I can't get a grip on how to get rid of it. 2. A different type of section (define with \definehead[summary][section] seems to alter it's behaviour

Re: [NTG-context] section with \sethupead[section][alternative=text]; other type of section misbehaves..

2015-01-31 Thread Rob Heusdens
I forgot to add the basic example, with neither for section nor for summary an option set in \setuphead[..] for alternative. So, read this as example 0: = test5.pdf Example 0: \defineblank[sprong][.5cm] \definehead[summary][section]

[NTG-context] More headache with \setuphead

2015-01-31 Thread Rob Heusdens
Related post: section with \sethupead[section][alternative=text]; other type of section misbehaves.. Hello list, It seems I have more problems with \setuphead, which I can't get hold on. This time content misbehaves in way I can't understand. Here are the relevant definitions/commands:

Re: [NTG-context] section with \sethupead[section][alternative=text]; other type of section misbehaves..

2015-01-31 Thread Rob Heusdens
On 01/31/2015 09:37 PM, Rob Heusdens wrote: When using \setuphead[section][alternative=text] I noticed two things: 1. There is an extra space (horizontally) directly after the section heading. I can't get a grip on how to get rid of it. Hi Rob, distance=1ex (or similar) should do the job

[NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Rob Heusdens
Hello list, For the last section of every chapter I want a grey background for the text, which otherwise should look the same as every other section, except that it starts on a new page (I can set that by defining my own section command). The last section summarizes the chapter. My current

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Rob Heusdens
Hello list, For the last section of every chapter I want a grey background for the text, which otherwise should look the same as every other section, except that it starts on a new page (I can set that by defining my own section command). The last section summarizes the chapter. My

Re: [NTG-context] Strange bug in interactive table of content...

2015-01-30 Thread Rob Heusdens
On 01/30/2015 04:02 PM, Rob Heusdens wrote: [...] I am using a recent version. [...] So, I should upgrade to the newest beta? Using a beta from 2014.11.26 21:43 shows the bug you described. Upgrading to latest beta makes sense in this case. If you allow me an opinion, I try to keep

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Rob Heusdens
Am 30.01.2015 um 17:18 schrieb Rob Heusdens robh...@xs4all.nl: Hello list, For the last section of every chapter I want a grey background for the text, which otherwise should look the same as every other section, except that it starts on a new page (I can set that by defining my own

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Rob Heusdens
Make a working minimal example which shows the problem because I’cant reproduce the problems you mention. Wolfgang Hello Wofgang, So far I am unable of re-producing the missing bold description for summary section titles (and all of sudden, the summary titles no longer show up in the TOC

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Rob Heusdens
Correction, I added offset=none,frameoffset=0pt, to the parameters for the textbackground frame. Code again with correction: % test background \setupwhitespace[none] \setupindenting[yes, small, next] \setuppagenumbering[alternative=doublesided] \definetextbackground [SummaryBackground]

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Rob Heusdens
Use text backgrounds. \definetextbackground [SummaryBackground] [frame=off, background=color, backgroundcolor=gray] \definehead[summary][section] \setuphead [summary] [before=, beforesection={\blank\starttextbackground[SummaryBackground]},

[NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-30 Thread Rob Heusdens
Hello list, Having the problem that if I jump to a chapter or section by clicking on the interactive table of content (while the page numbers presented do match the actual page number where the chapter or section begins) always leads me to jumping one page too far. I've tried to produce a MWE,

Re: [NTG-context] Strange bug in interactive table of content...

2015-01-30 Thread Rob Heusdens
On 01/30/2015 03:18 AM, Rob Heusdens wrote: A right parenthesis ')' shows up as black in the interactive table of contents (which otherwise displays as green). Here is a MWE: \setupcolors[state=start] \setupinteraction[state=start] \definecombinedlist[content][chapter] \setupcombinedlist

[NTG-context] Strange bug in interactive table of content...

2015-01-29 Thread Rob Heusdens
A right parenthesis ')' shows up as black in the interactive table of contents (which otherwise displays as green). Here is a MWE: \setupcolors[state=start] \setupinteraction[state=start] \definecombinedlist[content][chapter] \setupcombinedlist[content][level=4, alternative=c]

[NTG-context] How to draw this picture?

2015-01-17 Thread Rob Heusdens
I am working on an economic book, which I convert from a paper edition into a digital edition, which contains some figures I want to recreate using context or other tool. In logical terms, the picture represents some economic figures and visualizes how some figure (e.g. National income and the

Re: [NTG-context] \head: broken?

2014-07-18 Thread Rob Heusdens
Thanks. I think I could have figured out that one myself. I guess it's my own head a bit broken atm... But I should mention that the contextgarden article mentions only one option for \startitemize, perhaps that is why I got misleaded there. (http://wiki.contextgarden.net/Command/startitemize)

[NTG-context] Fonthandling/protrusion question: handling of left margin

2014-07-18 Thread Rob Heusdens
Short question about the font feature protrusion. This handles certain characters that get shifted into the right margin to make a more visable straight right margin. But can this font feature also handle left margin? For example, sentences that start in the left margin and begin with a quotation,

[NTG-context] question about unwanted locations of pagebreaks

2014-07-18 Thread Rob Heusdens
The very last thing to do when finalizing a multi-page document is checking where the page breaks occur, and make corrections accordingly, if the pagebreak occurs at a location you do not want. Of course, you can take all kind of measures on before hand to avoid 'bad' places, like avoiding

[NTG-context] \head: broken?

2014-07-16 Thread Rob Heusdens
Hello All, Still having problem with \head in \setupitemize. - When I set the headstyle in \setupitemize, the numbering disappears and the symbol appear (like when I used '1' instead of 'n'). (ex. 1: MNWE) - If I comment the headstyle out, numbers do appear. (ex. 2: MWE). Why is that?

Re: [NTG-context] State of documentation of ConTeXt?

2014-07-16 Thread Rob Heusdens
I agree that it would be awesome if there was complete documentation available + maybe three manuals/tutorials from beginner to master, but you cannot expect it from Hans to do all the work on his own. Mojca I think that part of the work has to be done by other volunteers (users), who have

Re: [NTG-context] Bibliography: criterium=all

2014-07-16 Thread Rob Heusdens
Hello, This is more a 'side-comment', but anytime I see an application that wants in fact to query data from some dataresource, I ask myself: why is that not implemented as a real relational database? BibTex is some weird implementation for a problem that in facts requests a real relational

[NTG-context] Bibliography issue (using \cite) and endnote typesetting

2014-07-14 Thread Rob Heusdens
Hello all, I am working on a document (source=HTML) which has as an appendix a complete Bibliography (which I did with BibTex, and works fine), but it also has endnotes (after every \part) which (most often) reference the Bibliography. I did this now as simple endnotes and using the literal text

Re: [NTG-context] State of documentation of ConTeXt?

2014-07-14 Thread Rob Heusdens
Hello G / all I started using ConText about a year ago. But as a novice to Context (and Tex in general) I can say is that this would be the first thing to work on, because currently it is a bit of a pain to start using ConText in any serious way, because there is a lack of up-to-date

[NTG-context] \head: broken?

2014-07-12 Thread Rob Heusdens
Hello to all, I don't know if it is due to -the weather- or -the Worldchampionships- or other but in my Context release [ConTeXt ver: 2014.07.11 12:20 MKIV beta fmt: 2014.7.12 int: english/english] \head is broken. Is that a feature or a bug? greetings, Rob --- \head: broken? When the