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
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 zip and I can send them if
Hans/Wolfgang/.. wants to incorporate them in the next beta.

I haven't followed this thread in detail, but an alternative is to
redefine \starttypescript etc. to use a different catcode regime so
that new lines and spaces are ignores (similar to
\starttexdefinition, etc)


A better method is to ignore the endlinechar when typescript files are
loaded.

\newcount\savedendlinechar

\starttext

Line 1\crlf
\savedendlinechar\endlinechar \endlinechar\minusone
\switchtobodyfont[pagella]
\endlinechar\savedendlinechar
Line 2

\stoptext

in fact, that should happen automatically but maybe i messed up something

(1) i adapted \loadfoundtypescriptfile (order of things, more robust)
(2) i adapted type-imp-pagella (had series of two defs per line which introduced the spaces)


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to