Re: [NTG-context] Project structure, (simple)font woes

2012-04-17 Thread Mari Voipio
On Mon, Apr 16, 2012 at 14:19, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: You load the simplefonts module but you don’t use it, instead you try to define a typescript the old. See, I *was* being stupid. Now it works perfectly. And I found all the additional info I'll need now in

Re: [NTG-context] MLA Bibliography

2012-04-17 Thread Kip Warner
On Tue, 2012-04-17 at 02:12 +0200, Mojca Miklavec wrote: Maybe that (with explanation) deserves an entry on the wiki, but you can have a nice exercise. If this doesn't help you, I'll take a look tomorrow or day after tomorrow. Thanks a lot Mojca. Although I'm not confident in my ConTeXt'ing

Re: [NTG-context] How to get info about current [sub-...]section?

2012-04-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, one more question - is there a way how to get values of \structurenumber and \structuretitle in the Lua scope? TIA. Best regards, Lukas On Mon, 16 Apr 2012 12:26:52 +0200, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \defineconversionset[default][n,n,a,r,n][n]

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-17 Thread Hans Hagen
On 17-4-2012 01:44, Kip Warner wrote: On Sun, 2012-04-15 at 18:00 +0200, Hans Hagen wrote: keep in mind that acrobat has monitor profiles, simulates paper and has different rendering code when transparencies are used I've crawled all over Adobe's proprietary Reader's settings and I can't find

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-17 Thread Kip Warner
On Tue, 2012-04-17 at 08:54 +0200, Hans Hagen wrote: (AR might have flaws but so do all other viewers I've seen.) I don't doubt it, but something that salient is pretty bad though. The whole document looks just awful. Is there a small example file? Sure.

Re: [NTG-context] MLA Bibliography

2012-04-17 Thread Kip Warner
On Tue, 2012-04-17 at 02:52 +0200, Jaroslav Hajtmar wrote: Hello Kip. If you're interested, then I send you my simple AMS sorted solution ;-) - only for your inspiration your solution. It's certainly not a step in the right direction, but rather an emergency solution that helped me achieve

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-17 Thread Alan BRASLAU
On Tue, 17 Apr 2012 08:54:03 +0200 Hans Hagen pra...@wxs.nl wrote: (AR might have flaws but so do all other viewers I've seen.) With one MAJOR difference: for Acrobat reader, one is dependent on the whims and desires of Adobe (and its paying market); the other pdf viewers are open source.

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-17 Thread luigi scarso
On Tue, Apr 17, 2012 at 9:12 AM, Alan BRASLAU alan.bras...@cea.fr wrote: On Tue, 17 Apr 2012 08:54:03 +0200 Hans Hagen pra...@wxs.nl wrote: (AR might have flaws but so do all other viewers I've seen.) With one MAJOR difference: for Acrobat reader, one is dependent on the whims and desires

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-17 Thread Hans Hagen
On 17-4-2012 09:31, luigi scarso wrote: On Tue, Apr 17, 2012 at 9:12 AM, Alan BRASLAUalan.bras...@cea.fr wrote: On Tue, 17 Apr 2012 08:54:03 +0200 Hans Hagenpra...@wxs.nl wrote: (AR might have flaws but so do all other viewers I've seen.) With one MAJOR difference: for Acrobat reader, one

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-17 Thread luigi scarso
On Tue, Apr 17, 2012 at 9:42 AM, Hans Hagen pra...@wxs.nl wrote: I use acrobat (prof) as reference viewer from the editor and okular (kde windows version) on a second screen as handy constantly open one; I tried a few more but stuck to these two. For MFLua I need to show 2 pages with thousand

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-17 Thread Peter Rolf
Am 17.04.2012 08:57, schrieb Kip Warner: On Tue, 2012-04-17 at 08:54 +0200, Hans Hagen wrote: (AR might have flaws but so do all other viewers I've seen.) I don't doubt it, but something that salient is pretty bad though. The whole document looks just awful. Is there a small example file?

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-17 Thread Hans Hagen
On 17-4-2012 11:53, Peter Rolf wrote: Am 17.04.2012 08:57, schrieb Kip Warner: On Tue, 2012-04-17 at 08:54 +0200, Hans Hagen wrote: (AR might have flaws but so do all other viewers I've seen.) I don't doubt it, but something that salient is pretty bad though. The whole document looks just

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-17 Thread Peter Rolf
Am 17.04.2012 12:12, schrieb Hans Hagen: On 17-4-2012 11:53, Peter Rolf wrote: Am 17.04.2012 08:57, schrieb Kip Warner: On Tue, 2012-04-17 at 08:54 +0200, Hans Hagen wrote: (AR might have flaws but so do all other viewers I've seen.) I don't doubt it, but something that salient is pretty bad

Re: [NTG-context] doublesided PDF - first and last page singlesided

2012-04-17 Thread Jan Heinen
Hello, someone, who understood what I want to achieve? http://www.imagebanana.com/view/shoayek5/onlinebook.jpg Or more questions? Regards Janis - Copy - Re: [NTG-context] doublesided PDF - first and last page singlesided Jan Heinen Mon, 16 Apr 2012 04:29:20 -0700 Hello, some

Re: [NTG-context] Project structure, (simple)font woes

2012-04-17 Thread Willi Egger
On 16 Apr 2012, at 13:27, luigi scarso wrote: On Mon, Apr 16, 2012 at 1:19 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: BTW: I can give a talk about typescripts and font loading at the next conference when there is interest in this. +1 +1 This is for sure a good idea!

[NTG-context] How to get \structurenumber and \structuretitle by Lua?

2012-04-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, values of number and title of the current (sub...)section can be received by \structurenumber and \structuretitle commands. Is there a way how to get these values by Lua? Suppose: \starttext \section{Sec 1} % Now \structurenumber yields 1 and \structuretitle gives Sec 1 %

Re: [NTG-context] How to get \structurenumber and \structuretitle by Lua?

2012-04-17 Thread Hans Hagen
On 17-4-2012 17:13, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, values of number and title of the current (sub...)section can be received by \structurenumber and \structuretitle commands. Is there a way how to get these values by Lua? structures.sections.getnumber(2) gives the

[NTG-context] Notepad++ configuration

2012-04-17 Thread Luiz Borges
Can anybody tell me how to correctly configure Notepad++ to use ConTeXt? I'm just starting with ConTeXt (and Tex BTW) and Scite seems to be too unpolished. One advantage that I can see of Scite over Notepad++ is that it has some autocompletion, besides that I think the interface and its tools are

Re: [NTG-context] Notepad++ configuration

2012-04-17 Thread Jaroslav Hajtmar
Hi Luiz I recommend PSPad (http://www.pspad.com/en/) Try it. I can not say that directly support ConTeXt, but TeX quite understand. SciTE seems flawless, but I'm so used to PSPad that I can leave it :-). Jaroslav Hajtmar Dne 17.4.2012 20:31, Luiz Borges napsal(a): Can anybody tell me how to

[NTG-context] Notepad++ configuration

2012-04-17 Thread Luiz Borges Gomide do Nascimento
Can anybody tell me how to correctly configure Notepad++ to use ConTeXt? I'm just starting with ConTeXt (and Tex BTW) and Scite seems to be too unpolished. One advantage that I can see of Scite over Notepad++ is that it has some autocompletion, besides that I think the interface and its tools are

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-17 Thread Kip Warner
On Tue, 2012-04-17 at 09:12 +0200, Alan BRASLAU wrote: With one MAJOR difference: for Acrobat reader, one is dependent on the whims and desires of Adobe (and its paying market); the other pdf viewers are open source. Exactly. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail

Re: [NTG-context] Notepad++ configuration

2012-04-17 Thread Luiz Borges
Hi Jaroslav, Notepad++ also supports TeX out the box, but I don't know if it can be configured to provide autocompletion and which Run Commands I need to create (and how). SciTE and Notepad++ shares the same base (Scintilla), but Notepad++ is far more polished. Regards, Luiz Borges 2012/4/17

Re: [NTG-context] Notepad++ configuration

2012-04-17 Thread Peter Münster
On Tue, Apr 17 2012, Luiz Borges wrote: Also, is there anyother noteworthy editor that works nicely with standalone context? Preferably with spell-check and auto-completion. Emacs. -- Peter ___ If your

Re: [NTG-context] Notepad++ configuration

2012-04-17 Thread Hans Hagen
On 17-4-2012 21:33, Luiz Borges wrote: Hi Jaroslav, Notepad++ also supports TeX out the box, but I don't know if it can be configured to provide autocompletion and which Run Commands I need to create (and how). SciTE and Notepad++ shares the same base (Scintilla), but Notepad++ is far more

Re: [NTG-context] Notepad++ configuration

2012-04-17 Thread Jaroslav Hajtmar
Hi Luiz, The PSPad can run many external programs (. BAT. EXE). You can set several compilers for a given file type (ie LaTeX compilation, LuaTEX, ConTeXt, XeTEX, ...) and i autocompletations. This can be set quite easily (three or four click on setup menu ...).. Jaroslav Dne 17.4.2012

Re: [NTG-context] Notepad++ configuration

2012-04-17 Thread Luiz Borges
Hello Hans, There is a page on the wiki (http://wiki.contextgarden.net/Notepad%2B%2B) but it was modified 3 years ago and targets a 2007 version of Notepad++ (4.2). Luiz Borges 2012/4/17 Hans Hagen pra...@wxs.nl: On 17-4-2012 21:33, Luiz Borges wrote: Hi Jaroslav, Notepad++ also supports

Re: [NTG-context] Notepad++ configuration

2012-04-17 Thread John Devereux
Luiz Borges luizbgom...@gmail.com writes: Can anybody tell me how to correctly configure Notepad++ to use ConTeXt? I'm just starting with ConTeXt (and Tex BTW) and Scite seems to be too unpolished. One advantage that I can see of Scite over Notepad++ is that it has some autocompletion,

Re: [NTG-context] Comma separating multiple footnotes

2012-04-17 Thread Hans Hagen
On 13-4-2012 15:58, Wolfgang Schuster wrote: I wrote a patch for the footnote code where you can set a symbol between the numbers with \setupnote[footnote][textseparator=…] but it’s decision to include it. ok, will be added -

Re: [NTG-context] Notepad++ configuration

2012-04-17 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Jaroslav, On Tue, 17 Apr 2012 13:43:26 -0600, Hans Hagen pra...@wxs.nl wrote: On 17-4-2012 21:33, Luiz Borges wrote: Hi Jaroslav, Notepad++ also supports TeX out the box, but I don't know if it can be configured to provide autocompletion and which Run Commands I need to create (and

Re: [NTG-context] Notepad++ configuration

2012-04-17 Thread Idris Samawi Hamid ادريس سماوي حامد
On Tue, 17 Apr 2012 13:49:18 -0600, Luiz Borges luizbgom...@gmail.com wrote: Hello Hans, There is a page on the wiki (http://wiki.contextgarden.net/Notepad%2B%2B) but it was modified 3 years ago and targets a 2007 version of Notepad++ (4.2). Actually 2009:

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-17 Thread Kip Warner
On Tue, 2012-04-17 at 10:54 +0200, Henning Hraban Ramm wrote: Hi Kip, the attached screenshot is from Acrobat Pro 10.1.3 on OSX 10.7. Looks good to me. I guess your color management setup is wrong. Greetlings, Hraban Hey Hrabab. Your looks much better than AR's, but it still doesn't look

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-17 Thread Kip Warner
On Tue, 2012-04-17 at 09:31 +0200, luigi scarso wrote: Every pdf for general use should be checked at least with the latest AdobeReader under windows, which is currently one of the best pdf viewer. I think a better approach would be to consider Adobe's PDF specification as reference material,

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-17 Thread Kip Warner
On Tue, 2012-04-17 at 11:53 +0200, Peter Rolf wrote: I might be wrong, but is this color shift not just a 'page group' problem, caused by the transparent PNG? I don't know, but even the image on the upper right aside, the rest of the page's colours are off as well. -- Kip Warner -- Software

Re: [NTG-context] Comma separating multiple footnotes

2012-04-17 Thread Kip Warner
On Tue, 2012-04-17 at 22:13 +0200, Hans Hagen wrote: ok, will be added Hey Hans. Should it be \setupnote[footnote][textseparator=…], or \setupnotation[footnote][textseparator=…] ? Thanks for accepting the patch. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred

Re: [NTG-context] Rendering differences between PDF viewers

2012-04-17 Thread Kip Warner
On Tue, 2012-04-17 at 12:48 +0200, Peter Rolf wrote: Hi Kip, give it a try and add this to you document... \startluacode backends= backendsor { } backends.codeinjections = backends.codeinjections or { } function

[NTG-context] Including font with document source

2012-04-17 Thread Kip Warner
Hey list, Is there a way to include a set of font files with a ConTeXt document's source files such that a path to the directory containing the font can be directly specified in the environment? I was thinking that if it were possible to do this already, the simplefonts module might have a setup

Re: [NTG-context] Bibtex with ConTeXt mkiv

2012-04-17 Thread Kip Warner
On Tue, 2012-04-17 at 10:41 +0200, Taco Hoekwater wrote: That's weird. It is probably a bug in Hans' reimplementation of the bib module for mkiv. I've cc'd Hans in case he has something to offer on that. But it is fairly simple to work around, using a new macro definition like this: