Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 08-02-2009, 08:02 AM   #16
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,979
Karma: 350515
Join Date: Feb 2008
Device: Kobo Aura
Quote:
Originally Posted by pdurrant View Post
I'm not so concerned for direct Mobipocket output, but output of files that work nicely with the current Mobipocket Creator.
If you see any problems, please report them and I'll get to them when I can. I know a lot of people have been looking for that holy grail of multi-format ebook editing, the One Source File . Anything I can do to help you guys out I'll do gladly.
Valloric is offline  
Old 08-02-2009, 08:47 AM   #17
EowynCarter
Wizard
EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.
 
Posts: 4,318
Karma: 1686768
Join Date: Oct 2008
Location: Paris
Device: Cybooks; Sony PRS-T1
Quote:
Originally Posted by Valloric View Post
I'm opening Calibre epubs just fine on Linux (running Ubuntu Jaunty). You'll have to provide some more information.
What version of calibre do you use ? I'm using 0.6.4. Sigil is 0.1.0.
Said ePubs are converted from prc files.
I'm also using jaunthy.

Oh, and if i where to add a function : file search !
And a way to "synchronise" code view and book view.

wisiwig seam to act weird when trying to add header. And it's slow saving. (Then, it's a 1M file i'm editing, so i'm looking for trouble there.)
EowynCarter is offline  
Advert
Old 08-02-2009, 09:37 AM   #18
Timoleon
Time Enough at Last
Timoleon ought to be getting tired of karma fortunes by now.Timoleon ought to be getting tired of karma fortunes by now.Timoleon ought to be getting tired of karma fortunes by now.Timoleon ought to be getting tired of karma fortunes by now.Timoleon ought to be getting tired of karma fortunes by now.Timoleon ought to be getting tired of karma fortunes by now.Timoleon ought to be getting tired of karma fortunes by now.Timoleon ought to be getting tired of karma fortunes by now.Timoleon ought to be getting tired of karma fortunes by now.Timoleon ought to be getting tired of karma fortunes by now.Timoleon ought to be getting tired of karma fortunes by now.
 
Timoleon's Avatar
 
Posts: 387
Karma: 1151316
Join Date: Feb 2008
Location: New England
Device: iPad 3, iPhone 5, Kindle 3, Fire, Sony PRS-350
It's Sunday --- my day off from work. I now know what I'll be playing with today!

Congratulations, and great work!!
Timoleon is offline  
Old 08-02-2009, 09:42 AM   #19
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 62,240
Karma: 255670691
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by Valloric View Post
I know a lot of people have been looking for that holy grail of multi-format ebook editing, the One Source File . Anything I can do to help you guys out I'll do gladly.
Well, I'll be preparing (I hope) two ebooks over the next few months, and it looks like this might be the best tool to do the ePUBs with. It certainly looks promising so far. And if best for ePUBs, I'll certainly hope to use the same source files to at least generate the PRC. Lit and eReader and LFR I'm happy for Calibre to do.

Thanks very much for all your time and care spent so far - it shows, even in the pre-beta state.
pdurrant is offline  
Old 08-02-2009, 10:33 AM   #20
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,979
Karma: 350515
Join Date: Feb 2008
Device: Kobo Aura
Quote:
Originally Posted by EowynCarter View Post
What version of calibre do you use ? I'm using 0.6.4. Sigil is 0.1.0.
Said ePubs are converted from prc files.
I'm also using jaunthy.
Create an issue and attach the epub file you are having problems with.

Quote:
Originally Posted by EowynCarter View Post
Oh, and if i where to add a function : file search !
You mean a search & replace dialog? That's on my TODO list. But "file" search? I'm not sure I follow.

Quote:
Originally Posted by EowynCarter View Post
And a way to "synchronise" code view and book view.
The next release will have the views remember their scrollbar positions when you switch between them. Synchronizing them directly (scrolling in one scrolls the other) is technically challenging, at least keeping it accurate. I can't just link the two scrollbars together since the Code View is showing a lot more text than Book View. Book View also displays images. All ideas I come up with (like scroll ratios) fail in certain situations. There's just no way to keep the two accurately linked for large files.

I could use the location of the caret in the HTML tree as the sync point, but if you scrolled away from from the caret and then switched Views, the other View would not show your past location but the caret's location.

If anyone has any ideas on how to implement this, I'm all ears.

Quote:
Originally Posted by EowynCarter View Post
wisiwig seam to act weird when trying to add header.
"Weird" is hardly something I can test for.

Quote:
Originally Posted by EowynCarter View Post
And it's slow saving. (Then, it's a 1M file i'm editing, so i'm looking for trouble there.)
It really shouldn't be. What kind of file is that? Create an issue and attach the file. Also, what kind of hardware are you running? Add all of this information to the issue.

Quote:
Originally Posted by pdurrant View Post
Thanks very much for all your time and care spent so far - it shows, even in the pre-beta state.
Thank you for the kind words.

Last edited by Valloric; 08-02-2009 at 10:45 AM. Reason: typo
Valloric is offline  
Advert
Old 08-02-2009, 10:42 AM   #21
Moejoe
Banned
Moejoe did not drink the Kool Aid.Moejoe did not drink the Kool Aid.Moejoe did not drink the Kool Aid.Moejoe did not drink the Kool Aid.Moejoe did not drink the Kool Aid.Moejoe did not drink the Kool Aid.Moejoe did not drink the Kool Aid.Moejoe did not drink the Kool Aid.Moejoe did not drink the Kool Aid.Moejoe did not drink the Kool Aid.Moejoe did not drink the Kool Aid.
 
Posts: 5,100
Karma: 72193
Join Date: Feb 2009
Location: South of the Border
Device: Coffin
Excellent news and congratulations on getting this project started.
Moejoe is offline  
Old 08-02-2009, 10:49 AM   #22
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 18,301
Karma: 15945099
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
re: window synchronization

I did somethng very similar for a gov't contract many years ago. On load, each entity is given sequential number. When the user scrolled data was sent from one display to the other and caused an update. This occured On Click and on Scroll. I don't remember the details and I do remember using some special tools, but maybe the idea is applicable here. BTW, the OS wasn't Windows.
crutledge is offline  
Old 08-02-2009, 10:54 AM   #23
rogue_ronin
Banned
rogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-books
 
Posts: 475
Karma: 796
Join Date: Sep 2008
Location: Honolulu
Device: Nokia 770 (fbreader)
Quote:
I could use the location of the caret in the HTML tree as the sync point, but if you scrolled away from from the caret and then switched Views, the other View would not show your past location but the caret's location.
Wouldn't it work if both Views did it? I mean: keep the WYSIWYG View linked to the caret position of the Code View, and when the WYSIWYG has focus, keep the Code View synced to wherever you are working. Scrolling shouldn't matter, because you're not doing anything. If you want to see the alternate View equivalent, just click in the frame.

Or top left corner (in Left-to-Right languages.) Whatever is in the top left corner of the focused View is what is in the top left corner of the other View. When you scroll in WYSIWYG, Code would fly by, if Code has focus then WYSIWYG would scroll slower.

I imagine I've over-simplified.

m a r
rogue_ronin is offline  
Old 08-02-2009, 11:00 AM   #24
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,979
Karma: 350515
Join Date: Feb 2008
Device: Kobo Aura
Quote:
Originally Posted by crutledge View Post
I did somethng very similar for a gov't contract many years ago. On load, each entity is given sequential number. When the user scrolled data was sent from one display to the other and caused an update. This occured On Click and on Scroll. I don't remember the details and I do remember using some special tools, but maybe the idea is applicable here. BTW, the OS wasn't Windows.
Oh I have no problems sending data from one View to the other: Qt's Signals&Slots mechanism works great here. It's just that even though both Views use the same code, CV shows it directly, while BV renders it out. The vertical size of the content is completely different. And it's not proprotional, so I can't just say "Ok, if BV is 2/3 down the page, CV needs to be 2/3 down the page too". An image takes up a lot of space in BV but only a line of code in CV.

The last thing idea I came up with was to track what element was in the center of the any view and try to make the other view match that. But this would be rather computationally expensive. That, and I don't have clue how I would implement it.

Adobe Dreamweaver seems to take the caret position approach I talked about. This is probably the route I'm going to take.
Valloric is offline  
Old 08-02-2009, 11:02 AM   #25
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,979
Karma: 350515
Join Date: Feb 2008
Device: Kobo Aura
Quote:
Originally Posted by rogue_ronin View Post
Wouldn't it work if both Views did it? I mean: keep the WYSIWYG View linked to the caret position of the Code View, and when the WYSIWYG has focus, keep the Code View synced to wherever you are working. Scrolling shouldn't matter, because you're not doing anything. If you want to see the alternate View equivalent, just click in the frame.
That's what I meant and that's what Dreaweaver does. I'll probably go with that idea.
Valloric is offline  
Old 08-02-2009, 11:12 AM   #26
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 36,713
Karma: 16409655
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Another possibility is to use hit testing/QWebElement in the rendered view to figure out exactly where you should be in the code view. Should be fairly robust.
kovidgoyal is offline  
Old 08-02-2009, 11:16 AM   #27
EowynCarter
Wizard
EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.EowynCarter ought to be getting tired of karma fortunes by now.
 
Posts: 4,318
Karma: 1686768
Join Date: Oct 2008
Location: Paris
Device: Cybooks; Sony PRS-T1
Quote:
You mean a search & replace dialog? That's on my TODO list.
Great

Quote:
It really shouldn't be. What kind of file is that? Create an issue and attach the file. Also, what kind of hardware are you running? Add all of this information to the issue.
Just an awful lot a text
It keeps causing problems because of that Sigil does its job relatively well given what i put it through.

I also fond a problem with generated id's. Some are the same, and that cause the TOC to mess up.
EowynCarter is offline  
Old 08-02-2009, 11:17 AM   #28
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 56,906
Karma: 52002826
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
When you add in a search and replace function, can you also add in regex at the same time please? Thanks!
JSWolf is offline  
Old 08-02-2009, 11:19 AM   #29
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,979
Karma: 350515
Join Date: Feb 2008
Device: Kobo Aura
Quote:
Originally Posted by kovidgoyal View Post
Another possibility is to use hit testing/QWebElement in the rendered view to figure out exactly where you should be in the code view. Should be fairly robust.
I am unable to find QWebElement in the Qt 4.5 class list. A top result of a google search shows that this class was added in Qt 4.6, which has yet to be released.
Valloric is offline  
Old 08-02-2009, 11:21 AM   #30
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,979
Karma: 350515
Join Date: Feb 2008
Device: Kobo Aura
Quote:
Originally Posted by JSWolf View Post
When you add in a search and replace function, can you also add in regex at the same time please? Thanks!
A Search&Replace dialog without regex support is of course absolutely unacceptable. So yeah, you can count on it being included.
Valloric is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 06:52 PM.


MobileRead.com is a privately owned, operated and funded community.