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

Problem with myst titles in jupyter notebook #2098

Open
davidcb98 opened this issue Jan 11, 2024 · 2 comments
Open

Problem with myst titles in jupyter notebook #2098

davidcb98 opened this issue Jan 11, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@davidcb98
Copy link

davidcb98 commented Jan 11, 2024

Hi,

the first cell of my notebook is:

---
title: Vectores
license: CC-BY-4.0
github: https://github.com/executablebooks/mystmd
subject: Curso
venue: Quantum Spain
math:   
    '\i': '{\color{blue}{i}}'
    '\bes': '\begin{equation*}'
    '\ees': '\end{equation*}'
    '\O': '{\mathcal O}'
    '\Lin': '\hbox{Lin}'
    '\Hil': '{\mathcal H}'
    '\bra[1]': '{\langle #1|}'
    '\ket[1]': '{|#1\rangle}'
    '\braket[2]': '{\langle #1|#2\rangle}'
    '\R': '{\mathbb R}' 
    '\C': '{\mathbb C}'
    '\V': '{V}'
abbreviations:
    MyST: Markedly Structured Text
    TLA: Three Letter Acronym
---

As I am using jupyterlab and the extension jupyterlab-myst in my JupyterLab server I see the correct output.

However, when I build my webside with jupyterbook, this happens

image

Does anyone know how to solve this? I would like the cell to remain that way, as it is the only way I found to be able to define latex macros in Jupyterlab (JupyterNotebook methods do not work).

@davidcb98 davidcb98 added the bug Something isn't working label Jan 11, 2024
@agoose77
Copy link
Collaborator

Could you share the notebook file? It would be helpful in identifying the cause of the problem!

@davidcb98
Copy link
Author

Hello, I attach it. Thank you, David

01_Vectores.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants