-
-
Notifications
You must be signed in to change notification settings - Fork 194
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 all sheets, or particular sheet #859
Comments
Hello. Those commands should export the current sheet. Not the first one of the document. |
On Fri, Dec 29, 2023 at 03:56:44AM -0800, Andrés Gustavo Martinelli wrote:
Hello. Those command should export the current sheet. Not the first one on the document.
Regarding single-sheet-at-a-time export, I am afraid its the current behaviour.
We might change it or add an option for exporting all sheets at once.
OK, then in that case I'd appreciate guidance on how to script iterating through
a file's sheets and exporting them one-by-one. I've since managed somehow to
script multiple commands -- I don't know what went wrong with previous attempts,
but have had success with
`(yes nextsheet | head -n"$i"; echo 'export "mkd" "sheet-$i.md") | sc-im ...`
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
By remarks on #791, I must be doing something wrong, but:
Both
:e FORMAT [FILE]
andecho 'export "FORMAT" "FILE"' | sc-im
only export the first sheet in the file -- in plaintext formats, would expect to see all sheets, labelled and suitably concatenated.Unless this single-sheet-at-a-time is the intended behavior? In which case, I would expect there to be an option to export a specific sheet (to my understanding,
:e
's ability to export a selection is inaccessible in scripting, since there is no way to programmatically select a range). It would also help for this direction to be able to get the number of sheets in a file and to send multiple commands on stdin, but can find documentation for neither.Version:
The text was updated successfully, but these errors were encountered: