diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-02-20 15:15:08 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-02-20 15:15:08 +0100 |
commit | 93dce457ab8769ef45a56b2e0f7ad447d7a47a83 (patch) | |
tree | 2374ca50eceb2aab1a5d0af0ba26dc129eb19ab6 /tex/context/base/mkiv/spac-hor.mkiv | |
parent | b13dd166ce8563c60c10affc97ab28940d6a7776 (diff) | |
download | context-93dce457ab8769ef45a56b2e0f7ad447d7a47a83.tar.gz |
2016-02-20 14:58:00
Diffstat (limited to 'tex/context/base/mkiv/spac-hor.mkiv')
-rw-r--r-- | tex/context/base/mkiv/spac-hor.mkiv | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/tex/context/base/mkiv/spac-hor.mkiv b/tex/context/base/mkiv/spac-hor.mkiv index 94e45f47a..1ccd5ac9f 100644 --- a/tex/context/base/mkiv/spac-hor.mkiv +++ b/tex/context/base/mkiv/spac-hor.mkiv @@ -415,7 +415,7 @@ {\doifelsenextoptionalcs\spac_spacecodes_setup_yes\spac_spacecodes_setup_nop} \def\spac_spacecodes_setup_yes[#1]% - {\csname\??spacecodemethod#1\endcsname + {\begincsname\??spacecodemethod#1\endcsname \updateraggedskips} \def\spac_spacecodes_setup_nop @@ -452,16 +452,25 @@ \let\normalspaceprimitive=\ % space-comment is really needed -% hm ... +%D As the \type{\ } is convenient in: +%D +%D \starttyping +%D \TEX\space x\crlf +%D \TEX\ x\crlf +%D \TEX{} x\crlf +%D \stoptyping +%D +%D from now on we treat it as anormal space and not as a space with \type +%D {sfcode} 1000. -% \unexpanded\def\normalnotobeyedspace{\mathortext\normalspaceprimitive\space} % no \dontleavehmode\space (else no frenchspacing) -% \let\ =\normalnotobeyedspace +\unexpanded\def\normalnotobeyedspace{\mathortext\normalspaceprimitive\space} % no \dontleavehmode\space (else no frenchspacing) +\let\ =\normalnotobeyedspace % Because I strip spaces at the end of lines (in the editor) we need a bit of % a trick to define slash+newline, so \space and \<newline> are the same % We need to be careful with \ and \space and the definition of ~ which uses \ as -% we need to associate unicode spacing with it. There is some messy thing that that +% we need to associate unicode spacing with it. There is some messy aspect that % I forgot to note down so I will revision the \ once I ran into it again. % \ruledhbox spread 10pt {\frenchspacing xx xx\ X} |