diff options
author | Marius <mariausol@gmail.com> | 2011-11-08 16:20:15 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2011-11-08 16:20:15 +0200 |
commit | 40471dd95ca8782212c5d63ee5f2085b105ed7e8 (patch) | |
tree | 5fed44546f9fff4ea69168cf16e839b9d7c83e6c /tex/context/base/spac-par.mkiv | |
parent | e39e55fe08653b79084655b91e468940b9495a59 (diff) | |
download | context-40471dd95ca8782212c5d63ee5f2085b105ed7e8.tar.gz |
beta 2011.11.08 15:20
Diffstat (limited to 'tex/context/base/spac-par.mkiv')
-rw-r--r-- | tex/context/base/spac-par.mkiv | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/tex/context/base/spac-par.mkiv b/tex/context/base/spac-par.mkiv index 433ea85c8..711a2525d 100644 --- a/tex/context/base/spac-par.mkiv +++ b/tex/context/base/spac-par.mkiv @@ -23,28 +23,25 @@ %D inside the group are forgotten afterwards. (I must %D not forget its existence). -\global\let\carriedoverpar\relax - -\def\carryoverpar#1% - {\normalexpanded % \scratchtoks{#1}% - {\noexpand#1% \the\scratchtoks +\def\carryoverpar#1% #1 can be \endgroup or \egroup or ... + {\normalexpanded + {\noexpand#1% \hangindent\the\hangindent \hangafter \the\hangafter \parskip \the\parskip \leftskip \the\leftskip \rightskip \the\rightskip}} -\newconditional \parbasedattributes +\unexpanded\def\pushparagraphproperties + {\edef\currentparagraphproperties{\carryoverpar\relax}% + \pushmacro\currentparagraphproperties} -\def\finishparbasedattributes - {\ifconditional\parbasedattributes - \setfalse\parbasedattributes - \par - \fi} +\unexpanded\def\popparagraphproperties + {\popmacro\currentparagraphproperties + \currentparagraphproperties} -\def\dostopparbasedattributes - {\settrue\parbasedattributes - \dostopattributes} +\unexpanded\def\flushparagraphproperties + {\popmacro\currentparagraphproperties} % beware, changing this will break some code (like pos/backgrounds) |