05-04-2023, 07:23 PM | #151 | |
Bibliophagist
Posts: 35,428
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
As an example, in the ebook I was having fun with, this was in the stylesheet: Code:
h1 + span { font-size: 1.5rem; } Code:
<span><span> or <span class="whatever"></span> |
|
05-04-2023, 07:33 PM | #152 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'm not insisting that people adopt my terminology. I was just trying to figure out exactly what people were discussing. But having said that, "empty span" still makes no sense to me when used to describe spans that contain text content between them. I use "naked" to describe tags that are devoid of any attributes. I never hear anyone referring to empty paragraph tags (except where <p></p> was used in an attempt to create vertical space). Yet there are probably more "empty paragraphs" (to use the current empty span parlance) than empty spans.
In the end... as long as I know what's being described, feel free to call them whatever you (rhetorical) want. *shrug* Last edited by DiapDealer; 05-04-2023 at 07:49 PM. |
05-04-2023, 07:45 PM | #153 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
@DNSB...As as habit, I usually always try to keep my epub CSS as simple as possible for my own ebooks. By that I mean that I never use combinators and such. There's no need for using combinators in the CSS styling for my own ebooks.
Also, since I have already said in a separate post above that I will be adding an option for removing empty spans only, this should hopefully satisfy and protect your need to use span combinators in your CSS whenever you use the plugin. Of course, if you choose not to use the plugin's new "Remove empty spans" option(coming soon in an update) then please be aware that any unwanted empty spans that ARE empty spans(not combinators) in your epub will not be removed. Last edited by slowsmile; 05-05-2023 at 05:04 AM. |
05-05-2023, 03:48 PM | #154 | |
Bibliophagist
Posts: 35,428
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
05-05-2023, 08:39 PM | #155 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
Plugin Update(v0.5.3)
Includes the following fixes and new features:
Last edited by slowsmile; 05-05-2023 at 09:53 PM. |
05-05-2023, 08:58 PM | #156 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
@DiapDealer...Could you please let me know if the plugin dialog window display widths are OK now on your Linux machine? I increased the widths of both dialog windows(for Linux only) by 50 pixels which should hopefully be enough. Unfortunately, I don't have Linux Mint on my new PC for testing at present, but I will be adding it soon.
Last edited by slowsmile; 05-05-2023 at 09:50 PM. |
05-13-2023, 11:35 AM | #157 |
Bibliophagist
Posts: 35,428
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I've run into another issue. The book has what is supposed to be alien speech and the author used << and >> as quotation marks. The << gets converted to << which CustomCleanerPlus seems unhappy with. After noticing this, I converted the << and >> to left/right guillemets ( « and » ) so not sure if the >> pair would also cause issues.
Code:
<p><b>The speaker to others replied <<corn dogs!>></b></p> Code:
<p><b>The speaker to others replied < <corn dogs!="">></corn> </b></p> |
05-13-2023, 01:40 PM | #158 | |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
05-13-2023, 03:51 PM | #159 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
OK. The first shot is how it looks after the dialog opens on it own.
The second shot shows what it looks like when I expand the dialog horizontally as far as it will allow me. The third shot is the dialog expanded vertically and horizontally as far as it will let me. This is using v0.5.4 of the plugin from the first post. The only way I can see all of the content is to maximize the dialog (which, of course, fills the entire screen). This is Arch Linux using 3840x2160 resolution and a monitor scale of 175% |
05-16-2023, 01:19 AM | #160 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
@DiapDealer...Thanks for testing the dialogs and for showing the images. All I can really do to solve this resolution issue would be to increase the maxsize of the width and height for all dialogs, which will at least allow the user to stretch the height and width to their own preference or to just click to fullscreen size. I'll incorporate this fix into the next plugin update for this plugin coming out shortly.
|
12-05-2023, 07:57 PM | #161 |
Bibliophagist
Posts: 35,428
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I ran into a rather odd glitch. One author that I do so work with changed the program they used to generate ePubs. One result is the misuse of <i> tags.
This is what I would expect to see: Code:
<i>This is an italic sentence</i>. Code:
<i>This</i><i> </i><i>is</i><i> </i><i>an</i><i> </i><i>italic</i><i> </i><i>sentence</i>. Code:
<i>This</i><i>is</i><i>an</i><i>italic</i><i>sentence</i>. I worked around it by converting the <i> </i> to a simple space (ditto for the <b> </b> but they were a lot rarer before doing much else. Last edited by DNSB; 12-05-2023 at 08:00 PM. |
12-05-2023, 09:12 PM | #162 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
@DNSB . . . I'm really not sure what you are talking about wrt the CustomCleanerPlus plugin because that plugin certainly does not have the capability to add <i></i> tags around any selected text. My plugin can't do that in other words.
However, the plugin does give you the option to select the Convert <i>, <b>, <em>, <u>, <s> and <strong> tags to span styling which will, for example, convert any <i></i> tags to their <span> tag equivalent, like this: Converts from this: Code:
<p><i>This is an italic sentence</i></p> Code:
<p><span style="font-style: italic;">This is an italic sentence</span></p> And I've also just tested that particular plugin feature again and it seems to work as I've described without any problems at all. Last edited by slowsmile; 12-05-2023 at 09:24 PM. |
12-05-2023, 09:31 PM | #163 | |
Bibliophagist
Posts: 35,428
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Code:
<body> <p>This<i> </i>is<i> </i>an<i> </i>italic<i> </i>sentence.</p> </body> Code:
<body> <p>This<i></i>is<i></i>an<i></i>italic<i></i>sentence.</p> </body> |
|
12-05-2023, 10:08 PM | #164 |
Witchman
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
|
Quote by DNSB:
"The problem is that the <i> </i> is converted to an <i></i>." As I've already said, the plugin doesn't work like that. It doesn't or shouldn't add <i></i> tags and shouldn't affect the text spacing in between any <i></i> tags. Period. But the plugin does give you the option to convert the <i></i> tags in your epub to their <span> equivalents. And when my plugin converts the <i></i> tags to their <span> equivalents, all text spacing is preserved. I've tried to re-create your problem by testing the plugin in various ways and I am unable to emulate your problem. Perhaps if you could specifically walk us through and describe in careful detail exactly what you actually did -- how and what plugin selections you chose etc when you ran the plugin -- to get that problem. That might help us. Last edited by slowsmile; 12-05-2023 at 10:55 PM. |
12-06-2023, 12:39 AM | #165 |
Bibliophagist
Posts: 35,428
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Okay. I opened Sigil with a blank epub. I copy/pasted the following into the blank epub:
Code:
<body> <p>This<i> </i>is<i> </i>an<i> </i>italic<i> </i>sentence.</p> </body> Code:
</head> <body> <p>This<i/>is<i/>an<i/>italic<i/>sentence.</p> </body> </html> Last edited by DNSB; 12-06-2023 at 12:45 AM. Reason: Added image of plugin list |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[FileType Plugin] YVES Bible Plugin | ClashTheBunny | Plugins | 27 | 01-16-2023 01:25 AM |
Problem with my ScrambleEbook plugin and the Plugin Updater tool | jackie_w | Development | 14 | 01-19-2017 10:49 PM |
Plugin not customizable: Plugin: HTML Output does not need customization | flyingfoxlee | Conversion | 2 | 02-24-2012 02:24 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |
New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 12:11 PM |