Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 05-09-2014, 05:23 PM   #1
arspr
Dead account. Bye
arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.
 
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
Some questions or possible enhancements on Insert Tag tool?

Several very small things I've just detected that maybe have some kind of conscious design criteria behind them:
  • Why is Insert Tag tool available at opf, xml or ncx files? (As example it's not available in css ones)
  • Insert Tags tool lacks h5 and h6 ones, why?
  • More over, why don't you add <br/> or <hr/> or more like these ones to the Insert Tag list?
  • Would it be worthy adding a concise description in the tag list in order to make them more user friendly to casual users? I mean something like "h1 - Title level 1", "strong - Reinforcement of rendering, quite similar to bold", "p - Paragraph"
  • Insert image, insert hyperlink and insert tag tools are located in the beautify and fix html bar. Shouldn't they be located in the "Format" bar?
arspr is offline   Reply With Quote
Old 05-09-2014, 06:04 PM   #2
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
You can type in h5 and h6 by pressing the <> next to the down arrow, and afterwards they will be on the list. They appear in order of use. My h4 and p tags contend for top spot in the book I am doing.

It inserts the tags at both ends...I know. But such a tag is not much useful. This is more a clips function thing, I think.

Personally, if you don't know what it means you shouldn't be playing with it. An html editor is a dangerous thing for someone who doesn't know what they are doing and pushes the save button over the only copy.

Last edited by mrmikel; 05-09-2014 at 06:06 PM.
mrmikel is offline   Reply With Quote
Advert
Old 05-09-2014, 10:11 PM   #3
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: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
1) Because you can insert tgs in opf, ncx and xml files, but not in css files

2) insert tag allows you to insert any tag you like, as mrmikel pointed out

3) Insert tag is primarily useful for full tags and to wrap existing text in a tag. Self closing tags are pretty easy to just type.

4) I dont see much point, see (2) you can have any tag ata ll , including invalid ones.
kovidgoyal is online now   Reply With Quote
Old 05-10-2014, 04:08 AM   #4
Sunlite
Addict
Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.
 
Sunlite's Avatar
 
Posts: 206
Karma: 547516
Join Date: Mar 2008
Location: Berlin, Germany
Device: KObo Clara, Kobo Aura, PRS-T1, PB602, CyBook Gen3
Would it maybe possible to tweak the insert tag code a bit to allow inserting tags with classes?

Example: I tried to insert a custom tag "div class='letter'" and got the following result:

Code:
<div class='letter'></div class='letter'>
Would it be possible to have the closing tag ignore stuff after a space and only use the first 'word' in the example the "div"?
Sunlite is offline   Reply With Quote
Old 05-10-2014, 06:28 AM   #5
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: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...d68ba30cbcf99c
kovidgoyal is online now   Reply With Quote
Advert
Old 05-10-2014, 01:55 PM   #6
Sunlite
Addict
Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.
 
Sunlite's Avatar
 
Posts: 206
Karma: 547516
Join Date: Mar 2008
Location: Berlin, Germany
Device: KObo Clara, Kobo Aura, PRS-T1, PB602, CyBook Gen3
Great!
Thank you.
Sunlite is offline   Reply With Quote
Old 05-10-2014, 02:22 PM   #7
arspr
Dead account. Bye
arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.
 
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
Quote:
Originally Posted by mrmikel View Post
You can type in h5 and h6 by pressing the <> next to the down arrow, and afterwards they will be on the list. They appear in order of use. My h4 and p tags contend for top spot in the book I am doing.

It inserts the tags at both ends...I know. But such a tag is not much useful. This is more a clips function thing, I think.

Personally, if you don't know what it means you shouldn't be playing with it. An html editor is a dangerous thing for someone who doesn't know what they are doing and pushes the save button over the only copy.
Quote:
Originally Posted by kovidgoyal View Post
1) Because you can insert tgs in opf, ncx and xml files, but not in css files

2) insert tag allows you to insert any tag you like, as mrmikel pointed out

3) Insert tag is primarily useful for full tags and to wrap existing text in a tag. Self closing tags are pretty easy to just type.

4) I dont see much point, see (2) you can have any tag ata ll , including invalid ones.


Thanks guys...

I never noticed that clicking on the icon, not in the down arrow, you got a dialogue to insert whatever tag you wanted...

Of course with this "hidden" feature, (I'm fully dumb), each one of my suggestions is pretty worthless... And of course, because of it, this tool completely make sense in every xml like file format...
arspr is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Book jacket enhancements in 0.7.19 GRiker Calibre 7 09-20-2010 09:19 PM
How to apply the enhancements/patches ? nubbol Calibre 2 09-04-2010 11:42 PM
Enhancements in progress??? crutledge Sigil 5 06-15-2010 02:14 PM
EZ-Reader fixes and enhancements list ekaser Astak EZReader 220 04-16-2010 09:49 PM
Kindle enhancements: calibre 0.6.46 GRiker Calibre 21 04-05-2010 05:27 AM


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


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