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 12-30-2024, 04:22 AM   #1
Kuram
Enthusiast
Kuram began at the beginning.
 
Posts: 44
Karma: 10
Join Date: Aug 2013
Device: none
Question Why can't we use shorthand properties in Transform Styles?

Code:
calibre, version 7.23.0
ERROR: Shorthand property not allowed: margin is a shorthand property. Use the full form of the property, for example, instead of font, use font-family, instead of margin, use margin-top, etc.
I would say 98% of the books I open to edit use shorthand margin in every case with very few exceptions. Is there some reason that this functionality couldn't be incorporated?
Kuram is offline   Reply With Quote
Old 12-30-2024, 06:28 AM   #2
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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You specify the full form in your rule, what form the book uses is irrelevant, it will be processed correctly.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Transform Styles Question m_pluto Editor 2 07-01-2021 05:51 PM
Transform Styles to select specific line-height Rellwood Conversion 5 06-23-2017 06:03 AM
first-line and text-transform 1v4n0 Workshop 12 03-05-2016 10:21 AM
Transform Kindle 4 into Dx 9.7 inc CapitainDerya Kindle Developer's Corner 1 01-31-2016 07:58 AM
IBM's Shorthand-Aided Rapid Keyboarding ready for market Alexander Turcic Lounge 4 08-17-2005 10:56 PM


All times are GMT -4. The time now is 05:00 AM.


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