Bug 115435 - FORMATTING, EXPORTING: Automated hyphenation doesn't work when exporting to EPUB
Summary: FORMATTING, EXPORTING: Automated hyphenation doesn't work when exporting to EPUB
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.0.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: EPUB-Export
  Show dependency treegraph
 
Reported: 2018-02-04 08:47 UTC by Lucas Zanella
Modified: 2018-07-24 10:12 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Image as proof of bug (145.08 KB, image/png)
2018-02-04 16:34 UTC, Lucas Zanella
Details
Example of Writer file (23.09 KB, application/vnd.oasis.opendocument.text)
2018-02-04 16:46 UTC, Lucas Zanella
Details
Example of EPUB file (3.84 KB, application/epub+zip)
2018-02-04 16:48 UTC, Lucas Zanella
Details
Image of epub result (64.16 KB, image/png)
2018-02-04 17:13 UTC, m.a.riosv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Zanella 2018-02-04 08:47:39 UTC
Description:
If I set paragraph settings to hyphenate words, it will not translate when exporting as an EPUB file.

Steps to Reproduce:
1. Set paragraph settings to hyphenate;
2. Export as EPUB;
3. Open in an eBook viewer.

Actual Results:  
It worked in Writer, but did not translate.

Expected Results:
It should have been hyphenated the file in a way that still worked in the eBook.


Reproducible: Always


User Profile Reset: No



Additional Info:
Versão: 6.0.0.3
ID de compilação: 6.0.0-1
Threads da CPU:4; SO:Linux 4.14; Realizador da interface: padrão; VCL: gtk3; 
Local: pt-BR (pt_BR.UTF-8); Calc: group
....
Arch Linux


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Comment 1 Lucas Zanella 2018-02-04 16:34:14 UTC
Created attachment 139576 [details]
Image as proof of bug

I'm unsure what more info I'm able to give (someone changed it to "needinfo"), so I just attached this screenshot showing the bug. Works in Writer, doesn't work in EPUB. eBook window is narrow in order to leave more possibility of hyphenation. In Writer, bold words are the ones hyphenated.
Comment 2 Lucas Zanella 2018-02-04 16:35:41 UTC Comment hidden (obsolete)
Comment 3 m.a.riosv 2018-02-04 16:43:08 UTC
Works for me, please can you attach a sample file where it happens.
Comment 4 Lucas Zanella 2018-02-04 16:46:36 UTC
Created attachment 139577 [details]
Example of Writer file

ODT file with paragraph settings set to hyphenate.
Comment 5 Lucas Zanella 2018-02-04 16:48:27 UTC
Created attachment 139578 [details]
Example of EPUB file

Generated EPUB file from the ODT document. EPUB 3.0, separation method: title. Version 2 also doesn't work.
Comment 6 m.a.riosv 2018-02-04 17:13:46 UTC
Created attachment 139579 [details]
Image of epub result

I have installed 'Portuguese (Brasilian)' and works for me.
Comment 7 m.a.riosv 2018-02-04 17:15:41 UTC
Works for me with:
Versión: 6.0.0.3
Id. de compilación: 64a0f66915f38c6217de274f0aa8e15618924765
Subproc. CPU: 4; SO: Windows 10.0; Repres. IU: predet.; 
Configuración regional: es-ES (es_ES); Calc: group

Please do a test with Menu/Help/Restart in safe mode
Comment 8 Lucas Zanella 2018-02-04 17:33:06 UTC Comment hidden (obsolete)
Comment 9 Xisco Faulí 2018-03-14 08:45:55 UTC Comment hidden (obsolete)
Comment 10 Lucas Zanella 2018-03-14 17:32:17 UTC Comment hidden (obsolete)
Comment 11 Xisco Faulí 2018-03-15 09:23:14 UTC
(In reply to Lucas Zanella from comment #10)
> (In reply to Xisco Faulí from comment #9)
> > (In reply to Lucas Zanella from comment #8)
> > > Just did that. Normal hyphenation doesn't work in safe mode.
> > 
> > You mean it work in normal mode but not in safe mode?
> 
> No, sorry, I mean it doesn't work in either. Just retried it now, continues
> to not work after updates.

Putting back to UNCONFIRMED then...
Comment 12 Dieter Praas 2018-03-15 10:16:54 UTC
When I open attachment from comment 4, hyphenation is enabled, but there is no hyphenation within the text. So I can't test, if hyphenations are exported to EPUB.
Comment 13 Lucas Zanella 2018-03-15 20:36:17 UTC
(In reply to Dieter Praas from comment #12)
> but there is no hyphenation

That may be because you don't have the dictionary for PT-BR. You could try resizing the window to a small scale and see if hyphenation is enabled. Here on my end hyphenation shows in Writer, but not in the EPUB.

I managed to add it through Calibre, but it still would be nice to have it automatically.
Comment 14 Lucas Zanella 2018-03-15 20:38:13 UTC
Obs.: just tried on my Kindle. It actually didn't work trough Calibre, although it shows correctly on the computer.
Comment 15 Timur 2018-07-19 11:21:39 UTC
Lucas, are you saying it's working with Kindle and not with Calibre?
It's NotOutBug then, please report to Calibre. 
Regardless, always a good idea to test with diff. viewers, figured out that when I had issues with PDF viewers.