Re: [NTG-context] two newbie questions (about conditional processing)

2009-05-25 Thread Zhichu Chen
On Sun, May 24, 2009 at 6:36 PM, Hans Hagen pra...@wxs.nl wrote: something like state=once would be handy but i'm not going to touch that code till i'm redoing some page-* code in mkiv I don't get it, the once made me confused. Should that just be affectedpage=current or range={1,2,15} which

Re: [NTG-context] hyphenation

2009-05-25 Thread Taco Hoekwater
Hi Hraban, Your questions are more about luatex than about context, I think (you _are_ talking about mkiv, yes?) Henning Hraban Ramm wrote: Ahoi, (1) there's an ongoing thread on the German mailing list (TeX-D-L), if it would be possible to implement weighted(?) hyphenation, i.e. that some

Re: [NTG-context] two newbie questions (about conditional processing)

2009-05-25 Thread Hans Hagen
Zhichu Chen wrote: On Sun, May 24, 2009 at 6:36 PM, Hans Hagen pra...@wxs.nl wrote: something like state=once would be handy but i'm not going to touch that code till i'm redoing some page-* code in mkiv I don't get it, the once made me confused. Should that just be affectedpage=current or

Re: [NTG-context] two newbie questions (about conditional processing)

2009-05-25 Thread Wolfgang Schuster
Am 25.05.2009 um 08:55 schrieb Zhichu Chen: On Sun, May 24, 2009 at 6:36 PM, Hans Hagen pra...@wxs.nl wrote: something like state=once would be handy but i'm not going to touch that code till i'm redoing some page-* code in mkiv I don't get it, the once made me confused. Should that

Re: [NTG-context] two newbie questions (about conditional processing)

2009-05-25 Thread Zhichu Chen
On Mon, May 25, 2009 at 3:12 PM, Hans Hagen pra...@wxs.nl wrote: well, we have already state=repeat: same background each upcoming page state=start : enable background (calculate each time) state=stop  : disable backgrond so we would have state=once  : enable background and after this

Re: [NTG-context] two newbie questions (about conditional processing)

2009-05-25 Thread Zhichu Chen
On Mon, May 25, 2009 at 3:30 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 25.05.2009 um 08:55 schrieb Zhichu Chen: On Sun, May 24, 2009 at 6:36 PM, Hans Hagen pra...@wxs.nl wrote: something like state=once would be handy but i'm not going to touch that code till i'm

Re: [NTG-context] two newbie questions (about conditional processing)

2009-05-25 Thread Wolfgang Schuster
Am 25.05.2009 um 09:42 schrieb Zhichu Chen: but it shows only up in Adobe Reader I don't know what's that mean. You have to view the PDF view Adobe Reader to see effect for the chapter page, when I open the file with Preview App the chapter page has black text on a white background.

Re: [NTG-context] two newbie questions (about conditional processing)

2009-05-25 Thread Wolfgang Schuster
Am 25.05.2009 um 09:12 schrieb Hans Hagen: well, we have already state=repeat: same background each upcoming page state=start : enable background (calculate each time) state=stop : disable backgrond These settings have no effect on the background color, you can control with them only the

Re: [NTG-context] two newbie questions (about conditional processing)

2009-05-25 Thread Hans Hagen
Wolfgang Schuster wrote: Am 25.05.2009 um 09:12 schrieb Hans Hagen: well, we have already state=repeat: same background each upcoming page state=start : enable background (calculate each time) state=stop : disable backgrond These settings have no effect on the background color, you can

Re: [NTG-context] indices

2009-05-25 Thread Charles Doherty
Dear Taco, You are a genius. Works a treat! Thank you very much. Charlie On 24 May 2009, at 17:05, Taco Hoekwater wrote: Remember this: \unprotect \def\insertkeywords#1#2#3% {\bibdoifelse{\@@p...@keywords} {% #1\@@p...@keywords #2% \processcommacommand[\@@p...@keywords]\index

Re: [NTG-context] defineremapper as default (in style file)

2009-05-25 Thread luigi scarso
On Fri, May 22, 2009 at 8:11 PM, Hans Hagen pra...@wxs.nl wrote: Peter Münster wrote: Hello, I would like to activate a remapper in a style or module file. How could this be done? I tried this without success: \defineremapper[filterItem] \remapcharacter[filterItem][`•]{\item}

Re: [NTG-context] defineremapper as default (in style file)

2009-05-25 Thread Hans Hagen
luigi scarso wrote: On Fri, May 22, 2009 at 8:11 PM, Hans Hagen pra...@wxs.nl wrote: Peter Münster wrote: Hello, I would like to activate a remapper in a style or module file. How could this be done? I tried this without success: \defineremapper[filterItem]

Re: [NTG-context] defineremapper as default (in style file)

2009-05-25 Thread Peter Münster
On Mon, 25 May 2009, luigi scarso wrote: I think the point is this : in some situations one find useful to convert things like • in macros like \item . Of course, it can be done with  preprocessing , or with some ad-hoc macros in lua code , etc So, apart \remapcharacter, are there  any

Re: [NTG-context] defineremapper as default (in style file)

2009-05-25 Thread luigi scarso
On Mon, May 25, 2009 at 12:17 PM, Hans Hagen pra...@wxs.nl wrote: luigi scarso wrote: On Fri, May 22, 2009 at 8:11 PM, Hans Hagen pra...@wxs.nl wrote: Peter Münster wrote: Hello, I would like to activate a remapper in a style or module file. How could this be done? I tried this

Re: [NTG-context] defineremapper as default (in style file)

2009-05-25 Thread luigi scarso
On Mon, May 25, 2009 at 12:18 PM, Peter Münster pmli...@free.fr wrote: On Mon, 25 May 2009, luigi scarso wrote: I think the point is this : in some situations one find useful to convert things like • in macros like \item . Of course, it can be done with preprocessing , or with some

[NTG-context] Problem with bibl-aps style?

2009-05-25 Thread Charles Doherty
Dear Taco, When I use bibl-aps [9] below is incollection and [10] is book. As you can see the title is missing in [9]. I did a fresh download of Minimals this morning in case my bibl-aps was corrupt but the result is as below. Any advice? And apologies for bothering you so soon again.

Re: [NTG-context] Problem with bibl-aps style?

2009-05-25 Thread Taco Hoekwater
Charles Doherty wrote: Dear Taco, When I use bibl-aps [9] below is incollection and [10] is book. As you can see the title is missing in [9]. I did a fresh download of Minimals this morning in case my bibl-aps was corrupt but the result is as below. Any advice? And apologies for bothering

Re: [NTG-context] Seeking a Deeper ConTeXt: Questions for Initializing

2009-05-25 Thread John Haltiwanger
On Sun, May 24, 2009 at 2:35 PM, Henning Hraban Ramm hra...@fiee.netwrote: Am 2009-05-24 um 19:17 schrieb John Haltiwanger: 1) Can environment files be used across documents, or is it generally understood that every ConTeXt document requires its own environment formatting? (The latter is

Re: [NTG-context] Seeking a Deeper ConTeXt: Questions for Initializing

2009-05-25 Thread Hans Hagen
John Haltiwanger wrote: On Sun, May 24, 2009 at 2:35 PM, Henning Hraban Ramm hra...@fiee.netwrote: Am 2009-05-24 um 19:17 schrieb John Haltiwanger: 1) Can environment files be used across documents, or is it generally understood that every ConTeXt document requires its own environment

Re: [NTG-context] Seeking a Deeper ConTeXt: Questions for Initializing

2009-05-25 Thread Wolfgang Schuster
Am 25.05.2009 um 18:30 schrieb John Haltiwanger: I am not averse to rolling my own, I am just confused why, if environments are so powerful and flexible (flexible meaning one can easily change things, unlike document classes), there are no pre-rolled environments available. I am thinking

Re: [NTG-context] Seeking a Deeper ConTeXt: Questions for Initializing

2009-05-25 Thread John Haltiwanger
I am not averse to rolling my own, I am just confused why, if environments are so powerful and flexible (flexible meaning one can easily change things, unlike document classes), there are no pre-rolled environments available. I am thinking here of standardized thesis environments for

Re: [NTG-context] Seeking a Deeper ConTeXt: Questions for Initializing

2009-05-25 Thread Hans Hagen
John Haltiwanger wrote: Okay, but that does imply that an organization can set up an environment and expect its members to use it. indeed, of seek help in doing so (not much different from setting up a housestyle for word ro whatever) I'm not sure what you mean by a representation of a

Re: [NTG-context] Seeking a Deeper ConTeXt: Questions for Initializing

2009-05-25 Thread Mohamed Bana
my personal favourite http://thread.gmane.org/gmane.comp.tex.context/44368/focus=46254, beware you might have trouble getting that to compile with a new version of LuaTeX. John Haltiwanger wrote: On Mon, May 25, 2009 at 12:50 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com

Re: [NTG-context] Seeking a Deeper ConTeXt: Questions for Initializing

2009-05-25 Thread Arthur Reutenauer
These paragraphs seems to contradict. ConTeXt is useful if you use an environment more than once, but there are no ready-to-use ConTeXt environments. You're probably confused by the term environment. It means something very specific in ConTeXt, see for example section 2.3 of

Re: [NTG-context] Seeking a Deeper ConTeXt: Questions for Initializing

2009-05-25 Thread Hans Hagen
John Haltiwanger wrote: On Mon, May 25, 2009 at 12:50 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 25.05.2009 um 18:30 schrieb John Haltiwanger: I am not averse to rolling my own, I am just confused why, if environments are so powerful and flexible (flexible meaning one

Re: [NTG-context] Seeking a Deeper ConTeXt: Questions for Initializing

2009-05-25 Thread Arthur Reutenauer
Since Arthur implies that an XML output might one day be feasible, Note that the final estimate for the stable release of LuaTeX is 2012, but the backend features may be available sooner. Many people are looking forward to using LuaTeX for producing XML-based and other formats

Re: [NTG-context] Seeking a Deeper ConTeXt: Questions for Initializing

2009-05-25 Thread John Haltiwanger
On Mon, May 25, 2009 at 2:00 PM, Arthur Reutenauer arthur.reutena...@normalesup.org wrote: Since Arthur implies that an XML output might one day be feasible, Note that the final estimate for the stable release of LuaTeX is 2012, but the backend features may be available

Re: [NTG-context] Seeking a Deeper ConTeXt: Questions for Initializing

2009-05-25 Thread Arthur Reutenauer
Nice, glad to hear it. Also of interest are new semantic tagging facilities for PDF in the newest proposal for ISO 32000, mentioned by an Adobe engineer in the comments of this blog entry http://digitalcuration.blogspot.com/2009/04/semantically-richer-pdf.html If you mean Leonard

Re: [NTG-context] Seeking a Deeper ConTeXt: Questions for Initializing

2009-05-25 Thread John Haltiwanger
Yes, that is the comment. Thank you for the heads up :) On Mon, May 25, 2009 at 2:21 PM, Arthur Reutenauer arthur.reutena...@normalesup.org wrote: Nice, glad to hear it. Also of interest are new semantic tagging facilities for PDF in the newest proposal for ISO 32000, mentioned by an Adobe

Re: [NTG-context] Seeking a Deeper ConTeXt: Questions for Initializing

2009-05-25 Thread Aditya Mahajan
On Mon, 25 May 2009, John Haltiwanger wrote: unlike document classes), there are no pre-rolled environments available. I am thinking here of standardized thesis environments for universities, or a There are no standardized thesis styles for universities mainly because there are no consistent

Re: [NTG-context] Seeking a Deeper ConTeXt: Questions for Initializing

2009-05-25 Thread John Haltiwanger
Thank you Aditya. All that makes sense to me. It is quite clear from everyone's responses that the person on c.t.t who claimed ConTeXt is only for one-offs was not correct. On Mon, May 25, 2009 at 2:26 PM, Aditya Mahajan adit...@umich.edu wrote: On Mon, 25 May 2009, John Haltiwanger wrote:

Re: [NTG-context] Seeking a Deeper ConTeXt: Questions for Initializing

2009-05-25 Thread Hans Hagen
John Haltiwanger wrote: On Mon, May 25, 2009 at 2:00 PM, Arthur Reutenauer arthur.reutena...@normalesup.org wrote: Since Arthur implies that an XML output might one day be feasible, Note that the final estimate for the stable release of LuaTeX is 2012, but the backend

[NTG-context] Applying effects to figures

2009-05-25 Thread Vyatcheslav Yatskovsky
Hello, I just thinkig... Is there a way to apply an effect to inserted images? Say, I need to make a shadow around all of screenshots included, and it is too laborous to apply the shadow to them in an editor just in order to have screenshots changed in next document version. Is think there is

Re: [NTG-context] Applying effects to figures

2009-05-25 Thread Peter Rolf
Vyatcheslav Yatskovsky schrieb: Hello, I just thinkig... Is there a way to apply an effect to inserted images? sure, but... Say, I need to make a shadow around all of screenshots included, and it is too laborous to apply the shadow to them in an editor just in order to have screenshots

Re: [NTG-context] Applying effects to figures

2009-05-25 Thread Henning Hraban Ramm
Am 2009-05-25 um 21:05 schrieb Vyatcheslav Yatskovsky: I just thinkig... Is there a way to apply an effect to inserted images? Say, I need to make a shadow around all of screenshots included, and it is too laborous to apply the shadow to them in an editor just in order to have screenshots

Re: [NTG-context] Seeking a Deeper ConTeXt: Questions for Initializing

2009-05-25 Thread Mohamed Bana
i tend to write in Markdown, as the syntax is very light weight, then compile with pandoc (http://johnmacfarlane.net/pandoc/). $ pandoc --toc --smart --number-sections --standalone -H header.tex -w context file.pdc -o file.tex $ texexec file.tex i think Aditya has some documents floating

Re: [NTG-context] Applying effects to figures

2009-05-25 Thread Peter Münster
On Mon, 25 May 2009, Henning Hraban Ramm wrote: ImageMagick does support such effects; probably you could update and enhance or at least get inspiration from the degrade module: http://modules.contextgarden.net/t-degrade And of course, today you should use rather lua than bash scripting! To

Re: [NTG-context] Seeking a Deeper ConTeXt: Questions for Initializing

2009-05-25 Thread John Haltiwanger
Wow, that is handy! Thanks for the tip Modamed. On Mon, May 25, 2009 at 4:25 PM, Mohamed Bana mbana.li...@googlemail.comwrote: i tend to write in Markdown, as the syntax is very light weight, then compile with pandoc (http://johnmacfarlane.net/pandoc/). $ pandoc --toc --smart

Re: [NTG-context] Seeking a Deeper ConTeXt: Questions for Initializing

2009-05-25 Thread luigi scarso
On Mon, May 25, 2009 at 8:55 PM, Hans Hagen pra...@wxs.nl wrote: John Haltiwanger wrote: On Mon, May 25, 2009 at 2:00 PM, Arthur Reutenauer arthur.reutena...@normalesup.org wrote: Since Arthur implies that an XML output might one day be feasible, Note that the final

Re: [NTG-context] Applying effects to figures

2009-05-25 Thread Wolfgang Schuster
Am 25.05.2009 um 21:05 schrieb Vyatcheslav Yatskovsky: Hello, I just thinkig... Is there a way to apply an effect to inserted images? Say, I need to make a shadow around all of screenshots included, and it is too laborous to apply the shadow to them in an editor just in order to have

Re: [NTG-context] Seeking a Deeper ConTeXt: Questions for Initializing

2009-05-25 Thread Hans Hagen
luigi scarso wrote: well , if you give us some hints maybe someone will present an article at next context meeting ... (1) wait for the rewritten backend (next year) (2) wait till structure in mkiv is stable but indeed we can discuss these things at the upcoming context meeting Hans

Re: [NTG-context] Seeking a Deeper ConTeXt: Questions for Initializing

2009-05-25 Thread Arthur Reutenauer
well , if you give us some hints maybe someone will present an article at next context meeting ... If you're interested in Tagged PDF, you should really look into what the River Valley guys are doing on the mailing-list I mentioned, and contact Ross Moore, Han The Thanh, etc.

Re: [NTG-context] How to disable page numbers in empty pages

2009-05-25 Thread Khaled Hosny
On Fri, May 22, 2009 at 12:04:08PM +0200, Alan Stone wrote: On Fri, May 22, 2009 at 11:42 AM, Khaled Hosny khaledho...@eglug.org wrote: How can I disable page numbers (or header/footer) in empty pages, as page 2 in the following example:

[NTG-context] Error with \placefootnotes

2009-05-25 Thread Khaled Hosny
With the following sample and MkIV \starttext \setupfootnotes[location=text] This\footnote{Or that, if you prefer.} is a sentence with a footnote. \placefootnotes \stoptext I get: ! Undefined control sequence. \doplacenotes ... \endgroup \the \everysetupnotes