Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 07-10-2021, 06:51 AM   #16
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,631
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Version of Sigil, please?
DiapDealer is offline   Reply With Quote
Old 07-10-2021, 08:57 AM   #17
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,817
Karma: 6000000
Join Date: Nov 2009
Device: many
As sigil's user's guide explains:

Sigil's has an Insert->Closing Tag menu.

In Sigil's Preferences you can assign it a shortcut key sequence.
So instead of typing "</" you just use the key sequence you assigned at the same point.


Quote:
Originally Posted by abraum View Post
what menu? what i mean is when i have this code

Code:
<h1>text
and i enter '</' at the end of the line calibre completes this to '</h1> automatically. i like this very much.
KevinH is offline   Reply With Quote
Advert
Old 07-10-2021, 11:34 AM   #18
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 318
Karma: 3200000
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Sigil’s ability to launch an external editor is also really useful for stuff like this. Anytime I find myself wishing Sigil had some feature found in a dedicated text editor/IDE, I remind myself that’s probably the exact reason the feature exists. I use it anytime I want multicursor, for example. Glad for this topic though as I hadn’t realized Sigil had this closing tag feature.
phillipgessert is offline   Reply With Quote
Old 07-10-2021, 11:38 AM   #19
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,817
Karma: 6000000
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by phillipgessert View Post
Sigil’s ability to launch an external editor is also really useful for stuff like this. Anytime I find myself wishing Sigil had some feature found in a dedicated text editor/IDE, I remind myself that’s probably the exact reason the feature exists. I use it anytime I want multicursor, for example. Glad for this topic though as I hadn’t realized Sigil had this closing tag feature.
It is smart enough to properly handle nested tags as well.

Kevin
KevinH is offline   Reply With Quote
Old 07-10-2021, 12:41 PM   #20
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 318
Karma: 3200000
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Quote:
Originally Posted by KevinH View Post
It is smart enough to properly handle nested tags as well.

Kevin
That’ll come in handy! And come to think of it, assigning some arbitrary shortcut seems less error-prone than the usual autocomplete approach. I’ve definitely gone into autopilot and wound up with more </div>div>s than I care to admit.
phillipgessert is offline   Reply With Quote
Advert
Old 07-10-2021, 04:36 PM   #21
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by phillipgessert View Post
That’ll come in handy! And come to think of it, assigning some arbitrary shortcut seems less error-prone than the usual autocomplete approach. I’ve definitely gone into autopilot and wound up with more </div>div>s than I care to admit.


I hate the auto-closing tag while typing. My brain/fingers are already miles ahead, and then I only notice the broken </div>div> while skimming, running epubcheck, or Prettifying and thinking: "wtf happened here?".

Which reminds me, it's frustrated me for so long in Calibre's Editor, I finally decided to do something about it.

In Calibre, the setting is in:

Edit > Preferences > Editor Settings > "Auto close tags while typing </"

Now that I've unchecked it, I'll be at peace!

Note: The auto-close in Calibre is helpful though in the one case of trying to debug seriously nested spaghetti code.

I sometimes click deep between the mess, then type "</" to try to spot what dang tag wasn't closed (and then easy to click inside + see opening tag by the highlight tag feature).

Last edited by Tex2002ans; 07-10-2021 at 04:43 PM.
Tex2002ans is offline   Reply With Quote
Old 07-10-2021, 05:58 PM   #22
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,767
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by abraum View Post
. . .
i don't use windows, i use linux. there is no anti-virus or firewall or backup software running in background. i only use calibre editor and not calibre library. i open all books with the "open with" menu of the file manager in sigil or calibre editor.
On your linux system, where do the calibre editor and Sigil unpack the epub?

BR
BetterRed is offline   Reply With Quote
Old 07-14-2021, 01:24 PM   #23
abraum
Enthusiast
abraum began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Aug 2020
Device: Tablet
Quote:
Originally Posted by BetterRed View Post
On your linux system, where do the calibre editor and Sigil unpack the epub?
it /tmp and /tmp is on the same ssd where the linux is booting.

Quote:
Originally Posted by DiapDealer View Post
Version of Sigil, please?
its 1.6

Quote:
Originally Posted by KevinH View Post
Sigil's has an Insert->Closing Tag menu.
this works. i'll test it in "normal work".
abraum is offline   Reply With Quote
Old 07-14-2021, 06:14 PM   #24
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,767
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by BetterRed View Post
On your linux system, where do the calibre editor and Sigil unpack the epub?
Quote:
Originally Posted by abraum View Post
it /tmp and /tmp is on the same ssd where the linux is booting.
Interesting - on Windows the calibre editor keeps its working copy of the unpacked EPUB files in a directory named Cache in its Configuration folder, and it uses the equivalent of /tmp to interoperate with external editors invoked via its Open With. The linux version must use a different mechanism to prevent data loss if the two editors make changes to the same file concurrently.

BR

Last edited by BetterRed; 07-14-2021 at 08:26 PM.
BetterRed is offline   Reply With Quote
Old 07-21-2021, 10:52 AM   #25
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
>Saving a file is never slow on my system

Instantaneous, it seems to me!
Notjohn is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What Features or Tools does Sigil Still Need Yet? KevinH Sigil 175 03-06-2021 09:11 PM
Touch HD, Future features or dead features? ElWorm PocketBook 4 02-07-2018 11:36 AM
New Plugin Features in the upcoming Sigil 0.8.900 KevinH Plugins 6 09-14-2015 02:48 PM
Writer2ePub, Sigil, and mjBookMaker Features Ransom Writer2ePub 1 09-21-2011 09:20 AM


All times are GMT -4. The time now is 07:24 AM.


MobileRead.com is a privately owned, operated and funded community.