Skip to content

add: support for exporting multiple notes to LaTeX#1386

Merged
windingwind merged 4 commits into
windingwind:masterfrom
wly2014:feature_exportMultipleLaTeX
Jun 12, 2025
Merged

add: support for exporting multiple notes to LaTeX#1386
windingwind merged 4 commits into
windingwind:masterfrom
wly2014:feature_exportMultipleLaTeX

Conversation

@wly2014

@wly2014 wly2014 commented May 7, 2025

Copy link
Copy Markdown
Contributor

I have added the feature of exporting multiple notes to LaTeX (fix: #1378). The use is as follows, but I'm not sure if this is a reasonable implementation.

exportMultipleLaTeX

@windingwind

Copy link
Copy Markdown
Owner

Thanks.

Any reason we don't reuse the logic of exportNotes- simply send all items to the latex export processor here?

if (options.exportLatex) {
for (const noteItem of allNoteItems) {
await toLatex(noteItem);
}
}

We can add a checkbox to the export dialog for latex export to control if to pack all items in one file.

Comment thread addon/locale/en-US/addon.ftl Outdated
Comment thread addon/locale/en-US/exportNotes.ftl Outdated
Comment thread src/extras/exportNotes.ts Outdated
Comment thread src/modules/export/api.ts Outdated
Comment thread src/modules/export/latex.ts Outdated
Comment thread src/modules/export/latex.ts Outdated
Comment thread src/modules/export/latex.ts Outdated
Comment thread src/modules/export/latex.ts Outdated
Comment thread src/modules/export/latex.ts Outdated
Comment thread addon/chrome/content/exportNotes.xhtml Outdated
@windingwind

Copy link
Copy Markdown
Owner

Thank you very much. I left some comments, please see if they make sense.

@wly2014

wly2014 commented May 13, 2025

Copy link
Copy Markdown
Contributor Author

I updated the code, but I'm seeing an unexpected CI / test (pull_request) failure. The changes pass locally without errors.

@windingwind windingwind force-pushed the feature_exportMultipleLaTeX branch from be11c6f to 8570c08 Compare June 12, 2025 15:17
@windingwind windingwind merged commit 34ff8c2 into windingwind:master Jun 12, 2025
2 checks passed
@windingwind

Copy link
Copy Markdown
Owner

Thanks!

@github-actions

Copy link
Copy Markdown

🚀 This ticket has been resolved in v2.5.0. See Release v2.5.0 for release notes.

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

Successfully merging this pull request may close these issues.

[Feature] 添加批量笔记导出功能

2 participants