summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-not.mkvi
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-05-29 00:12:00 +0200
committerHans Hagen <pragma@wxs.nl>2012-05-29 00:12:00 +0200
commitc99d2bf28d96648c7d1852c9f5705d58655baeab (patch)
treea47017352408734b8e51883a475fd41c00956978 /tex/context/base/strc-not.mkvi
parent64fa8007415f14472d59bdeaa4745815f13318f3 (diff)
downloadcontext-c99d2bf28d96648c7d1852c9f5705d58655baeab.tar.gz
beta 2012.05.29 00:12
Diffstat (limited to 'tex/context/base/strc-not.mkvi')
-rw-r--r--tex/context/base/strc-not.mkvi8
1 files changed, 6 insertions, 2 deletions
diff --git a/tex/context/base/strc-not.mkvi b/tex/context/base/strc-not.mkvi
index 55bcf6d36..0a57ed878 100644
--- a/tex/context/base/strc-not.mkvi
+++ b/tex/context/base/strc-not.mkvi
@@ -237,7 +237,9 @@
\edef\currentnote{#1}%
\strc_constructions_initialize{#1}%
\strc_notes_synchronize
- \strc_counters_increment_sub\currentconstructionnumber\currentconstructionlevel
+ \ifnotesenabled
+ \strc_counters_increment_sub\currentconstructionnumber\currentconstructionlevel
+ \fi
\doifnextoptionalelse\strc_notations_command_yes\strc_notations_command_nop}
\unexpanded\def\strc_notations_command_nop#1%
@@ -266,7 +268,9 @@
\edef\currentnote{#1}%
\strc_constructions_initialize{#1}%
\strc_notes_synchronize
- \strc_counters_increment_sub\currentconstructionnumber\currentconstructionlevel
+ \ifnotesenabled
+ \strc_counters_increment_sub\currentconstructionnumber\currentconstructionlevel
+ \fi
\normalexpanded % not that efficient but also not that frequently used
{\def\noexpand\strc_pickup_yes[##1]##2\csname\e!stop#2\endcsname{\strc_notations_command_yes[##1]{##2}}%
\def\noexpand\strc_pickup_nop ##1\csname\e!stop#2\endcsname{\strc_notations_command_nop {##1}}}%