Re: [NTG-context] extra line after switchtobodyfont

2013-05-07 Thread Hans Hagen
On 5/4/2013 6:59 PM, Wolfgang Schuster wrote: Am 04.05.2013 um 09:21 schrieb Aditya Mahajan adit...@umich.edu: On 2013-05-03, at 7:36 PM, Meer, H. van der h.vanderm...@uva.nl wrote: Seems finally solved (sigh). I cleaned out all files loading typescripts on the fly. - typescript macros

Re: [NTG-context] extra line after switchtobodyfont

2013-05-07 Thread Hans Hagen
On 5/7/2013 10:11 PM, Hans Hagen wrote: On 5/4/2013 6:59 PM, Wolfgang Schuster wrote: Am 04.05.2013 um 09:21 schrieb Aditya Mahajan adit...@umich.edu: On 2013-05-03, at 7:36 PM, Meer, H. van der h.vanderm...@uva.nl wrote: Seems finally solved (sigh). I cleaned out all files loading

Re: [NTG-context] extra line after switchtobodyfont

2013-05-04 Thread Aditya Mahajan
On 2013-05-03, at 7:36 PM, Meer, H. van der h.vanderm...@uva.nl wrote: Seems finally solved (sigh). I cleaned out all files loading typescripts on the fly. - typescript macros ending in ] at the end of a line have now ]% at the end of the line - empty lines have been removed for clarity

Re: [NTG-context] extra line after switchtobodyfont

2013-05-04 Thread Meer, H. van der
On 4 May 2013, at 9:21 AM, Aditya Mahajan adit...@umich.edu wrote: On 2013-05-03, at 7:36 PM, Meer, H. van der h.vanderm...@uva.nl wrote: Seems finally solved (sigh). I cleaned out all files loading typescripts on the fly. - typescript macros ending in ] at the end of a line have now ]%

Re: [NTG-context] extra line after switchtobodyfont

2013-05-04 Thread Sietse Brouwer
Hi Hans, everybody, Hans van der Meer wrote: Would be nice. But doing this is left to other people than me, I feel not qualified to tinker with that code. You would like to challenge Hans Hagen? Last week's thread about ligatures got unpleasantly close to flaming at times; so, just in case,

Re: [NTG-context] extra line after switchtobodyfont

2013-05-04 Thread Wolfgang Schuster
Am 04.05.2013 um 09:21 schrieb Aditya Mahajan adit...@umich.edu: On 2013-05-03, at 7:36 PM, Meer, H. van der h.vanderm...@uva.nl wrote: Seems finally solved (sigh). I cleaned out all files loading typescripts on the fly. - typescript macros ending in ] at the end of a line have now ]% at

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
There is more to it then a preference for \crlf, typescript loading introduces a lot of spurious white, that not always can be made to disappear. I tracked it down to a macro in type-ini.mkvi: \def\font_typescript_process_typescript_file_and_store

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Wolfgang Schuster
Am 03.05.2013 um 09:34 schrieb Meer, H. van der h.vanderm...@uva.nl: There is more to it then a preference for \crlf, typescript loading introduces a lot of spurious white, that not always can be made to disappear. I tracked it down to a macro in type-ini.mkvi:

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Wolfgang Schuster
Am 03.05.2013 um 09:34 schrieb Meer, H. van der h.vanderm...@uva.nl: There is more to it then a preference for \crlf […] \setupwhitespace[line] \starttext \subject{Regular paragraphs} Line 1\par \start \switchtobodyfont[termes] Line 2\par \stop Line 3 \subject{Packed paragraphs}

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
I did some more experiments. In the macro below delete ABC and replace D by ! then the output of the test will match. example1 is made with the type-imp-euler.mkiv as given below. I removed every space in it, ended every ] with a % and commented [texgyre] out. In the log can be seen that --as

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Wolfgang Schuster
Am 03.05.2013 um 11:19 schrieb Meer, H. van der h.vanderm...@uva.nl: I did some more experiments. In the macro below delete ABC and replace D by ! then the output of the test will match. example1 is made with the type-imp-euler.mkiv as given below. I removed every space in it, ended every

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
On 3 May 2013, at 12:28 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Do you mean the missing % after \doifsomething etc.? These lines don’t need a % because TeX gobbles the spaces between the arguments. I wasn't aware of that, but will remember. Any idea how further? More from

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
This might be interesting. The example I gave before was now typeset with type-imp-euler.mkiv cannibalized to \endinput in the very first line. Then there are no spurious spaces and 5 executions of the recursive loop from \t_font_typescripts. Thus, even though in type-imp-euler.mkiv all empty

Re: [NTG-context] extra line after switchtobodyfont

2013-05-03 Thread Meer, H. van der
Seems finally solved (sigh). I cleaned out all files loading typescripts on the fly. - typescript macros ending in ] at the end of a line have now ]% at the end of the line - empty lines have been removed for clarity - all files now have \endinput at the end. The files changed fit in a 54KB

Re: [NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Meer, H. van der
A call to \switchtobodyfont introduces extra vertical spacing as can be seen in the example. Is this intentional or is it something like a % missing somewhere in a macro? Hans van der Meer Sorry, flew accidentally to early away. Here the attached output. \setuppapersize[A6][A6]

Re: [NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Marco Patzer
On 2013–05–02 Meer, H. van der wrote: A call to \switchtobodyfont introduces extra vertical spacing as can be seen in the example. Is this intentional or is it something like a % missing somewhere in a macro? Loading the typescript in the setup area should get rid of the space. See

Re: [NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Meer, H. van der
I see. But that means I have to load various typescript files beforehand and then switch at a later moment. It is possible of course, but unexpected and a pain in the ass - if I may say so. Could it be solved once and for all by going through the typescript files? If I can find time for it, I

Re: [NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Meer, H. van der
Indeed, adding \usetypescriptfile[euler]\usetypescript[euler] before \starttext makes the extra vertical spacing go away in a simple test file. But that doesn't solve my problem, because I am typesetting xml data wherein a font change can be dictated from the inside. See the example code

Re: [NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Wolfgang Schuster
Am 02.05.2013 um 12:40 schrieb Meer, H. van der h.vanderm...@uva.nl: A call to \switchtobodyfont introduces extra vertical spacing as can be seen in the example. Is this intentional or is it something like a % missing somewhere in a macro? Hans van der Meer Sorry, flew accidentally to