[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-texinfo] inserting equation number...

From: lfinsto1
Subject: Re: [help-texinfo] inserting equation number...
Date: Sat, 17 Feb 2007 12:07:49 +0100 (CET)
User-agent: SquirrelMail/1.4.9a

> Again thanks for the help. I am writing my thesis proposal; it is about
data assimilation in climate models using kalman filter and there is a
> equations. I thought I will follow the GNU documentation format. Writing
equation isn't a problem but numbering and hyper-referencing the
> seems to be a problem.

Unless you're writing a manual, and/or you really do want HTML or Info
output, I think you using Texinfo might be overkill.  The `eplain'
(Extended Plain TeX) package provides many of the nice features that
Texinfo provides, and there are other macro packages available.  Some
people swear by LaTeX.  I personally don't like it, but felt I should
mention it for the sake of completeness.

However, if you do want to use Texinfo (and don't let me discourage you)
and you don't need HTML output, it would be a piece of cake.  Just use:

@end tex
@end iftex

in your text.  (Depending on how you define your macros, you may not need
address@hidden ... @end tex').

Then, you can define your equation numbers the same way you would for an
ordinary TeX document, i.e.,

%% No guarantees, here.


\def\eqnno{%% Whatever
\advance\equationcnt by 1 %% A `\global' before and/or a `\relax'
%%                        %% following may be needed here, under
%%                        %% some circumstances.  Leaving out
%%                        %% complete discussion.
%% Whatever

You'd have to account for the way macros need to be defined in Texinfo
documents.  You can do so before including `texinfo.tex' or after.
If you want an example, you could look at the manual for 3DLDF (in the
directory above the `TEXIPP' directory I referred to before).
They're in the file `3DLDF.texi':
There are examples of both kinds of macro definition.
There are reasons for doing certain things one way or the other, but I
don't remember all the details.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]