![]() |
#226 | ||||
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Quote:
Quote:
You will see a bunch of paragraph marks causing the hard line breaks. When I have text like this I use My TXT Cleaner an extension for Open Office.org Writer program. Quoted from the web page. (English version scroll down the page) Quote:
Last edited by DoctorOhh; 05-22-2010 at 10:14 PM. |
||||
![]() |
![]() |
#227 |
Dylanologist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 200
Karma: 146754
Join Date: Apr 2010
Location: Hanover, New Hampshire, USA
Device: none/all/any
|
Valloric, Thank you for creating Sigil. Currently I use it for one thing, to generate an epub file from my html. It works like a charm. Thank you. I have only one pet peeve, Command-H does not close the program on my Mac. it brings up the Find window. This is a real stone in my shoe. Why don't I just go barefoot? Good question. :-) Thanks again, Sigil is a great program. I know a lot of work has and is going into it. - Fabe
|
![]() |
Advert | |
|
![]() |
#228 |
Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 520
Karma: 24612
Join Date: Aug 2009
Location: Utrecht, NL
Device: Kobo Aura 2, iPhone, iPad
|
I agree on the Command-H issue.
|
![]() |
![]() |
#229 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 68
Karma: 526028
Join Date: Nov 2009
Location: New York, NY
Device: iphone
|
Ha! I thought I was alone on the Command + H peeve. I didn't want to mention it because Valloric has so much else on his plate. But since you do...I'm sure he will say to make a formal feature request here. So one of us should!
|
![]() |
![]() |
#230 | |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
So picking the same keyboard shortcuts as Word makes using Sigil more familiar to people who have used Word. And Word uses CTRL+H for opening the Replace dialog on Windows. It's possible to make the keyboard shortcut selection platform dependent, so that different shortcuts map to different things on different platforms. But frankly, I'm against that approach. Qt provides a large list of StandardKeys that automatically remap themselves on different platforms. Using these is easy when all you need are the shortcuts listed. But creating your own application-specific shortcuts (of which Sigil has a large amount) while using StandardKeys... well it means you have to keep track of all the possible combinations and mappings to not accidentally step on something that's already in use. Do note that there are about a 100 different combinations on that list. They all cross-wire in strange ways. And these are only the ones that Qt provides. The combinatorial explosion goes sky-high when you add the other actions with shortcuts that differ on various platforms. Taking care of such a large remapping system would be tedious and frustrating. So Command-H will sadly have to stay where it is. (Qt remaps all CTRL-specified shortcuts to Command) |
|
![]() |
Advert | |
|
![]() |
#231 |
Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 520
Karma: 24612
Join Date: Aug 2009
Location: Utrecht, NL
Device: Kobo Aura 2, iPhone, iPad
|
I looked into that Qt table and it says that Replace on Windows is already mapped from Ctrl+H, but on Mac OS X it is not. The other exception is that on KDE it is mapped from Ctrl+R. I would suppose that is because on KDE Ctrl+R is the preferred key combination for replace.
So to get Cmd+H to map to Replace you need to do something special in the Sigil code. To keep the original Mac OS X behaviour (Cmd+H mapped to Hide Sigil) you don't need anything special. Is that correct? |
![]() |
![]() |
#232 |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Cmd+H itself is not the issue, the point is that I'm either going to do platform-specific shortcuts in general (including Cmd+H) or I'm not. I've decided not to since the cons outweigh the pros, IMO.
|
![]() |
![]() |
#233 |
Member
![]() Posts: 15
Karma: 10
Join Date: Apr 2010
Location: Tasmania
Device: palm, sony xperia with Moonreader, Pocketbook 360 plus, Pocketbook 613
|
cmd H in mac OSland
CMD-H to hide the current application is standard in the Appleland GUI strictures across all applications.
It really interrupts workflow on a mac when I hit CMD-H. ![]() ![]() When BBedit faced the same issue they allowed the user to decide which it should be with a dialogue on intial load of app, and in preferences. ![]() |
![]() |
![]() |
#234 |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
The shortcut for opening the Replace dialog on Macs is now Cmd+Shift+F. Cmd+H is left to the OS and now works as expected.
|
![]() |
![]() |
#235 |
You kids get off my lawn!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
|
Does this mean there'll be a new update soon?
|
![]() |
![]() |
#236 |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
|
![]() |
![]() |
#237 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 589
Karma: 1451235
Join Date: Jun 2008
Device: Sony PRS-505, Sony PRS-950
|
Is it possible to remove lines between paragraphs in any simple manner using Sigil? I know Calibre can do this, but it also does a few things that I do not like, and I was wondering if I could do this more hands-on with Sigil. I could of course convert and remove lines with Calibre and then fix the issues caused by the conversion in Sigil, but I was wondering if I could just select blocks of text, within a scene or a chapter for instance, and remove lines.
|
![]() |
![]() |
#238 | |||
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Calibre, and others often create that space by adding a .5em margin above and below each paragraph via the CSS. If you remove these margins you remove the spaces between all objects of the same class paragraph. Some epubs have breaks between lines hard coded with back to back line breaks every place they want a space between paragraphs. Quote:
Quote:
You can adjust the CSS in Sigil and you can find and replace the others. It is just a matter of figuring out how the document you're looking to fine tune handles these spaces. Last edited by DoctorOhh; 08-11-2010 at 05:11 AM. |
|||
![]() |
![]() |
#239 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 589
Karma: 1451235
Join Date: Jun 2008
Device: Sony PRS-505, Sony PRS-950
|
In the book I was trying to edit, it was just </p> empty line <p> .. I suppose whether Calibre handles removing line breaks properly and indentation depends on whether the ebook was "coded" properly..
|
![]() |
![]() |
#240 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
You are correct, a well coded ebook will convert fine without either option set. I love the fact the he supplied these simple options for all of us that don't want to get into the weeds. I like having a certain font size, a standard indent and a space between my paragraphs. I also deal with some ebooks of questionable origin. Because of this I just default to having both options set. I check remove spaces between paragraph, set the indent to 1.1em, and set insert blank line to put the space back between the paragraphs. |
|
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil -- what version of .epub? | Kivgaen | Sigil | 30 | 01-29-2011 02:03 AM |
Sigil ePub to MOBI | crutledge | Calibre | 1 | 10-08-2010 12:04 PM |
Sigil Toc editor | Enesco | Sigil | 16 | 09-23-2010 06:41 AM |
Sigil ePub editor - where is it? | Alexander Turcic | ePub | 3 | 08-04-2009 05:55 PM |