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

Use inline LaTeX to replace images and code tags in RFCs #384

Open
2 tasks
doitian opened this issue Oct 19, 2022 · 1 comment
Open
2 tasks

Use inline LaTeX to replace images and code tags in RFCs #384

doitian opened this issue Oct 19, 2022 · 1 comment
Labels
good first issue Good for newcomers

Comments

@doitian doitian added the good first issue Good for newcomers label Oct 19, 2022
@doitian doitian changed the title Use inline LaTeX to replace images in RFCs Use inline LaTeX to replace images and code tags in RFCs Oct 21, 2022
@yangby-cryptape
Copy link
Contributor

yangby-cryptape commented Oct 29, 2022

I think this suggestion is good, but a bit early for now, since the inline LaTeX had so many bugs and unstable.

  • Bugs: I had opened tickets for those bugs SEVERAL WEEKS AGO, but GitHub hasn't fixed them.

    The last time (more than a month ago), they replied to me:

    There isn't an ETA we can share for the moment, but we'll keep you informed of our progress.

    Thank you for your patience and sorry for the inconvenience!

    Since then, I got no feedback.

    Here is one example:

    • A formula in RFC-0020:
      A formula in RFC-0020

    • Rendered by GitHub (If you see the correct rendering, that means at least they fixed one bug I met):

      $$ HPS_{i} = \left{ \begin{aligned} & HPS_{i-1} \times \frac{1}{\tau} ;, & \overline{HPS_{i}} \lt \frac{1}{\tau} HPS_{i-1} \\ & HPS_{i-1} \times \frac{1}{\tau} ;, & \overline{HPS_{i}} \gt \tau HPS_{i-1} \\ & \overline{HPS_{i}} & \text{otherwise} \\ \end{aligned} \right. $$

      p.s. This LaTeX code has been tested with both MathJax Demo and StackEdit (KaTeX backend).

      Click HERE to see the LaTeX Code.
      $$
      HPS_{i} = \left\{
          \begin{aligned}
              & HPS_{i-1} \times \frac{1}{\tau} \;, & \overline{HPS_{i}} \lt \frac{1}{\tau} HPS_{i-1} \\
              & HPS_{i-1} \times \frac{1}{\tau} \;, & \overline{HPS_{i}} \gt \tau HPS_{i-1} \\
              & \overline{HPS_{i}} & \text{otherwise} \\
          \end{aligned}
      \right.
      $$
      
  • Unstable: some days the rendering are correct, but some days are incorrect.

    I had to tolerate that when I wrote RFC-0044.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants