Title: Incorrect level of headers in the generated jupyter book · Issue #5 · passlab/Examples · GitHub
Open Graph Title: Incorrect level of headers in the generated jupyter book · Issue #5 · passlab/Examples
X Title: Incorrect level of headers in the generated jupyter book · Issue #5 · passlab/Examples
Description: For now \section{}, \subsection{} and \subsubsection{} are replaced by #, ## and ### for md headers respectively. However, the headers are proved triggering warnings when generating jupyter book. The detailed warnings are attached below....
Open Graph Description: For now \section{}, \subsection{} and \subsubsection{} are replaced by #, ## and ### for md headers respectively. However, the headers are proved triggering warnings when generating jupyter book. T...
X Description: For now \section{}, \subsection{} and \subsubsection{} are replaced by #, ## and ### for md headers respectively. However, the headers are proved triggering warnings when generating jupyter book. T...
Opengraph URL: https://github.com/passlab/Examples/issues/5
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Incorrect level of headers in the generated jupyter book","articleBody":"For now `\\section{}`, `\\subsection{}` and `\\subsubsection{}` are replaced by ` # `, ` ## ` and ` ### ` for md headers respectively.\r\nHowever, the headers are proved triggering warnings when generating jupyter book.\r\nThe detailed warnings are attached below.\r\nThis bug is caused by the contents construction of LaTeX files and the solid header arrangement rule of jupyter book.\r\nSome sections are distributed into several files, that is, the first level header of a certain LaTeX file could be `\\subsection{}` thus being replaced by ` ## `.\r\nThen, for jupyter book, it is not allowed, for the highest level header in a single page should always be ` # `.\r\n\r\n```bash\r\n/Users/jkkl/Desktop/Examples/util/tex2notebook/tmp/contents/Examples_SIMD.ipynb:10003: WARNING: Non-consecutive header level increase; 0 to 2 [myst.header]\r\n/Users/jkkl/Desktop/Examples/util/tex2notebook/tmp/contents/Examples_SIMD.ipynb:200002: WARNING: Non-consecutive header level increase; 0 to 2 [myst.header]\r\n/Users/jkkl/Desktop/Examples/util/tex2notebook/tmp/contents/Examples_SIMD.ipynb:280002: WARNING: Non-consecutive header level increase; 0 to 2 [myst.header]\r\n/Users/jkkl/Desktop/Examples/util/tex2notebook/tmp/contents/Examples_acquire_release.ipynb:10002: WARNING: Non-consecutive header level increase; 0 to 2 [myst.header]\r\n/Users/jkkl/Desktop/Examples/util/tex2notebook/tmp/contents/Examples_affinity.ipynb:10002: WARNING: Non-consecutive header level increase; 0 to 2 [myst.header]\r\n/Users/jkkl/Desktop/Examples/util/tex2notebook/tmp/contents/Examples_affinity_display.ipynb:10002: WARNING: Non-consecutive header level increase; 0 to 2 [myst.header]\r\n/Users/jkkl/Desktop/Examples/util/tex2notebook/tmp/contents/Examples_affinity_query.ipynb:10002: WARNING: Non-consecutive header level increase; 0 to 2 [myst.header]\r\n/Users/jkkl/Desktop/Examples/util/tex2notebook/tmp/contents/Examples_allocators.ipynb:10002: WARNING: Non-consecutive header level increase; 0 to 2 [myst.header]\r\n/Users/jkkl/Desktop/Examples/util/tex2notebook/tmp/contents/Examples_array_sections.ipynb:10002: WARNING: Non-consecutive header level increase; 0 to 2 [myst.header]\r\n/Users/jkkl/Desktop/Examples/util/tex2notebook/tmp/contents/Examples_array_shaping.ipynb:10002: WARNING: Non-consecutive header level increase; 0 to 2 [myst.header]\r\n```","author":{"url":"https://github.com/ambipomyan","@type":"Person","name":"ambipomyan"},"datePublished":"2021-03-14T03:16:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/5/Examples/issues/5"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:17cae9d7-5df6-9f92-fc8c-d5eb913fae60 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8328:2D9848:72EC25:94E9C2:69929034 |
| html-safe-nonce | 3ea3c34cff6d68d132437a7e3395e6170f8098d4680f6eb62637ae05e5f918d9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzI4OjJEOTg0ODo3MkVDMjU6OTRFOUMyOjY5OTI5MDM0IiwidmlzaXRvcl9pZCI6Ijc1NTIyMTIyMjA5NDEzNDA3MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 061df8172354e7ed86afb9df3ec56c593afec93a5db1bd3e8d63164674041206 |
| hovercard-subject-tag | issue:831053398 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/passlab/Examples/5/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ed4c252e75b7ef17e4ee647b9f68fe4d3ff621f39e50e92e25c3c83797f6fec6/passlab/Examples/issues/5 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ed4c252e75b7ef17e4ee647b9f68fe4d3ff621f39e50e92e25c3c83797f6fec6/passlab/Examples/issues/5 |
| og:image:alt | For now \section{}, \subsection{} and \subsubsection{} are replaced by #, ## and ### for md headers respectively. However, the headers are proved triggering warnings when generating jupyter book. T... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ambipomyan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/passlab/Examples git https://github.com/passlab/Examples.git |
| octolytics-dimension-user_id | 10201020 |
| octolytics-dimension-user_login | passlab |
| octolytics-dimension-repository_id | 346435318 |
| octolytics-dimension-repository_nwo | passlab/Examples |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 29206203 |
| octolytics-dimension-repository_parent_nwo | OpenMP/Examples |
| octolytics-dimension-repository_network_root_id | 29206203 |
| octolytics-dimension-repository_network_root_nwo | OpenMP/Examples |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width