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

Export scope not respected #15

Open
ligon opened this issue Jan 27, 2019 · 3 comments
Open

Export scope not respected #15

ligon opened this issue Jan 27, 2019 · 3 comments

Comments

@ligon
Copy link

ligon commented Jan 27, 2019

The export dispatcher allows one to export either the entire buffer or a subtree by setting "Export scope".

ox-ipynb doesn't seem to respect this, and instead just exports the entire buffer?

One work-flow for me involves putting all my lecture notes into a single file, with a top-level headline for each lecture. It would be very convenient to be able to set the relevant scope from the dispatch buffer.

Thanks for considering!

@jkitchin
Copy link
Owner

I don't know if it is possible to do this. What you can do is manually narrow to the subtree you want to export, and then export it. ox-ipynb isn't a regular kind of exporter, so it doesn't support some things the usual ones do.

@ligon
Copy link
Author

ligon commented Jan 28, 2019

So I wonder why it isn't possible to simply use the specified export scope to decide whether to narrow to the current subtree or not first? I think this is the way that ox.el suggests.

Not to be an ingrate--this is a really nice tool!

@jkitchin
Copy link
Owner

If you can figure out and make sure it works, pull requests are welcome.

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