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 02-22-2015, 09:10 PM   #1
Rand Brittain
Bookmaker
Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
Keyboard Shortcut for <li>?

The keyboard shortcuts in the editor that let me shift an element from a paragraph to a heading or to a different kind of heading are really useful!

Would it be possible to extend this functionality so that I can also turn things into list items? When converting .doc files into ePub files I find that I have to do this quite often. Being able to automate that task would be extremely helpful!
Rand Brittain is offline   Reply With Quote
Old 02-22-2015, 09:43 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Using the Insert Tag button, you can specify any tag complete with attributes for the opening tag, and your most recently used tags will appear in the dropdown. Although that won't act on the surrounding block level tag, you can quickly tag highlighted content.
eschwartz is offline   Reply With Quote
Advert
Old 02-24-2015, 04:55 PM   #3
Rand Brittain
Bookmaker
Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
That's true but being able to transform one to the other with a single key combination would be a vast improvement, especially if I have to do it several thousand times.
Rand Brittain is offline   Reply With Quote
Old 02-24-2015, 06:06 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,590
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Rand Brittain View Post
That's true but being able to transform one to the other with a single key combination would be a vast improvement, especially if I have to do it several thousand times.
Have you considered using a tool such as PTFB or AHK (Windows), Automator (OSX) or Autokey (Linus), their advantage is that they can 'automate' almost any GUI application.

BR
BetterRed is offline   Reply With Quote
Old 02-24-2015, 07:08 PM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
The issue is that there doesn't apppear to be a way to use the tag transform with other elements at all, and merely wrapping text isn't entirely the same thing.

A purely calibre alternative is a snippet.
eschwartz is offline   Reply With Quote
Advert
Old 02-24-2015, 07:12 PM   #6
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,078
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Quote:
Would it be possible to extend this functionality so that I can also turn things into list items? When converting .doc files into ePub files I find that I have to do this quite often. Being able to automate that task would be extremely helpful!
Possibly in MS Word you could add markers (maybe use Word's Replace or a macro) that look like regular text when you import, but a clever Calibre Editor RegEx Stored Search could tune the markers into proper tags?
phossler is offline   Reply With Quote
Old 02-24-2015, 10:36 PM   #7
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: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you want to replace the same type of content on thousands of entries, the most efficient way is using search and replace. However, if you find regular expressions too daunting, then I suggest you copy paste the html into some editor that supports macros, and create a macro to do it for one item, then repeat that macro on all items, then copy paste back.
kovidgoyal is offline   Reply With Quote
Old 02-25-2015, 09:15 AM   #8
Rand Brittain
Bookmaker
Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
Quote:
Originally Posted by kovidgoyal View Post
If you want to replace the same type of content on thousands of entries, the most efficient way is using search and replace. However, if you find regular expressions too daunting, then I suggest you copy paste the html into some editor that supports macros, and create a macro to do it for one item, then repeat that macro on all items, then copy paste back.
In general I don't think my source documents are sufficiently regular to make the use of regular expressions productive.
Rand Brittain is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
keyboard shortcut for TOC in viewer? calibre4evar Calibre 8 01-05-2015 12:28 AM
[V2.10] Keyboard Shortcut stopped working BetterRed Calibre 20 11-16-2014 03:48 PM
Keyboard Shortcut: Rename CRB_Clive General Discussions 1 04-01-2014 01:32 PM
Keyboard Shortcut Issue in viewer bigpallooka Calibre 2 10-21-2010 01:32 AM
Add keyboard shortcut? Chris Edwards Amazon Kindle 0 09-25-2010 01:58 PM


All times are GMT -4. The time now is 02:48 AM.


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