[NTG-context] Problem with \atopwithdelims Co.

2009-07-03 Thread Lutz Haseloff
Hi Hans, Hi Taco, Hi all, a couple of days ago I complained about not adapted delimiters around constructions with \atopwithdelims. With LuaTeX, Version beta-0.41.0-2009070222 (Web2C 2009), this problem persists. After reading the last luatexref-t.pdf I tried following: \starttext

Re: [NTG-context] How to Determine the Current File Name and Line Number AND PAGE NUMBER in the ConTeXt Source?

2009-07-03 Thread Taco Hoekwater
Mojca Miklavec wrote: Line Number I don't know of any way, but TeX sometimes complains on errors and outputs the line number along. There is \inputlineno in TeX, so \the\inputlineno or the lua equivalent \ctxlua{tex.inputlineno} will work. Best wishes, Taco

Re: [NTG-context] Problem with \atopwithdelims Co.

2009-07-03 Thread Taco Hoekwater
Lutz Haseloff wrote: Hi Hans, Hi Taco, Hi all, a couple of days ago I complained about not adapted delimiters around constructions with \atopwithdelims. With LuaTeX, Version beta-0.41.0-2009070222 (Web2C 2009), this problem persists. After reading the last luatexref-t.pdf I tried following:

Re: [NTG-context] How to Determine the Current File Name and Line Number AND PAGE NUMBER in the ConTeXt Source?

2009-07-03 Thread luigi scarso
On Fri, Jul 3, 2009 at 8:56 AM, Taco Hoekwater t...@elvenkind.com wrote: Mojca Miklavec wrote: Line Number I don't know of any way, but TeX sometimes complains on errors and outputs the line number along. There is \inputlineno in TeX, so \the\inputlineno or the lua equivalent

Re: [NTG-context] Problem with \atopwithdelims Co.

2009-07-03 Thread Lutz Haseloff
Thanks Taco, this workaround works for me: \Umathfractiondelsize\textstyle = 12.12pt \Umathfractiondelsize\displaystyle = 28.68pt Lutz 2009/7/3 Taco Hoekwater t...@elvenkind.com Lutz Haseloff wrote: Hi Hans, Hi Taco, Hi all, a couple of days ago I complained about not adapted delimiters

Re: [NTG-context] How to Determine the Current File Name and Line Number AND PAGE NUMBER in the ConTeXt Source?

2009-07-03 Thread Taco Hoekwater
luigi scarso wrote: On Fri, Jul 3, 2009 at 8:56 AM, Taco Hoekwater t...@elvenkind.com mailto:t...@elvenkind.com wrote: Mojca Miklavec wrote: Line Number I don't know of any way, but TeX sometimes complains on errors and outputs the line number

Re: [NTG-context] How to Determine the Current File Name and Line Number AND PAGE NUMBER in the ConTeXt Source?

2009-07-03 Thread luigi scarso
On Fri, Jul 3, 2009 at 9:14 AM, Taco Hoekwater t...@elvenkind.com wrote: luigi scarso wrote: On Fri, Jul 3, 2009 at 8:56 AM, Taco Hoekwater t...@elvenkind.com mailto:t...@elvenkind.com wrote: Mojca Miklavec wrote: Line Number I don't know of any

Re: [NTG-context] How to Determine the Current File Name and Line Number AND PAGE NUMBER in the ConTeXt Source?

2009-07-03 Thread Taco Hoekwater
luigi scarso wrote: we need something like a stack trace; also a lua try/except construct should be nice . stack trace of tex? ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] How to Determine the Current File Name and Line Number AND PAGE NUMBER in the ConTeXt Source?

2009-07-03 Thread luigi scarso
On Fri, Jul 3, 2009 at 9:33 AM, Taco Hoekwater t...@elvenkind.com wrote: luigi scarso wrote: we need something like a stack trace; also a lua try/except construct should be nice . stack trace of tex? No no, sorry -- I mean traceback, something like this Traceback (innermost last):

Re: [NTG-context] How to Determine the Current File Name and Line Number AND PAGE NUMBER in the ConTeXt Source?

2009-07-03 Thread Taco Hoekwater
luigi scarso wrote: No no, sorry -- I mean traceback, something like this Traceback (innermost last): Yeah, I though so. Repeat question: for TeX (macros)? ___ If your question is of interest to others as

Re: [NTG-context] How to Determine the Current File Name and Line Number AND PAGE NUMBER in the ConTeXt Source?

2009-07-03 Thread luigi scarso
On Fri, Jul 3, 2009 at 9:47 AM, Taco Hoekwater t...@elvenkind.com wrote: luigi scarso wrote: No no, sorry -- I mean traceback, something like this Traceback (innermost last): Yeah, I though so. ok Repeat question: for TeX (macros)? Is it impossible ? -- luigi

Re: [NTG-context] How to Determine the Current File Name and Line Number AND PAGE NUMBER in the ConTeXt Source?

2009-07-03 Thread Taco Hoekwater
luigi scarso wrote: Repeat question: for TeX (macros)? Is it impossible ? Right now: yes. Later: doable. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] mkiv structure

2009-07-03 Thread Alan BRASLAU
In my experience, a \part is generally (except in some rather technical documents) not treated as a super-chapter, that is chapter numbers (and titles) are not reset and retain their status as if the book was not divided into parts. A very long work is commonly broken into volumes. Here, each

Re: [NTG-context] How to Determine the Current File Name and Line Number AND PAGE NUMBER in the ConTeXt Source?

2009-07-03 Thread luigi scarso
On Fri, Jul 3, 2009 at 10:06 AM, Taco Hoekwater t...@elvenkind.com wrote: luigi scarso wrote: Repeat question: for TeX (macros)? Is it impossible ? Right now: yes. Later: doable. So doable . Given that I like to lost in code, where should I start to look ? -- luigi

Re: [NTG-context] How to Determine the Current File Name and Line Number AND PAGE NUMBER in the ConTeXt Source?

2009-07-03 Thread Taco Hoekwater
luigi scarso wrote: On Fri, Jul 3, 2009 at 10:06 AM, Taco Hoekwater t...@elvenkind.com mailto:t...@elvenkind.com wrote: luigi scarso wrote: Repeat question: for TeX (macros)? Is it impossible ? Right now: yes. Later: doable. So doable .

Re: [NTG-context] How to Determine the Current File Name and Line Number AND PAGE NUMBER in the ConTeXt Source?

2009-07-03 Thread luigi scarso
On Fri, Jul 3, 2009 at 10:18 AM, Taco Hoekwater t...@elvenkind.com wrote: Not now, you will need a bit of luatex interfacing that is not programmed yet. ok -- stop here . Eventually at eurotex . -- luigi ___ If

[NTG-context] Unwanted empty last page in doublesided document

2009-07-03 Thread B. Tommy Jensen
I am using Context mkII and have the following challenge: I am using a doblesided layout and want to have an even total number of pages. The last chapter should have an empty trailing page (if necessary) to add up to the right number. The problem is that I always get an ODD number of

Re: [NTG-context] letter/correspondence module

2009-07-03 Thread Henning Hraban Ramm
Am 2009-07-02 um 15:56 schrieb Wolfgang Schuster: I'd like to change the reference table of alternative e a little bit to fit my logo: voffset=130mm, % absolute coordinates hoffset=40mm, width=20mm, % width of label It doesn't work in \setupletterstyle[reference][]. Where must I put it? Or

Re: [NTG-context] letter/correspondence module

2009-07-03 Thread Wolfgang Schuster
Am 02.07.2009 um 15:56 schrieb Wolfgang Schuster: I'm only writing letters in one language at a time, so will others. It was only a suggestion to take the key as label as a fallback - mostly it will be easy enough, and you don't need to define a proper label. I have to check if this can

Re: [NTG-context] letter/correspondence module

2009-07-03 Thread Wolfgang Schuster
Am 03.07.2009 um 13:07 schrieb Henning Hraban Ramm: Am 2009-07-02 um 15:56 schrieb Wolfgang Schuster: I'd like to change the reference table of alternative e a little bit to fit my logo: [...] Thank you! Offset works, width doesn't (i.e. stays automatical). Do you want to change the

Re: [NTG-context] Unwanted empty last page in doublesided document

2009-07-03 Thread Wolfgang Schuster
Am 03.07.2009 um 12:08 schrieb B. Tommy Jensen: I am using Context mkII and have the following challenge: I am using a doblesided layout and want to have an even total number of pages. The last chapter should have an empty trailing page (if necessary) to add up to the right number. The

[NTG-context] bold math

2009-07-03 Thread Mojca Miklavec
Hello Hans, I wanted to use \definetypeface [boldmath] [mm] [boldmath] [latin-modern] [default] \starttext $\boldsymbol θ$ \stoptext but it seems to fail in mkii and has no influence in mkiv. (The workaround in mkii is to use \theta instead of θ, in mkiv it makes no difference.) 1. Is there

Re: [NTG-context] bold math

2009-07-03 Thread Mojca Miklavec
On Fri, Jul 3, 2009 at 15:12, Mojca Miklavec wrote: Hello Hans, I wanted to use \definetypeface [boldmath] [mm] [boldmath] [latin-modern] [default] \starttext $\boldsymbol θ$ \stoptext but it seems to fail in mkii Sorry, I take my word back. It works OK with \boldsymbol{θ}. However the

Re: [NTG-context] bold math

2009-07-03 Thread Hans Hagen
Mojca Miklavec wrote: and has no influence in mkiv. (The workaround in mkii is to use \theta instead of θ, in mkiv it makes no difference.) in mkiv (unicode) we need complete bold fonts .. (or make additional vectors); bold alphabets are part of math in unicode and should work ok but

Re: [NTG-context] bold math

2009-07-03 Thread Mojca Miklavec
On Fri, Jul 3, 2009 at 15:23, Hans Hagen wrote: Mojca Miklavec wrote: and has no influence in mkiv. (The workaround in mkii is to use \theta instead of θ, in mkiv it makes no difference.) in mkiv (unicode) we need complete bold fonts .. (or make additional vectors); bold alphabets are part

Re: [NTG-context] bold math

2009-07-03 Thread Hans Hagen
Mojca Miklavec wrote: On Fri, Jul 3, 2009 at 15:23, Hans Hagen wrote: Mojca Miklavec wrote: and has no influence in mkiv. (The workaround in mkii is to use \theta instead of θ, in mkiv it makes no difference.) in mkiv (unicode) we need complete bold fonts .. (or make additional vectors);

Re: [NTG-context] bold math

2009-07-03 Thread Hans Hagen
Mojca Miklavec wrote: I have tried to enter MATHEMATICAL BOLD ITALIC SMALL THETA directly with LM, but it didn't work (probably there are some mappings still missing, but it's a bit uncomfortable to type proper mathematical symbols anyway as editor is somehow lacking the characters and keyboard

Re: [NTG-context] mkiv structure

2009-07-03 Thread Hans Hagen
Alan BRASLAU wrote: In my understanding, \part serves to delimit logical sections of related chapters, not volumes. Maybe I am wrong in this interpretation; maybe \part is to be used to delimit volumes. Nevertheless, it should be relatively simple for the basic user to be able to select the

Re: [NTG-context] How to Determine the Current File Name and Line Number in the ConTeXt Source?

2009-07-03 Thread Tad Ashlock
Hans Hagen wrote: Tad Ashlock wrote: Is there a convenient way within a Lua block to determine the current file name and line number of the source file being processed by ConTeXt? [snip] i have no time now to figure out while filenames are not known but here's a (wikifyable) hack:

Re: [NTG-context] How to Determine the Current File Name and Line Number in the ConTeXt Source?

2009-07-03 Thread Hans Hagen
Tad Ashlock wrote: Hans Hagen wrote: Tad Ashlock wrote: Is there a convenient way within a Lua block to determine the current file name and line number of the source file being processed by ConTeXt? [snip] i have no time now to figure out while filenames are not known but here's

[NTG-context] [OT] pelgrimage-to-pragma

2009-07-03 Thread luigi scarso
http://ospublish.constantvzw.org/tools/pelgrimage-to-pragma Is it Hans's library ? I don't remember -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] simplefonts?

2009-07-03 Thread Andrea Valle
Hi, I'm installing minimals on my new macbook, and luckily, my instructions on wiki still works :) I've been able to build the font tree and I've seen with great pleasure that there's a simplefonts module. If I run from minimals this (from wiki): \usemodule[simplefonts] % load the module

[NTG-context] pdf with password/security

2009-07-03 Thread Ciro Soto
Hi all, I am planning to offer a poetry book in electronic format as well as paper format. How would I produce the pdf file with security/password using context? thank you Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/

Re: [NTG-context] simplefonts?

2009-07-03 Thread Wolfgang Schuster
Am 03.07.2009 um 17:47 schrieb Andrea Valle: Hi, I'm installing minimals on my new macbook, and luckily, my instructions on wiki still works :) I've been able to build the font tree and I've seen with great pleasure that there's a simplefonts module. If I run from minimals this (from

[NTG-context] Module installation

2009-07-03 Thread Wolfgang Schuster
Installation of modules === Basics –– The installation of extra files in TeX (called modules in ConTeXt) can be hard for people how are new in TeX or aren't interested in TeX programming themselve. According to the TDS (TeX directory structure) and the ConTeXt

Re: [NTG-context] [OT] pelgrimage-to-pragma

2009-07-03 Thread Hans Hagen
luigi scarso wrote: http://ospublish.constantvzw.org/tools/pelgrimage-to-pragma Is it Hans's library ? I don't remember it's just a bunch of programming books + some tex, next to my desk, (probably less than ten have some eternal value) ... the rest of the books is spread over the house

Re: [NTG-context] Module installation

2009-07-03 Thread Hans Hagen
Wolfgang Schuster wrote: in the private TeX directory ($TEXMF), private directories can have the names • texmf-local • texmf-extra • texmf-project but there existence depend on the TeX distribution and texmf-local is the most common one. also texmf-fonts (for shared

Re: [NTG-context] pdf with password/security

2009-07-03 Thread Hans Hagen
Ciro Soto wrote: Hi all, I am planning to offer a poetry book in electronic format as well as paper format. How would I produce the pdf file with security/password using context? it's something one does afterwards ghostscript can do encryption or just use acrobat professional for it Hans

Re: [NTG-context] pdf with password/security

2009-07-03 Thread Renaud Aubin
You can also use podofoencrypt (http://podofo.sourceforge.net/) Renaud Hans Hagen a écrit : Ciro Soto wrote: Hi all, I am planning to offer a poetry book in electronic format as well as paper format. How would I produce the pdf file with security/password using context? it's something one

Re: [NTG-context] simplefonts?

2009-07-03 Thread Andrea Valle
Thanks a lot, works pretty well with Delicious. But does not with other systems fonts. I'm on macosx and the other fonts (apart from LM) are all ttf. From wiki I was thinking that ttf were supported, ? Best -a- On Jul 3, 2009, at 6:00 PM, Wolfgang Schuster wrote: Am 03.07.2009 um 17:47

Re: [NTG-context] pdf with password/security

2009-07-03 Thread Ciro Soto
Thank you... I found pdftk in the web, and it does the encryption in 128bits, passwords, merging, etc... It will do the job. Ciro -- Links of your interest: http://www-personal.engin.umd.umich.edu/~cirosoto/ http://www.TheGuitarMakerExploration.com http://www.myspace.com/sotoaguirre On Fri,

Re: [NTG-context] simplefonts?

2009-07-03 Thread Wolfgang Schuster
Am 03.07.2009 um 23:35 schrieb Andrea Valle: Thanks a lot, works pretty well with Delicious. But does not with other systems fonts. I'm on macosx and the other fonts (apart from LM) are all ttf. From wiki I was thinking that ttf were supported, ? Don't know what you mean, the following works