Skip to content

[lecture_comparison][38_wald_friedman]math_expression_in_indented_sentence #48

Closed

Description

@sayaikegawa

In this lecture, the math equation in the quotes shows redundant > at the beginning and the ending of the equation like below.
Left: RST Right: MyST

Screen Shot 2021-01-19 at 5 12 48 pm

Here is the place where this issue occurs in MyST:

> Neyman and Pearson show that a region consisting of all samples
> $(z_1, z_2, \ldots, z_n)$ which satisfy the inequality
> 
> $$
> \frac{ f_1(z_1) \cdots f_1(z_n)}{f_0(z_1) \cdots f_0(z_n)} \geq k
> $$
> 
> is a most powerful critical region for testing the hypothesis

I guess that this occurs because the quotes in MyST is doing something wrong. Here is the documentation about quotes.
Screen Shot 2021-01-19 at 5 23 15 pm

cc: @mmcky

Activity

  1. sayaikegawa commented on Jan 22, 2021

    @sayaikegawa
    Author

    This happens in lecture-python-advanced too. #16

  2. mmcky commented on Feb 8, 2021

    @mmcky
    Contributor

    thanks @sayaikegawa are you suggesting then we should have:

    > Neyman and Pearson show that a region consisting of all samples
    > $(z_1, z_2, \ldots, z_n)$ which satisfy the inequality
    > 
    > $$
       \frac{ f_1(z_1) \cdots f_1(z_n)}{f_0(z_1) \cdots f_0(z_n)} \geq k
       $$
    > 
    > is a most powerful critical region for testing the hypothesis

    as the syntax? -- I find that an odd choice. I may need to talk with Jupyter Book about this.

  3. mmcky commented on Feb 8, 2021

    @mmcky
    Contributor

    Nice pickup! this will be useful for the broader juptyer-book project as I think it should be capable of rendering the former syntax. If we could get a minimal example working in jupyter-book that would be super helpful.

  4. mmcky commented on Feb 10, 2021

    @mmcky
    Contributor

    @sayaikegawa can you put together a PR to fix this and tag it as manual-change. Thanks!

  5. mmcky commented on Feb 16, 2021

    @mmcky
    Contributor

    Closing this as a solution is ready as a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    high-priority

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions