axiom-developer
[Top][All Lists]

## Re: [Axiom-developer] Index entries for "eq?"

 From: Eugene Surowitz Subject: Re: [Axiom-developer] Index entries for "eq?" Date: Tue, 17 May 2011 13:53:05 -0400 User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10

Tim,

The thing I did with a tex manuscript got off the ground
by turning something like
\integrate{0}{\infty}{\sin{x}}{x}
into
\integrate 0  \infty  \sin x   x
which consists of primitive exhaustive vocabulary elements.
The specalized tex/latex control sequences that you
are considering would just join everything else in the processing.

Gene

On 5/16/2011 7:46 PM, daly wrote:

I have been contemplating writing special case latex macros
that supply unambiguous parsings of the input expressions,
such as
\integrate{0}{\infty}{\sin{x}}{x}
which are essentially just the Axiom input parameters
written in custom latex. This would allow direct generation
of both the Axiom input and the .dvi output.

Tim

On Mon, 2011-05-16 at 15:35 -0700, Arthur Ralfs wrote:

Eugene,

I did the xhtml-mthml version of the book several years ago from the
latex/tex using regular expressions in emacs.  It was quite laborious.
Because a lot of the latex is hand written and the tex output from axiom
has been hand modified a lot of the conversion had to be done by hand.
I always thought it would be nice if it could be generated automatically
when building axiom but I think to do so would require regularizing the
latex in the book pamphlets.  Maybe then requiring any future additions
to the book to be run through a validator.

Arthur

On 05/16/2011 01:38 PM, Eugene Surowitz wrote:

OK: so we have an unmaintained, probably machine generated,
and apparently incomplete but otherwise useful piece of the documentation.

Any memory of who or how it was generated generated?

I had to create something similar for another project and
had a degassing step in there which appears to have omitted here.
If memory serves correctly degassing can actually be done with
simple unix commands only.

But that would bypass the incompleteness issue.

The C++ thing that I have in specialized form might be
generalized to create a component for Axiom that would
work from the entire documentation source since the pamphlets
are really now TeX/Latex which was its targeted input.

Eugene J. Surowitz

On 5/15/2011 5:43 PM, daly wrote:

The file book-index.xhtml was a contributed document.
Axiom does nothing but copy it at build time.

Tim

On Sat, 2011-05-14 at 13:49 -0400, Eugene Surowitz wrote:

Tim:

The file "book-index.xhtml" contains 3 entries for "eq?",
all for "Section 9.18 EqTable".
There are in fact three text statements in in that section
containing the string "eg?".

I generally believe that an index would contain only one entry
per page for any given word. Does the index generation mechanism
for Axiom inteneded to function that way?
Or does it tolerate duplicates per page/section?







_______________________________________________
Axiom-developer mailing list
https://lists.nongnu.org/mailman/listinfo/axiom-developer




_______________________________________________
Axiom-developer mailing list
https://lists.nongnu.org/mailman/listinfo/axiom-developer



_______________________________________________
Axiom-developer mailing list
https://lists.nongnu.org/mailman/listinfo/axiom-developer