sphinxcontrib-jupyter icon indicating copy to clipboard operation
sphinxcontrib-jupyter copied to clipboard

New paragraph rendering

Open natashawatkins opened this issue 6 years ago • 4 comments

I'm confused why this text is not formatting paragraphs correctly

Notice the sentence "Subtracting the demand"

image

natashawatkins avatar Dec 14 '17 00:12 natashawatkins

Hi @natashawatkins,

A couple of things to try (rst can be pretty picky on spacing):

  1. Try adjusting where the label falls so it looks like:
.. math::
   :label: eq_old1
  1. I would also move the equation a few lines down to not be on the same line as .. math::.

  2. I would line up the indented equations with the m in .. math::

.. math::
   :label:  eq_old1

   x + y blah blah blah

Hope some of these help.

willingc avatar Dec 14 '17 12:12 willingc

hey @natashawatkins. All the suggestions by @willingc are good -- we should have tighter rst syntax. However I think this is a bug in the way we are implementing equation numbering and not providing enough space after inserting the (eq #).

mmcky avatar Mar 23 '18 05:03 mmcky

Anyone know if there is a good RST linter?

mmcky avatar Jul 22 '19 01:07 mmcky

@mmcky You might try VS Code. Not necessarily a linter but will give you syntax highlighting. Also when you build, turn on verbose warnings.

willingc avatar Jul 22 '19 17:07 willingc