Good morning! I' have probably made a strange bug in my document layout. In adfadfasdfasdf \placeformula[eq:one] $$a=b,$$\noindentation adfasdfadsf the \placeformula macro doesn't produce a formula number -- the formula has no number and \in{equation}[eq:one] doesn't work as well. Sometimes there is also no space before the formula and after it. Extremely strange is that asdfasdfasdf \placeformula[eq:one] \startformula a=b \stopformula\noindentation adsfasdfasdf works well. The bug is definitely in my macros for document layout since another document works well. Can some of you hint where to find the bug? I'm nearly desperate. Well, I didn't redefined $ nor changed its catcode (at least not voluntaryly). Many thanks for any hint. With many greetings Michal Kvasnicka
At 10:20 AM 3/31/2003 +0200, you wrote:
Good morning!
I' have probably made a strange bug in my document layout. In
adfadfasdfasdf \placeformula[eq:one] $$a=b,$$\noindentation adfasdfadsf
$$ is kind of obsolete
the \placeformula macro doesn't produce a formula number -- the formula has no number and \in{equation}[eq:one] doesn't work as well. Sometimes there is also no space before the formula and after it. Extremely strange is that
asdfasdfasdf \placeformula[eq:one] \startformula a=b \stopformula\noindentation adsfasdfasdf
\startformula is the way to go
works well. The bug is definitely in my macros for document layout since another document works well. Can some of you hint where to find the bug? I'm nearly desperate. Well, I didn't redefined $ nor changed its catcode (at least not voluntaryly).
\unprotect \def\doplaatsformule[#1][#2]% #2 = dummy, gobbles spaces {\def\redoplaatsformule {\bgroup\def\dostartformula####1{\relax}% \ifx\next\bgroup \@EA\moreplaatsformule % [ref]{} \else \expandafter\convertargument\e!start\to\asciiA \expandafter\convertargument\next \to\asciiB \ExpandBothAfter\doifincsnameelse\asciiA\asciiB {\egroup \@EA\dodoplaatsformule}% [ref]\start {\egroup \@EA\dispplaatsformule}% [ref]$$ \fi[#1]{}}% \futurelet\next\redoplaatsformule} \long\def\moreplaatsformule[#1]#2#3#4% #2 dummy #4 gobbles spaces {\def\redoplaatsformule {\expandafter\convertargument\e!start\to\asciiA \expandafter\convertargument\next \to\asciiB \ExpandBothAfter\doifincsnameelse\asciiA\asciiB {\egroup \dodoplaatsformule}% [ref]\start {\egroup \dispplaatsformule}% [ref]$$ [#1]{#3}}% \futurelet\next\redoplaatsformule#4} \protect ^^^^ in cont-new.tex ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Michal Kvasnicka