|
|
#196 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,092
Karma: 6404930
Join Date: Nov 2009
Device: many
|
Any reason Gear Lever is officially tied to flatpak? Seems to kind of defeat the whole purpose for using AppImages.
|
|
|
|
|
|
#197 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,914
Karma: 207182180
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
![]() Mainly make sure that you have all the files that you want to parse highlighted in Sigil's Book Browser before launching the plugin. It only runs on those that are preselected. The rest I've just honestly not never been asked for an explanation for.
|
|
|
|
|
| Advert | |
|
|
|
|
#198 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,914
Karma: 207182180
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
The Arch AUR version of Gear Lever doesn't seem to require any of the usual Flatpak bloat to build/install it, though, so maybe I'll take a peek. There's at least one dependency that's only available via the AUR, though. That's a strike against it. I generally try to stay away from the AUR unless it's something I really, really want/need. But an AUR package that has other AUR dependencies is bit farther down the rabbit hole than I like to go. Last edited by DiapDealer; 06-30-2025 at 04:20 PM. |
|
|
|
|
|
|
#199 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,088
Karma: 11562565
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
I'm grateful for this marvelous tool and would like to suggest a tiny improvement: When exporting as epub from LibreOffice, annotations formatted as superscripts in LO appear as spans with the attribute
Code:
font-size:58%;vertical-align:super I would like to change those to simple <sup> tags, if possible with the class: "noteanchor", for easier catching of footnotes. But in the "Change tag" menu there are only few possibilities listed. Is it possible to add one in the way I mentioned? |
|
|
|
|
|
#200 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,914
Karma: 207182180
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'm pretty sure the latest version allows you to easily add the sup tag to the list of valid changes for span tags (and vertical-align to the valid attributes list), in the config dialog, but let me double-check to be sure. Or you may have to use regex if your "vertical-align:super" is actually a part of a style= attribute value.
Either way, creating a new class would be totally up to the replace parameters set for your run. Last edited by DiapDealer; 11-01-2025 at 09:16 AM. |
|
|
|
| Advert | |
|
|
|
|
#201 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,914
Karma: 207182180
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Yes. The config dialog in the latest release of TagMechanic lets you add 'sup' to the list of tags available to change a span tag to. Config is a menu item (top left of the dialog).
Your vertical-align:super is probably part of a 'style' attribute value (it wouldn't really be valid xhtml any other way). So after you add sup to your span config change_to list, you would: choose 'Modify'; select the 'span' Tag; Having the attribute 'style'; Whose value is (.*?)vertical-align:super (check the Regex box); Change tag to 'sup'; and put class="noteref" in the New attribute string textbox. And no: changing to tags with predefined attributes is not in the cards for this plugin. It's not really necessary given that you can already define the entire attribute string of the tag you're changing to. Last edited by DiapDealer; 11-01-2025 at 12:02 PM. |
|
|
|
|
|
#202 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,088
Karma: 11562565
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
I have version 0.6.3 which seems to be the latest, but in the "Change tag to" menu, there is no entry for a sup option. But with the regex box checked, as you say, it may work. I'll try that tomorrow. thank you so far!
Edit: I had a look on it, but "Change tag to 'sup'" is not possible, as there is no option in the dropdown menu. Last edited by Leonatus; 11-01-2025 at 12:44 PM. |
|
|
|
|
|
#203 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,914
Karma: 207182180
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You're not opening the 'Config' dialog. Top left of the gui, there's a menu item titled 'Config'. You need to select that to open the dialog that allows you to customize the tags you can change other tags to.
Last edited by DiapDealer; 11-01-2025 at 01:12 PM. |
|
|
|
|
|
#204 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,088
Karma: 11562565
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
Ah, it seems I'm already too tired today! Sorry!
|
|
|
|
|
|
#205 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,914
Karma: 207182180
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
No problem!
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 527 | 08-15-2025 02:36 PM |
| [FileType Plugin] YVES Bible Plugin | ClashTheBunny | Plugins | 27 | 01-16-2023 02:25 AM |
| Plugin not customizable: Plugin: HTML Output does not need customization | flyingfoxlee | Conversion | 2 | 02-24-2012 03:24 AM |
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |
| New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 01:11 PM |