![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Smartening punctuation
Hi
It looks very tempting but I did not dare yet to use it because I am French and we have our own -strict- punctuation rules. Is there a way to customize this function to abide by our own needs or, at least, to check what exactly is performed on our files and if this is convenient for us? Last edited by roger64; 04-27-2014 at 01:08 AM. |
![]() |
![]() |
![]() |
#2 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Just like any global change it will create a checkpoint and you can use the differences feature. IIRC it will also automatically offer you in a popup to "see what changed".
Then you can revert if you need. calibre as an ebook version control system is pretty handy, evn if it is limited to one branch and session-only. ![]() Last edited by eschwartz; 04-27-2014 at 10:42 AM. Reason: typos |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Indeed the control point system is very handy. But, I can't help thinking I would feel better if I knew exactly what it is doing to smarten the punctuation in my language instead of having to check afterwards what has been corrected or broken.
Last edited by roger64; 04-27-2014 at 02:14 AM. |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,509
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Just make a backup and experiment.
If it doesn't work properly, nothing lost but you could provide useful feedback on what is broken. Do you actually expect that an Indian developer, speaking English would know if your arcane language rules are handled correctly? |
![]() |
![]() |
![]() |
#5 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
@DoctorOhh I'll have a look. Thanks. Last edited by roger64; 04-27-2014 at 10:23 AM. |
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,569
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I understand not wanting to smarten a whole book as a test. Backups or not. You couldn't possibly know what might have gone wrong without then proofreading the entire book for potential problems. No fun.
I recommend making a test ePub that consists of only one page. On that page, throw every possible scenario you can think of (a paragraph or even a sentence at a time), "smarten" it and check the results. Repeat until you are satisfied you know what's going on. |
![]() |
![]() |
![]() |
#8 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
@DiapDealer,
But the whole point of my suggestion is using the diff feature to tell what changed, so there is no need to proofread. ![]() Last edited by eschwartz; 04-27-2014 at 11:04 AM. |
![]() |
![]() |
![]() |
#9 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
Trying it on a French novel, I certainly will get a quick answer for the 10, maybe 20 most used punctuation signs. But punctuation is a world in itself. Who knows how some unusual sign could be rendered ? How some surprising mistakes could later pass unattended? Is it so difficult to understand that I am afraid that a tool primarily conceived by English-speaking coders (thanks to them) for English books could prove partially inadequate for other languages? Last edited by DoctorOhh; 04-27-2014 at 05:26 PM. Reason: fixed close quote |
|
![]() |
![]() |
![]() |
#10 | ||
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
Use Smarten, see what changed, decide if you like it. Repeat. Once you have gotten a feel for how Smarten works, you may decide to skip the check, but personally I would eyeball all automatic changes regardless of the situation. |
||
![]() |
![]() |
![]() |
#11 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Roger64, perhaps you might go to the French forum and recruit some help there. Few of us English speakers could really understand the full nature of what you are talking about. I suspect few of understand the rules that even govern the English part. It should be second nature to the French speaking.
Since calibre is in Python, you might even get someone to help with coding, if that is the issue. I understand that you, like we English speakers, just want the program to work without having to go through extra motion just accomplish what we wish to do. |
![]() |
![]() |
![]() |
#12 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
Nevertheless, I'll have a try and report later. ![]() |
|
![]() |
![]() |
![]() |
#13 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Perhaps you will be the one to finally add language support to SmartyPants, then.
![]() |
![]() |
![]() |
![]() |
#14 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#15 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
![]() You write the French regexes and I'm sure Kovid will add language checking to Smarten. ![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Punctuation - who knows where? | gmw | Writers' Corner | 13 | 08-03-2013 01:16 AM |
Strange punctuation | gafitz | Conversion | 8 | 01-15-2012 07:07 PM |
Punctuation problems | Halk | Calibre | 0 | 10-13-2011 09:02 PM |
Punctuation | Dresden | Calibre | 7 | 08-31-2010 05:14 AM |
Punctuation | jgray | Workshop | 10 | 04-14-2010 07:38 AM |