[NTG-context] Broken \setupexternalfigures in mkIV ?

2010-05-20 Thread Reimund Trost
The setupexternalfigures seems to be broken. In the example below, the first \placefigure doesnt work, but the second with the entire path does. I'm running the latest minimals via the GUI installer on winxp. Best regards Reimund Trost Example: % mptest.tex: \starttext \setupcolors

Re: [NTG-context] Help wanted for layers and pagebackgrounds

2010-05-20 Thread Wolfgang Schuster
Am 19.05.10 18:21, schrieb Otared Kavian: Dear all, I need to have a special layout, in which a number (which is not a page number nor a section number or such) is printed in big size on the right when the pagenumber is even (that is on a leftpage) and printed on the left when the pagenumber

Re: [NTG-context] Problem with identation

2010-05-20 Thread Marius
Here is more clear example in the attachments. Indenting looks broken if you are using floats in your document and it is broken in current and previous versions of ConTeXt too. There is a tread in this mailing list about indenting [1], but the given example used the option [here] and my reported

Re: [NTG-context] Broken \setupexternalfigures in mkIV ?

2010-05-20 Thread Hans Hagen
On 19-5-2010 3:28, Reimund Trost wrote: The setupexternalfigures seems to be broken. In the example below, the first \placefigure doesnt work, but the second with the entire path does. I'm running the latest minimals via the GUI installer on winxp. in the beta i get two graphics

[NTG-context] feauture request - no numbers on blank pages at chapter's end

2010-05-20 Thread Piotr Kopszak
Hello list, I don't know if it is only an idiosyncrasy of Polish typography but if a chapter ends with a blank page it should not display its number. It would be very useful if this could be an option (if not a default behaviour) of \setuppagenumbering . It's not a huge problem and I think I will

Re: [NTG-context] Problem with identation

2010-05-20 Thread Hans Hagen
On 20-5-2010 10:51, Marius wrote: \setupindenting[yes,7mm] \setupfloats[indentnext=yes] \starttext \input tufte \input knuth \placefigure [bottom,top][] {Title} {\externalfigure[cow][width=0.6\textwidth]} \input tufte \input knuth by the time you place the figure at the

Re: [NTG-context] czech language

2010-05-20 Thread Hans Hagen
On 19-5-2010 8:42, Tomáš Pustelník wrote: Hi, I add to attachment updated file lang-sla.tex (some heads had wrong translation) and sort-lan files (mkii and lua), which now sort czech index as a norm says. There is just minor problem with MkIV version. Normally in czech accented characters are

Re: [NTG-context] feauture request - no numbers on blank pages at chapter's end

2010-05-20 Thread Taco Hoekwater
Piotr Kopszak wrote: Hello list, I don't know if it is only an idiosyncrasy of Polish typography but if a chapter ends with a blank page it should not display its number. It would be very useful if this could be an option (if not a default behaviour) of \setuppagenumbering . It's not a huge

Re: [NTG-context] feauture request - no numbers on blank pages at chapter's end

2010-05-20 Thread Wolfgang Schuster
Am 20.05.10 11:07, schrieb Piotr Kopszak: Hello list, I don't know if it is only an idiosyncrasy of Polish typography but if a chapter ends with a blank page it should not display its number. It would be very useful if this could be an option (if not a default behaviour) of \setuppagenumbering

Re: [NTG-context] Register interaction (page references) [mkIV]

2010-05-20 Thread Hans Hagen
On 18-5-2010 4:13, Thomas Floeren wrote: \setupinteraction[state=start] \startsectionblockenvironment[bodypart] \setupuserpagenumber[number=1] \stopsectionblockenvironment \starttext \startfrontmatter \page[dummy] \page[dummy] \stopfrontmatter \startbodymatter \page[dummy]

[NTG-context] How to place a (right) brace in a TABLE?

2010-05-20 Thread Vladimir Lomov
Hi. (Sorry for unclear question in topic.) I want to put a brace (right or left isn't matter now) in a TABLE (may be another table environment) like in below scheme a11 a12| a13 a21 a22| a23 a31 a32 a33 a41 a42 a43 a51 a52| a53 a61 a62| a63 Here '|' marks place and elements which should be

Re: [NTG-context] feauture request - no numbers on blank pages at chapter's end

2010-05-20 Thread Piotr Kopszak
It would be handy to avoid inserting \page in this case, I think. 2010/5/20 Taco Hoekwater t...@elvenkind.com: Piotr Kopszak wrote: Hello list, I don't know if it is only an idiosyncrasy of Polish typography but if a chapter ends with a blank page it should not display its number. It

Re: [NTG-context] feauture request - no numbers on blank pages at chapter's end

2010-05-20 Thread Piotr Kopszak
Yes, I know but even if it was working in all cases (and it is not, for instace I need pagenumbers in the margin and it didn't work in this case) it looks really, really ugly. Why not wrap something like this in a definition and give users an option? 2010/5/20 Wolfgang Schuster

Re: [NTG-context] feauture request - no numbers on blank pages at chapter's end

2010-05-20 Thread Wolfgang Schuster
Am 20.05.10 12:58, schrieb Piotr Kopszak: Yes, I know but even if it was working in all cases (and it is not, for instace I need pagenumbers in the margin and it didn't work in this case) it looks really, really ugly. Why not wrap something like this in a definition and give users an option?

Re: [NTG-context] How to place a (right) brace in a TABLE?

2010-05-20 Thread Wolfgang Schuster
Am 20.05.10 11:45, schrieb Vladimir Lomov: Hi. (Sorry for unclear question in topic.) I want to put a brace (right or left isn't matter now) in a TABLE (may be another table environment) like in below scheme a11 a12| a13 a21 a22| a23 a31 a32 a33 a41 a42 a43 a51 a52| a53 a61 a62| a63 Here

Re: [NTG-context] feauture request - no numbers on blank pages at chapter's end

2010-05-20 Thread Wolfgang Schuster
Am 20.05.10 12:53, schrieb Piotr Kopszak: It would be handy to avoid inserting \page in this case, I think. \setuphead[chapter][page={blank,right}] Wolfgang ___ If your question is of interest to others as

Re: [NTG-context] Help wanted for layers and pagebackgrounds

2010-05-20 Thread Otared Kavian
Thanks Wolfgang! Somehow I overlooked the two subtleties you are teaching me here: \definelayer[Number][width=\paperwidth,height=\paperheight,doublesided=yes] in which the option doublesided=yes, helps and the options [odd] or [even] in \setlayer: \setlayer[Number][odd]

Re: [NTG-context] feauture request - no numbers on blank pages at chapter's end

2010-05-20 Thread Piotr Kopszak
Many thanks for your help! First the file according to the wiki example. Works if location=footer in \setuppagenumbering but not when \definepagebreak [mychapterpagebreak] [yes,header,right] \setuphead [chapter] [page=mychapterpagebreak,footer=empty]

[NTG-context] mkiv typescript and map files

2010-05-20 Thread John Culleton
Recently started working with context minimal and mkiv. I don't know how much of the traditional structure still is in play. Where do I find the typescript files and the map files applicable to mkiv? I mounted the context minimal distro on /opt on my Slackware Linux system. -- John Culleton

Re: [NTG-context] mkiv typescript and map files

2010-05-20 Thread luigi scarso
On Thu, May 20, 2010 at 4:35 PM, John Culleton j...@wexfordpress.com wrote: Recently started working with context minimal and mkiv. I don't know how much of the traditional structure still is in play. Where do I find the typescript files and the map files applicable to mkiv? I mounted the

[NTG-context] Protcode for context

2010-05-20 Thread John Culleton
The following works for pdftex -- \rm \pdfadjustspacing=2 \input protcode.tex \pdfprotrudechars=2 \setprotcode\font \pdffontexpand\rm 20 20 5 autoexpand --- but on Context (mkii or mkiv) it gives this error:

Re: [NTG-context] Protcode for context

2010-05-20 Thread Taco Hoekwater
John Culleton wrote: The following works for pdftex -- \rm \pdfadjustspacing=2 \input protcode.tex \pdfprotrudechars=2 \setprotcode\font \pdffontexpand\rm 20 20 5 autoexpand \rm is not a font identifier in ConTeXt, but a full-blown font switch, a bit like

Re: [NTG-context] \ldots

2010-05-20 Thread Jan Pohanka
Thanks for the reply, it helped. Exploring the math- files I found other questions. What's the difference between \definemathsymbol and \definemathcharacter? I expect that [punct] means punctuation character, but what the [inner] means? Where can I found what [xx] different characters need?

Re: [NTG-context] Problem with identation

2010-05-20 Thread Aditya Mahajan
On Thu, 20 May 2010, Hans Hagen wrote: On 20-5-2010 10:51, Marius wrote: \setupindenting[yes,7mm] \setupfloats[indentnext=yes] \starttext \input tufte \input knuth \placefigure [bottom,top][] {Title} {\externalfigure[cow][width=0.6\textwidth]} \input tufte \input knuth

Re: [NTG-context] \ldots

2010-05-20 Thread Aditya Mahajan
On Thu, 20 May 2010, Jan Pohanka wrote: Thanks for the reply, it helped. Exploring the math- files I found other questions. What's the difference between \definemathsymbol and \definemathcharacter? symbol are cs names (\something) that map to a font glyph. characters are input character

[NTG-context] bookmark for index

2010-05-20 Thread Matthias Weber
Dear all, \completeindex creates the bookmark index . I'd like to have the capitalized version Index. Is there a way to change that? Thanks, Matthias ___ If your question is of interest to others as well, please

Re: [NTG-context] Problem with identation

2010-05-20 Thread Hans Hagen
On 20-5-2010 5:48, Aditya Mahajan wrote: On Thu, 20 May 2010, Hans Hagen wrote: On 20-5-2010 10:51, Marius wrote: \setupindenting[yes,7mm] \setupfloats[indentnext=yes] \starttext \input tufte \input knuth \placefigure [bottom,top][] {Title} {\externalfigure[cow][width=0.6\textwidth]}

Re: [NTG-context] bookmark for index

2010-05-20 Thread Hans Hagen
On 20-5-2010 6:01, Matthias Weber wrote: Dear all, \completeindex creates the bookmark index . I'd like to have the capitalized version Index. Is there a way to change that? \startchapter[title=Index,bookmark=TITLE] \placeregister[index] \stopchapter

Re: [NTG-context] bookmark for index

2010-05-20 Thread Matthias Weber
Thanks Hans, is there a mk2 solution as well? Matthias On May 20, 2010, at 1:01 PM, Hans Hagen wrote: On 20-5-2010 6:01, Matthias Weber wrote: Dear all, \completeindex creates the bookmark index . I'd like to have the capitalized version Index. Is there a way to change that?

Re: [NTG-context] bookmark for index

2010-05-20 Thread Hans Hagen
On 20-5-2010 7:33, Matthias Weber wrote: is there a mk2 solution as well? no, well, you could do macro magic like \unexpanded\def\mybookmarktitle{\firstofoneargument} \unexpanded\def\mybookmarktitle{\secondofoneargument} \title{\mybookmarktitle{Index}{INDEX}} with the right definition at

Re: [NTG-context] \ldots

2010-05-20 Thread Honza Pohanka
Dne Thu, 20 May 2010 17:57:58 +0200 Aditya Mahajan adit...@umich.edu napsal(a): On Thu, 20 May 2010, Jan Pohanka wrote: Thanks for the reply, it helped. Exploring the math- files I found other questions. What's the difference between \definemathsymbol and \definemathcharacter? symbol

Re: [NTG-context] Protcode for context

2010-05-20 Thread John Culleton
On Thursday 20 May 2010 11:37:15 Taco Hoekwater wrote: John Culleton wrote: The following works for pdftex -- \rm \pdfadjustspacing=2 \input protcode.tex \pdfprotrudechars=2 \setprotcode\font \pdffontexpand\rm 20 20 5 autoexpand \rm is not a

Re: [NTG-context] Protcode for context

2010-05-20 Thread John Culleton
On Thursday 20 May 2010 19:56:00 John Culleton wrote: On Thursday 20 May 2010 11:37:15 Taco Hoekwater wrote: John Culleton wrote: The following works for pdftex -- \rm \pdfadjustspacing=2 \input protcode.tex \pdfprotrudechars=2

Re: [NTG-context] How to place a (right) brace in a TABLE?

2010-05-20 Thread Vladimir Lomov
** Wolfgang Schuster [2010-05-20 13:04:15 +0200]: '' = Wolfgang Schuster '' = Vladimir Lomov Hi. (Sorry for unclear question in topic.) I want to put a brace (right or left isn't matter now) in a TABLE (may be another table environment) like in below scheme a11 a12| a13 a21 a22| a23 a31 a32

[NTG-context] Lua and metapost

2010-05-20 Thread Shiv Shankar Dayal
Hi all, Since ConTeXt has LuaTeX and it contains Lua interpreter so I wonder if it is possible to write Lua code which can generate Metapost code for graphics. MetaLua can also help here. However, I do not know how to develop a Lua library which can be integrated with ConTeXt but then again I

Re: [NTG-context] Lua and metapost

2010-05-20 Thread Shiv Shankar Dayal
Hi, Please discard previous mail as I did not know about MPlib. On Fri, May 21, 2010 at 12:48 AM, Shiv Shankar Dayal shivshankar.da...@gmail.com wrote: Hi all, Since ConTeXt has LuaTeX and it contains Lua interpreter so I wonder if it is possible to write Lua code which can generate