Re: [NTG-context] [OT] Spacing research

2012-11-08 Thread luigi scarso
On Thu, Nov 8, 2012 at 8:58 AM, Nicola nvitacolo...@gmail.com wrote: Hi, people in this list may be interested in reading this: http://aldusleaf.org/rhea.php Nicola really interesting -- luigi ___ If your

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Wolfgang Schuster
Am 08.11.2012 um 00:29 schrieb Marco Patzer home...@lavabit.com: Hi! How do I highlight the current chapter in the table of contents? The TOC is displayed on each page. For illustration I misused the interaction colour, which of course only works for the first page of a chapter.

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Marco Patzer
2012-11-08 Wolfgang Schuster: Hi Wolfgang! \startsetups [headlist] \framed[align=normal, frame=off] {\placelist [chapter] [alternative=highlight, criterium=all]} \stopsetups \definelistalternative [highlight] [renderingsetup=list:highlight] I like the flexibility of

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Hans Hagen
On 11/8/2012 11:06 AM, Marco Patzer wrote: 2012-11-08 Wolfgang Schuster: Hi Wolfgang! \startsetups [headlist] \framed[align=normal, frame=off] {\placelist [chapter] [alternative=highlight, criterium=all]} \stopsetups \definelistalternative [highlight]

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Hans Hagen
On 11/8/2012 12:06 PM, Hans Hagen wrote: On 11/8/2012 11:06 AM, Marco Patzer wrote: 2012-11-08 Wolfgang Schuster: Hi Wolfgang! \startsetups [headlist] \framed[align=normal, frame=off] {\placelist [chapter] [alternative=highlight, criterium=all]} \stopsetups \definelistalternative

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Marco Patzer
2012-11-08 Hans Hagen: the next beta has: \namedstructureheadlocation{name} so that you can compare \currentlistentrylocation with \namedstructureheadlocation{chapter} Thanks Hans. Best document this before we forget about it. I assume that's my part, right? I'll extend or

Re: [NTG-context] RFC: path relative to current file.

2012-11-08 Thread Andre Caldas
Hello, Hans! I quoted this from your message: local function toppath() [...] resolvers.toppath = topath When you commited version eb24ffd, the following bug was introduced: There is a bug here. It should be resolvers.toppath = toppath (double p in the right side) In your local copy I

Re: [NTG-context] RFC: path relative to current file.

2012-11-08 Thread Hans Hagen
On 11/8/2012 1:14 PM, Andre Caldas wrote: Hello, Hans! I quoted this from your message: local function toppath() [...] resolvers.toppath = topath When you commited version eb24ffd, the following bug was introduced: There is a bug here. It should be resolvers.toppath = toppath (double p

[NTG-context] \externalfigure and large-paged pdfs

2012-11-08 Thread Taco Hoekwater
Hi, Actually, this is a bug report. If you try to include a pdf with a large page size: \starttext \externalfigure[plankaart] \stoptext chances are that you get an error message like this: ! Dimension too large. recently read \hsize \setraggedness ...yphenpenalty \dimexpr 2.8\hsize

Re: [NTG-context] \externalfigure and large-paged pdfs

2012-11-08 Thread Martin Schröder
2012/11/8 Taco Hoekwater t...@bittext.nl: Actually, this is a bug report. If you try to include a pdf with a large page size: large being (\maxdimen / 2.8) ? Best Martin PS: What would break if we extended dimens to 64/63 bit in LuaTeX?

Re: [NTG-context] \externalfigure and large-paged pdfs

2012-11-08 Thread Hans Hagen
On 11/8/2012 3:18 PM, Taco Hoekwater wrote: Hi, Actually, this is a bug report. If you try to include a pdf with a large page size: \starttext \externalfigure[plankaart] \stoptext chances are that you get an error message like this: ! Dimension too large. recently read \hsize

Re: [NTG-context] \externalfigure and large-paged pdfs

2012-11-08 Thread Hans Hagen
On 11/8/2012 4:09 PM, Hans Hagen wrote: \setupexternalfigures[align=none] \setuppapersize[A0] \starttext \externalfigure[cow.pdf][width=\maxdimen] \stoptext works ok here (which surprises me) (but as martin says: going 64 bit would be nice) Hans

Re: [NTG-context] \externalfigure and large-paged pdfs

2012-11-08 Thread Taco Hoekwater
On 11/08/2012 03:51 PM, Martin Schröder wrote: 2012/11/8 Taco Hoekwater t...@bittext.nl: Actually, this is a bug report. If you try to include a pdf with a large page size: large being (\maxdimen / 2.8) ? Yes. Best Martin PS: What would break if we extended dimens to 64/63 bit in

Re: [NTG-context] \externalfigure and large-paged pdfs

2012-11-08 Thread Hans Hagen
On 11/8/2012 4:32 PM, Taco Hoekwater wrote: On 11/08/2012 03:51 PM, Martin Schröder wrote: 2012/11/8 Taco Hoekwater t...@bittext.nl: Actually, this is a bug report. If you try to include a pdf with a large page size: large being (\maxdimen / 2.8) ? Yes. Best Martin PS: What would

Re: [NTG-context] RFC: path relative to current file.

2012-11-08 Thread Andre Caldas
Are we giving up the feature? I was kind of using it already... :-( you have a messed up system ... the code is in data-pre.lua Indeed! :-) Sorry for the mess! Now, I have a bug at data-pre.lua. The variable inputstack is not defined there. Here is a fix: diff --git

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Marco Patzer
2012-11-08 Marco Patzer: Best document this before we forget about it. I assume that's my part, right? I'll extend or add a wiki page the weekend after the beta is released. http://wiki.contextgarden.net/Command/definelistalternative Marco

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Hans Hagen
On 11/8/2012 6:32 PM, Marco Patzer wrote: 2012-11-08 Marco Patzer: Best document this before we forget about it. I assume that's my part, right? I'll extend or add a wiki page the weekend after the beta is released. http://wiki.contextgarden.net/Command/definelistalternative fyi: more

Re: [NTG-context] [OT] Spacing research

2012-11-08 Thread Bill Meahan
On 11/08/2012 02:58 AM, Nicola wrote: Hi, people in this list may be interested in reading this: http://aldusleaf.org/rhea.php Nicola It was very interesting. Everything that makes my stuff look better is most welcome. -- Bill Meahan Westland, Michigan USA

[NTG-context] \chapter{} vs \startchapter..\stopchapter

2012-11-08 Thread Bill Meahan
I note there are two different ways of handling a chapter: The traditional \chapter{mytitle} \startchapter[title=mytitle, ownnumber=N ..] blah \stopchapter Is there any difference or advantage/disadvatage to using one method or the other? Other than the source code, is there anything that

Re: [NTG-context] \chapter{} vs \startchapter..\stopchapter

2012-11-08 Thread Marco Patzer
2012-11-08 Bill Meahan: I note there are two different ways of handling a chapter: The traditional \chapter{mytitle} \startchapter[title=mytitle, ownnumber=N ..] blah \stopchapter Is there any difference or advantage/disadvatage to using one method or the other? With the

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Marco Patzer
2012-11-08 Wolfgang Schuster: \setupheadertexts [\setups{headlist}] \startsetups [headlist] \framed[align=normal, frame=off] {\placelist [chapter] [alternative=highlight, criterium=all]} \stopsetups \definelistalternative [highlight] [renderingsetup=list:highlight] Why

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Marco Patzer
2012-11-08 Marco Patzer: I just realized when I presses “send”: Why does the custom list alternative succeed in a header but fails in a layer? A predefined alternative works perfectly in a layer. \setupfootertexts [\setups{footlist}] \setupbackgrounds [page]

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Wolfgang Schuster
Am 08.11.2012 um 22:37 schrieb Marco Patzer home...@lavabit.com: 2012-11-08 Wolfgang Schuster: \setupheadertexts [\setups{headlist}] \startsetups [headlist] \framed[align=normal, frame=off] {\placelist [chapter] [alternative=highlight, criterium=all]} \stopsetups

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Hans Hagen
On 11/8/2012 10:48 PM, Wolfgang Schuster wrote: Am 08.11.2012 um 22:37 schrieb Marco Patzer home...@lavabit.com: 2012-11-08 Wolfgang Schuster: \setupheadertexts [\setups{headlist}] \startsetups [headlist] \framed[align=normal, frame=off] {\placelist [chapter]

[NTG-context] Tikz backgrounds (was Re: Highlight current chapter in list)

2012-11-08 Thread Aditya Mahajan
On Thu, 8 Nov 2012, Hans Hagen wrote: (just to illustrate that an overlay can be used for anything) This prompted me to finish testing what I had been thinking about for a while. In most cases, metapost is sufficient for drawing backgrounds, but occasionally using tikz is nicer. For