Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Steffen Wolfrum
Am 25.05.2011 um 00:18 schrieb Mathieu DUPONT: Hi, Is there a way to have, in the table of contents, the titles (of chapters, sections, subsections, etc.) with a different interline spacing than the rest of the TOC ? My TOC interline spacing is set at 1.5 (4.2ex), but I would like to

[NTG-context] compresslevel and png graphics (mkiv)

2011-05-25 Thread Peter Rolf
Hi, I just made a one pager (TEXpage) out of a big png graphic (5900x4094). The compressed size of the graphics is normally around 1.37MB on the highest png compress level (9) and 1.32MB after using optipng (only around 3% reduction this time). To my surprise the size of the final PDF was about

[NTG-context] Why is `\P` used for not often used ¶? (was: math: too big space between function and argument)

2011-05-25 Thread Paul Menzel
On Di, 2011-05-24 at 15:25 +0200, Wolfgang Schuster wrote: Am 24.05.2011 um 13:14 schrieb Paul Menzel: to markup the probability measure and the parenthesis around the argument, I defined the following command. \define[1]\P{{\mathbf P}\left( #1 \right)} Unfortunately the space

Re: [NTG-context] math: too big space between function and argument

2011-05-25 Thread Paul Menzel
On Di, 2011-05-24 at 09:56 -0400, Aditya Mahajan wrote: On Tue, 24 May 2011, Paul Menzel wrote: to markup the probability measure and the parenthesis around the argument, I defined the following command. \define[1]\P{{\mathbf P}\left( #1 \right)} Unfortunately the space between

Re: [NTG-context] bibliography: @ELECTRONIC entries not shown in references section

2011-05-25 Thread Paul Menzel
On So, 2011-05-22 at 19:12 +0200, Hans Hagen wrote: On 22-5-2011 6:57, Paul Menzel wrote: The question still remains if `@ELECTRONIC` are not allowed or if this is an error. it's more that @ELECTRONIC is not defined Ok, neither does it appear in the Wikipedia article [1]. Who is

Re: [NTG-context] Why is `\P` used for not often used ¶? (was: math: too big space between function and argument)

2011-05-25 Thread Wolfgang Schuster
Am 25.05.2011 um 15:46 schrieb Paul Menzel: BTW: You redefine the already existing \P (expands to ¶) command. I should read the log to notice such problems. I guess I will use `\Pr` then. This isn’t better because \Pr is also a predefined command for math. When you want to replace a

Re: [NTG-context] bibliography: @ELECTRONIC entries not shown in references section

2011-05-25 Thread Hans Hagen
On 25-5-2011 3:56, Paul Menzel wrote: On So, 2011-05-22 at 19:12 +0200, Hans Hagen wrote: On 22-5-2011 6:57, Paul Menzel wrote: The question still remains if `@ELECTRONIC` are not allowed or if this is an error. it's more that @ELECTRONIC is not defined Ok, neither does it appear in the

Re: [NTG-context] compresslevel and png graphics (mkiv)

2011-05-25 Thread Hans Hagen
On 25-5-2011 2:43, Peter Rolf wrote: Hi, I just made a one pager (TEXpage) out of a big png graphic (5900x4094). The compressed size of the graphics is normally around 1.37MB on the highest png compress level (9) and 1.32MB after using optipng (only around 3% reduction this time). To my

Re: [NTG-context] compresslevel and png graphics (mkiv)

2011-05-25 Thread Hans Hagen
On 25-5-2011 2:43, Peter Rolf wrote: Hi, I just made a one pager (TEXpage) out of a big png graphic (5900x4094). The compressed size of the graphics is normally around 1.37MB on the highest png compress level (9) and 1.32MB after using optipng (only around 3% reduction this time). To my

Re: [NTG-context] compresslevel and png graphics (mkiv)

2011-05-25 Thread Taco Hoekwater
On 05/25/11 16:39, Hans Hagen wrote: On 25-5-2011 2:43, Peter Rolf wrote: Hi, I just made a one pager (TEXpage) out of a big png graphic (5900x4094). The compressed size of the graphics is normally around 1.37MB on the highest png compress level (9) and 1.32MB after using optipng (only

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Mathieu DUPONT
Actually, the \setuplocalinterlinespace[line=4.2ex] command allowed me to get what I wanted.Thank you very much !What I did (see below for the interested) is I putbefore={\setuplocalinterlinespace[line=2.8ex]\blank[halfline]to change the interline space of titles, but I also

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Wolfgang Schuster
Am 25.05.2011 um 00:18 schrieb Mathieu DUPONT: Hi, Is there a way to have, in the table of contents, the titles (of chapters, sections, subsections, etc.) with a different interline spacing than the rest of the TOC ? My TOC interline spacing is set at 1.5 (4.2ex), but I would like to

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Mathieu DUPONT
Interesting command to know.Thank you. However I only wanted the titles to be 2.8ex and the rest of the TOC to be 4.2ex.Please see previous message for the solution I got. Thanks Wolfgang. Mathieu From: schuster.wolfg...@googlemail.com Date: Wed, 25 May 2011 17:36:04 +0200 To:

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Wolfgang Schuster
Am 25.05.2011 um 17:42 schrieb Mathieu DUPONT: Interesting command to know. Thank you. However I only wanted the titles to be 2.8ex and the rest of the TOC to be 4.2ex. Please see previous message for the solution I got. This is the same as you do (the \blank’s in your example use the

Re: [NTG-context] math: too big space between function and argument

2011-05-25 Thread Aditya Mahajan
On Wed, 25 May 2011, Paul Menzel wrote: On Di, 2011-05-24 at 09:56 -0400, Aditya Mahajan wrote: On Tue, 24 May 2011, Paul Menzel wrote: to markup the probability measure and the parenthesis around the argument, I defined the following command. \define[1]\P{{\mathbf P}\left( #1

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Mathieu DUPONT
When I run this code, every lines of the TOC become 2.8ex.What I needed is every lines to be 2.8ex, except for the last line of each title, which should be 4.2 ex.In other words, all short titles that fit on one line will be 4.2ex (they're all last lines), but, only for the long titles on

Re: [NTG-context] compresslevel and png graphics (mkiv)

2011-05-25 Thread Peter Rolf
Am 25.05.2011 16:48, schrieb Taco Hoekwater: On 05/25/11 16:39, Hans Hagen wrote: On 25-5-2011 2:43, Peter Rolf wrote: Hi, I just made a one pager (TEXpage) out of a big png graphic (5900x4094). The compressed size of the graphics is normally around 1.37MB on the highest png compress

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Wolfgang Schuster
Am 25.05.2011 um 18:02 schrieb Mathieu DUPONT: When I run this code, every lines of the TOC become 2.8ex. What I needed is every lines to be 2.8ex, except for the last line of each title, which should be 4.2 ex. In other words, all short titles that fit on one line will be 4.2ex (they're

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Mathieu DUPONT
That's interesting. I am sure how to integrate it in my TOC though. I would have to replace both \box0 and \box2 by something like \placecontent[current] or \placecurrentcontent. Does such a thing exist ? Mathieu From: schuster.wolfg...@googlemail.com Date: Wed, 25 May 2011 18:12:37 +0200

[NTG-context] TOC : margin size doesn't reset if next section is a chapter

2011-05-25 Thread Mathieu DUPONT
In the following example, I set the margin for subsections to 1.25cm, in order for the subsection number to be aligned with the titles of sections.If the next section after a subsection is a section or another subsection, there is no problem.But if (as shown here) the next section (after a

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Wolfgang Schuster
Am 25.05.2011 um 19:48 schrieb Mathieu DUPONT: That's interesting. I am sure how to integrate it in my TOC though. I would have to replace both \box0 and \box2 by something like \placecontent[current] or \placecurrentcontent. Does such a thing exist ? You need your list command

Re: [NTG-context] TOC : margin size doesn't reset if next section is a chapter

2011-05-25 Thread Wolfgang Schuster
Am 25.05.2011 um 20:21 schrieb Mathieu DUPONT: In the following example, I set the margin for subsections to 1.25cm, in order for the subsection number to be aligned with the titles of sections. If the next section after a subsection is a section or another subsection, there is no

Re: [NTG-context] compresslevel and png graphics (mkiv)

2011-05-25 Thread Hartmut Henkel
On Wed, 25 May 2011, Hans Hagen wrote: On 25-5-2011 2:43, Peter Rolf wrote: I just made a one pager (TEXpage) out of a big png graphic (5900x4094). The compressed size of the graphics is normally around 1.37MB on the highest png compress level (9) and 1.32MB after using optipng (only

Re: [NTG-context] TOC : margin size doesn't reset if next section is a chapter

2011-05-25 Thread Mathieu DUPONT
It bugs on the \leftskip command.Any idea why ?If I omit \leftskip, the problem doesn't get solved. to be read again \emptyargin \ChapterList ... \leftskip \listparameter {margin} \noindent \currentlistsym...

[NTG-context] LuaTeX regression?

2011-05-25 Thread Reviczky, Adam
Hi It appears that something went wrong with the svn rev. 4283 (I think 4282 was still ok). Simple hello world tex gives me: mtx-context | run 1: luatex --fmt=/home/reviczky/.texmf-var/luatex-cache/context/e570cb3e0e3ab0118ca08dd148bbec7d/formats/cont-en

Re: [NTG-context] TOC : margin size doesn't reset if next section is a chapter

2011-05-25 Thread Wolfgang Schuster
Am 25.05.2011 um 22:08 schrieb Mathieu DUPONT: It bugs on the \leftskip command. Any idea why ? I forgot that \listparameter can’t handle arguments in braces (e.g. \listparameter{before}), this is a real limitation and i hope Hans is going to change this. \unprotect \define[3]\ChapterList

Re: [NTG-context] LuaTeX regression?

2011-05-25 Thread Taco Hoekwater
On 05/26/11 04:31, Reviczky, Adam wrote: Hi It appears that something went wrong with the svn rev. 4283 (I think 4282 was still ok). Simple hello world tex gives me: mtx-context | run 1: luatex