MyST-NB icon indicating copy to clipboard operation
MyST-NB copied to clipboard

Add {toggle} directive handling for latex and latexpdf

Open mmcky opened this issue 4 years ago • 3 comments

Describe the solution you'd like

We need to add pdf handling for toggle directive for parity with html writer.

It will need to be decided how to represent the toggle directive in pdf format. An alternative would be not to support it as an incompatible document feature for static pdf files

mmcky avatar Apr 07 '20 01:04 mmcky

https://beta.jupyterbook.org/use/hiding.html?highlight=toggle#hide-markdown-using-myst-markdown

mmcky avatar Apr 07 '20 01:04 mmcky

We could always just have this show up as a "container" would in PDF outputs...

choldgraf avatar Apr 07 '20 02:04 choldgraf

So, we will just need visit, depart methods in latex translator for the toggle to behave like a container

AakashGfude avatar Apr 07 '20 07:04 AakashGfude