maxima:rtoy-fix-html-output-for-texinfo-7.0.3

Last commit made on 2023-06-05
Get this branch:
git clone -b rtoy-fix-html-output-for-texinfo-7.0.3 https://git.launchpad.net/maxima

Branch merges

Branch information

Name:
rtoy-fix-html-output-for-texinfo-7.0.3
Repository:
lp:maxima

Recent commits

7c41b25... by Raymond Toy <email address hidden>

Determine texinfo version and adjust regexp

We now get the texinfo version from the html file. This is used to
select the regexp to use when searching for items.

c90b656... by Raymond Toy <email address hidden>

Unfinished work to deal with apostrophes

As mentioned in the comment, it appears texinfo 7.0.3 is inconsistent
in converting apostrophes in the source to
right_single_quotation_mark. Leave the code commented out for now.

1f0ba73... by Raymond Toy <email address hidden>

Update regexps for texinfo 7.0.3

Update the regexps so we can find the things we need when the html
files were generated by texinfo 7.0.3. This needs to be done in a
better way, but for now, let's just get things working.

Currently, the verification says:
```
Verifying html index
Warning: Number of HTML entries (2995) does not text entries (3070)

Warning: 2 HTML entries not in text entries: "Euler's number" "Introduction to Maxima's Database"

Warning: 77 Text entries not in HTML entries: "Introduction to Maxima’s Database" "!" "%union <1>" "*" "-" "/" "<=" ">" ">=" "Euler’s number" "]" "^" "bf_find_root" "bf_find_root <1>" "bfpsi0" "c" "c2cos" "complex" "covect" "declare_index_properties <1>"... plus 57 more
```
Don't understand issue with "Euler's number". Something about the apostrophe?

23b07c3... by Raymond Toy <email address hidden>

Move the original regexp comments to the corresponding functions.

38b50c2... by Raymond Toy <email address hidden>

Remove unused regexp in build-html-index-helper

These are now contained in special functions that do the searching.

a3f4ae5... by Raymond Toy <email address hidden>

Remove old version of handle-special-chars

47d0276... by Raymond Toy <email address hidden>

Merge branch 'master' into rtoy-fix-html-output-for-texinfo-7.0.3

302d2e6... by Raymond Toy <email address hidden>

Use with-open-file to make sure file is closed

We weren't closing the file so not everything was being flushed to the
log file. Using `with-open-file` guarantees we'll close the file and
flush everything to the log file.

0b3ba62... by Raymond Toy <email address hidden>

Move @vrindex before definition

This makes the HTML links show up before the entry. Previously, it
would show up after, which doesn't look so good. Now the browser
starts at the definition instead of at the paragraph after the
definition.

e29e3bb... by Raymond Toy <email address hidden>

Make @vrindex commands available everywhere

Previously these @vrindex entries were only available for info files.
However, it's useful to have them for the html files so that every
text topic can also be found in html.

With this change, it looks like the set of html topics and text topics
is identical.