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

No table caption when exporting to LaTeX #143

Open
TripleT1985 opened this issue Sep 23, 2020 · 0 comments
Open

No table caption when exporting to LaTeX #143

TripleT1985 opened this issue Sep 23, 2020 · 0 comments
Labels

Comments

@TripleT1985
Copy link

Bug Report

Describe the bug

Hi Guys,
I encountered a problem exporting table caption from jupyter notebooks to LaTeX. For figures everything works as expected Eeither for a caption in the metadata cells or for a caption in a separate markdown cell. Unfortunately the export of the table caption doesn't work at all.

To Reproduce

  1. Create an arbitrary table in a markdown cell.
  2. Add label and caption meta tags into the cell meta data
  3. Convert to LaTeX using:
    nbpublish -f latex_ipypublish_main -pdf xxx.ipynb

Minimal Notebook Example

See TestTable.txt attached.

Expected Behaviour

The table caption should be included in the pdf below or above the table in the same way, as it is done for figures. This is expected, since the table captions are also not present in the tex file.

Runtime Information

  • IPyPublish: 0.10.12
  • Python: 3.6.9
  • OS: Ubuntu 18.04.4 LTS
  • Pandoc: 1.19.2.4
  • texlive: 3.1415926
  • latexmk: 4.41

Logging

TestTable.nbpub.log
TestTable.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant