12-11-2016, 07:20 AM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Dec 2016
Device: Kindle 3
|
i cant see html or css
Hello guys, i tried a lot the forum search mechanism and havent found what i want, so im opening this thread.
To the problem, initially i thought it could be something with converting PDF to ePub using calibre, but i created some blank ePubs too and got the same problem. I know nothing about css and html and initially edited the books using the book view, but inserting italic, bold, underline and hiperlinks to endnotes was making appear a lot of blank spaces between words and even more spaces during the whole process. So i tried to see what i could do editing html and css, while learning on the go, and for my surprise i have none css in stylesheet and none html in code view, even typing in new ePubs. Probably im being dumb AF, but i found nothing about it and am here asking for help. I'm using Sigil 0.9.7 in Antergos without plugins and with everything fully updated. Ps. Sorry for my bad english, it isnt my mother language. |
12-11-2016, 09:07 AM | #2 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Do you mean that the Code View tab is completely blank when looking at any file (html, css, opf, ncx)?
Does anything show up if you try to highlight the Code View content with your mouse? Offhand, the only thing I can possibly imagine would be that the custom colors for Code View (Edit->Preferences->Appearance) have all been changed to white somehow. |
12-11-2016, 09:22 AM | #3 |
Junior Member
Posts: 5
Karma: 10
Join Date: Dec 2016
Device: Kindle 3
|
Nothing shows up, i tried to highlight and looked at preferences too.
|
12-11-2016, 09:42 AM | #4 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'm afraid I have no experience with Antergos. I believe that's what @Doitsu uses, though, perhaps he'll be able to offer some insight.
|
12-11-2016, 10:37 AM | #5 | ||
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
Of course, you might also end up with missing text, if you select everything that you've entered so far and then paste new text, which will replace the existing text. You also might not see your text in code view mode, if the text contains only non-Latin characters, e.g. Arabic or Devanagari text. If that's the case, I'll suggest a suitable alternative font for you. Try the following: 1. In Sigil, select Edit > Preferences > Open Preferences Location. 2. Close Sigil, delete sigil.ini and restart Sigil. 3. Enter This is a test. in Book View mode and switch to Code View. You should see the following code: Spoiler:
If you don't see the above code report what you see or attach a screen capture. Since you mentioned that you're not familiar with HTML and CSS maybe a better workflow for you might be: 1. Write your book in OpenOffice/LibreOffice. (Make sure to apply the default styles.) 2. Save it as an ODT/DOCX file and import it with the Sigil ODT/DOCX plugins or export it as an epub with Writer2ePub or convert it with Calibre to an epub. 3. Use Sigil for the final edits. |
||
12-11-2016, 11:27 AM | #6 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
It's possible that a faulty version of libhunspell could be the culprit (spell checking is done in Code View). There was a version of hunspell (1.5.0) that broke a lot of applications that relied on it, but that version was pulled and a corrected version released pretty quickly. It's not very likely though (especially if the system in question is indeed "fully updated"). My Arch installation is up to libhunspell v1.5.4 already.
I've not taken a look at Sigil in the Arch Community repo in a while; perhaps it's time I did so again. I prefer using sigil-git from the AUR, myself. |
12-11-2016, 01:21 PM | #7 | ||
Junior Member
Posts: 5
Karma: 10
Join Date: Dec 2016
Device: Kindle 3
|
Quote:
Quote:
|
||
12-11-2016, 02:47 PM | #8 | ||
null operator (he/him)
Posts: 20,570
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
I've used this process on thousands of simple end-noted PDF documents (using Word rather than LO or OO, but I have colleagues who use LO to achieve the same result), on many of them I only need to use Sigil to remove some of the entries calibre injects into the opf - and that's only to satisfy a personal whim for minimalism. BR Last edited by BetterRed; 12-11-2016 at 03:03 PM. |
||
12-15-2016, 03:20 PM | #9 |
Junior Member
Posts: 5
Karma: 10
Join Date: Dec 2016
Device: Kindle 3
|
These days I noticed something, I tried to use Sigil to link the endnotes and used the buttons to make IDs and links. Making it this way apparently make the html code disapear and add spaces and more spaces through the link making. Making the links in html don't do that.
|
12-15-2016, 03:31 PM | #10 | |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
12-15-2016, 06:06 PM | #11 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
It would really help if you provided step by step instructions to reproduce this issue. Without them the developers can't really do anything about this. As an example, here are step by step instructions to test the Insert Link toolbar button: 1. Create an epub. 2. Right click Section0001.xhtml and select Add Blank HTML File. 3. Select Section0002.xhtml in the Book Browser and switch to Book View mode. 4. Enter This is a test., highlight test, click the Insert Link toolbar button and select Section0001.xhtml. Switch to Code View mode and compare your code with the following code: Spoiler:
Follow the above steps and post your code if it differs significantly. If you used a different method to insert links in Book View mode, post all of your steps. |
|
12-15-2016, 07:07 PM | #12 |
Junior Member
Posts: 5
Karma: 10
Join Date: Dec 2016
Device: Kindle 3
|
I'm getting more and more confused, it happened with two ebooks I was editing by this days and now I can't reproduce it. Well, next time I will write down everything step-by-step in case of happen again.
Sorry for make you guys lose time. |
12-15-2016, 07:12 PM | #13 |
Grand Sorcerer
Posts: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HTML and CSS for Dummies | Sablerose | Workshop | 21 | 01-21-2014 03:48 AM |
CSS and HTML for Dummies | Sablerose | Calibre | 9 | 01-01-2014 12:14 AM |
html css question | holdit | Sigil | 3 | 12-17-2012 11:55 AM |
CSS/HTML question | ElMiko | Sigil | 54 | 10-23-2012 12:39 PM |
HTML and CSS for Dummies | weedfreak | Sigil | 17 | 01-07-2010 09:34 PM |