![]() |
#16 |
Member
![]() Posts: 13
Karma: 10
Join Date: Nov 2020
Device: none
|
Thank you all for the info! I'm definitely taking a lot of notes and will see what I can add/modify to my workflow. I'm definitely giving the clips feature a solid try. Had I realized what it did sooner, it might have been adopted a long, long time ago.
I rarely have the time to sit and just learn so it's a great opportunity for that. I'll also have to check what SavedSearches and and Find&Replace lists can provide for us. I already do use standard Find&Replace a whole lot, but I haven't dabbled in Regex much if at all (lack of time and potential brain implosion trying to cram too much info at once), but that's definitely in the "to learn" list since a long time ago (But EPUB3.3 revisions and WAI-ARIA 1.2 have taken a bigger priority recently). I skimmed a bit through the Semantic Markup Question! topic and boy do I wish it was that simple for us. Certifiers tend to be the ones to request us to go overboard and I neither have the time nor the ressources to fight them on it. It's often quicker to just... Do what they ask us... But none of what was explained to me is lost, I'm pinning topics and stuff and will go through recommended threads as I go (but right now it's high season for book releases so I don't think I'll have a lot of time to dedicate on learning beyond Clips this month... ![]() ![]() |
![]() |
![]() |
![]() |
#17 | |||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
![]() ![]() Quote:
Instead of individually searching for things like:
you can do a single regex search like:
These are INCREDIBLY powerful, and can save you SO MUCH TIME once you understand some of the very basics. For more examples, see:
and type this into your favorite search engine: Code:
"regular expressions" Tex2002ans site:mobileread.com "regex" Tex2002ans site:mobileread.com - - - If you want even more, you can search: Code:
"regular expressions" Tex2002ans site:reddit.com/r/libreoffice Once you learn to "think in patterns", search/replace becomes SO MUCH better. ![]() Here's a few recent examples:
- - - Quote:
![]() Same with learning Styles in Word/LibreOffice! Spend less than 30 minutes learning Styles, and you'll save yourself hundreds of hours of formatting headaches. ![]() There's so many awesome bells and whistles hidden inside of Sigil/Calibre. Take full advantage of them! ![]() Another one you might like is Sigil's fantastic Reports:
to see a few awesome tricks with that, see my post in: Last edited by Tex2002ans; 08-22-2023 at 02:10 PM. |
|||
![]() |
![]() |
Advert | |
|
![]() |
#18 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Mar 2018
Device: IPad mini
|
Quote:
|
|
![]() |
![]() |
![]() |
#19 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,341
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Search for setting environment variables in Windows (or whatever your OS might be). There's tons of HOWTOs and videos out there.
|
![]() |
![]() |
![]() |
#20 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,341
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
This marks the one and only time I will describe how to create environment variables in Windows 10/11. Bookmark this post for future reference.
![]() 1) type 'env' (no quotes) in the taskbar search area 2) click the resulting 'Edit system environment variables' link 3) click the Environment Variables button at the bottom of the open Advanced tab 4) in the User variables for <user> section, click the 'New' button. 5) in the 'Variable name:' field, type SIGIL_ALLOW_CODEVIEW_DROP 6) in the 'Variable value:' field, type '1' (no quotes) 7) click the OK button 8) click the OK button 9) click the OK button 10) Launch Sigil and verify dropping in Code View works. To disable it again: 1) repeat steps 1-3 above 2) highlight SIGIL_ALLOW_CODEVIEW_DROP in the top window and click the 'Delete' button 3) click OK 4) click OK 5) launch Sigil and verify dropping text in Code View no longer works. Last edited by DiapDealer; 09-03-2023 at 12:40 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,439
Karma: 5702578
Join Date: Nov 2009
Device: many
|
There really are lots of sites that explain how to do this in great detail.
A simple google search of: "how to set an environment variable in windows" gives pages and pages of hits. Here is one with graphics ... https://geekflare.com/system-environ...es-in-windows/ Perhaps we should make your post and this link an FAQ or Pinned Thread. |
![]() |
![]() |
![]() |
#22 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,600
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#23 |
Zealot
![]() Posts: 102
Karma: 12
Join Date: Apr 2010
Location: Melbourne, Australia
Device: Kobo Sage, Kobo Aura H2O, LG V20
|
Thanks for re-enabling this.
I also rely on drag and drop. It’s incredibly useful and worked fine for me before (but I’m using Linux rather than Windows). It’s an integral part of editing and I was surprised to see it had been dumped. I also use Clips constantly, but they are two completely different things. |
![]() |
![]() |
![]() |
#24 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,439
Karma: 5702578
Join Date: Nov 2009
Device: many
|
|
![]() |
![]() |
![]() |
#25 |
Zealot
![]() Posts: 102
Karma: 12
Join Date: Apr 2010
Location: Melbourne, Australia
Device: Kobo Sage, Kobo Aura H2O, LG V20
|
Yes, but I’m not doing that and was just trying to flag that people can (and do) use drag and drop in legitimately useful ways.
I barely use it in other programs because the standard keyboard navigation/selection methods I learnt long ago work fine for ordinary text. They don’t work well with tags though, so if you need to regularly work on text with unpredictable, badly nested tags, drag and drop is very useful. |
![]() |
![]() |
![]() |
#26 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Mar 2018
Device: IPad mini
|
![]() Quote:
![]() Very clear instructions. Thanks for taking the time to do that. In my defence (weak though it is) I thought environment variables was a Sigil thing, I didn't realise it was for Windows as a whole so didn't look at the google search output for that. |
|
![]() |
![]() |
![]() |
#27 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,341
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Quote:
![]() |
||
![]() |
![]() |
![]() |
#28 |
Zealot
![]() Posts: 102
Karma: 12
Join Date: Apr 2010
Location: Melbourne, Australia
Device: Kobo Sage, Kobo Aura H2O, LG V20
|
Instructions for Linux
|
![]() |
![]() |
![]() |
#29 |
Zealot
![]() Posts: 102
Karma: 12
Join Date: Apr 2010
Location: Melbourne, Australia
Device: Kobo Sage, Kobo Aura H2O, LG V20
|
Another oddity
I can understand not wanting to descend into a mire of drag & drop bugs that only affect a minority of users, but this is so odd I thought it was worth mentioning.
In Sigil 2.0.1, if I select text in the editor and hold Control to copy while dragging, as soon as I click the left mouse button the view is swapped to the style sheet as though I had pressed F3. In the style sheet it works as expected. 99% sure this worked before. Manjaro Linux, Sigil says Qt 5.15.10. |
![]() |
![]() |
![]() |
#30 |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,295
Karma: 20171067
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
There is a specific feature that will take you to the style sheet if you ctrl-click on a class name. It’s intended to make it easier to edit the styles.
Are you sure you aren’t highlighting a class when you try and drag? |
![]() |
![]() |
![]() |
Tags |
issue |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
No more Drag and Drop? | hard_boiled | Library Management | 14 | 09-29-2013 07:44 PM |
Drag and Drop does not work | Fossilbooks | Kobo Reader | 4 | 05-05-2011 09:27 PM |
Drag 'n drop books | Toxaris | Calibre | 0 | 03-12-2011 01:35 PM |
Drag 'n' Drop | Perkin | Calibre | 17 | 10-06-2010 11:46 AM |
Drag and Drop | jjjconnon | Calibre | 11 | 02-27-2010 11:59 PM |