Re: [NTG-context] structureuservariable in ToC

2018-01-23 Thread Henning Hraban Ramm
Am 2018-01-23 um 21:24 schrieb Wolfgang Schuster : >> Henning Hraban Ramm 14. Januar 2018 um 21:44 >> Now, my second issue with user variables: >> >> """ >> \define[1]\ChapterTocEntry{% >>

[NTG-context] Fwd: Correct usage of \placebookmarks

2018-01-23 Thread Lars
Bumb Weitergeleitete Nachricht Betreff:Correct usage of \placebookmarks Datum: Thu, 18 Jan 2018 21:03:41 +0100 Von:Lars An: ntg-context@ntg.nl Hello there, I've stumbled upon a behaviour in CTX that I don't fully understand. My goal

Re: [NTG-context] Error at \stoplines

2018-01-23 Thread Aditya Mahajan
On Tue, 23 Jan 2018, Henning Hraban Ramm wrote: Am 2018-01-23 um 10:29 schrieb r.erm...@hccnet.nl: in my current project, every time I use \startlines .. \stoplines (for poems), I run into this error: structure > sectioning > chapter @ level 2 : 5.2 -> Example tex error > tex

[NTG-context] chapter setup with subtitle in margin

2018-01-23 Thread Henning Hraban Ramm
Hi again, I have this nice/complicated chapter setup (see attachments): Chapter titleChapter subtitle can have several lines in margin smaller font Three problems I cannot get rid of: - There’s always an indent in front of the

Re: [NTG-context] notes in the margin

2018-01-23 Thread Henning Hraban Ramm
These issues are still open, I attached my current test file. 1) There’s always space/indent in front of the note text, I’d like to get rid of that. Notes should look like: texttext text texttext12 text 12 text texttext Some remarks But at the moment they’re like: texttext text

Re: [NTG-context] structureuservariable in ToC

2018-01-23 Thread Wolfgang Schuster
Henning Hraban Ramm 14. Januar 2018 um 21:44 Now, my second issue with user variables: """ \define[1]\ChapterTocEntry{% \doifnotempty{\structureuservariable{author}}{\structureuservariable{author}\crlf }% #1%

Re: [NTG-context] structureuservariable in ToC

2018-01-23 Thread Henning Hraban Ramm
Some hint on that would be nice. Is it maybe related to the "Registers and getparameters" problem? I tried a few things WRT expansion, but it seems like I didn’t find the right command in the right place. Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net GPG Key ID

Re: [NTG-context] Error at \stoplines

2018-01-23 Thread Henning Hraban Ramm
Am 2018-01-23 um 10:29 schrieb r.erm...@hccnet.nl: >> in my current project, every time I use \startlines .. \stoplines (for >> poems), I run into this error: >> structure > sectioning > chapter @ level 2 : 5.2 -> Example >> tex error > tex error on line 27 in file ka34/c_example.tex:

Re: [NTG-context] Registers and getparameters

2018-01-23 Thread Otared Kavian
On 23 Jan 2018, at 10:19, Hans Hagen wrote: > > On 1/22/2018 8:26 PM, Wolfgang Schuster wrote: >>> […] >> You have to add \expanded, i.e. \expanded{\speakers{...}}. > > or maybe try the 'expanded' option > > \setupregister > [speakers] > [style=sansbold, > n=2, >

Re: [NTG-context] Error at \stoplines

2018-01-23 Thread r . ermers
Hi Hraban, try: 1. count the number of \startlines, do this with grep -e '^\\startlines' | wc | less 2. count the number of \stoplines, do this with grep -e ‘^\\stoplines' | wc | less The resulting counts obviously have to be the same. If they are not, you can (again with grep -e) extract

Re: [NTG-context] Registers and getparameters

2018-01-23 Thread Hans Hagen
On 1/22/2018 8:26 PM, Wolfgang Schuster wrote: Otared Kavian 22. Januar 2018 um 19:53 Hi all, I have a list of speakers (and abstracts of their talk) in a rather long document, and the name of each speaker is written to a register named speakers. Then with the

[NTG-context] Error at \stoplines

2018-01-23 Thread Henning Hraban Ramm
Hi, in my current project, every time I use \startlines .. \stoplines (for poems), I run into this error: """ structure > sectioning > chapter @ level 2 : 5.2 -> Example tex error > tex error on line 27 in file ka34/c_example.tex: ! Extra }, or forgotten \endgroup \egroup