|
|
#91 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,279
Karma: 7640672
Join Date: Nov 2009
Device: many
|
Your PR has been merged. Thank you!
|
|
|
|
|
|
#92 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,099
Karma: 4000789
Join Date: Jan 2017
Location: Poland
Device: Various
|
Version 0.2.4 of the SpecialCharacterConfig plugin includes many new features!
|
|
|
|
|
|
#93 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Nov 2026
Device: none
|
Another option for people who don't want 65K characters in the dialog: since EPUB is UTF-8, you can paste the actual symbol straight into the code view and skip entities. A copy-and-paste symbol list such as https://www.symbolscopypaste.net/ is handy for grabbing a handful of units or math signs without installing anything. Just make sure the font you embed (or the reading device's default font) actually has those glyphs, otherwise they will show as boxes. For a symbol that won't paste cleanly, the numeric entity (e.g. α for α) works as a fallback.
|
|
|
|
|
|
#94 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,099
Karma: 4000789
Join Date: Jan 2017
Location: Poland
Device: Various
|
Of course, there are other sites like this, such as https://symbl.cc/, https://copychar.cc/, or https://www.hotsymbol.com/.
But the idea of creating your own character set in Sigil is for those who use certain character sets very often and want to have them readily available, right within the application. For individual characters, you can use any source or external service. If I need a character often, I simply add it to my own set and don’t have to leave Sigil. The average user won’t bother with this (and doesn’t need to). |
|
|
|
|
|
#95 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 576
Karma: 2268308
Join Date: Nov 2015
Device: none
|
Would it be possible to add the row breaks and same-width columns to the section format?
|
|
|
|
|
|
#96 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,279
Karma: 7640672
Join Date: Nov 2009
Device: many
|
Are you asking this to BeckyEbook and her plugin, or about Sigil itself?
If about Sigil itself, the flowlayout was the requested feature and not a fixed width layout, so I doubt that will change. If you want to go back to the original Insert Special Character, which used a fixed width just delete that created xml from your Prefs and the normal Sigil dialog will be used. |
|
|
|
|
|
#97 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 576
Karma: 2268308
Join Date: Nov 2015
Device: none
|
Flow layout is fine, but is it possible to make the cells the same width?
|
|
|
|
|
|
#98 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,279
Karma: 7640672
Join Date: Nov 2009
Device: many
|
Isn't that a table layout? The width for each character is used in the flow layout. Perhaps add a screen shot that shows what is off or wrong?
Last edited by KevinH; Today at 05:11 PM. |
|
|
|
|
|
#99 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,279
Karma: 7640672
Join Date: Nov 2009
Device: many
|
And you can already add blank lines and headers. But row length limits are determined by the dialog width in a flowlayout.
|
|
|
|
|
|
#100 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,099
Karma: 4000789
Join Date: Jan 2017
Location: Poland
Device: Various
|
@Sarma89: That's an interesting idea, but the plugin has no say in it, and I don't think patching Sigil's code just for this is worth it. There's a partial solution, though: Sigil loads a user stylesheet (qt_styles.qss) at startup, and giving the special-character buttons a fixed min-width/min-height makes everything line up into neat, equal-width columns – no code changes needed.
Just create/edit a qt_styles.qss file in the Sigil configuration folder (you can easily go there by clicking the "Open Preferences Location" button in the lower-left corner of the Preferences window), and add something like: Code:
QDialog#SelectCharacter QToolButton {
min-width: 32px;
min-height: 32px;
}
It won't force extra line breaks inside a long group – that part really is hard-coded in Sigil itself – but it does give that tidy, table-like look. I liked the result so much I'm keeping it on my own system too. |
|
|
|
|
|
#101 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,279
Karma: 7640672
Join Date: Nov 2009
Device: many
|
Nice!
FWIW We could easily add xml support for a < br /> like tag that could force a line break. The plugin could then count the number of chars and inject that tag after every nth char (plugin user selectable n). The code to add a linebreak is already present in the flowlayout.cpp. Effectively combining that with your qss, it should come very close a table-like layout, but that would kind-of defeat the whole purpose of using a flow layout. Just let me know if that is something you want. Last edited by KevinH; Today at 06:03 PM. |
|
|
|
|
|
#102 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,099
Karma: 4000789
Join Date: Jan 2017
Location: Poland
Device: Various
|
I think the current version + QSS combines the best of both worlds: a flow-based layout, yet with a tabular-style "order."
|
|
|
|
|
|
#103 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,279
Karma: 7640672
Join Date: Nov 2009
Device: many
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PageEdit 2.1.0 - Insert Special Character not working | BetterRed | Sigil | 0 | 05-17-2024 11:01 PM |
| Add title="" to h* based on existing TOC -- suggestion for new feature (or plugin?) | Mister L | Sigil | 82 | 09-11-2020 10:09 AM |
| "insert special character" in editor | rjwse@aol.com | Editor | 5 | 08-27-2019 09:31 PM |
| Insert special character: some niggles | Phssthpok | Editor | 2 | 11-19-2016 01:55 PM |
| Feature Request: configurable space setting for "Insert blank line" in "Look & Feel" | therealjoeblow | Calibre | 15 | 07-25-2011 04:14 PM |