ability to erase more than one style at a time

Request new features or suggest modifications to existing features of Atlantis.
Post Reply
Kiruhdu
Posts: 24
Joined: Tue Sep 05, 2017 9:04 am

ability to erase more than one style at a time

Post by Kiruhdu »

Hi there

I often deal with books in RTF-format to create epub-files; sometimes I get a RTF-file with dozens or even hundreds of styles. If saved as epub, all those styles are reflected in the css-file created... Erasing all those styles one by one is simply distracting, so I'd like to ask for a possibility to mark and erase more styles at once.

Thanks in advance
Robert
Posts: 1906
Joined: Fri Aug 15, 2003 8:27 pm

Post by Robert »

Here is how to proceed:
1. Open the document containing unused styles in Atlantis.
2. Press Ctrl+A.
3. Press Ctrl+C.
4. Press Ctrl+N.
5. Press Ctrl+V. The new document that you created with Ctrl+N will have same contents as the original, but it will only contain the styles that were actually used in the original document.
6. Save the new document under a different name or into a different folder.
7. Delete the old document.
HTH.
Cheers,
Robert
Kiruhdu
Posts: 24
Joined: Tue Sep 05, 2017 9:04 am

Post by Kiruhdu »

Thanks Robert!

This is was I tried naturally first. The problem is, that these kind of books do use all this styles, even if they are quit similar...

So, unfortunately, this isn't a solution.

I think it can't be that hard to implement this feature in the code; it isn't something totally new - it's already there anywhere. It's just a question of linking it together...

Thanks nonetheless :D
Robert
Posts: 1906
Joined: Fri Aug 15, 2003 8:27 pm

Post by Robert »

If these styles are quite similar, which would you want to remove, and why?
Kiruhdu
Posts: 24
Joined: Tue Sep 05, 2017 9:04 am

Post by Kiruhdu »

As I said in the starting: they are all reflected in the generated css-file and that makes it cluttered and difficult to deal with it in other progs like Sigil...
Robert
Posts: 1906
Joined: Fri Aug 15, 2003 8:27 pm

Post by Robert »

OK, they are similar, but what makes them different? How important are their differences? Could you please post a short sample document?
Post Reply