![]() |
#16 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,497
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Hi,
I think this problem is my fault. The damn tr() function to actually translate text is actually what is returning blanks instead of the message it is supposed to show. I think this is because somehow I have generated a base.ts that seems to be seems to be missing all file info and line numbers. I compared it to the base.ts that was in the Sigil 0.8.X branch and it properly had line numbers and did not display this empty message nonsense. So I have taken a chance and rebuild cleanly base.ts so it now has all of the file info and line numbers in it and will upload it to transifex for translating. Hopefully I have not lost anything by doing that but that was the only way to fix the issue and get the messages back for me. I will check out things tomorrow to make sure I have not messed up any other language translations doing it. I have my fingers crossed. But my what a strange problem! KevinH |
![]() |
![]() |
#17 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,914
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() |
|
![]() |
Advert | |
|
![]() |
#18 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,914
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() |
|
![]() |
![]() |
#19 |
Connoisseur
![]() Posts: 81
Karma: 10
Join Date: Nov 2013
Device: Kobo Aura HD
|
Select some text in code view - click to Superscript. Sigil crush.
I try to duplicate it without result. |
![]() |
![]() |
#20 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,497
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Is this with Windows? If so, it may be clipboard related. I have not been able to duplicate this subscript issue on Linux or Mac. If you run into it again please let us know.
KevinH |
![]() |
Advert | |
|
![]() |
#21 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,497
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Hi All,
Given the very few bug reports, I think we have achieved some sort of stability here. We will wait a few weeks in case anything else shows up and then declare the pre-release series done and release a very slightly updated version (hopefully with working messages in Find/Replace), plus a number of other minor changes) as the official Sigil 0.9.0. Thanks all for your continued use and bug reports. KevinH |
![]() |
![]() |
#22 |
Connoisseur
![]() Posts: 81
Karma: 10
Join Date: Nov 2013
Device: Kobo Aura HD
|
Yes Kevin, in Windows 10
|
![]() |
![]() |
#23 |
Connoisseur
![]() Posts: 81
Karma: 10
Join Date: Nov 2013
Device: Kobo Aura HD
|
In the previously releases when you save and you have something like this...
Code:
<p class="subtitle"> ΠΕΡΙΘΩΡΙΑΚΑ </p> Code:
<p class="subtitle">ΠΕΡΙΘΩΡΙΑΚΑ</p> EDIT: Another example Code:
<div class="footnote"> <p>[1] Some text. [<a href="#id001" id="ftn.id001">↑</a>]</p> </div> |
![]() |
![]() |
#24 | ||
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,497
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Hi,
The change you want makes no sense as it removes whitespace that may in fact be part of the paragraph both before and after the exact text (up to one character of each. Quote:
Yes, pretty print has changed a lot, It will no longer trim whitespace from inside of paragraph tags as it should not since whitespace can be important both before and after any text (at least up to one character's worth). Quote:
I am not sure either of these are bugs. You seem to be asking for the old Tidy approach of a deep clean. I am sorry but those days are pretty much gone. If you want me to modify prettyprint to reduce multiple spaces into one space inside of the p tag, that may be doable, but stripping it all away is simply incorrect. KevinH |
||
![]() |
![]() |
#25 |
Connoisseur
![]() Posts: 81
Karma: 10
Join Date: Nov 2013
Device: Kobo Aura HD
|
The old days the last example turn to...
Code:
<div class="footnote"> <p>[1](space)Some text.[<a href="#id001" id="ftn.id001">↑</a>]</p> </div> Thanks KevinH |
![]() |
![]() |
#26 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,497
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Hi,
So do you think prettyprint should ignore the newline and completely remove it as opposed to replacing it with a single space? See the extra space below: Code:
<div class="footnote"> <p>[1](space)Some text.(space)[<a href="#id001" id="ftn.id001">↑</a>]</p> </div> Code:
<p> This is a line of text. </p> Code:
<p>Thisisalineoftext.</p> [code] <p>This is a line of text.</p> [/code. So dropping newlines and not replacing them with spaces can lead to nonsense just as easily as it can lead to good things. That is why I try to have prettyprint leave whitespace inside of tags alone as much as possible. KevinH |
![]() |
![]() |
#27 |
Connoisseur
![]() Posts: 81
Karma: 10
Join Date: Nov 2013
Device: Kobo Aura HD
|
My mistake. The pretty in 0.8.7 change it like your code, with a space after "Some text".
And I don't want to completly remove the newline ![]() But the Code:
<p> This is a line of text. </p> Code:
<p>This is a line of text.</p> Code:
<p>This<br/>is<br/>a<br/>line<br/>of<br/>text.</p> Last edited by gipsy; 10-06-2015 at 06:03 PM. |
![]() |
![]() |
#28 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,497
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Hi,
Okay, I can live with changing newlines to spaces and replacing a sequence of multiple spaces with a single space when text is inside a tag like p. I will try to play around with gumbo prettyprint to do that hopefully without breaking anything else. KevinH |
![]() |
![]() |
#29 |
Connoisseur
![]() Posts: 81
Karma: 10
Join Date: Nov 2013
Device: Kobo Aura HD
|
Thanks KevinH,
leave it as is now and focus to other things for the next release ![]() As I say and before, it's not that important. ![]() |
![]() |
![]() |
#30 | |
Connoisseur
![]() Posts: 72
Karma: 10
Join Date: Nov 2012
Device: none
|
Hello:
Very nice release guys! I do, however, have a question: Will the next non-beta release rewrite the tags: Quote:
I sometimes start with html from the web, and the initial declaration is sometimes different, so short of copying the snippet to before the <body> tag, is there a more efficient way (perhaps a plugin)? Thanks…. |
|
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 | KevinH | Sigil | 106 | 10-04-2015 10:41 AM |
Sigil on Nook vs Sigil on Kobo vs Sigil on iBook | rosshalde | Sigil | 12 | 11-13-2014 09:34 AM |
Sigil 0.7 Beta (0.6.901) Available | user_none | Sigil | 51 | 02-10-2013 07:50 PM |
Sigil 0.5.901 for Mac | ajay42 | Sigil | 14 | 08-30-2012 09:22 AM |
Sigil 0.2.0 Release Candidates | Valloric | Sigil | 46 | 05-10-2010 09:55 PM |