summaryrefslogtreecommitdiff
path: root/tex/context/base/core-spa.tex
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2005-10-27 00:00:00 +0200
committerHans Hagen <pragma@wxs.nl>2005-10-27 00:00:00 +0200
commit28ba5960fc4486f4e667ee0cbd802335483e1c99 (patch)
tree364430fa36f4d3b1b254a10874b4ed369469d4c9 /tex/context/base/core-spa.tex
parenta35805505d72f60e25a5d9b96dcc5c0a83cc1ed0 (diff)
downloadcontext-28ba5960fc4486f4e667ee0cbd802335483e1c99.tar.gz
stable 2005.10.27
Diffstat (limited to 'tex/context/base/core-spa.tex')
-rw-r--r--tex/context/base/core-spa.tex18
1 files changed, 11 insertions, 7 deletions
diff --git a/tex/context/base/core-spa.tex b/tex/context/base/core-spa.tex
index 6ee5df55d..cb3363f8c 100644
--- a/tex/context/base/core-spa.tex
+++ b/tex/context/base/core-spa.tex
@@ -41,6 +41,8 @@
\appendtoks \simplesetupspacing \to \everydefinedfont
+% if you want to hyphenate the first word of a paragraph ... \appendtoks\hskip0pt\to\everypar
+
\def\stelfactorenin
{\simplesetupwhitespace
\simplesetupblank
@@ -1199,7 +1201,8 @@
\def\presetindentation
{\doifoutervmode{\ifindentfirstparagraph\else\noindentation\fi}}
-%D This sets up the indentation method as well as the amounts.
+%D This sets up the (normally) global indentation behavior as well
+%D as the amounts.
\definecomplexorsimple\setupindenting
@@ -1209,12 +1212,13 @@
\parindent\ctxparindent
\chardef\indentingtoggle\zerocount
\processcommalist[#1]\docomplexsetupindenting
+ \ifindentfirstparagraph\else\noindentation\fi % added
\toggleindentation}
-\def\docomplexsetupindenting#1%
- {\edef\!!stringa{#1}% catch #1=\somedimen
- \convertcommand\!!stringa\to\!!stringa
- \executeifdefined{\??in:\!!stringa}{\edef\currentindentation{#1}\simplesetupindenting}}
+% \def\docomplexsetupindenting#1%
+% {\edef\!!stringa{#1}% catch #1=\somedimen
+% \convertcommand\!!stringa\to\!!stringa
+% \executeifdefined{\??in:\!!stringa}{\edef\currentindentation{#1}\simplesetupindenting}}
\def\docomplexsetupindenting#1%
{\edef\!!stringa{#1}% catch #1=\somedimen
@@ -1254,8 +1258,8 @@
\simplesetupindenting
\fi}
-\def\noindenting{\indenting[\v!no, \v!next ]} % was \nietinspringen
-\def\doindenting{\indenting[\v!yes,\v!first]} % was \welinspringen
+\def\noindenting{\indenting[\v!no, \v!next ]}
+\def\doindenting{\indenting[\v!yes,\v!first]}
%D This one sets up the local indentation behaviour (i.e. either or not
%D a next paragraph will be indented).