Re: [NTG-context] Wrong spacing in \unit

2012-09-17 Thread Marco Patzer
2012-09-13 Marco Patzer home...@lavabit.com: when \unit is used just with a unit, without a number, the spacing at the left is wrong. Still the same in 2012.09.16 23:18, it doesn't seem that hard to fix. Maybe just an if-statement to check if the number is provided and add a space in that

[NTG-context] Problem with \useMPlibrary[txt]

2012-09-17 Thread pol stra
Dear all, There is a problem with \useMPlibrary[txt] at compilation time (ConTeXt ver: 2012.09.11 20:36 MKIV): metapost loaded: library 'txt' (/opt/context-minimals/texmf-context/tex/context/base/meta-imp-txt.mkiv ! Undefined control sequence. system tex error on line 149

[NTG-context] Formulas include chapter number

2012-09-17 Thread Marco Patzer
Hi, the last beta includes the chapter number in formulas, former betas didn't. Example: \starttext \startchapter [title=Foo] \startplaceformula \startformula E=mc^2 \stopformula \stopplaceformula \stopchapter \stoptext ∙ Is this intended? ∙ How to remove the chapter number

Re: [NTG-context] Formulas include chapter number

2012-09-17 Thread Sietse Brouwer
Hi Marco, It's a bug, I think. The keys that control this are way and prefixsegments: \setupformulas[way=bychapter, prefixsegments=chapter] way=bychapter means 'resume numbering at each chapter' prefixsegments=chapter means 'precede each formula number with the chapter number': chapter.formula

Re: [NTG-context] Formulas include chapter number

2012-09-17 Thread Marco Patzer
2012-09-17 Sietse Brouwer sbbrou...@gmail.com: Hi Sietse, It's a bug, I think. The keys that control this are way and prefixsegments: \setupformulas[way=bychapter, prefixsegments=chapter] way=bychapter means 'resume numbering at each chapter' prefixsegments=chapter means 'precede each

[NTG-context] international documents

2012-09-17 Thread Pavel Dohnal
Hello, I am creating script which generates context source from database data. Then converts context to pdf and sends it to user. Problem is that users enter international texts into database and some characters are not present in final pdf. Here is my minimal example: %interface=en

Re: [NTG-context] international documents

2012-09-17 Thread Marco Patzer
2012-09-17 Pavel Dohnal pavel.doh...@twobits.cz: Hi Pavel Problem is that users enter international texts into database and some characters are not present in final pdf. Here is my minimal example: %interface=en translate-file=utf-8 \enableregime[utf] ConTeXt MkIV uses UTF-8 by default.

Re: [NTG-context] international documents

2012-09-17 Thread S Barmeier
On 09/17/2012 07:11 PM, Pavel Dohnal wrote: Hello, I am creating script which generates context source from database data. Then converts context to pdf and sends it to user. Problem is that users enter international texts into database and some characters are not present in final pdf. Here

[NTG-context] Ctx: list of commands

2012-09-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, 1) is there a Ctx command/switch which would generate list of all current ConTeXt commands? E.g. context --list-of-commands Cmds.txt to produce Cmds.txt \startCAP \stopCAP \startCap \stopCap ... \writetoregister 2) The directory

Re: [NTG-context] Ctx: list of commands

2012-09-17 Thread Marco Patzer
2012-09-17 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hi Lukáš 1) is there a Ctx command/switch which would generate list of all current ConTeXt commands? E.g. Not that I'm aware of. Wolfgang started to maintain a list of ConTeXt commands, but I'm not sure if he's still on it:

Re: [NTG-context] Ctx: list of commands

2012-09-17 Thread Sietse Brouwer
During the last few months the wiki got plenty of new commands added that you could use. The wiki's list of commands is nowhere near complete, alas. There are a few (not many) commands *documented* on there that are not documented elsewhere, but if it's *existence* of commands you want to know

Re: [NTG-context] Ctx: list of commands

2012-09-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... Maybe I found something useful (initially I could not remember where and what to look for, but - ) c:\ConTeXt\tex\texmf-context\scripts\context\lua\mtx-interface.lua There is: ... local helpinfo = [[ ... --textpad generate textpad interface files --text

[NTG-context] Exploring the Lua innards of ConTeXt: showtable

2012-09-17 Thread Sietse Brouwer
Hi all, ConTeXt mkiv stores all sorts of things in Lua tables, but 'what goes where' does not tend to be documented. So here is a function to print out a table's contents to get something like the following excerpt. The excerpt is from the output of `userdata.showtable(structures.lists)` in a

Re: [NTG-context] Exploring the Lua innards of ConTeXt: showtable

2012-09-17 Thread Hans Hagen
On 17-9-2012 17:47, Sietse Brouwer wrote: Hi all, ConTeXt mkiv stores all sorts of things in Lua tables, but 'what goes where' does not tend to be documented. So here is a function to print out a table's contents to get something like the following excerpt. Keep in mind that many datatables

[NTG-context] Bug in xits font? No widehat shows up

2012-09-17 Thread Otared Kavian
Dear Khaled, dear Hans, I noticed that when using xits fonts the command \widehat is ignored (though \hat gives the expected result). Minimal example %%% begin example \setupbodyfont[xits,11pt] \starttext By definition we set ${\widehat \phi}(\xi) := {\cal F}(\phi)(\xi)$ that is \startformula

Re: [NTG-context] Ctx: list of commands

2012-09-17 Thread Philipp Gesang
···date: 2012-09-17, Monday···from: Procházka Lukáš Ing. - Pontex s. r. o.··· Hello, 1) is there a Ctx command/switch which would generate list of all current ConTeXt commands? E.g. Hi Lukáš, if you interpret “current Context commands” as “macros known to TeX”, you may try dumping the

Re: [NTG-context] [.tuc] oddity when storing a table

2012-09-17 Thread Philipp Gesang
···date: 2012-09-16, Sunday···from: Hans Hagen··· On 16-9-2012 19:17, Philipp Gesang wrote: Bug? no, feature. job variables are just key/values and accessible at the tex end (you store 'works too' in 'bar') Ok, I wasn’t aware of this restriction. if you want arbitrary data to be stores

[NTG-context] interesting link

2012-09-17 Thread Hans Hagen
Hi, As Luigi hasn't posted a link in a while ... here is one that looks interesting http://www.nongnu.org/gsl-shell/doc/ (would fit nicely in luatex a library given that tex as system for typesetting is used for scientific publishing) Hans

Re: [NTG-context] [.tuc] oddity when storing a table

2012-09-17 Thread Hans Hagen
On 17-9-2012 23:13, Philipp Gesang wrote: ···date: 2012-09-16, Sunday···from: Hans Hagen··· On 16-9-2012 19:17, Philipp Gesang wrote: Bug? no, feature. job variables are just key/values and accessible at the tex end (you store 'works too' in 'bar') Ok, I wasn’t aware of this restriction.

Re: [NTG-context] Ctx: list of commands

2012-09-17 Thread Hans Hagen
On 17-9-2012 21:29, Philipp Gesang wrote: ···date: 2012-09-17, Monday···from: Procházka Lukáš Ing. - Pontex s. r. o.··· Hello, 1) is there a Ctx command/switch which would generate list of all current ConTeXt commands? E.g. Hi Lukáš, if you interpret “current Context commands” as “macros