Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix nbconvert handler#2981

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
gnestor merged 3 commits intojupyter:masterfrommpacer:fix_nbconvert_handler
Oct 27, 2017
Merged

Conversation

@mpacer
Copy link
Member

closes#2974,

Other small improvements while I was doing this:

Building the resources dict separately from invocation is more readable.

resources['metadata']['name'] now will use the notebook level metadata.title value as passed through to name (if present) and fall bad to stripping the extension using os.path.splitext. This notion ofname is only used in the html and slides exporters to create a<title/> tag.

@mpacer
Copy link
MemberAuthor

mpacer commentedOct 25, 2017
edited
Loading

I can't restart the Appveyor build… it looks like that error might just go away since i just verified that the conda-forge package does exist…

But for some reason I can't log in to appveyor.

@mpacer
Copy link
MemberAuthor

@gnestor Pdf exports were broken with 5.2 (#2974), so this should be prioritised in a patch release.

gnestor reacted with thumbs up emoji

@mpacer
Copy link
MemberAuthor

Can someone please add me to the list of those with permissions to restart appveyor builds? I don't understand why it doesn't just use github permissions, but it seems to not do that.

@gnestorgnestor added this to the5.3 milestoneOct 25, 2017
@gnestor
Copy link
Contributor

@Carreau Do you have those powers?

@mpacer
Copy link
MemberAuthor

@gnestor I really don't think this should wait until 5.3… instead aiming at 5.2.1 or are you using 5.3 to also organise patch releases for 5.2.x?

@Carreau
Copy link
Member

@Carreau Do you have those powers?

Not sure. I tried something,@mpacer you should receive an invite I guess from AppVeyor, if it does not work I think we need to as Kyle.

@gnestor
Copy link
Contributor

We don't have a milestone for 5.2.1 so I marked it as 5.3. I'll create one now and shoot for releasing 5.2.1 tomorrow.


# create resources dictionary
mod_date=model['last_modified'].strftime(text.date_format)
nb_title=nb.metadata.get("title","")oros.path.splitext(name)[0]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Not convinced about the title from notebook metadata taking precedence over the filename used to identify it. The notebook metadata is already available in the template, it doesn't need to be added to resources.

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Fine, this was a fix that I had added on the nbconvert side for the LaTeX interpreter and was just trying to keep it consistent here. But I'm not wedded to it.

@gnestor
Copy link
Contributor

The 5.2.1 branch is ready for release so we're just waiting on this PR 👍

@mpacer
Copy link
MemberAuthor

fixed!

@gnestor
Copy link
Contributor

I tested and export to PDF is working 👍

@mpacer Shall I merge?

@minrk
Copy link
Member

@gnestor 🚢

gnestor reacted with thumbs up emoji

@gnestorgnestor merged commit600d57f intojupyter:masterOct 27, 2017
@gnestor
Copy link
Contributor

@meeseeksdev backport to 5.2.1

@lumberbot-app
Copy link

Oops, something went wrong applying the patch... Please have a look at my logs.

gnestor pushed a commit that referenced this pull requestOct 27, 2017
* get the directory for external resources to pass in as path to nbconvert* build up resources dict elements separately, combine before passing to from_notebook_node* Use filename (not title) for the name used as the title in html export
@gnestor
Copy link
Contributor

I backported this manually to 5.2.1 👍

@mpacer
Copy link
MemberAuthor

Apologies! didn't see you ask me if it could be merged — I had intended it to be done, yes. Any thoughts as to why the meseeksdev backport didn't work?

@gnestor
Copy link
Contributor

No prob! No I don't have access to the meseeksdev logs but there must've been a merge conflict

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@takluyvertakluyvertakluyver left review comments

@minrkminrkminrk approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

5.2.1

Development

Successfully merging this pull request may close these issues.

server error when downloading PDF via LaTeX

5 participants

@mpacer@gnestor@Carreau@minrk@takluyver

[8]ページ先頭

©2009-2025 Movatter.jp