[NTG-context] definestructureseparatorset

2012-02-21 Thread Steffen Wolfrum
Hi, this command has been changed/deleted (seems so): ! Undefined control sequence. l.19 \definestructureseparatorset [footnote][][] ? Steffen ___ If your question is of interest

Re: [NTG-context] \em producing red text?

2012-02-21 Thread Alasdair McAndrew
I discovered this by hunting through font-ini.mkii: \setupbodyfontenvironment [default] [em={\slanted\color[red]}] Seems to work well. You see, I want to use the same ConTeXt files for two purposes: to create a set of printable notes (without colour) and to make a set of displayable onscreen

[NTG-context] footnotes rewritten

2012-02-21 Thread Steffen Wolfrum
Hi, as the footnotes mechanism was rewritten, there are several things that don't work anymore (as expected). I collected some of them in my minimal below: The lines with - OK! do work, those marked with - ??? don't. Could someone please help me with the new syntax context expects now?

Re: [NTG-context] random bookmarks not linked (with example)

2012-02-21 Thread Steffen Wolfrum
entries the bug is gone. And if I delete the used \mycite commands the bug is gone, too. I hope this test file might help ... like Luigi I get a pdf where 1.1.2 SIX is a proper link not today: when I run it with version 20120221 I get an error: ! Missing } inserted. system

[NTG-context] Dynamic content on layers - wiki example not working

2012-02-21 Thread Mari Voipio
Hello! I'm trying to place dynamic content on a layer and now it turns out that while getting a different pic every time is easy, getting the layers redrawn wasn't that simple. The wiki has this code: \definelayer [pagenumber] [width=\paperwidth, height=\paperheight, preset=middle,

Re: [NTG-context] Dynamic content on layers - wiki example not working

2012-02-21 Thread luigi scarso
On Tue, Feb 21, 2012 at 11:34 AM, Mari Voipio mari.voi...@iki.fi wrote: Hello! I'm trying to place dynamic content on a layer and now it turns out that while getting a different pic every time is easy, getting the layers redrawn wasn't that simple. The wiki has this code: \definelayer  

Re: [NTG-context] Dynamic content on layers - wiki example not working

2012-02-21 Thread Marco
On 2012-02-21 Mari Voipio mari.voi...@iki.fi wrote: The wiki has this code: […] This is an example of how it's *not* going to work: “This is not always what you desire like in the example above, where on each page the current page number should be shown and not the

Re: [NTG-context] definestructureseparatorset

2012-02-21 Thread Wolfgang Schuster
Am 21.02.2012 um 09:43 schrieb Steffen Wolfrum: Hi, this command has been changed/deleted (seems so): ! Undefined control sequence. l.19 \definestructureseparatorset [footnote][][] ? Works here: \starttext \definestructureseparatorset[test][][]

Re: [NTG-context] Dynamic content on layers - wiki example not working

2012-02-21 Thread Wolfgang Schuster
Am 21.02.2012 um 12:00 schrieb luigi scarso: On Tue, Feb 21, 2012 at 11:34 AM, Mari Voipio mari.voi...@iki.fi wrote: Hello! I'm trying to place dynamic content on a layer and now it turns out that while getting a different pic every time is easy, getting the layers redrawn wasn't that

Re: [NTG-context] \em producing red text?

2012-02-21 Thread Wolfgang Schuster
Am 21.02.2012 um 10:19 schrieb Alasdair McAndrew: I discovered this by hunting through font-ini.mkii: \setupbodyfontenvironment [default] [em={\slanted\color[red]}] Better \setupbodyfontenvironment[default][em={\sl\red}]. Seems to work well. You see, I want to use the same ConTeXt files

Re: [NTG-context] \em producing red text?

2012-02-21 Thread Wolfgang Schuster
Am 21.02.2012 um 13:05 schrieb Wolfgang Schuster: Am 21.02.2012 um 10:19 schrieb Alasdair McAndrew: I discovered this by hunting through font-ini.mkii: \setupbodyfontenvironment [default] [em={\slanted\color[red]}] Better \setupbodyfontenvironment[default][em={\sl\red}]. I was too

Re: [NTG-context] random bookmarks not linked (with example)

2012-02-21 Thread Hans Hagen
On 21-2-2012 11:17, Steffen Wolfrum wrote: 6 \setuppublications[state=start,refcommand=author] 7 8 \setupcite [author] [pubsep={},lastpubsep={},inbetween={}, left={},right={},andtext={|::|}, otherstext={ \tf et al.}] 9 10 \newbibfield[shorttitle] 11

Re: [NTG-context] Page count of PDF file from lua

2012-02-21 Thread Hans Hagen
On 19-2-2012 14:50, Marco wrote: I can't figure out how to determine the number of pages of a PDF file within lua. From the TeX side it works with \getfiguredimensions Can somebody give me a nudge in the right direction? Example: \starttext % Works %\getfiguredimensions [somefile.pdf]

Re: [NTG-context] Page count of PDF file from lua

2012-02-21 Thread Marco
On 2012-02-21 Hans Hagen pra...@wxs.nl wrote: I can't figure out how to determine the number of pages of a PDF file within lua. local fig = figures.push { name = somefile.pdf } figures.identify() figures.check() local nofpages = fig.used.pages

[NTG-context] enumerate fillinlne

2012-02-21 Thread John Kitzmiller
Any hints on enumerating fillinlines? Below describes the request (I hope this fomats okay on forum) the answer lines align with the top line of the question and are in a margin column: 1. Here is a question. 1. __ 2. Here is another question. If

[NTG-context] How to start every new chapter on page 1!?

2012-02-21 Thread Verhaag, G.C.H.M.
Hi ConTeXt Users, I'd like to start every chapter on page one. The footer should contain the chapter number followed by the page number. So page three of chapter 10, should read something like 10-3. I was thinking way=bychapter in the \setuppagenumbering command would do the trick. However

Re: [NTG-context] enumerate fillinlne

2012-02-21 Thread Marco
On 2012-02-21 John Kitzmiller jki...@gmail.com wrote: Any hints on enumerating fillinlines? Below describes the request (I hope this fomats okay on forum) the answer lines align with the top line of the question and are in a margin column: I am misusing the “right” key to inject a custom

Re: [NTG-context] How to start every new chapter on page 1!?

2012-02-21 Thread Wolfgang Schuster
Am 21.02.2012 um 17:04 schrieb Verhaag, G.C.H.M.: Hi ConTeXt Users, I'd like to start every chapter on page one. The footer should contain the chapter number followed by the page number. So page three of chapter 10, should read something like 10-3. I was thinking way=bychapter in the

Re: [NTG-context] How to start every new chapter on page 1!?

2012-02-21 Thread Verhaag, G.C.H.M.
On 02/21/2012 06:34 PM, Wolfgang Schuster wrote: Am 21.02.2012 um 17:04 schrieb Verhaag, G.C.H.M.: Hi ConTeXt Users, I'd like to start every chapter on page one. The footer should contain the chapter number followed by the page number. So page three of chapter 10, should read something

Re: [NTG-context] How to start every new chapter on page 1!?

2012-02-21 Thread Wolfgang Schuster
Am 21.02.2012 um 19:34 schrieb Verhaag, G.C.H.M.: On 02/21/2012 06:34 PM, Wolfgang Schuster wrote: Am 21.02.2012 um 17:04 schrieb Verhaag, G.C.H.M.: Hi ConTeXt Users, I'd like to start every chapter on page one. The footer should contain the chapter number followed by the page

Re: [NTG-context] How to start every new chapter on page 1!?

2012-02-21 Thread Wolfgang Schuster
Am 21.02.2012 um 19:34 schrieb Verhaag, G.C.H.M.: On 02/21/2012 06:34 PM, Wolfgang Schuster wrote: Am 21.02.2012 um 17:04 schrieb Verhaag, G.C.H.M.: Hi ConTeXt Users, I'd like to start every chapter on page one. The footer should contain the chapter number followed by the page

Re: [NTG-context] How to start every new chapter on page 1!?

2012-02-21 Thread Verhaag, G.C.H.M.
On 02/21/2012 07:41 PM, Wolfgang Schuster wrote: Am 21.02.2012 um 19:34 schrieb Verhaag, G.C.H.M.: On 02/21/2012 06:34 PM, Wolfgang Schuster wrote: Am 21.02.2012 um 17:04 schrieb Verhaag, G.C.H.M.: Hi ConTeXt Users, I'd like to start every chapter on page one. The footer

Re: [NTG-context] Broken Nightly (2012.02.18)

2012-02-21 Thread Kip Warner
On Tue, 2012-02-21 at 05:32 +0100, Wolfgang Schuster wrote: The same problem was reported a few days ago and fixed in the beta. If you cant wait use \startdefintion[reference=,title=] which does work. Wolfgang Hey Wolfgang. I see Adam's PPA has been updated. I'll pull his package later and

Re: [NTG-context] footnotes rewritten

2012-02-21 Thread Steffen Wolfrum
Am I the only one who uses footnotes ? ;o) Steffen Am 21.02.2012 um 11:11 schrieb Steffen Wolfrum: Hi, as the footnotes mechanism was rewritten, there are several things that don't work anymore (as expected). I collected some of them in my minimal below: The lines with - OK! do

Re: [NTG-context] Broken Nightly (2012.02.18)

2012-02-21 Thread Kip Warner
On Tue, 2012-02-21 at 05:32 +0100, Wolfgang Schuster wrote: The same problem was reported a few days ago and fixed in the beta. If you cant wait use \startdefintion[reference=,title=] which does work. Wolfgang Hey Wolfgang, This is what I observed with ConTeXt 2012.02.20 01:42. Perhaps it

Re: [NTG-context] enumerate fillinline

2012-02-21 Thread John Kitzmiller
From: Marco net...@lavabit.com To: ntg-context@ntg.nl Cc: Date: Tue, 21 Feb 2012 17:19:42 +0100 Subject: Re: [NTG-context] enumerate fillinlne On 2012-02-21 John Kitzmiller jki...@gmail.com wrote: Any hints on enumerating fillinlines? Below describes the request (I hope this fomats okay

Re: [NTG-context] enumerate fillinline

2012-02-21 Thread Marco
On 2012-02-21 John Kitzmiller jki...@gmail.com wrote: Thanks Marco, it is a start and would have taken me a long time to get there, however, the rule number is not inside the margin You're right. This should help: \define\myrules {\inright{\getnumber[itemgroup:itemize].

Re: [NTG-context] Dynamic content on layers - wiki example not working

2012-02-21 Thread Mari Voipio
On Tue, Feb 21, 2012 at 13:06, Marco net...@lavabit.com wrote: This is an example of how it's *not* going to work: Doh! Either I can't read or I can't copy Sorry for the waste of bandwidth! The correct example works fine - however, I tried something similar in my file and it didn't work; but

Re: [NTG-context] Dynamic content on layers - wiki example not working

2012-02-21 Thread Mari Voipio
On Tue, Feb 21, 2012 at 13:53, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Here is a slightly different version which is better when you need more dynamic layers. Hey, I can get it to work. Will take more than a bit of effort to understanding it, but at least I got it wikified

Re: [NTG-context] Getting changing/random graphics?

2012-02-21 Thread Mari Voipio
On Thu, Feb 16, 2012 at 11:53, Marco net...@lavabit.com wrote: On 2012-02-16 Mari Voipio mari.voi...@iki.fi wrote: So, if I have photo1.jpg photo2.jpg photo3.jpg photo4.jpg and \dorecurse{10}{insert random photo here}, how do I do it? \dorecurse{4}{\externalfigure[photo\recurselevel]}