Nbconvert: Bullet list not getting properly generated in PDF

Created on 18 Nov 2018  路  2Comments  路  Source: jupyter/nbconvert

Hello,

My jupyter notebook contains a markdown with a bullet list:

Some text here:
 - Item 1.
 - Item 2.
 - Item 3.

When I generate the PDF using jupyter-nbconvert jn.ipynb --to pdf, the result is:

Some text here: - Item 1. - Item 2. - Item 3.

Is there are way for nbconvert to correctly generate a nice bullet list?
Thank you!

bug PDF workaround known

Most helpful comment

Trying adding an empty line before the list like:

Some text here:

 - Item 1.
 - Item 2.
 - Item 3.

All 2 comments

Trying adding an empty line before the list like:

Some text here:

 - Item 1.
 - Item 2.
 - Item 3.

I experienced this as well. Adding the empty line made it format better.

It also affects the > in markdown, and even with this fix: now it's on its own line, but is the same as any paragraph (markdown has a grey bar on the indent).

Its possible that's an inherent difference in normal markdown and latex's style, but any difference in the appearance (vs directly dowload as html->print to pdf) is undesirable to some degree

Was this page helpful?
0 / 5 - 0 ratings