Libreoffice convert-to not working

前端 未结 10 567
孤城傲影
孤城傲影 2020-12-09 17:13

I\'m trying to convert documents from html,txt to pdf,odt and vice versa.. But only odt to pdf seems to work.. No other file formats are converted

Here are my comman

10条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-09 17:35

    The real problem is that the libreoffice/soffice command line doesn't provide any error message or debugging information, so it's all guesswork. If you are up to it, then try strace for hints.

    In my case (Linux), I didn't have the correct packages installed - for example, to convert spreadsheets, libreoffice-calc is needed (duh), and also libreoffice-headless (double-duh). But the command line won't tell you that - it just hangs, or runs and doesn't do anything.

提交回复
热议问题