Skip to content

--pptx-editable option cannot detect LibreOffice installed via Scoop #631

Closed
@yhatt

Description

@yhatt

Version of Marp Tool

Marp CLI v4.1.0

Operating System

Windows

Environment

  • OS version: Windows 11
  • Node.js version: v20.17.0

How to reproduce

  1. Install LibreOffice via scoop install libreoffice
  2. Run marp --pptx-editable --pptx slide.md

Expected behavior

Export PPTX into slide.pptx.

Actual behavior

[ ERROR ] Failed converting Markdown. (LibreOffice soffice binary could not be found.)

Additional information

LibreOffice soffice.exe installed via Scoop will be placed at %UserProfile%\scoop\apps\libreoffice\current\LibreOffice\program.

Probably we have to search the location of LibreOffice from potential directories.

Workaround

Set SOFFICE_PATH env as %UserProfile%\scoop\apps\libreoffice\current\LibreOffice\program\soffice.exe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions