Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More underscores #3527

Merged
merged 4 commits into from
Sep 28, 2023
Merged

More underscores #3527

merged 4 commits into from
Sep 28, 2023

Conversation

jkingdon
Copy link
Contributor

This is the followup for various issues discussed in #3521

With these changes I can successfully run

metamath-knife -v -m --parse-typesetting set.mm

using the latest metamath-knife.

As suggested by Alexander van der Vekens, use math mode and a little
text for a semiformal formula.
The character before the end of italics has to be alphanumeric.
metamath-exe wasn't treating this as italics and latest metamath-knife
was giving an error.
Because underscore is followed by ampersand, metamath-exe is not
treating this as italics and latest metamath-knife is giving an error.
Apparently we need to either give up the italics or give up the umlaut,
and turning the umlaut into a following e is a pretty standard thing to
do, so I guess we do that.
The intention here is a subscript and it turns out that is actually
possible with no space between the backtick and the underscore.
@@ -109155,7 +109155,7 @@ prove that every set is contained in a weak universe in ZF (see
of Formalized Mathematics, Vol 1, No 3, May-August 1990. A Tarski class
is a set whose existence is ensured by Tarski's axiom A (see ~ ax-groth
and the equivalent axioms). Axiom A was first presented in Tarski's
article _Über unerreichbare Kardinalzahlen_. Tarski introduced the
article _Ueber unerreichbare Kardinalzahlen_. Tarski introduced the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What'Äs the problem here with "_Über"?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

metamath-exe does not recognize _ as starting italics unless the next character is alphabetic

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before:

image

After:

image

@@ -625406,7 +625406,7 @@ family of sets (implicit). (Contributed by Stefan O'Rear,
over functions and points in N-dimensional space (which are equivalent
to functions from an "index set"). Many of the following theorems exist
to transfer standard facts about functions to elements of function
sets._ (Contributed by Stefan O'Rear, 30-Aug-2014.) (Revised by Stefan
sets_. (Contributed by Stefan O'Rear, 30-Aug-2014.) (Revised by Stefan
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would this work? there is a period in the sentence before

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the ending underscore has to have a letter before it and no letter after it, so yes this should work

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before:

image

After:

image

@jkingdon jkingdon merged commit c29da15 into metamath:develop Sep 28, 2023
@jkingdon jkingdon deleted the more-underscores branch September 28, 2023 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants