Re: [NTG-context] randomize

2010-04-07 Thread Wolfgang Schuster
Am 07.04.10 01:10, schrieb Wolfgang Werners-Lucchini: Delete the tuc file with 'context --purgeall'. This does not work! I get allways the same. Delete \startluacode math.randomseed(os.time()) \stopluacode in your file. Wolfgang

Re: [NTG-context] randomize

2010-04-07 Thread Hans Hagen
On 7-4-2010 5:05, Aditya Mahajan wrote: On Tue, 6 Apr 2010, Wolfgang Werners-Lucchini wrote: Hallo, I get allways (10 times at least) the same result: - \starttext \startluacode math.randomseed(os.time()) \stopluacode Encode your

Re: [NTG-context] randomize

2010-04-07 Thread luigi scarso
On Wed, Apr 7, 2010 at 5:05 AM, Aditya Mahajan adit...@umich.edu wrote: On Tue, 6 Apr 2010, Wolfgang Werners-Lucchini wrote: Hallo, I get allways (10 times at least) the same result: - \starttext \startluacode

[NTG-context] Context and psfrag

2010-04-07 Thread Honza Pohanka
Hello, is there please any equivalent for LaTeX psfrag package (it can replace the text in eps images)? greetings Jan Pohanka ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] tab disappears in LUA environment.

2010-04-07 Thread Hans Hagen
On 7-4-2010 5:13, Hongwen Qiu wrote: \startLUA string.format(%s %d, person, total) \stopLUA space handling fixed in next beta - Hans Hagen | PRAGMA ADE Ridderstraat 27 |

Re: [NTG-context] hyphens in verbatim text

2010-04-07 Thread Hans Hagen
On 7-4-2010 5:04, Hongwen Qiu wrote: -- in verbatim text displayed as a single -, no matter in \type{} or in typing environment or something like that. looks ok here, so example needed -

Re: [NTG-context] hyphens in verbatim text

2010-04-07 Thread Hongwen Qiu
于 2010年04月07日 16:12, Hans Hagen 写道: looks ok here, so example needed I found that the problem can only be produced when using the simplefonts module, while loading the adobesongstd font and some other Chinese fonts. So, the problem maybe something's wrong with the simplefonts module. The

Re: [NTG-context] randomize

2010-04-07 Thread Wolfgang Werners-Lucchini
I get allways (10 times at least) the same result: - \starttext \startluacode math.randomseed(os.time()) \stopluacode Encode your Name and Surname as a \startluacode local a = {'null-terminated', 'dollar-terminated',

Re: [NTG-context] font lookup

2010-04-07 Thread Wolfgang Werners-Lucchini
When you know the filename, you can get the complete path like this: \starttext \ctxlua{tex.print(resolvers.find_file(texgyrepagella-regular.otf)) } \stoptext Your question is now answered but why do you need the complete path? Wolfgang I want to modify an example from

Re: [NTG-context] randomize

2010-04-07 Thread Wolfgang Werners-Lucchini
Delete the tuc file with 'context --purgeall'. This does not work! I get allways the same. Delete \startluacode math.randomseed(os.time()) \stopluacode in your file. Now it works. But WHY? Wolfgang

Re: [NTG-context] randomize

2010-04-07 Thread Arthur Reutenauer
Now it works. But WHY? Because that's the way random number generators works. They're not random at all, they generate completely predictable number sequences from a seed: each time you use the same seed, you get the exact same sequence. In your case, you used os.time() as a seed, which is

[NTG-context] lmmi12 missing in minimals

2010-04-07 Thread Mikael Persson
Dear list, with a freshly updated minimals, lm math italic seems to have disappeared: \starttext $a=b$. \stoptext gives the attached result. The log is also attached, there is a warning: LuaTeX warning (file lmmi12): Font lmmi12 at 600 not found Best regards, Mikael lmi.pdf Description:

Re: [NTG-context] lmmi12 missing in minimals

2010-04-07 Thread Mikael Persson
Compiling a larger doc I get LuaTeX warning (file lmsy10): Font lmsy10 at 441 not found LuaTeX warning (file msbm10): Font msbm10 at 441 not found LuaTeX warning (file lmmi10): Font lmmi10 at 315 not found LuaTeX warning (file lmex10): Font lmex10 at 630 not found LuaTeX warning (file lmsy10):

Re: [NTG-context] lmmi12 missing in minimals

2010-04-07 Thread Matthias Weber
I have ConTeXt ver: 2010.03.30 18:56 MKIV fmt: 2010.4.7 int: english/english and everything is fine here. Matthias On Apr 7, 2010, at 8:02 AM, Mikael Persson wrote: Compiling a larger doc I get LuaTeX warning (file lmsy10): Font lmsy10 at 441 not found LuaTeX warning (file msbm10):

Re: [NTG-context] lmmi12 missing in minimals

2010-04-07 Thread 李延瑞
2010/4/7 Mikael Persson mic...@gmail.com: Dear list, with a freshly updated minimals, lm math italic seems to have disappeared: \starttext $a=b$. \stoptext gives the attached result. The log is also attached, there is a warning: LuaTeX warning (file lmmi12): Font lmmi12 at 600 not found

Re: [NTG-context] lmmi12 missing in minimals

2010-04-07 Thread Mikael Persson
On Wed, Apr 7, 2010 at 2:10 PM, Li Yanrui (李延瑞) liyanrui...@gmail.com wrote: 2010/4/7 Mikael Persson mic...@gmail.com: Dear list, with a freshly updated minimals, lm math italic seems to have disappeared: \starttext $a=b$. \stoptext gives the attached result. The log is also attached,

[NTG-context] Dotted line in ToC

2010-04-07 Thread marfin
I’ve in my Table of Contents a dotted line in entries for section. But the dots don’t end in a virtual vertical line before the pagenumbers (because of the common width of »head and pagenumber«?). 1. What can I do for a clear right border of dots? 2. What is the way to define the distance between

Re: [NTG-context] lmmi12 missing in minimals

2010-04-07 Thread Taco Hoekwater
Hi, Mikael Persson wrote: Is there an easy way to downgrade the luatex? Unless you are in an extreme hurry, it is much simpler to wait for the next context beta. Best wishes, Taco ___ If your question is of

Re: [NTG-context] lmmi12 missing in minimals

2010-04-07 Thread Mikael Persson
On Wed, Apr 7, 2010 at 2:19 PM, Taco Hoekwater t...@elvenkind.com wrote: Hi, Mikael Persson wrote: Is there an easy way to downgrade the luatex? Unless you are in an extreme hurry, it is much simpler to wait for the next context beta. Best wishes, Taco Always depends on what one mean

Re: [NTG-context] lmmi12 missing in minimals

2010-04-07 Thread Mikael Persson
On Wed, Apr 7, 2010 at 2:27 PM, Mikael Persson mic...@gmail.com wrote: On Wed, Apr 7, 2010 at 2:19 PM, Taco Hoekwater t...@elvenkind.com wrote: Hi, Mikael Persson wrote: Is there an easy way to downgrade the luatex? Unless you are in an extreme hurry, it is much simpler to wait for the

Re: [NTG-context] page layout

2010-04-07 Thread Sebastien Mengin
Le 06 avril 2010 à 11:45, Wolfgang Schuster a écrit: Am 06.04.10 21:23, schrieb Sebastien Mengin: Here's what I use, it's almost satisfying but I've a small amount of space at the left edge of each pages and the whole layout isn't double-side. To set 1cm at the left side and 2cm at the

Re: [NTG-context] page layout

2010-04-07 Thread Vianney le Clément
I'm trying to find a French equivalent for back/cutspace... any idea? Marge intérieure / marge extérieure? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] page layout

2010-04-07 Thread Taco Hoekwater
Vianney le Clément wrote: I'm trying to find a French equivalent for back/cutspace... any idea? mult-def.lua holds the database of translations of keywords. This database is used to create the mult-xx files for context mkii. In there you will find: [backspace]={ [cs]=odsazenizleva,

Re: [NTG-context] page layout

2010-04-07 Thread Sebastien Mengin
Le 07 avril 2010 à 03:16, Vianney le Clément a écrit: I'm trying to find a French equivalent for back/cutspace... any idea? Marge intérieure / marge extérieure? No, this would be the equivalent of Inner margin / outer margin, I guess. The thing is that I don't know and don't find printers

Re: [NTG-context] page layout

2010-04-07 Thread Sebastien Mengin
Le 07 avril 2010 à 03:23, Taco Hoekwater a écrit: Vianney le Clément wrote: I'm trying to find a French equivalent for back/cutspace... any idea? mult-def.lua holds the database of translations of keywords. This database is used to create the mult-xx files for context mkii. Thanks.

Re: [NTG-context] Courier font in TexLive

2010-04-07 Thread Mojca Miklavec
On Wed, Apr 7, 2010 at 02:23, Tom wrote: I'm using TextLive 2008. There used to be a zip with special font-support files for ConTeXt, but I have no idea where those zips can be found now. (Maybe old DVDs with TeX Live include the whole ConTeXt distribution.) The easiest answer would be: try to

Re: [NTG-context] page layout

2010-04-07 Thread Vianney le Clément
retourarriere is a litteral translation (to my opinion) and is not reflecting what the keyword backspace really means. In fact, I find it quite exotic in a definition of a page layout... I agree on that one. Maybe we can try some literal translation of the dutch terms: backspace - rugwit -

Re: [NTG-context] randomize

2010-04-07 Thread Wolfgang Werners-Lucchini
Now it works. But WHY? Because that's the way random number generators works. They're not random at all, they generate completely predictable number sequences from a seed: each time you use the same seed, you get the exact same sequence. In your case, you used os.time() as a seed,

Re: [NTG-context] page layout

2010-04-07 Thread Sebastien Mengin
Le 07 avril 2010 à 03:39, Vianney le Clément a écrit: retourarriere is a litteral translation (to my opinion) and is not reflecting what the keyword backspace really means. In fact, I find it quite exotic in a definition of a page layout... I agree on that one. Maybe we can try some

Re: [NTG-context] randomize

2010-04-07 Thread Arthur Reutenauer
I know this and I have triggerd this by hand. So there is a lot of time between. I have purged files between every run and I got the same result if I wait 1 second, 1 minute or 1 day. Well, then it probably qualifies as a bug, and, since the .tuc file has apparently been dismissed as a

Re: [NTG-context] page layout

2010-04-07 Thread Hans Hagen
On 7-4-2010 3:27, Sebastien Mengin wrote: Le 07 avril 2010 à 03:16, Vianney le Clément a écrit: I'm trying to find a French equivalent for back/cutspace... any idea? Marge intérieure / marge extérieure? No, this would be the equivalent of Inner margin / outer margin, I guess. The thing is

[NTG-context] beta: pdfboxes missing

2010-04-07 Thread Peter Rolf
Hi, no more trimbox and cropbox here. example is \nopdfcompression \starttext\null\stoptext MTXrun | current version: 2010.04.07 14:19 This is LuaTeX, Version beta-0.60.0-2010040410 (rev 3591) This is LuaTeX, Version beta-0.60.0-2010040521 (rev 3596) [minimals] best wishes, Peter

Re: [NTG-context] Courier font in TexLive

2010-04-07 Thread Tom
It appears that the Nimbus Mono L font that was substituted is close enough to Courier for my purpose. The only place I use it is for a single, short telegram. I will consider getting a newer version of TexLive for my next book. You make a good argument for getting it on DVD rather than

Re: [NTG-context] beta: pdfboxes missing

2010-04-07 Thread Hans Hagen
On 7-4-2010 4:34, Peter Rolf wrote: \nopdfcompression \starttext\null\stoptext i'll send you a patch - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The

Re: [NTG-context] Courier font in TexLive

2010-04-07 Thread Mojca Miklavec
On Wed, Apr 7, 2010 at 17:38, Tom wrote: It appears that the Nimbus Mono L font that was substituted is close enough to Courier for my purpose. The only place I use it is for a single, short telegram. In that case it should be doable to write a line or two for the map file. Mojca

[NTG-context] No indicators in registers when using french as main language

2010-04-07 Thread Vianney le Clément
Hello, The subject says it all. \mainlanguage[fr] \starttext \index{Item}Item \placeindex \stoptext There is no indicator i in the index. It appears when you comment out the first line or change it to another language. Adding \setupregister[index][indicator=yes] does not help. Another,

Re: [NTG-context] No indicators in registers when using french as main language

2010-04-07 Thread Wolfgang Schuster
Am 07.04.10 21:37, schrieb Vianney le Clément: Hello, The subject says it all. \mainlanguage[fr] \starttext \index{Item}Item \placeindex \stoptext There is no indicator i in the index. It appears when you comment out the first line or change it to another language. Adding

Re: [NTG-context] No indicators in registers when using french as main language

2010-04-07 Thread Vianney le Clément
Can you add \startluacode sorters.entries ['fr'] = sorters.entries ['en'] sorters.mappings['fr'] = sorters.mappings['en'] \stopluacode at the begin of your file. Sorting for diacritics won't be perfect but you get now a index. Thanks. Works perfectly. Vianney

Re: [NTG-context] hyphens in verbatim text

2010-04-07 Thread Wolfgang Schuster
Am 07.04.10 10:59, schrieb Hongwen Qiu: I found that the problem can only be produced when using the simplefonts module, while loading the adobesongstd font and some other Chinese fonts. So, the problem maybe something's wrong with the simplefonts module. The following is a simple example.

Re: [NTG-context] hyphens in verbatim text

2010-04-07 Thread Hongwen Qiu
于 2010年04月08日 07:14, Wolfgang Schuster 写道: Add '\setmonofont[Latin Modern Mono][features=none]' to your file. Yes, this works. Tanks. ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] \bigl \bigr \big problems

2010-04-07 Thread Mikael Persson
On Tue, Apr 6, 2010 at 5:41 PM, Mikael Persson mic...@gmail.com wrote: On Tue, Apr 6, 2010 at 4:43 PM, Hans Hagen pra...@wxs.nl wrote: On 6-4-2010 10:30, Mikael Persson wrote: Dear list, I have problems with \big, \bigl, \Bigl, ... %% Example \def\foo#1{\type{#1}: #1} \starttext