Skip to content

Conversation

@GerjanDorgelo
Copy link
Contributor

Description

Add translation example to LaTeX to Word conversion notebook

Fixes #877

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • I have added tests that prove my fix is effective or that my feature works
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • New and existing unit tests pass locally with my changes

@GerjanDorgelo GerjanDorgelo self-assigned this Dec 19, 2025
Copilot AI review requested due to automatic review settings December 19, 2025 13:13
@GerjanDorgelo GerjanDorgelo linked an issue Dec 19, 2025 that may be closed by this pull request
2 tasks
@github-actions
Copy link

Thank you so much for contributing to Blueprints!
Your contributions help thousands of engineers work more efficiently and accurately.

Now that you've created your pull request, please don't go away; take a look at the bottom of this page for the automated checks that should already be running. If they pass, great! If not, please click on 'Details' and see if you can fix the problem they've identified. A maintainer should be along shortly to review your pull request and help get it added!

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new example (1b) to the LaTeX to Word conversion notebook demonstrating how to translate LaTeX text before converting it to Word format using the TranslateLatex module. This enhancement enables users to localize formula text for document generation in different languages.

  • Added Example 1b showing LaTeX translation with Dutch language conversion
  • Cleared execution outputs from existing Examples 2, 3, and 4
  • Updated cell IDs and execution counts to accommodate the new example
Comments suppressed due to low confidence (1)

docs/examples/latex/latex_to_word.ipynb:1

  • The new translation functionality introduced in Example 1b lacks test coverage. Consider adding tests to verify that the TranslateLatex integration works correctly with the LatexToWordConverter, particularly testing that translated LaTeX maintains proper formatting and can be successfully converted to Word documents.
{

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link

codecov bot commented Dec 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (558e533) to head (beba187).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #878   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          402       402           
  Lines        12602     12602           
=========================================
  Hits         12602     12602           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@egarciamendez egarciamendez left a comment

Choose a reason for hiding this comment

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

At this moment we are in the process of moving away from jupyter notebooks for writing examples. Could you please use markdown instead?

Copilot AI review requested due to automatic review settings December 21, 2025 12:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@GerjanDorgelo
Copy link
Contributor Author

At this moment we are in the process of moving away from jupyter notebooks for writing examples. Could you please use markdown instead?

sure

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 request]: Expand to_word example with translate

3 participants