Re: [NTG-context] footnotes setup

2012-03-18 Thread Wolfgang Schuster
Am 17.03.2012 um 20:38 schrieb Honza Hejzl: Hi, I have installed the last standalone version from contextgarden and oops, my (few days) old file does not work properly. My old setup of footnotes was like: \setupfootnotedefinition[loaction=page...] \setupfootnotes[bodyfontsize=8pt,

Re: [NTG-context] Color Lost when Using 'texexec' vs 'context'

2012-03-18 Thread Wolfgang Schuster
The reason I switched to texexec was this (from the Context Manual: During the processing of itemizations the number of items is counted. This is the case with all versions. The next pass this information is used to determine the optimal location to start a new page. So do not despair when

Re: [NTG-context] interactive pdf with rotated buttons don't work

2012-03-18 Thread Jan Heinen
Good morning :-) I am still not able to rotate the buttons without loosing the hyperlinks; see code at the bottom. And I have an extra question: How can I make a linebreak after each button. I have tried \crlf and \par before every \button ... it's not working :-( Best wishes, Janis --

[NTG-context] OT: Problem with writing macros into variables in LuaTeX

2012-03-18 Thread Jaroslav Hajtmar
Hello Gurus. Sorry for OT, but I solve one problem in parallel in ConTeXt and pure LuaTeX too and I got into trouble. I have a problem in LuaTEX with putting macro name into global variables and their re-listing. In ConTeXt, the problem is not with it. Here is my minimal LuaTeX example:

Re: [NTG-context] OT: Problem with writing macros into variables in LuaTeX

2012-03-18 Thread Hans Hagen
On 18-3-2012 11:25, Jaroslav Hajtmar wrote: Hello Gurus. Sorry for OT, but I solve one problem in parallel in ConTeXt and pure LuaTeX too and I got into trouble. I have a problem in LuaTEX with putting macro name into global variables and their re-listing. In ConTeXt, the problem is not with it.

Re: [NTG-context] OT: Problem with writing macros into variables in LuaTeX

2012-03-18 Thread Wolfgang Schuster
Am 18.03.2012 um 11:25 schrieb Jaroslav Hajtmar: Hello Gurus. Sorry for OT, but I solve one problem in parallel in ConTeXt and pure LuaTeX too and I got into trouble. I have a problem in LuaTEX with putting macro name into global variables and their re-listing. In ConTeXt, the problem is

Re: [NTG-context] interactive pdf with rotated buttons don't work

2012-03-18 Thread Wolfgang Schuster
Am 18.03.2012 um 02:30 schrieb Jan Heinen: Hello, I built an interactive PDF with some buttons. Without rotation everithing works. But with rotation the hyperlinks are gone: The hyperlinks are in the file but not at the same position as the graphics, move the mouse on a line below the

Re: [NTG-context] footnotes setup

2012-03-18 Thread Alan Braslau
On Sun, 18 Mar 2012 07:56:30 +0100 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 17.03.2012 um 20:38 schrieb Honza Hejzl: Hi, I have installed the last standalone version from contextgarden and oops, my (few days) old file does not work properly. My old setup of

Re: [NTG-context] OT: Problem with writing macros into variables in LuaTeX

2012-03-18 Thread Jaroslav Hajtmar
Thanx Wolfgang. Great - now it works. Hans' advice with \show command I'm not able to understand and implement it. One more thanx Jaroslav Hajtmar Dne 18.3.2012 12:33, Jaroslav Hajtmar napsal(a): Thanx Wolfgang. Great - now it works. Hans' advice with \show command I'm not able to

Re: [NTG-context] interactive pdf with rotated buttons don't work

2012-03-18 Thread Jan Heinen
Hello Wolfgang, I like your solution and will take it. For everyone who engages with this issue here is my own less elegant solution: \definelayer [Kontaktdaten] [state=start]% \setupbackgrounds [page] [ background=Kontaktdaten, state=start]% \setupinteraction[state=start]

Re: [NTG-context] OT: Problem with writing macros into variables in LuaTeX

2012-03-18 Thread luigi scarso
On Sun, Mar 18, 2012 at 1:40 PM, Jaroslav Hajtmar hajt...@gyza.cz wrote: Thanx Wolfgang. Great - now it works. Hans' advice with \show command  I'm not able to understand and implement it. context \\starttext\\show\\\alpha\\stoptext shows \alpha=\Umathchar703B1 The same command in luatex

Re: [NTG-context] OT: Problem with writing macros into variables in LuaTeX

2012-03-18 Thread Jaroslav Hajtmar
Thanks Wolfgang, these are very valuable tips for me for the future. I put them to special document for later use. Thanks again for the valuable advice. Jaroslav Hajtmar Dne 18.3.2012 14:00, Wolfgang Schuster napsal(a): Am 18.03.2012 um 13:48 schrieb Jaroslav Hajtmar: Thanx

Re: [NTG-context] OT: Problem with writing macros into variables in LuaTeX

2012-03-18 Thread Jaroslav Hajtmar
Thanks Luigi for the explanation - I understand now... Jaroslav Hajtmar Dne 18.3.2012 14:14, luigi scarso napsal(a): On Sun, Mar 18, 2012 at 1:40 PM, Jaroslav Hajtmarhajt...@gyza.cz wrote: Thanx Wolfgang. Great - now it works. Hans' advice with \show command I'm not able to understand

[NTG-context] walking xmltree?

2012-03-18 Thread Meer, H. van der
Is there a single macro/setup that walks the xml-tree, visiting each node? Either in preorder, inorder or postorder? Thus instead of: \xmlfilter{#1}{./command(xml:thecommand)} \xmlfilter{#1}{./*/command(xml:thecommand)} \xmlfilter{#1}{./*/*/command(xml:thecommand)}

[NTG-context] (no subject)

2012-03-18 Thread Alan Bowen
In placing the heads and subheads of indices, \index defaults to Headlocator Head subheadlocator I need to get the subhead without repeating the Head, as in Headlocator subheadlocator How can I do this? Is there some documentation on this that I can read? Alan

Re: [NTG-context] footnotes setup

2012-03-18 Thread Steffen Wolfrum
Am 18.03.2012 um 13:14 schrieb Alan Braslau: On Sun, 18 Mar 2012 07:56:30 +0100 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 17.03.2012 um 20:38 schrieb Honza Hejzl: Hi, I have installed the last standalone version from contextgarden and oops, my (few days) old file

[NTG-context] \startxmlsetups: extra parameters?

2012-03-18 Thread Meer, H. van der
The \startxmlsetups definition has under #1 the current xml node available. Is it possible to add one or more parameters? Such that for example \xmlcommand{node}{lpath}{command {#1}{#2}…? } can be called with extra parameters? Hans van der Meer

Re: [NTG-context] is there a reason not to fix this bug?

2012-03-18 Thread Pablo Rodríguez
On 12/03/12 08:58, Hans Hagen wrote: On 10-3-2012 21:57, Pablo Rodríguez wrote: Dear community, Wolfgang kindly suggested this fix (that works also with beta from today): strc-lst.mkvi: 1 - comment (for a while) 2 - remove (as no longer relevant) 3 - repair (because broken) it needs

Re: [NTG-context] footnotes setup

2012-03-18 Thread Pablo Rodríguez
On 18/03/12 07:56, Wolfgang Schuster wrote: The command \setupnotedefinition (where \setupfootnotedefinition is a shortcut for \setupnotedefinition[footnote]) is now \setupnotation and “location=serried” is now “alternative=serried”. The \setupnote command (\setupfootnotes is

[NTG-context] bug in linenote number=no?

2012-03-18 Thread Pablo Rodríguez
Hi there, I guess I have found a bug in the latest beta with number=no for linenotes. \setupnotation[footnote][location=columns,number=no] \definelinenote[dict] \setupnotation[dict][number=no] \starttext \dorecurse{10}{a\footnote{b}\dict{c}} \stoptext BTW, is there a way to have footnotes (or

[NTG-context] indexing query

2012-03-18 Thread Alan Bowen
Sorry: My effort escaped without a subject line. In placing the heads and subheads of indices, \index defaults to Headlocator Head subheadlocator I need to get the subhead without repeating the Head, as in Headlocator subheadlocator How can I do this? Is there some

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-18 Thread Pablo Rodríguez
On 06/03/12 20:27, luigi scarso wrote: 2012/3/6 Pablo Rodríguez oi...@web.de mailto:oi...@web.de On page 7 lines are numbered from lowest to highest values. A purist might consider this wrong, but this is unlikely to happen on a real book, since (I guess) line numbers on headers

Re: [NTG-context] walking xmltree?

2012-03-18 Thread Hans Hagen
On 18-3-2012 15:16, Meer, H. van der wrote: Is there a single macro/setup that walks the xml-tree, visiting each node? Either in preorder, inorder or postorder? Thus instead of: \xmlfilter{#1}{./command(xml:thecommand)} \xmlfilter{#1}{./*/command(xml:thecommand)}

[NTG-context] Translate tooltip on button in pdf

2012-03-18 Thread Jan Heinen
Hello how to change the tooltipps from english First page to german Erste Seite? \setupinteraction[state=start] \starttext \button {\scale[height=2em] {\symbol[navigation 1][nextpage]}} [NextPage] \page \button {\scale[height=2em] {\symbol[navigation 1][previouspage]}} [PreviousPage]

[NTG-context] hbadness crippled?

2012-03-18 Thread Meer, H. van der
Setting the distance parameter for item list to something greater than zero: \setupitemgroup[itemize][each][joinedup,packed][distance=3pt] generates in item lists overfull boxes: Overfull \hbox (3.0pt too wide). (1) At the time I teached programming we always learned students Silence the

Re: [NTG-context] hbadness crippled?

2012-03-18 Thread Wolfgang Schuster
Am 18.03.2012 um 19:56 schrieb Meer, H. van der: Setting the distance parameter for item list to something greater than zero: \setupitemgroup[itemize][each][joinedup,packed][distance=3pt] generates in item lists overfull boxes: Overfull \hbox (3.0pt too wide). (1) At the time I teached

Re: [NTG-context] Translate tooltip on button in pdf

2012-03-18 Thread Wolfgang Schuster
Am 18.03.2012 um 19:08 schrieb Jan Heinen: Hello how to change the tooltipps from english First page to german Erste Seite? \setupinteraction[state=start] \starttext \button {\scale[height=2em] {\symbol[navigation 1][nextpage]}} [NextPage] \page \button {\scale[height=2em]

[NTG-context] Context getting in a loop?

2012-03-18 Thread Willi Egger
Dear all, Yesterday I updated my OSX to Lion. - Now I try to compile a project (Hufbeschlag). I can compile all components (some 20) individually without any problem. When trying to do the whole project context seems to run into a loop. Has anyone else encountered such a problem? Any hint

Re: [NTG-context] Context getting in a loop?

2012-03-18 Thread Wolfgang Schuster
Am 18.03.2012 um 21:19 schrieb Willi Egger: Dear all, Yesterday I updated my OSX to Lion. - Now I try to compile a project (Hufbeschlag). I can compile all components (some 20) individually without any problem. When trying to do the whole project context seems to run into a loop. Has

Re: [NTG-context] footnotes setup

2012-03-18 Thread Wolfgang Schuster
Am 18.03.2012 um 13:14 schrieb Alan Braslau: On Sun, 18 Mar 2012 07:56:30 +0100 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 17.03.2012 um 20:38 schrieb Honza Hejzl: Hi, I have installed the last standalone version from contextgarden and oops, my (few days) old file

Re: [NTG-context] indexing query

2012-03-18 Thread Wolfgang Schuster
Am 18.03.2012 um 17:38 schrieb Alan Bowen: Sorry: My effort escaped without a subject line. In placing the heads and subheads of indices, \index defaults to Headlocator Head subheadlocator I need to get the subhead without repeating the Head, as in Headlocator

Re: [NTG-context] indexing query

2012-03-18 Thread Alan Bowen
To answer my own question, after experimentation: \index[key]{form::entry} with \setupregister[index][form][textstyle=\hskip1em] A. On Sun, Mar 18, 2012 at 12:38 PM, Alan Bowen bowenala...@gmail.com wrote: Sorry: My effort escaped without a subject line. In placing the heads and subheads

Re: [NTG-context] indexing query

2012-03-18 Thread Alan Bowen
Sorry for the bother, Wolfgang. I think I have the answer now (see my message earlier by about 30 seconds). I had not realized that the textstyle key in \setupregister could take a command for positioning the head as well as its actual style. Alan On Sun, Mar 18, 2012 at 5:00 PM, Wolfgang

Re: [NTG-context] indexing query

2012-03-18 Thread Wolfgang Schuster
Am 18.03.2012 um 22:11 schrieb Alan Bowen: Sorry for the bother, Wolfgang. I think I have the answer now (see my message earlier by about 30 seconds). I had not realized that the textstyle key in \setupregister could take a command for positioning the head as well as its actual style.

Re: [NTG-context] Context getting in a loop?

2012-03-18 Thread Willi Egger
Hi Wolfgang, I have to see what that problem means. In the meantime I gave the laptop a time-out and restarted it. - At this moment it runs ok again. What happened after my mail is, that Acrobat started to not respond when I tried a print of a single page, then preview did not find the

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-18 Thread luigi scarso
2012/3/18 Pablo Rodríguez oi...@web.de: On 06/03/12 20:27, luigi scarso wrote: 2012/3/6 Pablo Rodríguez oi...@web.de mailto:oi...@web.de     On page 7 lines are numbered from lowest to highest values. A purist     might consider this wrong, but this is unlikely to happen on a real     book,

Re: [NTG-context] footnotes setup

2012-03-18 Thread Alan Braslau
On Sun, 18 Mar 2012 21:59:17 +0100 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: 2. Many of the \define… and \setup… commands are now auto generated from \installcommandhandler which generates only one setup-command which can be used for global (i.e. \setup…[..,..=..,..]) and

[NTG-context] \placeinitial or texbackground bug (interference)

2012-03-18 Thread Alan Braslau
It took me quite a while to hunt this down... The use of a text background breaks \placeinitial. I do not have a patch, but at least can provide a minimal example: \definetextbackground [SetOff] [location=paragraph] \starttext \placeinitial \input tufte \startSetOff \input ward \stopSetOff

Re: [NTG-context] Itemize without page break

2012-03-18 Thread Kip Warner
On Sat, 2012-03-17 at 11:21 +0100, Wolfgang Schuster wrote: Am 17.03.2012 um 10:21 schrieb luigi scarso: On Sat, Mar 17, 2012 at 2:47 AM, Kip Warner k...@thevertigo.com wrote: Hey list, Is there any way to hint to ConTeXt that the contents of a \startitemize \stopitemize pair should

Re: [NTG-context] Itemize without page break

2012-03-18 Thread luigi scarso
On Mon, Mar 19, 2012 at 12:25 AM, Kip Warner k...@thevertigo.com wrote: On Sat, 2012-03-17 at 11:21 +0100, Wolfgang Schuster wrote: Am 17.03.2012 um 10:21 schrieb luigi scarso: On Sat, Mar 17, 2012 at 2:47 AM, Kip Warner k...@thevertigo.com wrote: Hey list, Is there any way to hint to

Re: [NTG-context] Itemize without page break

2012-03-18 Thread Kip Warner
On Sun, 2012-03-18 at 16:25 -0700, Kip Warner wrote: On Sat, 2012-03-17 at 11:21 +0100, Wolfgang Schuster wrote: Am 17.03.2012 um 10:21 schrieb luigi scarso: On Sat, Mar 17, 2012 at 2:47 AM, Kip Warner k...@thevertigo.com wrote: Hey list, Is there any way to hint to ConTeXt that

Re: [NTG-context] indexing query

2012-03-18 Thread Alan Bowen
OK: That does not sound good, so back to basics then. Here is a test file. Perhaps the problem lies in how I am defining my keys. % with MKII the output is fine, but no contrastcolor % with MKIV subentry/subsubentry are not placed properly