mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Fix more typos
This commit is contained in:
parent
698f3bc4ff
commit
3e81179175
@ -78,7 +78,7 @@ def create_installer(env):
|
|||||||
cmd.extend([
|
cmd.extend([
|
||||||
'-sice:ICE60', # No language in dlls warning
|
'-sice:ICE60', # No language in dlls warning
|
||||||
'-sice:ICE61', # Allow upgrading with same version number
|
'-sice:ICE61', # Allow upgrading with same version number
|
||||||
'-sice:ICE40', # Re-install mode overriden
|
'-sice:ICE40', # Re-install mode overridden
|
||||||
'-sice:ICE69', # Shortcut components are part of a different feature than the files they point to
|
'-sice:ICE69', # Shortcut components are part of a different feature than the files they point to
|
||||||
])
|
])
|
||||||
cmd.append('-sval') # Disable all checks since they fail when running under ssh
|
cmd.append('-sval') # Disable all checks since they fail when running under ssh
|
||||||
|
@ -1512,7 +1512,7 @@ from the end of the header.
|
|||||||
|
|
||||||
<td>String sequence</td>
|
<td>String sequence</td>
|
||||||
|
|
||||||
<td>A concatenated sequence of one or more NUL-terminated US-ASCII strings. Each contains a header-value, which follows the contraints on header values laid down in IETF RFC 2822. Header folding is not allowed. Any of the four headers shown above may be absent; header values should be accessed via the above offsets.</td>
|
<td>A concatenated sequence of one or more NUL-terminated US-ASCII strings. Each contains a header-value, which follows the constraints on header values laid down in IETF RFC 2822. Header folding is not allowed. Any of the four headers shown above may be absent; header values should be accessed via the above offsets.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
@ -1936,7 +1936,7 @@ considered the default page ordering for the document.</td>
|
|||||||
|
|
||||||
<td>a concatenated sequence of NUL-terminated strings, each representing the name of a
|
<td>a concatenated sequence of NUL-terminated strings, each representing the name of a
|
||||||
page list. The first entry in the list corresponds to the default page ordering. For
|
page list. The first entry in the list corresponds to the default page ordering. For
|
||||||
unnamed page lists, a NUL charater should still be specified.</td>
|
unnamed page lists, a NUL character should still be specified.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
@ -800,7 +800,7 @@ Convert ODT documents
|
|||||||
calibre can directly convert ODT (OpenDocument Text) files. You should use styles to format your document and minimize the use of direct formatting.
|
calibre can directly convert ODT (OpenDocument Text) files. You should use styles to format your document and minimize the use of direct formatting.
|
||||||
When inserting images into your document you need to anchor them to the paragraph, images anchored to a page will all end up in the front of the conversion.
|
When inserting images into your document you need to anchor them to the paragraph, images anchored to a page will all end up in the front of the conversion.
|
||||||
|
|
||||||
To enable automatic detection of chapters, you need to mark them with the build-in styles called 'Heading 1', 'Heading 2', ..., 'Heading 6' ('Heading 1' equates to the HTML tag <h1>, 'Heading 2' to <h2> etc). When you convert in calibre you can enter which style you used into the 'Detect chapters at' box. Example:
|
To enable automatic detection of chapters, you need to mark them with the built-in styles called 'Heading 1', 'Heading 2', ..., 'Heading 6' ('Heading 1' equates to the HTML tag <h1>, 'Heading 2' to <h2> etc). When you convert in calibre you can enter which style you used into the 'Detect chapters at' box. Example:
|
||||||
|
|
||||||
* If you mark Chapters with style 'Heading 2', you have to set the 'Detect chapters at' box to ``//h:h2``
|
* If you mark Chapters with style 'Heading 2', you have to set the 'Detect chapters at' box to ``//h:h2``
|
||||||
* For a nested TOC with Sections marked with 'Heading 2' and the Chapters marked with 'Heading 3' you need to enter ``//h:h2|//h:h3``. On the Convert - TOC page set the 'Level 1 TOC' box to ``//h:h2`` and the 'Level 2 TOC' box to ``//h:h3``.
|
* For a nested TOC with Sections marked with 'Heading 2' and the Chapters marked with 'Heading 3' you need to enter ``//h:h2|//h:h3``. On the Convert - TOC page set the 'Level 1 TOC' box to ``//h:h2`` and the 'Level 2 TOC' box to ``//h:h3``.
|
||||||
|
@ -59,7 +59,7 @@ Although digital content can be used to make information as well as creative
|
|||||||
works easily available to everyone and empower humanity, this is not in the
|
works easily available to everyone and empower humanity, this is not in the
|
||||||
interests of some publishers who want to steer people away from this
|
interests of some publishers who want to steer people away from this
|
||||||
possibility of freedom simply to maintain their relevance in world developing
|
possibility of freedom simply to maintain their relevance in world developing
|
||||||
so fast that they cant keep up.
|
so fast that they can't keep up.
|
||||||
|
|
||||||
|
|
||||||
Why does calibre not support DRM?
|
Why does calibre not support DRM?
|
||||||
|
@ -589,7 +589,7 @@ With all this flexibility, it is possible to have calibre manage your author nam
|
|||||||
Why doesn't calibre let me store books in my own folder structure?
|
Why doesn't calibre let me store books in my own folder structure?
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
The whole point of calibre's library management features is that they provide a search and sort based interface for locating books that is *much* more efficient than any possible folder scheme you could come up with for your collection. Indeed, once you become comfortable using calibre's interface to find, sort and browse your collection, you wont ever feel the need to hunt through the files on your disk to find a book again. By managing books in its own folder structure of Author -> Title -> Book files, calibre is able to achieve a high level of reliability and standardization. To illustrate why a search/tagging based interface is superior to folders, consider the following. Suppose your book collection is nicely sorted into folders with the following scheme::
|
The whole point of calibre's library management features is that they provide a search and sort based interface for locating books that is *much* more efficient than any possible folder scheme you could come up with for your collection. Indeed, once you become comfortable using calibre's interface to find, sort and browse your collection, you won't ever feel the need to hunt through the files on your disk to find a book again. By managing books in its own folder structure of Author -> Title -> Book files, calibre is able to achieve a high level of reliability and standardization. To illustrate why a search/tagging based interface is superior to folders, consider the following. Suppose your book collection is nicely sorted into folders with the following scheme::
|
||||||
|
|
||||||
Genre -> Author -> Series -> ReadStatus
|
Genre -> Author -> Series -> ReadStatus
|
||||||
|
|
||||||
@ -671,7 +671,7 @@ then import it on another computer. First let's see how to export the data:
|
|||||||
Now on the new computer, start calibre for the first time. It will run the
|
Now on the new computer, start calibre for the first time. It will run the
|
||||||
:guilabel:`Welcome wizard` asking you for the location of the calibre library. Point it
|
:guilabel:`Welcome wizard` asking you for the location of the calibre library. Point it
|
||||||
to the previously copied folder. If the computer you are transferring to
|
to the previously copied folder. If the computer you are transferring to
|
||||||
already has a calibre installation, then the :guilabel:`Welcome wizard` wont run. In
|
already has a calibre installation, then the :guilabel:`Welcome wizard` won't run. In
|
||||||
that case, right-click the calibre icon in the toolbar and point it to the
|
that case, right-click the calibre icon in the toolbar and point it to the
|
||||||
newly copied folder. You will now have two calibre libraries on your
|
newly copied folder. You will now have two calibre libraries on your
|
||||||
computer and you can switch between them by clicking the calibre icon on
|
computer and you can switch between them by clicking the calibre icon on
|
||||||
@ -756,7 +756,7 @@ Otherwise, you can request a particular news site by posting in the `calibre Rec
|
|||||||
Why the name calibre?
|
Why the name calibre?
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
Take your pick:
|
Take your pick:
|
||||||
* Convertor And LIBRary for E-books
|
* Converter And LIBRary for E-books
|
||||||
* A high *calibre* product
|
* A high *calibre* product
|
||||||
* A tribute to the SONY Librie which was the first e-ink based e-book reader
|
* A tribute to the SONY Librie which was the first e-ink based e-book reader
|
||||||
* My wife chose it ;-)
|
* My wife chose it ;-)
|
||||||
@ -793,7 +793,7 @@ There can be several causes for this:
|
|||||||
has trouble with library locations if the path contains non-English characters, or only numbers, etc.)
|
has trouble with library locations if the path contains non-English characters, or only numbers, etc.)
|
||||||
* Try running it as Administrator (Right click on the icon and select "Run as Administrator")
|
* Try running it as Administrator (Right click on the icon and select "Run as Administrator")
|
||||||
|
|
||||||
If it still wont launch, start a command prompt (press the Windows key and R; then type :command:`cmd.exe` in the Run dialog that appears). At the command prompt type the following command and press Enter::
|
If it still won't launch, start a command prompt (press the Windows key and R; then type :command:`cmd.exe` in the Run dialog that appears). At the command prompt type the following command and press Enter::
|
||||||
|
|
||||||
calibre-debug -g
|
calibre-debug -g
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ function and copy the Python code from below.
|
|||||||
|
|
||||||
Every :guilabel:`Search & replace` custom function must have a unique name and consist of a
|
Every :guilabel:`Search & replace` custom function must have a unique name and consist of a
|
||||||
Python function named replace, that accepts all the arguments shown above.
|
Python function named replace, that accepts all the arguments shown above.
|
||||||
For the moment, we wont worry about all the different arguments to
|
For the moment, we won't worry about all the different arguments to
|
||||||
``replace()`` function. Just focus on the ``match`` argument. It represents a
|
``replace()`` function. Just focus on the ``match`` argument. It represents a
|
||||||
match when running a search and replace. Its full documentation in available
|
match when running a search and replace. Its full documentation in available
|
||||||
`here <https://docs.python.org/library/re.html#match-objects>`_.
|
`here <https://docs.python.org/library/re.html#match-objects>`_.
|
||||||
|
@ -152,7 +152,7 @@ REM Location of Calibre Temporary files (optional)
|
|||||||
REM
|
REM
|
||||||
REM Calibre creates a lot of temporary files while running
|
REM Calibre creates a lot of temporary files while running
|
||||||
REM In theory these are removed when Calibre finishes, but
|
REM In theory these are removed when Calibre finishes, but
|
||||||
REM in practise files can be left behind (particularily if
|
REM in practise files can be left behind (particularly if
|
||||||
REM any errors occur). Using this option allows some
|
REM any errors occur). Using this option allows some
|
||||||
REM explicit clean-up of these files.
|
REM explicit clean-up of these files.
|
||||||
REM If not set Calibre uses the normal system TEMP location
|
REM If not set Calibre uses the normal system TEMP location
|
||||||
@ -193,7 +193,7 @@ REM Start up the calibre program.
|
|||||||
REM
|
REM
|
||||||
REM The use of 'belownormal' priority helps keep the system
|
REM The use of 'belownormal' priority helps keep the system
|
||||||
REM responsive while Calibre is running. Within Calibre itself
|
REM responsive while Calibre is running. Within Calibre itself
|
||||||
REM the backgound processes should be set to run with 'low' priority.
|
REM the background processes should be set to run with 'low' priority.
|
||||||
|
|
||||||
REM Using the START command starts up Calibre in a separate process.
|
REM Using the START command starts up Calibre in a separate process.
|
||||||
REM If used without /WAIT option it launches Calibre and contines batch file.
|
REM If used without /WAIT option it launches Calibre and contines batch file.
|
||||||
|
@ -346,7 +346,7 @@ elif [[ -z "${BIN_DIR}" ]]; then
|
|||||||
else
|
else
|
||||||
CALIBRE="calibre"
|
CALIBRE="calibre"
|
||||||
echo "PROGRAM FILES: No portable copy found."
|
echo "PROGRAM FILES: No portable copy found."
|
||||||
echo "To intall a portable copy, run './calibre-portable.sh --upgrade-install'"
|
echo "To install a portable copy, run './calibre-portable.sh --upgrade-install'"
|
||||||
echo -e "\033[0;31m*** Using System search path instead***\033[0m"
|
echo -e "\033[0;31m*** Using System search path instead***\033[0m"
|
||||||
fi
|
fi
|
||||||
echo "--------------------------------------------------"
|
echo "--------------------------------------------------"
|
||||||
|
@ -428,7 +428,7 @@ class Build(Command):
|
|||||||
os.remove(x)
|
os.remove(x)
|
||||||
|
|
||||||
def check_call(self, *args, **kwargs):
|
def check_call(self, *args, **kwargs):
|
||||||
"""print cmdline if an error occured
|
"""print cmdline if an error occurred
|
||||||
|
|
||||||
If something is missing (qmake e.g.) you get a non-informative error
|
If something is missing (qmake e.g.) you get a non-informative error
|
||||||
self.check_call(qmc + [ext.name+'.pro'])
|
self.check_call(qmc + [ext.name+'.pro'])
|
||||||
|
@ -10,7 +10,7 @@ from setup import Command
|
|||||||
|
|
||||||
|
|
||||||
class CSSLint(Command):
|
class CSSLint(Command):
|
||||||
# We cant use the released copy since it has not had a release in years and
|
# We can't use the released copy since it has not had a release in years and
|
||||||
# there are several critical bug fixes we need
|
# there are several critical bug fixes we need
|
||||||
|
|
||||||
description = 'Update the bundled copy of csslint'
|
description = 'Update the bundled copy of csslint'
|
||||||
|
@ -363,7 +363,7 @@ else:
|
|||||||
if not os.path.exists(config_dir) or \
|
if not os.path.exists(config_dir) or \
|
||||||
not os.access(config_dir, os.W_OK) or not \
|
not os.access(config_dir, os.W_OK) or not \
|
||||||
os.access(config_dir, os.X_OK):
|
os.access(config_dir, os.X_OK):
|
||||||
print('No write acces to', config_dir, 'using a temporary dir instead')
|
print('No write access to', config_dir, 'using a temporary dir instead')
|
||||||
import tempfile, atexit
|
import tempfile, atexit
|
||||||
config_dir = tempfile.mkdtemp(prefix='calibre-config-')
|
config_dir = tempfile.mkdtemp(prefix='calibre-config-')
|
||||||
|
|
||||||
|
@ -1737,7 +1737,7 @@ class StoreOzonRUStore(StoreBase):
|
|||||||
|
|
||||||
class StorePragmaticBookshelfStore(StoreBase):
|
class StorePragmaticBookshelfStore(StoreBase):
|
||||||
name = 'Pragmatic Bookshelf'
|
name = 'Pragmatic Bookshelf'
|
||||||
description = 'The Pragmatic Bookshelf\'s collection of programming and tech books avaliable as e-books.'
|
description = 'The Pragmatic Bookshelf\'s collection of programming and tech books available as e-books.'
|
||||||
actual_plugin = 'calibre.gui2.store.stores.pragmatic_bookshelf_plugin:PragmaticBookshelfStore'
|
actual_plugin = 'calibre.gui2.store.stores.pragmatic_bookshelf_plugin:PragmaticBookshelfStore'
|
||||||
|
|
||||||
drm_free_only = True
|
drm_free_only = True
|
||||||
|
@ -1027,7 +1027,7 @@ complete -F _'''%(opts, words) + fname + ' ' + name +"\n\n").encode('utf-8')
|
|||||||
|
|
||||||
|
|
||||||
pics = {'jpg', 'jpeg', 'gif', 'png', 'bmp'}
|
pics = {'jpg', 'jpeg', 'gif', 'png', 'bmp'}
|
||||||
pics = list(sorted(pics)) # for reproducability
|
pics = list(sorted(pics)) # for reproducibility
|
||||||
|
|
||||||
|
|
||||||
def opts_and_exts(name, op, exts, cover_opts=('--cover',), opf_opts=(),
|
def opts_and_exts(name, op, exts, cover_opts=('--cover',), opf_opts=(),
|
||||||
|
@ -304,7 +304,7 @@ class ImportRule:
|
|||||||
|
|
||||||
|
|
||||||
def _remove_at_charset(tokens):
|
def _remove_at_charset(tokens):
|
||||||
"""Remove any valid @charset at the beggining of a token stream.
|
"""Remove any valid @charset at the beginning of a token stream.
|
||||||
|
|
||||||
:param tokens:
|
:param tokens:
|
||||||
An iterable of tokens
|
An iterable of tokens
|
||||||
|
@ -152,7 +152,7 @@ class ParseError(ValueError):
|
|||||||
|
|
||||||
.. attribute:: reason
|
.. attribute:: reason
|
||||||
|
|
||||||
What happend (a string).
|
What happened (a string).
|
||||||
|
|
||||||
"""
|
"""
|
||||||
def __init__(self, subject, reason):
|
def __init__(self, subject, reason):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user