PDF ToC omitting entries in parentheses

Bug #1358443 reported by Amanda Guttmann on 2014-08-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Many times when I am converting an EPUB to a PDF, ToC entries which contain parentheses in the EPUB ToC will not show up in the same way in a PDF. Anything within or after the parentheses gets omitted. This has happened to several times, and is very frustrating. Especially when it happens in the middle heading. For example "Into the Great (Un)Known" would show up in the PDF ToC as "Into the Great".

In the case of my example "The Bad Sister (1)" and "The Bad Sister (2)" both show up in the PDF as "The Bad Sister". The parentheses are included as part of the CSS, so I'm not sure why it is being thrown out.

I am using 1.47.0 on Windows. In the interest of copyright and file size, I included only a stripped version with the affected chapters. I am unable to add 2 attachments.

Has anyone else had similar experiences that knows how to adjust for it? Aside from just editing the PDF after the fact.

This is the PDF output, since you can only add one at a time. As you can see from the side ToC, the (1) and (2) have been left out.

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers