Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified src/OEBPS/Images/Manage_Plugins.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/OEBPS/Images/Sigil_Plugins_Menu.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions src/OEBPS/Text/bookcontainer_py.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class BookContainer(object):
return 'en_US'
return self._w.sigil_spellcheck_lang

# OPF Acess and Manipulation Routines
# OPF Access and Manipulation Routines

# toc and pagemap access routines

Expand Down Expand Up @@ -163,17 +163,17 @@ class BookContainer(object):
# metadata get/set

def getmetadataxml(self):
# returns a utf-8 encoded metadata xml fragement
# returns a utf-8 encoded metadata xml fragment
return self._w.getmetadataxml()

def setmetadataxml(self, new_metadata):
# new_metadata must be a metadata xml fragmment
# new_metadata must be a metadata xml fragment
self._w.setmetadataxml(new_metadata)

# package tag get/set

def getpackagetag(self):
# returns a utf-8 encoded metadata xml fragement
# returns a utf-8 encoded metadata xml fragment
return self._w.getpackagetag()

def setpackagetag(self, new_tag):
Expand Down Expand Up @@ -202,7 +202,7 @@ class BookContainer(object):

# New for epub3
def set_manifest_epub3_attributes(self, id, properties=None, fallback=None, overlay=None):
# sets the epub3 manifest attrobutes for this manifest id
# sets the epub3 manifest attributes for this manifest id
self._w.set_manifest_epub3_attributes(id, properties, fallback, overlay)

# reading / writing / adding / deleting other ebook files that DO NOT exist in the opf manifest
Expand Down Expand Up @@ -400,7 +400,7 @@ class BookContainer(object):
return self._w.colorMode()

# returns color as css or javascript hex color string #xxxxxx
# acccepts the following color roles in a case insensitive manner:
# accepts the following color roles in a case insensitive manner:
# "Window", "Base", "Text", "Highlight", "HighlightedText"
def color(self, role):
return self._w.color(role)
Expand Down
2 changes: 1 addition & 1 deletion src/OEBPS/Text/inputcontainer_py.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class InputContainer(object):
return self._w.colorMode()

# returns color as css or javascript hex color string "#xxxxxx"
# acccepts the following color roles in a case insensitive manner:
# accepts the following color roles in a case insensitive manner:
# "Window", "Base", "Text", "Highlight", "HighlightedText"
def color(self, role):
return self._w.color(role)
Expand Down
8 changes: 4 additions & 4 deletions src/OEBPS/Text/outputcontainer_py.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class OutputContainer(object):
return self._w.sigil_spellcheck_lang


# OPF Acess and Manipulation Routines
# OPF Access and Manipulation Routines

# toc and pagemap access routines

Expand Down Expand Up @@ -132,13 +132,13 @@ class OutputContainer(object):
# metadata get/set

def getmetadataxml(self):
# returns a utf-8 encoded metadata xml fragement
# returns a utf-8 encoded metadata xml fragment
return self._w.getmetadataxml()

# package tag get/set

def getpackagetag(self):
# returns a utf-8 encoded metadata xml fragement
# returns a utf-8 encoded metadata xml fragment
return self._w.getpackagetag()


Expand Down Expand Up @@ -327,7 +327,7 @@ class OutputContainer(object):
return self._w.colorMode()

# returns color as css or javascript hex color string "#xxxxxx"
# acccepts the following color roles in a case insensitive manner:
# accepts the following color roles in a case insensitive manner:
# "Window", "Base", "Text", "Highlight", "HighlightedText"
def color(self, role):
return self._w.color(role)
Expand Down
2 changes: 1 addition & 1 deletion src/OEBPS/Text/plugin_py.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def run(bk):
<head><title>testing & entities</title></head>
<body>
<p class="first second">this is the <i><b>copyright</i></b> symbol "©"</p>
<p xmlns:xlink="http://www.w3.org/xlink" class="second" xlink:href="http://www.google.com">this used to test atribute namespaces</p>
<p xmlns:xlink="http://www.w3.org/xlink" class="second" xlink:href="http://www.google.com">this used to test attribute namespaces</p>
</body>
</html>
"""
Expand Down
2 changes: 1 addition & 1 deletion src/OEBPS/Text/quickparser_py.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class QuickXHTMLParser(object):

# parses string version of tag to identify its name,
# its type 'begin', 'end' or 'single',
# plus build a hashtable of its atributes
# plus build a hashtable of its attributes
def parsetag(self, s):
n = len(s)
p = 1
Expand Down
2 changes: 1 addition & 1 deletion src/OEBPS/Text/sigil_gumbo_bs4_adapter_py.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def main():
<head><title>testing ∓ entities</title></head>
<body>
<p class="first second">this is the <i><b>copyright</i></b> symbol "©"</p>
<p xmlns:xlink="http://www.w3.org/xlink" class="second" xlink:href="http://www.google.com">this used to test atribute namespaces</p>
<p xmlns:xlink="http://www.w3.org/xlink" class="second" xlink:href="http://www.google.com">this used to test attribute namespaces</p>
</body>
</html>
"""
Expand Down
2 changes: 1 addition & 1 deletion src/OEBPS/Text/sigil_python_plugins.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ class BookContainer(object):

<li><p>if provided the file will be given the media-type provided by the mime-string, and if not provided the file extension is used to set the appropriate media-type</p></li>

<li><p>to support epub3 manifests, properties, fallback, and media-overlay atributes can also be set.</p></li>
<li><p>to support epub3 manifests, properties, fallback, and media-overlay attributes can also be set.</p></li>
</ul>

<p></p>
Expand Down
4 changes: 2 additions & 2 deletions src/OEBPS/Text/validationcontainer_py.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</head>

<body>
<h1>The Validation Container Class</h1>
<h1>The ValidationContainer Class</h1>

<pre>#!/usr/bin/env python3
# -*- coding: utf-8 -*-
Expand Down Expand Up @@ -67,7 +67,7 @@ class ValidationContainer(OutputContainer):
self.results.append(ValidationResult(restype, bookpath, linenumber, charoffset, message))
</pre>

<h2>The Validation Result Class</h2>
<h2>The ValidationResult Class</h2>
<pre>#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# vim:ts=4:sw=4:softtabstop=4:smarttab:expandtab
Expand Down
2 changes: 1 addition & 1 deletion src/OEBPS/nav.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<a href="Text/outputcontainer_py.xhtml">The OutputContainer Class</a>
</li>
<li>
<a href="Text/validationcontainer_py.xhtml">The Validation Container Class</a>
<a href="Text/validationcontainer_py.xhtml">The ValidationContainer Class</a>
</li>
<li>
<a href="Text/quickparser_py.xhtml">The QuickXHTMLParser Class</a>
Expand Down