12-18-2014, 10:01 PM | #16 | |
Grand Sorcerer
Posts: 12,162
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Quote:
|
|
12-18-2014, 10:11 PM | #17 |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Man, it's been soooo long since I've done anything with php. I don't know if I'm up for a porting project. I'll take a look, but no promises.
|
12-18-2014, 11:49 PM | #18 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
As I am only a pesky user, I was not aware of the pitfall. Sorry for this.
Thanks anyway for having a look. Among the many capabilities Calibre provides, maybe Kovid Goyal has a kind of "translator" in his huge pocket. Last edited by roger64; 12-18-2014 at 11:54 PM. |
12-19-2014, 01:49 AM | #19 | |
null operator (he/him)
Posts: 20,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
12-19-2014, 02:14 AM | #20 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
|
12-20-2014, 07:47 PM | #21 |
Junior Member
Posts: 3
Karma: 10
Join Date: Nov 2011
Device: none
|
Hi Roger,
There is already a python version of smartypants (but not smartypants typographer !) in calibre, located in calibre/utils. It is used by the conversion preprocess but unfortunately dont have all the capabilities of Typographer (french guillemets, non-breaking spaces). Here's the doc : Spoiler:
It could be a good basis for the enhancements you want. But DiapDealer it's up to you, it's not a demand |
12-26-2014, 08:10 PM | #22 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
|
04-17-2015, 01:15 AM | #23 |
Guru
Posts: 668
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
|
04-17-2015, 12:03 PM | #24 | ||
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Quote:
Still... this does deserve a revisit. I think I volunteered to make it possible to bypass the visual diff/confirm dialog and haven't delivered on that yet. |
||
04-17-2015, 12:26 PM | #25 |
Wizard
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
|
Not quite. Under Windows, the ampersand in such a menu item means "the next character is a hotkey for this option, so underline it to indicate that to the user." I believe using a double-ampersand will negate that, but I'm not sure what it would do on non-Windows systems. Removing the ampersand is probably the safest multi-platform choice; in this case, "Edit Spans/Divs" might work better.
|
04-17-2015, 12:35 PM | #26 |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Yep. The menu system is dutifully underlining the space that follows the ampersand.
I distinctly remember the ampersand displaying on my Windows machine at one point, but now I too, see the "Edit Spans _Divs." Bob's right, I need to just get rid of the ampersand. There's actually some horrid file/variable naming in general going on here, too, that I should clean up someday. |
04-17-2015, 01:04 PM | #27 |
Guru
Posts: 668
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
|
04-17-2015, 04:30 PM | #28 |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
More than volunteer, I think I asked for it, and I would be very grateful, because I haven't had a great success trying to do it by myself
|
04-17-2015, 05:12 PM | #29 |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Would just a simple Yes/No dialog prompt, to allow skipping the generation of the difference data/display suffice? Similar to the way the calibre built-in feature works?
|
04-17-2015, 05:49 PM | #30 |
Grand Sorcerer
Posts: 6,233
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sample Plugin for the Editor | DiapDealer | Editor | 77 | 12-10-2014 07:16 AM |
Diaps Editing Toolbag.zip Index Error | phossler | Editor | 2 | 10-01-2014 08:05 PM |
Editor plugin question | DiapDealer | Development | 2 | 07-28-2014 10:23 PM |
japi - a text editor capable of editing ePub directly | hekkel | ePub | 5 | 02-20-2009 08:46 AM |