Activity log for bug #1912958

Date Who What changed Old value New value Message
2021-01-24 19:35:34 John Beard bug added bug
2021-01-24 19:37:32 John Beard summary Feature: Merge paragraphs tool in ebook editor Feature: Merge/split paragraphs tool in ebook editor
2021-01-24 19:37:32 John Beard description When creating an ePub from a PDF, sometimes paragraphs are incorrectly not merged. It possible to fix this by deleting the </p><p ...> between the two halves of the paragraph (either manually, or using a Saved Search), but it would be much more convenient to be able to click a paragraph and select "Merge with next" and have it automatically attempt to merge with a following adjacent paragraph. I used the following regex: <\s*/\s*[pP]\s*>\s*<\s*[pP].*?> which seems functional, if fairly simple-minded. It not expected for this to do anything clever like preserve the second (false) paragraph's style or class. When creating an ePub from a PDF, sometimes paragraphs are incorrectly not merged. It possible to fix this by deleting the </p><p ...> between the two halves of the paragraph (either manually, or using a Saved Search), but it would be much more convenient to be able to click a paragraph and select "Merge with next" and have it automatically attempt to merge with a following adjacent paragraph. I used the following regex: <\s*/\s*[pP]\s*>\s*<\s*[pP].*?> which seems functional, if fairly simple-minded. It not expected for this to do anything clever like preserve the second (false) paragraph's style or class. SImilarly, it does happen that paragraph is falsely merged. In that case, splitting by adding a </p><p XXX> (where XXX is the same as the current paragraph's) would be another useful tool.
2021-01-24 19:37:40 John Beard description When creating an ePub from a PDF, sometimes paragraphs are incorrectly not merged. It possible to fix this by deleting the </p><p ...> between the two halves of the paragraph (either manually, or using a Saved Search), but it would be much more convenient to be able to click a paragraph and select "Merge with next" and have it automatically attempt to merge with a following adjacent paragraph. I used the following regex: <\s*/\s*[pP]\s*>\s*<\s*[pP].*?> which seems functional, if fairly simple-minded. It not expected for this to do anything clever like preserve the second (false) paragraph's style or class. SImilarly, it does happen that paragraph is falsely merged. In that case, splitting by adding a </p><p XXX> (where XXX is the same as the current paragraph's) would be another useful tool. When creating an ePub from a PDF, sometimes paragraphs are incorrectly not merged. It possible to fix this by deleting the </p><p ...> between the two halves of the paragraph (either manually, or using a Saved Search), but it would be much more convenient to be able to click a paragraph and select "Merge with next" and have it automatically attempt to merge with a following adjacent paragraph. I used the following regex: <\s*/\s*[pP]\s*>\s*<\s*[pP].*?> which seems functional, if fairly simple-minded. It not expected for this to do anything clever like preserve the second (false) paragraph's style or class. Similarly, it does happen that paragraph is falsely merged. In that case, splitting by adding a </p><p XXX> (where XXX is the same as the current paragraph's) would be another useful tool.
2021-02-09 07:00:49 Kovid Goyal calibre: status New Fix Released