-
Notifications
You must be signed in to change notification settings - Fork 92
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
Fixing some LaTeX definitions #3067
Comments
I believe most of these checks can be solved if the following few latexdefs are fixed: latexdef "-1-1->" as "\raisebox{.5ex}{${\textstyle{\:}_{\mbox{\footnotesize\rm 1" + "\tt -\rm 1}}}\atop{\textstyle{" + "\longrightarrow}\atop{\textstyle{}^{\mbox{\footnotesize\rm {\ }}}}}$}"; latexdef "-onto->" as "\raisebox{.5ex}{${\textstyle{\:}_{\mbox{\footnotesize\mathrm{\:}}}}" + "\atop{\textstyle{" + "\longrightarrow}\atop{\textstyle{}^" + "{\mbox{\footnotesize\mathrm{onto}}}}}$}"; latexdef "-1-1-onto->" as "\raisebox{.5ex}{${\textstyle{\:}_{\mbox{\footnotesize\mathrm{1}" + "\tt -\mathrm{1}}}}\atop{\textstyle{" + "\longrightarrow}\atop{\textstyle{}^" + "{\mbox{\footnotesize\mathrm{onto}}}}}$}"; latexdef "-cn->" as "\raisebox{.5ex}{${\textstyle{\:}_{\mbox{\footnotesize\mathrm{cn}" + "}}}\atop{\textstyle{" + "\longrightarrow}\atop{\textstyle{}^{\mbox{\footnotesize\mathrm{\:}}}}}$}"; I'm not confident enough to provide a solution for these, I might integrate them in my pull request if someone knows how to fix them. |
I can think of several solutions, but best in my opinion is #3054. Since there is not much discussion, I'll implement it soon..ish. |
Should the following LaTeX definitions also be changed?
See discussion in #3066, @benjub`s comment:
What about other (binary) operation names? For example, is the following LaTeX definition acceptable?
|
We should use the commands provided by LaTeX /AMSTeX for these cases (for spacing reasons, and for clarity too):
There are other commands too: for opening and closing symbols, you have A problem is that work is duplicated with (i)set.mm. Since the latex output functionality seems to be not much used, I'm not sure what priority this work should be given. |
No! First of all, we're trying eliminate all uses of Second of all, I encourage people to not use embedded spaces in TeX. Use, e.g., |
These ones are already in I believe that after #3071 (comment) will be merged, there won't be any occurrence of I'll write a more detailed report after merge, if there are mistakes or inaccuracies in #3071 (comment), please report them there and I will commit those changes. |
As promised in #3071 (comment) here is a more specific report of what I think is done and what I think is left:
So basically I think that all checks except 9 are done. |
Thanks @GinoGiotto. I updated the description and checked some boxes. Thanks for the list of exceptions in 8. I see several ways to deal with them, similar to #3054 and with e.g. |
I like this solution, it is a quick fix that would work to solve the remaining deprecated TeX and the errors generated by those substitutions. I could implement this soon, and then they could be replaced with #3054 if it's desired. The reason I'm proposing this path is because the solution in #3054 seems a bit long since the intention there is to replace the tokens too, so with this temporary fix I would at least quickly eliminate them from my list of malfunctioning latexdefs. |
I updated #3067 (comment) since #3075 is now merged. You can still consult the original report in the edit history of the comment. |
@benjub Isn't check 8 completed? I cannot edit someone else's comment. |
what about 9 ? |
As I said in #3099 (comment) I made some progress towards it, but I only checked a few occurrences, I'm not planning to check them all in the future. |
This is an update on #3037. Some LaTeX definitions should be fixed in all the databases in this repository with LaTeX definitions. These are:
set.mm
,iset.mm
,hol.mm
,ql.mm
,nf.mm
.The commands on the LHS below are deprecated, and here are some proposed replacements:
{\rm xxx}
-->\mathrm{xxx}
(see Tokens and symbols for injections, surjections, and bijections #3054 for the only remaining cases){\cal xxx}
-->\mathcal{xxx}
{\sf xxx}
-->\mathsf{xxx}
{\Bbb xxx}
-->\mathbb{xxx}
{\bb xxx}
-->\mathrm{xxx}
\tt
--> depends; often\mathtt{...}
\it
,\bf
,\sc
,\sl
: check that they do not occur in any of the databases (if they do, there is\mathsc{...}
, etc.)\atop
--> depends: \frac \genfrac \overset \stackrel...(note that the expressions on the LHS above are not always surrounded by braces).
\mathrm{...}
should actually be\operatorname{...}
\mbox{...}
should generally be\text{...}
See @GinoGiotto's comment #3067 (comment) for an advancement step.
The text was updated successfully, but these errors were encountered: