Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 07-28-2016, 12:29 PM   #1
brolny
Connoisseur
brolny began at the beginning.
 
Posts: 64
Karma: 10
Join Date: Sep 2015
Location: Yerevan, Armenia
Device: none
Clips in Book View mode

“Clips” are very useful feature of the Sigil, but...

- When I press button "A" (Make the selected text bold) – I immediately see (in the “Book View” mode) that my text becomes bold.

- So, I expected the same immediate effect when I select text and then one “Clip” from “Clips”. But to see the changes I have to switch to “Code View” mode and then back (or re-open file) – in order to update the appearance of the file in “Book View”.

Why there is such difference – both times I just insert some HTML tags in the file...
No more...
Can you, please, update the “Book View” after inserting a “Clip”.

Thanks!

Spoiler:

clip:
<span xml:lang="hy">\1</span>

css:
:lang(hy) {
color: red;
font-style: italic;
line-height: 1.2em;
}
brolny is offline   Reply With Quote
Old 07-28-2016, 01:29 PM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,489
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by brolny View Post
- So, I expected the same immediate effect when I select text and then one “Clip” from “Clips”. But to see the changes I have to switch to “Code View” mode and then back (or re-open file) – in order to update the appearance of the file in “Book View”.
Clips were honestly never intended to be run from within Book View.

Quote:
Originally Posted by brolny View Post
-Why there is such difference – both times I just insert some HTML tags in the file...
The "why" is because clips are not the same as the gui formatting buttons (and because as I mentioned above, clips--especially html-tag-inserting clips--were never intended to be used in Book View). Do you not see the irony (or the potential danger) of using Book View to "just insert some HTML tags in the file"? What you're trying to do practically screams "please do me in Code View!"

Quote:
Originally Posted by brolny View Post
Can you, please, update the “Book View” after inserting a “Clip”.
We'll look into the possibilty, but we may also look into disabling all Clip functionality in Book View, too. Book View is for text; Code View is for tags.

Last edited by DiapDealer; 07-28-2016 at 01:36 PM.
DiapDealer is offline   Reply With Quote
Advert
Old 07-29-2016, 04:44 AM   #3
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,698
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
@brolny: I also strongly suggest that you follow DiapDealer's advice and don't apply clips in Book View mode.

If you need instant feedback, you can press F10 to display the Preview window, which will reflect layout changes caused by clips inserted in Code View and Book View.

If you use clips a lot, you also might want to permanently display the Clip Bar. (Right-click an empty area in the main tool bar and select Clip Bar.)
Doitsu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil Book View mode. Search stop / infinite loop. brolny Sigil 12 07-14-2016 04:05 AM
How to take over changed metadata in view mode? chaot Conversion 9 06-18-2015 04:44 AM
replace in book view changes view to code view cybmole Sigil 4 10-28-2012 01:20 PM
KOBO WIFI resetting view mode blastyrant Kobo Reader 1 08-24-2011 11:15 AM
Changing font for code view mode matthewyi Sigil 2 11-05-2009 02:20 PM


All times are GMT -4. The time now is 12:27 AM.


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