Re: [NTG-context] letters in context mkiv

2017-08-01 Thread r . ermers
Thanks Wolfgang and Thomas, The solutions of both of you function! Thank you! Robert > Op 1 aug. 2017, om 13:17 heeft Schmitz Thomas A. > het volgende geschreven: > > >> On 1. Aug 2017, at 12:15, r.erm...@hccnet.nl wrote: >> >> While understanding what it

Re: [NTG-context] letters in context mkiv

2017-08-01 Thread Schmitz Thomas A.
> On 1. Aug 2017, at 12:15, r.erm...@hccnet.nl wrote: > > While understanding what it means, I guess this might imply that it is > difficult (?) or impossible (?) to correctly process files such as the knuth > text and for that matter any other letter text that contains regular Context >

Re: [NTG-context] letters in context mkiv

2017-08-01 Thread r . ermers
Your suggestion with foregroundstyle and foregroundcolor works. Thank you! \setlayer[AddressBg] {\framed[width=55mm,height=30mm, align=right,background=color, backgroundcolor=lightgray, foregroundcolor=red,foregroundstyle=\ss\tfa]{\xmlall{#1}{/address}}} My question (my ’need’) was quite

Re: [NTG-context] letters in context mkiv

2017-08-01 Thread Schmitz Thomas A.
> However, the color and style instructions (\ss\tfa) have no effect. I tried > to solve that, as a first step, by putting \ss before the \xmlall instruction: > > \startxmlsetups xlm:contact > \setlayer[AddressBg] {\framed[width=55mm,height=30mm, > align=right,background=color, >

Re: [NTG-context] letters in context mkiv

2017-08-01 Thread r . ermers
Hi Thomas, Thanks for your new suggestions. As a matter of fact, I yesterday found the following suggestion (http://wiki.contextgarden.net/Layers): \definelayer[AddressBg] [location={right,top}, y=6cm, x=12cm, color=red, style=\ss\tfa]. I used this in the sample suggested by you

Re: [NTG-context] letters in context mkiv

2017-07-31 Thread Schmitz Thomas A.
> On 31. Jul 2017, at 18:58, r.erm...@hccnet.nl wrote: > > Would it be wise to perhaps follow the path set out by Thomas? In that case > there should be a way to shift the address. What efforts have you made to “shift the address”? Here is one way: \startbuffer[participants] Hendriks

Re: [NTG-context] letters in context mkiv

2017-07-31 Thread Pablo Rodriguez
On 07/31/2017 06:58 PM, r.erm...@hccnet.nl wrote: > Dear Pablo, > > Thank you for your insightful remarks. I tried your suggestions. As > you predicted, the Knuth tex is processed when put here, without using > the buffer mechanism. Dear Robert, it wasn’t a prediction, I tested it myself ;-).

Re: [NTG-context] letters in context mkiv

2017-07-31 Thread r . ermers
Dear Pablo, Thank you for your insightful remarks. I tried your suggestions. As you predicted, the Knuth tex is processed when put here, without using the buffer mechanism. \startsetups[letter:section:content] \input knuth \relax \stopsetups Yet any codes (\TeX\) are not. Nevertheless, I

Re: [NTG-context] letters in context mkiv

2017-07-31 Thread Pablo Rodriguez
On 07/31/2017 12:48 PM, r.erm...@hccnet.nl wrote: > Dear Contex’ers, > > This morning I have been experimenting with the solutions suggested by > Thomas and Wolfgang. > > Thomas’ solution works, it produces two distinct letters, yet the > address is probably on another layer. This means that it

Re: [NTG-context] letters in context mkiv

2017-07-31 Thread r . ermers
Dear Contex’ers,This morning I have been experimenting with the solutions suggested by Thomas and Wolfgang.Thomas’ solution works, it produces two distinct letters, yet the address is probably on another layer. This means that it is not shifted to the right, at least not with the command

Re: [NTG-context] letters in context mkiv

2017-07-31 Thread r . ermers
Thank you Thomas and Wolfgang, About startletter / starttext: the contents of my test file reflect a moment. I have made numerous tests with and without starttext/stoptext. The state of the test file is one in an endless row of tests. I am not without total experience in programing. I more or

Re: [NTG-context] letters in context mkiv

2017-07-30 Thread Schmitz Thomas A.
> On 30. Jul 2017, at 14:15, r.erm...@hccnet.nl wrote: > > Let me as a turcologist compare my problem to learning Kazakh: I am prepared > to give you a manual with the grammatical rules, provide you with lists of > nouns, verbs, adjectives and postpositions, explain the application of >

[NTG-context] letters in context mkiv

2017-07-30 Thread r . ermers
Dear Contex’ers,I still desperately need your help. I would like to use Context mkiv for compiling serial letters with an xml database of addresses. I used to do this in mkii.The problem may seem trivial to experienced programmers like yourselves, but yes, I am stuck.I have several mkiv manuals, I

[NTG-context] letters in context mkiv

2017-07-28 Thread r . ermers
Dear Contex’ers,I have used the letter module of mkii for serial letters with an xml database (see example), but now I would like to step forward to mkiv.I have found out how to process the xml data from an xml file (now in the buffer). The recipient’s address neatly shows up in the designed

[NTG-context] letters in context mkiv

2017-07-28 Thread r . ermers
Dear Contex’ers,I have used the letter module of mkii for serial letters with an xml database (see example), but now I would like to step forward to mkiv.I have found out how to process the xml data from an xml file (now in the buffer). The recipient’s address neatly shows up in the designed

[NTG-context] letters in context mkiv

2017-07-25 Thread r . ermers
Dear Contex’ers,I use Context for many things. One of them is letters.I have used the letter module of mkii with an xml database (see example), but now I would like to step forward to mkiv.I have found out how to process the xml data from an xml file (now in the buffer). The recipient’s address