Re: [NTG-context] \stretched in chapter titles in MKII

2011-02-22 Thread Wolfgang Schuster
Am 22.02.2011 um 01:18 schrieb Tom: The code that follows works fine in MKII but doesn't stretch the chapter title in MKIV. What must I change? Also, I want to convert the chapter number to text before stretching it. Has anything been done to the routines that convert numerals to alpha

Re: [NTG-context] filtering xml

2011-02-22 Thread Hans Hagen
On 22-2-2011 8:34, Thomas A. Schmitz wrote: xml blob \xmlsetsetup{#1}{B/C/..[1]}{xml:C:first} select all B select all C in found B's select first in all found \startbuffer[test] A Bcat/B BCdog/C/B BCmouse/C/B BCdonkey/C/B Bgiraffe/B /A \stopbuffer \startxmlsetups

Re: [NTG-context] [t-vim] Line numbers

2011-02-22 Thread Marco
On 2011-02-21 Aditya Mahajan adit...@umich.edu wrote: 1) You have »Add line numbers« on your TODO list. What's the progress? No. I will look into them. I think that I should just be able to plug in ConTeXt's line numbering mechanism. I like the »just« in your sentence :) That would be

Re: [NTG-context] Learning LuaTeX : Invoice

2011-02-22 Thread Henning Hraban Ramm
Am 2011-02-20 um 21:20 schrieb Philipp Gesang: Anyways, looking forward to see your invoice code Here you are: http://wiki.contextgarden.net/Calculations_in_Lua It’s just in a works for me state, and the page can go away as soon as the spreadsheet module goes live. Greetlings from Lake

Re: [NTG-context] Learning LuaTeX : Invoice

2011-02-22 Thread luigi scarso
On Tue, Feb 22, 2011 at 10:47 AM, Henning Hraban Ramm hra...@fiee.net wrote: Am 2011-02-20 um 21:20 schrieb Philipp Gesang: Anyways, looking forward to see your invoice code Here you are: http://wiki.contextgarden.net/Calculations_in_Lua It’s just in a works for me state, and the page can

Re: [NTG-context] Guttenberg's dissertation typeset in ConTeXt

2011-02-22 Thread Henning Hraban Ramm
Am 2011-02-21 um 18:57 schrieb Philipp Gesang: I wonder how the author of the Wikipedia article knows that, though. Presumably, someone got hold of a PDF version of the dissertation? PS: In this matter I wouldn’t even trust the pdf metadata -- could be a

Re: [NTG-context] Learning LuaTeX : Invoice

2011-02-22 Thread Wolfgang Schuster
Am 22.02.2011 um 10:51 schrieb luigi scarso: On Tue, Feb 22, 2011 at 10:47 AM, Henning Hraban Ramm hra...@fiee.net wrote: Am 2011-02-20 um 21:20 schrieb Philipp Gesang: Anyways, looking forward to see your invoice code Here you are: http://wiki.contextgarden.net/Calculations_in_Lua

Re: [NTG-context] Learning LuaTeX : Invoice

2011-02-22 Thread luigi scarso
On Tue, Feb 22, 2011 at 11:01 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 22.02.2011 um 10:51 schrieb luigi scarso: On Tue, Feb 22, 2011 at 10:47 AM, Henning Hraban Ramm hra...@fiee.net wrote: Am 2011-02-20 um 21:20 schrieb Philipp Gesang: Anyways, looking forward to

Re: [NTG-context] Learning LuaTeX : Invoice

2011-02-22 Thread Henning Hraban Ramm
Am 2011-02-22 um 11:14 schrieb luigi scarso: Can you add a small example ? The spreadsheet module has a example at the end of the file and Hennings code has also a example at the end. Yes I've seen ... But it' s better \startluacode -- functions \stopluacode %% \starttext \startluacode

Re: [NTG-context] Guttenberg's dissertation typeset in ConTeXt

2011-02-22 Thread Steffen Wolfrum
Am 21.02.2011 um 18:52 schrieb Johannes Kuester: The Google Docs version -- https://docs.google.com/viewer?a=vpid=explorerchrome=truesrcid=0BxWgi9nKtBIUNGNmYWM3ZDgtMjUwYy00YjZkLWExZWQtNDY1MDZmMTQ3MGI3hl=en -- does not look like ConTeXt. But I think this is not the typeset and published

Re: [NTG-context] \stretched in chapter titles in MKII

2011-02-22 Thread Tom
I'm sorry for being so thick but this code errors out when I run it under TexLive 2010 MKIV. The problem seems to be in the processing of textcommand, so I commented it out. The error went away and the \ChapterNumberCommand seemed to execute correctly. However, I want to stretch the title as well

[NTG-context] about the line break after \inframed

2011-02-22 Thread Jeong Dalyoung
Dear all, I tested the following code from Metafun. \startuseMPgraphic{lions b} picture pic; path p ; p := fullsquare xyscaled (\overlaywidth,\overlayheight) randomized 5pt ; pickup pencircle scaled 1pt ; fill p withcolor .850yellow ; draw p withcolor .5yellow ; \stopuseMPgraphic

Re: [NTG-context] increase space on the left of pages included using \copypages

2011-02-22 Thread Curiouslearn
Can someone please help me with this? I suppose I have not received an answer because there is no minimal example. I thought it would be straightforward for someone in the forum without seeing an example. Anyhow I have attached a pdf file (includethis.pdf) and a tex file in which I am trying to

Re: [NTG-context] errors processing context manual

2011-02-22 Thread Hans Hagen
On 21-2-2011 10:55, Peter Münster wrote: Hello, There are 3 errors when processing the context manual: 1.) ! LuaTeX error text/tex/texmf-context/tex/context/base/core-con.lua:178: attempt to call local 'mapper' (a table value) \starttext \startitemize[g] \item a \type{g} for Greek

Re: [NTG-context] about the line break after \inframed

2011-02-22 Thread Hongwen Qiu
On 02/22/2011 09:58 PM, Jeong Dalyoung wrote: \startuseMPgraphic{lions b} picture pic; path p ; p := fullsquare xyscaled (\overlaywidth,\overlayheight) randomized 5pt ; pickup pencircle scaled 1pt ; fill p withcolor .850yellow ; draw p withcolor .5yellow ; \stopuseMPgraphic

[NTG-context] reencode fonts with fonts.trigger

2011-02-22 Thread Ulrike Fischer
Hello, Khaled had another idea to manipulate (reencode) fonts: He suggested to put a function in fonts.trigger. (Example below). I have some questions regarding this example: 1. Is there a basic flaw in the idea? 2. Is the interface more or less stable or will it probably change in the future?

Re: [NTG-context] reencode fonts with fonts.trigger

2011-02-22 Thread Hans Hagen
On 22-2-2011 4:22, Ulrike Fischer wrote: Hello, Khaled had another idea to manipulate (reencode) fonts: He suggested to put a function in fonts.trigger. (Example below). I have some questions regarding this example: 1. Is there a basic flaw in the idea? When triggers are done, there are only

Re: [NTG-context] [t-vim] Line numbers

2011-02-22 Thread Aditya Mahajan
On Tue, 22 Feb 2011, Marco wrote: On 2011-02-21 Aditya Mahajan adit...@umich.edu wrote: 1) You have »Add line numbers« on your TODO list. What's the progress? No. I will look into them. I think that I should just be able to plug in ConTeXt's line numbering mechanism. I like the »just« in

Re: [NTG-context] reencode fonts with fonts.trigger

2011-02-22 Thread Hans Hagen
On 22-2-2011 4:22, Ulrike Fischer wrote: Hello, Khaled had another idea to manipulate (reencode) fonts: He suggested to put a function in fonts.trigger. (Example below). I have some questions regarding this example: I'll add the following to the luatex-fonts code. It demonstrates how to use

[NTG-context] \useexternalfigure globally? (+minor issues)

2011-02-22 Thread Philipp Gesang
Hi all, [1] in grph-fig.mkiv, “\useexternalfigure” is declared twice in exactly the same way (ll. 124 and 132). [2] “\showexternalfigures” does not seem to work in mkiv (fails at “\startXMLmapping”), is there an alternative? [3] Is there a way to globally declare an externalfigure from

Re: [NTG-context] \useexternalfigure globally? (+minor issues)

2011-02-22 Thread Wolfgang Schuster
Am 22.02.2011 um 22:25 schrieb Philipp Gesang: Hi all, [3] Is there a way to globally declare an externalfigure from inside a group? So that in the following example, the second reference to “kuh” succeeds. ···8

Re: [NTG-context] \useexternalfigure globally? (+minor issues)

2011-02-22 Thread Hans Hagen
On 22-2-2011 10:46, Wolfgang Schuster wrote: Am 22.02.2011 um 22:25 schrieb Philipp Gesang: Hi all, [3] Is there a way to globally declare an externalfigure from inside a group? So that in the following example, the second reference to “kuh” succeeds.

Re: [NTG-context] \stretched in chapter titles in MKII

2011-02-22 Thread Wolfgang Schuster
Am 22.02.2011 um 14:42 schrieb Tom: I'm sorry for being so thick but this code errors out when I run it under TexLive 2010 MKIV. The problem seems to be in the processing of textcommand, so I commented it out. The error went away and the \ChapterNumberCommand seemed to execute correctly.

Re: [NTG-context] \useexternalfigure globally? (+minor issues)

2011-02-22 Thread Philipp Gesang
On 2011-02-22 22:46:20, Wolfgang Schuster wrote: Am 22.02.2011 um 22:25 schrieb Philipp Gesang: Hi all, [3] Is there a way to globally declare an externalfigure from inside a group? So that in the following example, the second reference to “kuh” succeeds.

Re: [NTG-context] \useexternalfigure globally? (+minor issues)

2011-02-22 Thread Wolfgang Schuster
Am 22.02.2011 um 23:18 schrieb Philipp Gesang: On 2011-02-22 22:46:20, Wolfgang Schuster wrote: Am 22.02.2011 um 22:25 schrieb Philipp Gesang: Hi all, [3] Is there a way to globally declare an externalfigure from inside a group? So that in the following example, the second

Re: [NTG-context] \useexternalfigure globally? (+minor issues)

2011-02-22 Thread Philipp Gesang
On 2011-02-22 23:22:17, Wolfgang Schuster wrote: Am 22.02.2011 um 23:18 schrieb Philipp Gesang: On 2011-02-22 22:46:20, Wolfgang Schuster wrote: Am 22.02.2011 um 22:25 schrieb Philipp Gesang: Hi all, [3] Is there a way to globally declare an externalfigure from inside a

[NTG-context] Latest betas break tikz matrix

2011-02-22 Thread Mathieu Boespflug
Hi all, This code used to compile in versions of context prior to January, though I can't quite pin down the versions. \usemodule[t-tikz] \usetikzlibrary{matrix} \starttext \tikzstyle{description}=[fill=white,inner sep=2pt] \starttikzpicture \matrix(m)[matrix of math nodes, row

Re: [NTG-context] about the line break after \inframed

2011-02-22 Thread Jeong Dalyoung
Dear Hongwen, \dontleavehmode make it work. The answer is always around me but not for my eyes. Thank you. Best regards, Dalyoung ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] Latest betas break tikz matrix

2011-02-22 Thread Aditya Mahajan
On Tue, 22 Feb 2011, Mathieu Boespflug wrote: Hi all, This code used to compile in versions of context prior to January, though I can't quite pin down the versions. [snip] I have no idea what the error is telling me and what could be causing it. Any ideas? Could be due to the change in

[NTG-context] Setting starting chapter number

2011-02-22 Thread Tom
I have the need to start a document on a chapter number greater than 1 but cannot find the command that sets the starting chapter number. I assume that such a command exists and have probably overlooked the right one. Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.TomBenjey.com

Re: [NTG-context] Setting starting chapter number

2011-02-22 Thread Wolfgang Schuster
Am 23.02.2011 um 05:34 schrieb Tom: I have the need to start a document on a chapter number greater than 1 but cannot find the command that sets the starting chapter number. I assume that such a command exists and have probably overlooked the right one.