11-06-2016, 08:18 PM | #31 | |
Grand Sorcerer
Posts: 27,953
Karma: 198500000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Last edited by DiapDealer; 11-06-2016 at 08:23 PM. |
|
11-06-2016, 09:38 PM | #32 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Of course, it's just a regular repo, after all...
|
11-07-2016, 06:31 AM | #33 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Ah, so that's why the online version disappeared? I sometimes referred to it when it was online, but I have never opened up the epub version although I've downloaded it more than once. It just seems more natural, if I am working on an epub in Sigil, to go online for help, rather than open another iteration of Sigil to get what is essentially an editing view, not a reading view.
|
11-07-2016, 06:56 AM | #34 |
Grand Sorcerer
Posts: 27,953
Karma: 198500000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You don't have to open the guide in Sigil. You could open it in any epub reader--even one that's a browser plugin if that's your preference. The point is to give people both a local and an online resource to choose from. The online resource would be as much about providing a way for people to collaborate on editing the guide (in a standard version control environment) as anything. That Github Pages woould also serve that content to readers is icing on the cake.
Last edited by DiapDealer; 11-07-2016 at 07:13 AM. |
11-07-2016, 09:14 AM | #35 |
Grand Sorcerer
Posts: 5,636
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
@DiapDealer & @KevinH: I found out that it's relatively easy to generate a Qt help file from the user guide without any code changes, except for converting non-ASCII characters to HTML entities.
All you'd have to do is, unpack the user guide, copy a Qt help project file to the OEBPS folder and run the Qt help compiler. To generate the help file: 1. Unpack the updated user guide epub file. 2. Copy sigilhelp.qhp to the OEBPS folder. 3. Go to the OEBPS folder and run the following command: Code:
qhelpgenerator sigilhelp.qhp -c -o sigilhelp.qch 1. Open Qt Assistant. 2. Select Edit > Preferences. 3. Select Documentation > Add > sigilhelp.qch (I created a Qt help file and attached it and the help project file.) Note that the existing user guide contains the following non-ASCII characters that need to be converted to entities before running the help compiler: copy, mdash, rarr, ldquo, rdquo, rsquo, rarr and ge I used DiapDealer's ShadyCharacters plugin to convert them to entities. Here's my plugin preferences file: Spoiler:
(Not all of the entries in the list were actually used.) and here's the corresponding Sigil.ini section: Spoiler:
I don't know how difficult it would be to add Qt help viewer support to Sigil, but it couldn't hurt to investigate this idea. Last edited by Doitsu; 11-07-2016 at 01:30 PM. |
12-31-2016, 02:23 PM | #36 |
Addict
Posts: 202
Karma: 62362
Join Date: Jul 2015
Device: Sony
|
Hi,
Although I have not had time to proof read the guide, I thought I ought to report what I think is an error in the section "Advanced Find & Replace – Regex". The following find expression is given in the text: <p>\sCHAPTER\s(\d+)\s</p> and is explained correctly as follows:
However, the regular expression \s requires that one white space is present in the appropriate places, so the application of this expression to the following examples given in the guide will not work: <p>CHAPTER 7</p> and <p> CHAPTER 14</p> [For some reason only one space shows when this is put on the forum page although I tried to insert several spaces in front of CHAPTER and several spaces after CHAPTER to match the example in the guide] The correct expression to find the text in this example should be: <p>\s*CHAPTER\s*(\d+)\s*</p> This is similar to the one given in the guide except I have placed an asterisk after the \s. The explanation of this updated expression is:
Perhaps it may be useful to capture a list of errors (if there are any more) in this thread to help when the guide is updated? |
12-31-2016, 02:38 PM | #37 | |
null operator (he/him)
Posts: 20,946
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Code:
<p> CHAPTER 7</p> <p>\s*CHAPTER\s*(\d+)\s*</p> BR Last edited by BetterRed; 12-31-2016 at 02:43 PM. |
|
12-31-2016, 02:45 PM | #38 |
Grand Sorcerer
Posts: 27,953
Karma: 198500000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
@CalibUser: You're correct. Though the Sigil guide is not intended to be an exhaustive regex guide, we certainly shouldn't be including incorrect examples. Unfortunately, until we get an updated guide into some sort of CVS system, collaborrative corrections/additions are going to be a little clumsy.
Last edited by DiapDealer; 12-31-2016 at 03:00 PM. |
01-01-2017, 08:52 AM | #39 |
Member Retired
Posts: 16
Karma: 10
Join Date: Apr 2013
Location: UK
Device: none
|
I don't think any offence was meant and the information could be useful if taken as such.
|
01-01-2017, 10:05 AM | #40 |
Addict
Posts: 202
Karma: 62362
Join Date: Jul 2015
Device: Sony
|
|
01-01-2017, 11:16 AM | #41 |
Grand Sorcerer
Posts: 27,953
Karma: 198500000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Though you're responding to a month's-old exchange, I think it's important to understand that Jon is historically prone to dwelling on personal pet-peeves and subverting threads to push his own personal (and often utterly unrelated) agendas. I was merely trying to head him off at the pass.
|
04-24-2018, 01:23 PM | #42 |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
I spent some time to go through the Sigil manual in Post #23 and updated it.
I attached it to the end of this post: Changelog (2018.04.17) New (Doitsu helpfully pointed these out)
Changed
|
04-24-2018, 01:48 PM | #43 |
Grand Sorcerer
Posts: 27,953
Karma: 198500000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Oh, wow! Thanks. Great work!
I hate to criticize at all, but I would point out that the links to the Building on Linux documentation are a tad out of date. The "Cutting Edge" instructions have become the standard (Building_on_Linux.md) instructions, and the original standard instructions have become Building_on_older_Linux.md. So one link currently goes to incorrect instructions, and the other link is broken. I've eliminated the use of phrases like "Legacy" or "Cutting Edge." But if we incorporate this new edition of the manual (and I think we'd be crazy not to), I'd probably make a few changes to the Linux installation section in general. So that's no real issue. Thanks again! |
04-24-2018, 02:04 PM | #44 | |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
I didn't check URLs or do any sort of major rewriting. I don't think anyone could handle a Tex-written Sigil manual... it would be a 1000-page tome! |
|
04-24-2018, 03:20 PM | #45 | |
Bookmaker & Cat Slave
Posts: 11,482
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Vis-a-vis online help and manuals, and all that, I'm using a new-to-me product called Help+Manual, https://www.helpandmanual.com/ and this thing simply ROCKS my socks off. It's designed to generate online help (CHM) files, that you can slap on a website, but more importantly, you can ALSO output the help to PDF manuals, ePUB and MOBI formatted eBooks. You can use conditionals (media queries), etc. It's smoking. I've had some interaction with the founders/developers, and they would fit right in here with we of the Geeky Clan. Great guys, and you cats know I don't say that lightly or hand out accolades like free candy. IF I had the time, to do this for you, I'd put the Sigil User guide in it. Actually...you know, Tex, if you wanted to DO the guide's guts, I could put it in the format, if that would help. That's something I could probably scrape up some time for...although, I guess then, the question is, where would it GO? Hmmph. Maybe I should shut up... Hitch |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wanted: Volunteers to Update the Sigil User's Guide | KevinH | Sigil | 55 | 05-18-2018 02:52 AM |
Touch How to remove Nook User Guide and Quick Start Guide from Nook STR | umaxtuk | Barnes & Noble NOOK | 17 | 05-22-2013 10:47 AM |
latest Sigil version for Mac on 10.6 OSX, why not? | ansgar | Sigil | 5 | 04-18-2013 09:01 AM |
Where does one find the EPUB version of the Sigil User Guide? | ubuntourist | Sigil | 7 | 11-09-2012 11:48 PM |
Sigil User Guide Not Working in IE9 | TrevN | Sigil | 5 | 09-12-2012 09:54 PM |