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

Table in notebook cannot be exported to PDF #1606

Closed
DonteRW opened this issue Jul 22, 2021 · 1 comment
Closed

Table in notebook cannot be exported to PDF #1606

DonteRW opened this issue Jul 22, 2021 · 1 comment

Comments

@DonteRW
Copy link

DonteRW commented Jul 22, 2021

Attempting to generate a PDF from a Jupyter notebook with a table (markdown ) and it fails!!

I have used the option Download as --> PDF via LaTeX and it fails.

I have downloaded the .tex file and tried directly using MikTeX and still fails!

steps to reproduce this issue

1 Open notebook

2 Change cell to markdown

  1. Paste table below
Signature Description
Baseflow recession constant Slower recessions show greater groundwater influence and longer subsurface flow paths
Baseflow index (BFI) Contribution of baseflow to total streamflow and baseflow residence time

4 On File --> Download as --> click PDF via LaTeX (.pdf)

and it fails!! The failure messages are:

Download as --> PDF via LaTeX error/failure

nbconvert failed: PDF creating failed, captured latex output:
Failed to run "xelatex notebook.tex -quiet" command:
notebook.tex:385: Undefined control sequence
notebook.tex:385: Undefined control sequence
notebook.tex:385: Undefined control sequence
notebook.tex:385: Undefined control sequence
notebook.tex:385:
notebook.tex:385:

MiKteX error

LaTeX Warning: No \author given.

! Undefined control sequence.
@{} >{\raggedright \arraybackslash
}p{(\columnwidth - 2\tabcolsep...
l.385 ...mnwidth - 2\tabcolsep) * \real{0.67}}@{}} >

nbconvert : 6.0.7

also have MikTeX 4.3 and pandoc 2.14.0.2

@t-makaro
Copy link
Contributor

Duplicate of #1536

@t-makaro t-makaro marked this as a duplicate of #1536 Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants