daisy / pipeline

Super-project that aggregates all Pipeline related code, provides a common tracker for Pipeline related issues and holds the Pipeline website
http://daisy.github.io/pipeline
21 stars 21 forks source link

DTBook to RTF fails to include images #677

Open nicolegaines opened 1 year ago

nicolegaines commented 1 year ago

Used the Pipeline 2 (2023) to convert 9781622911417NIMAS (Integrated Chinese 2) into RTF. The file converted successfully, but all images from source files were missing from the RTF. This replicates earlier reported testing with a prior version of Pipeline 2.

Windows 10 Professional (64-bit) App version: 1.0.0-RC2 Engine version: 1.14.11 Engine is running on 127.0.0.1:49152/ws

Here is the log file and the RTF file that resulted from the conversion. I had to resave the RTF as .docx in order to attach it here. In case it helps, all of the images in the NIMAS file were JPG files. If you need complete NIMAS files for testing, please let me know.

NIMAS_to_RTF_log.txt 9781622911417NIMAS.docx

Thanks. Nicole

bertfrees commented 4 months ago

I have been looking into solutions for embedding images in an RTF. Pipeline currently uses some construct to reference (external) images, but it does not work in any of the text editors / word processors I tested with, and the construct does not seem to be part of the standard. It is also possible to embed the images within the RTF file, and that seems the way to go here.

However while researching this, it dawned on me that RTF programming is far outside my comfort zone. It looks very intimidating, and complex compared to ODF or even LaTeX. I fear that for a complete novice like me it will require quite a bit of learning to get an understanding of the language. If we think RTF support in Pipeline is important, I think we will need to allocate a good chunk of time for it.

nicolegaines commented 4 months ago

Hi, Bert. Understood. Building out the RTF script may not be the best approach. The use case we were trying to address was the need for conversion of NIMAS/DTBook to a text format with images that can be used as the basis of a (hard copy) large print format. I think if we can get the ODT conversion to work well, that format can be opened in Word and re-saved. Is there a new installer available for the version of Pipeline that includes the most recent bug fix for the ODT script? We would be happy to test that again. If it's working well with NIMAS, we may have all we need. Thanks!

Nicole

bertfrees commented 4 months ago

Do you mean this bug fix? It should be included in the 1.4 release of the Pipeline desktop app last month.

nicolegaines commented 4 months ago

Thanks Bert. I think we had been focusing on testing the DTBook to EPUB script when that was posted but we'll circle back and do some further testing on the ODT conversion. Thanks again!


From: Bert Frees @.> Sent: Thursday, July 11, 2024 10:51 AM To: daisy/pipeline @.> Cc: Nicole Gaines @.>; Author @.> Subject: Re: [daisy/pipeline] DTBook to RTF fails to include images (Issue #677)

Do you mean this bug fixhttps://github.com/daisy/pipeline/issues/777? It should be included in the 1.4 releasehttps://github.com/daisy/pipeline-ui/releases/tag/1.4.0 of the Pipeline desktop app last month.

— Reply to this email directly, view it on GitHubhttps://github.com/daisy/pipeline/issues/677#issuecomment-2223142724, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALIIJSD4D2NYQWJ7JIOX5TDZL2LVXAVCNFSM6AAAAABKW7OAROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRTGE2DENZSGQ. You are receiving this because you authored the thread.Message ID: @.***>