Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-19 Thread Hans Hagen via ntg-context
On 3/18/2022 8:29 PM, Willi Egger via ntg-context wrote: Good evening! I have a dictionary where I would like to include thumb-pictures in the margin. — When I use the attached code with a single \startchapter...\stopchapter, it works. However if I add another \startchapter…\stopchapter

Re: [NTG-context] \setupheadertexts for chapters with different authors

2022-03-19 Thread Henning Hraban Ramm via ntg-context
Hi Julian, you’re right, the example didn’t do what you wanted, and it didn’t intend to. Using \getmarking you can get a section title (or another “mark”), you can’t combine it with the variable commands, and you don’t need it for your case.

Re: [NTG-context] \setupheadertexts for chapters with different authors

2022-03-19 Thread Hans Hagen via ntg-context
On 3/19/2022 10:18 AM, Henning Hraban Ramm via ntg-context wrote: BTW, I can’t remember when you need \structurevariable vs. \namedstructurevariable... the first is the current, the second a specific one ... so current can be subsubsubsubsubsection but with named you can still get the current

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-19 Thread Otared Kavian via ntg-context
Hi Willi, Your test file works fine if I place \setups{Thumb-pictures} before \starttext (using version 2022.03.12 17:56 LMTX). However in the file you sent the choice of the command \setups{Thumb-pictures} is between chapter A and B, which seems starnge to me... Best regards:

[NTG-context] Metafun, difficulty with graphical element in the margin, again.

2022-03-19 Thread Willi Egger via ntg-context
Hello, I am a little desperate… I have installed in a new directory the latest version of ConTeXt. I run the sample file I provided before. After enabling a second chapter-section before the \setups{Thumb-picture} the metafun error reoccurs. — Looking at the log I do net get really wiser,

Re: [NTG-context] \setupheadertexts for chapters with different authors

2022-03-19 Thread jbf via ntg-context
Thanks for the bits and pieces to the puzzle. I'll do my best to make sense of them and solve the problem. Julian On 19/3/22 20:18, Henning Hraban Ramm via ntg-context wrote: Hi Julian, you’re right, the example didn’t do what you wanted, and it didn’t intend to. Using \getmarking you can

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-19 Thread Willi Egger via ntg-context
Hello Otared, thanks so much for your testing and comments. — Tthe problem is, that this thumb-picture should only be placed in the \startboydmatter..\stopbodymatter sections. In the case of this book however there are the title pages and quite some text including the TOC in the

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-19 Thread Otared Kavian via ntg-context
Hi Willi, How about invoking the command \setups{Thumb-pictures} between a \start \stop pair as in the following: \showframe \starttext \startfrontmatter \startchapter[title=Test A] \samplefile{knuth} \stopchapter \stopfrontmatter %\page[yes] \start \setups{Thumb-pictures}