[NTG-context] Using virtual fonts defined with lua-code

2011-02-08 Thread Ulrike Fischer
Hello, The luatex documentation contains in section 7.2.2 Example virtual font an example how to define a virtual font cmr10-red. The font is defined by adding the code to the define_font callback. Does some interface exists in contex/mkiv which allows to use such virtual fonts together with the

[NTG-context] (again) wrong page with \finishregisterentry

2011-02-08 Thread Steffen Wolfrum
Hi, when \finishregisterentry is set within a paragraph then the lastrealpage gets the value from the page where this respective parapgraph starts. (In the example below it is 4 instead of 5.) That is quite sad when you have long paragraphs. How can I set a register range telling me

Re: [NTG-context] Speech bubbles

2011-02-08 Thread Philipp A.
@wolfgang: was my example helpful? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage :

Re: [NTG-context] Using virtual fonts defined with lua-code

2011-02-08 Thread Hans Hagen
On 8-2-2011 10:40, Ulrike Fischer wrote: Hello, The luatex documentation contains in section 7.2.2 Example virtual font an example how to define a virtual font cmr10-red. The font is defined by adding the code to the define_font callback. Does some interface exists in contex/mkiv which allows

Re: [NTG-context] structuring Context code using \input statements.

2011-02-08 Thread John Culleton
On Monday 07 February 2011 18:07:29 Hans Hagen wrote: On 7-2-2011 10:39, John Culleton wrote: In all forms of TeX it is my custom to start with a brief main file and call the various components of the document into the input stream with \input statements. The termination of the document

Re: [NTG-context] structuring Context code using \input statements.

2011-02-08 Thread Wolfgang Schuster
Am 08.02.2011 um 15:35 schrieb John Culleton: On Monday 07 February 2011 18:07:29 Hans Hagen wrote: maybe you have an extra \starttext somewhere Hans That was it. Now it works. Use \startproduct, \startcomponent etc. to prevent such problems. Wolfgang

Re: [NTG-context] Using virtual fonts defined with lua-code

2011-02-08 Thread Ulrike Fischer
Am Tue, 08 Feb 2011 15:13:11 +0100 schrieb Hans Hagen: On 8-2-2011 10:40, Ulrike Fischer wrote: Hello, The luatex documentation contains in section 7.2.2 Example virtual font an example how to define a virtual font cmr10-red. The font is defined by adding the code to the define_font

Re: [NTG-context] Using virtual fonts defined with lua-code

2011-02-08 Thread Khaled Hosny
On Tue, Feb 08, 2011 at 03:13:11PM +0100, Hans Hagen wrote: On 8-2-2011 10:40, Ulrike Fischer wrote: Hello, The luatex documentation contains in section 7.2.2 Example virtual font an example how to define a virtual font cmr10-red. The font is defined by adding the code to the define_font

Re: [NTG-context] Speech bubbles

2011-02-08 Thread Wolfgang Schuster
Am 08.02.2011 um 13:09 schrieb Philipp A.: @wolfgang: was my example helpful? Your example doesn’t work and I’m not interested to look into the manual how to fix it. MetaPost’s advantage (with mkiv) is that it’s faster than tikz. What’s is a library with a collection of shapes like tikz

Re: [NTG-context] Using virtual fonts defined with lua-code

2011-02-08 Thread Hans Hagen
On 8-2-2011 3:46, Khaled Hosny wrote: On Tue, Feb 08, 2011 at 03:13:11PM +0100, Hans Hagen wrote: On 8-2-2011 10:40, Ulrike Fischer wrote: Hello, The luatex documentation contains in section 7.2.2 Example virtual font an example how to define a virtual font cmr10-red. The font is defined by

Re: [NTG-context] Speech bubbles

2011-02-08 Thread Andreas Harder
Am 08.02.2011 um 16:44 schrieb Wolfgang Schuster: Am 08.02.2011 um 13:09 schrieb Philipp A.: @wolfgang: was my example helpful? Your example doesn’t work and I’m not interested to look into the manual how to fix it. This worked for me. tikz-speechbubbles.tex Description: Binary

Re: [NTG-context] Using virtual fonts defined with lua-code

2011-02-08 Thread Hans Hagen
On 8-2-2011 3:41, Ulrike Fischer wrote: Am Tue, 08 Feb 2011 15:13:11 +0100 schrieb Hans Hagen: On 8-2-2011 10:40, Ulrike Fischer wrote: Hello, The luatex documentation contains in section 7.2.2 Example virtual font an example how to define a virtual font cmr10-red. The font is defined by

Re: [NTG-context] Speech bubbles

2011-02-08 Thread Wolfgang Schuster
Am 08.02.2011 um 17:08 schrieb Andreas Harder: This worked for me. Thanks, i wrapped it in a environment. \usemodule[tikz,annotation] \usetikzlibrary[shapes.callouts] \define[2]\SpeechbubbleCommand {\starttikzpicture[remember picture] \node[rectangle callout, draw] (node:ref)

[NTG-context] Headers another way

2011-02-08 Thread Procházka Lukáš
Hello, I'm trying to solve an interesting problem. (The document should be generated by Lua actually, but probably this is not of importance.) I'd need create various headers, but it's not known which command to be used a priori; only their relative position is known. The head creating

Re: [NTG-context] Headers another way

2011-02-08 Thread Wolfgang Schuster
Am 08.02.2011 um 18:32 schrieb Procházka Lukáš: Hello, I'm trying to solve an interesting problem. (The document should be generated by Lua actually, but probably this is not of importance.) I'd need create various headers, but it's not known which command to be used a priori; only

Re: [NTG-context] Headers another way

2011-02-08 Thread Hans Hagen
Any idea how to solve this? see levels-001.tex in testsuite ... there is a mechanism for that Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The

[NTG-context] new beta

2011-02-08 Thread Hans Hagen
Hi, I uploaded a new beta: * logging is cleaned up and is now more under directive control (triggered by a request of taco for silent logging) and all messages now go through the same mechanisms (as quite some files were touched there can be typos) * as a consequence one can run context

Re: [NTG-context] strange hang during compilation

2011-02-08 Thread Hans Hagen
On 8-2-2011 5:10, Jeong Dalyoung wrote: Dear all, Today, I got a strange hault during the compilation. I had a file which consists of 13 chapters. It was compiled well before this afternoon when I change the textwidth and textheight. from (12cm, 21cm) to (11cm, 19cm). It works before it

[NTG-context] JS unicode mapping wrong again

2011-02-08 Thread Reviczky, Adam
Hi Hans, The latest beta (2011-02-08) gives me again a wrong character using widgets and JavaScript. If I enter \'a I'll get now Æ instead of á. (Though copying that character shows á in a text editor, so I guess it's just some mapping that's wrong.) Do you need a minimal example? Adam

Re: [NTG-context] Speech bubbles

2011-02-08 Thread Otared Kavian
Hi Wolfgang, Just out of curiosity I tested your example file, but mkiv stops upon ! Undefined control sequence. l.16 \defineannotation The version I have is ConTeXt ver: 2011.02.05 11:37 MKIV. Best regards: OK On 8 févr. 2011, at 17:38, Wolfgang Schuster wrote: Am

Re: [NTG-context] Speech bubbles

2011-02-08 Thread Wolfgang Schuster
Am 08.02.2011 um 21:06 schrieb Otared Kavian: Hi Wolfgang, Just out of curiosity I tested your example file, but mkiv stops upon ! Undefined control sequence. l.16 \defineannotation The version I have is ConTeXt ver: 2011.02.05 11:37 MKIV. Please update your installation,

Re: [NTG-context] JS unicode mapping wrong again

2011-02-08 Thread Hans Hagen
On 8-2-2011 8:51, Reviczky, Adam wrote: Hi Hans, The latest beta (2011-02-08) gives me again a wrong character using widgets and JavaScript. If I enter \'a I'll get now Æ instead of á. (Though copying that character shows á in a text editor, so I guess it's just some mapping that's wrong.)

[NTG-context] line-break discarded in \getparameters

2011-02-08 Thread Peter Münster
Hello, No space is printed between bla2 and bla3 with latest mkiv: \startsetups 1 \getparameters[Prefix][Text={bla1 bla2 bla3}] \stopsetups \starttext \setups{1} \PrefixText, no space between bla2 and bla3... \stoptext -- Peter

Re: [NTG-context] line-break discarded in \getparameters

2011-02-08 Thread Wolfgang Schuster
Am 09.02.2011 um 00:31 schrieb Peter Münster: Hello, No space is printed between bla2 and bla3 with latest mkiv: \startsetups 1 \getparameters[Prefix][Text={bla1 bla2 bla3}] \stopsetups \starttext \setups{1} \PrefixText, no space between bla2 and bla3... \stoptext Use

Re: [NTG-context] line-break discarded in \getparameters

2011-02-08 Thread Peter Münster
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: Am 09.02.2011 um 00:31 schrieb Peter Münster: \startsetups 1 \getparameters[Prefix][Text={bla1 bla2 bla3}] \stopsetups Use \startrawsetups … \stoprawsetups. So, it's not a bug, but a feature? Should it be documented like In

[NTG-context] Opentype feature files in Luatex - Mac OS X

2011-02-08 Thread Stef Schoonderwoerd
Dear all, I just had a quick question, I seem to remember finding the answer some while ago, but after searching all day today nothing came up anymore: what path does one put the opentype feature files on Mac OS X so luatex can read them? The unix standard path does not work.. Thanks in advance,

[NTG-context] changing title of register displayed with \completeregistername

2011-02-08 Thread Daniel Lyons
Hi, I'm trying to get a register to show a title other than the name of the register in the code, and not having much luck. For example, \defineregister[pgtype][pgtypes] \completepgtype produces a page with the title Pgtype, when I'd like it to say PostgreSQL Types instead. (Also, the