[NTG-context] Turn Off Header and Footer

2011-07-17 Thread Bene dikt
Hi, I'm writing a report about my internship at the moment with ConTeXt. There's one problem: I would like to turn off the header and footer on the page with the table of contents. I've found the command \page[header,footer] but it has no effect. :( Command reference for \page command:

Re: [NTG-context] Turn Off Header and Footer

2011-07-17 Thread Wolfgang Schuster
Am 16.07.2011 um 15:51 schrieb Bene dikt: Hi, I'm writing a report about my internship at the moment with ConTeXt. There's one problem: I would like to turn off the header and footer on the page with the table of contents. I've found the command \page[header,footer] but it has no

Re: [NTG-context] Fw: A question about layers

2011-07-17 Thread Wolfgang Schuster
Am 16.07.2011 um 19:35 schrieb Marcin Borkowski: Anybody help, please...? Layers are objects which can be placed on any place of the page. The difference between \setupbackgrounds and \flushlayer can be seen in the example below. With \setupbackground the layer content is put on the requested

Re: [NTG-context] about suppressing prefix in section number

2011-07-17 Thread Jeong Dalyoung
Dear Wolfgang, Thank you for the solutions. But for the question 2, I didn't explain well what I want to. Actually, the codes \def\circlednum#1{\uchar{36}{95+#1}} \defineconversion[cnum][\circlednum] working well by saying that \startitemize[cnum][stopper=] ... And, your suggested method

Re: [NTG-context] about suppressing prefix in section number

2011-07-17 Thread Wolfgang Schuster
Am 17.07.2011 um 13:16 schrieb Jeong Dalyoung: Dear Wolfgang, Thank you for the solutions. But for the question 2, I didn't explain well what I want to. Actually, the codes \def\circlednum#1{\uchar{36}{95+#1}} \defineconversion[cnum][\circlednum] working well by saying that

[NTG-context] Finding values ​​of the context macros inside Lua functions (=expansion inside Lua functions?)

2011-07-17 Thread Jaroslav Hajtmar
Hello all, For several hours trying to find solutions of problem. My minimal example (I mention it at the end of email) for clear reasons show, that : 7 is not number. 7 is number. 7is not number. 7is not number. In the first is argument '\value' negotiable to the value, in second it is

Re: [NTG-context] Finding values ​​of the context macros inside Lua functions (=expansion inside Lua functions?)

2011-07-17 Thread Wolfgang Schuster
Am 17.07.2011 um 14:01 schrieb Jaroslav Hajtmar: Hello all, For several hours trying to find solutions of problem. My minimal example (I mention it at the end of email) for clear reasons show, that : 7 is not number. 7 is number. 7is not number. 7is not number. In the first is

Re: [NTG-context] Finding values ​​of the context macros inside Lua functions (=expansion inside Lua functions?)

2011-07-17 Thread Jaroslav Hajtmar
Thanx Wolfgang. But I guess I was wrong to express.. I need to pass parameter '\\macroI' to the function and turn it up a inside luafunction expand to its value. Ie when \def\macroI{6} Then I need when I make in your example \ctxlua{test(\\macroI)} get the result : The argument “6” is a

Re: [NTG-context] Finding values ​​of the context macros inside Lua functions (=expansion inside Lua functions?)

2011-07-17 Thread Wolfgang Schuster
Am 17.07.2011 um 14:42 schrieb Jaroslav Hajtmar: Thanx Wolfgang. But I guess I was wrong to express.. I need to pass parameter '\\macroI' to the function and turn it up a inside luafunction expand to its value. Not possible. Ie when \def\macroI{6} Then I need when I make in your

Re: [NTG-context] Finding values ​​of the context macros inside Lua functions (=expansion inside Lua functions?)

2011-07-17 Thread Jaroslav Hajtmar
Wolfgang, Me too. This is because the parameter '\macroI' is evaluated as a number, but the parameter '\\macroI' is in fact really a string - the name of a context macro. context (...) command properly put correctly content of the '\macroI' macro into the ConTeXt, but without knowledge of

Re: [NTG-context] Finding values ​​of the context macros inside Lua functions (=expansion inside Lua functions?)

2011-07-17 Thread Wolfgang Schuster
Am 17.07.2011 um 15:10 schrieb Jaroslav Hajtmar: then it's not for me very good news, because I thus probably not my module to process only at the Lua language ... You can’t expand macro from Lua but the following is possible: \startluacode values = { I = 1, II = 2, }

Re: [NTG-context] Finding values ​​of the context macros inside Lua functions (=expansion inside Lua functions?)

2011-07-17 Thread Jaroslav Hajtmar
Thanx Wolfgang. It is a good example, which I will definitely come in handy sometimes, but unfortunately I can not help my problem to solve. Once again, many thanks Jaroslav Dne 17.7.2011 15:40, Wolfgang Schuster napsal(a): You can’t expand macro from Lua but the following is possible:

[NTG-context] Heading with linebreaks in pdf bookmarks: linebreak sign stays

2011-07-17 Thread Peter Schorsch
Hi, as soon I have a linebreak inside a heading via \\ I get this \\ also in the text of that heading in the pdf-bookmarks: \setupinteraction[state=start] \placebookmarks[chapter,section,subsection][chapter,section] \starttext \completecontent[criterium=all] \chapter{A very,\\very long long

[NTG-context] setup-en.pdf

2011-07-17 Thread Wolfgang Schuster
Hi, there are many unwanted line breaks in the command reference. \usemodule[set-11]\loadsetups[cont-en.xml] \starttext \setup[definehead] \stoptext Wolfgang ___ If your question is of interest to others as well,

Re: [NTG-context] Heading with linebreaks in pdf bookmarks: linebreak sign stays

2011-07-17 Thread Thomas A. Schmitz
On 7/17/11 4:51 PM, Peter Schorsch wrote: Hi, as soon I have a linebreak inside a heading via \\ I get this \\ also in the text of that heading in the pdf-bookmarks: \setupinteraction[state=start] \placebookmarks[chapter,section,subsection][chapter,section] \starttext

Re: [NTG-context] about suppressing prefix in section number

2011-07-17 Thread Jeong Dalyoung
Dear Wolfgang, \setupitemgroup[ltxitm][3][circlednumber,packed][stopper=] It is working. It depends on the fonts. Also, \def\circlednum#1{\uchar{36}{95+#1}} \defineconversion[cnum][\circlednum] \defineitemgroup[txitm][levels=5] % \setupitemgroup[txitm][1][R] \setupitemgroup[txitm][2][a]

[NTG-context] right and left alignment in header w/ linebreak sign

2011-07-17 Thread Peter Schorsch
Hi, I am trying to have the header text aligned at the outer border of margin. At the moment I have \setupheadertexts[margin][][\rightaligned{\CurrentChapter}][\leftaligned{\CurrentChapter}][] and in the text \chapter{A very, very long long heading} and it works like I

Re: [NTG-context] Heading with linebreaks in pdf bookmarks: linebreak sign stays

2011-07-17 Thread Wolfgang Schuster
Am 17.07.2011 um 16:51 schrieb Peter Schorsch: Hi, as soon I have a linebreak inside a heading via \\ I get this \\ also in the text of that heading in the pdf-bookmarks: \setupinteraction[state=start] \placebookmarks[chapter,section,subsection][chapter,section] \starttext

Re: [NTG-context] right and left alignment in header w/ linebreak sign

2011-07-17 Thread Wolfgang Schuster
Am 17.07.2011 um 17:48 schrieb Peter Schorsch: % define header \define\CurrentChapter% {\doiftextelse {\getmarking[chapternumber]}% {\getmarking[chapternumber].~\getmarking[chapter]}% {\getmarking[chapter]}% } \appendtoks\def\\{

Re: [NTG-context] Fw: A question about layers

2011-07-17 Thread Willi Egger
In addition to my previous mail there is also an article published in the MAPS39 which shows an example of using layers. You can download it from here : http://www.ntg.nl/maps/39/ (Willi Egger, Decorating CD-ROMs and DVDs (English), MAPS 39, 2009, 59-71) Willi On 16 Jul 2011, at 19:35, Marcin

[NTG-context] Making bibliography references interactive in mkiv

2011-07-17 Thread Christian
Hello list, I'm currently using the built in bib-module in mkiv together with a bib database file. How can I set it up so that clicking on a reference takes me to the corresponding entry in the publication list? Example: ...lots of text... You can find more information in [23]. ...many more

Re: [NTG-context] inner/outer margin: wrong width at double sided

2011-07-17 Thread Peter Schorsch
Hi, sorry that I repeat my question but I have really no idea how to solve this. When I use \ininner and \inouter directly, always the correct width is used. \ininner{X X X X X X X X X X X X}\inouter{M M M M M M M M M M M M }\input tufte But as soon I put it into a function the

[NTG-context] math-align / subformulas not working

2011-07-17 Thread Peter Schorsch
Hi, I just tried an example from math-ali.mkiv: \starttext \placeformula \startformula \startalign \NC a \NC \eq b \NR[+] \NC c \NC \neq d \NR \NC \NC \neq f \NR[+] \NC \NC \geq g \NR[+][a] \NC \NC \leq

Re: [NTG-context] Making bibliography references interactive in mkiv

2011-07-17 Thread 李延瑞
2011/7/18 Christian meta...@gmx.de: Hello list, I'm currently using the built in bib-module in mkiv together with a bib database file. How can I set it up so that clicking on a reference takes me to the corresponding entry in the publication list? maybe '\setupinteraction[state=start,

[NTG-context] unwanted page break

2011-07-17 Thread Jeong Dalyoung
Dear all, I have a strange output today. Writing a sentences, it makes a page break even though there are enough space for the remaining sentences. Here are sample output.(the lines is a frame) As you see there are enough space, I think. inline: bottom.tiff inline: topnewpage.jpg Sometimes,