Erinevus lehekülje "Calibre" redaktsioonide vahel
(→calibre-server) |
|||
| 1. rida: | 1. rida: | ||
| − | |||
===Sissejuhatus=== | ===Sissejuhatus=== | ||
| 7. rida: | 6. rida: | ||
You can use the Connect/share toolbar button to turn the Content Server on and off. If it’s not already visible, visit the toolbar preferences again and add it to the list of current actions: | You can use the Connect/share toolbar button to turn the Content Server on and off. If it’s not already visible, visit the toolbar preferences again and add it to the list of current actions: | ||
| + | |||
| + | ===Käsureal konvertimine=== | ||
| + | |||
| + | Calibre on hea vahend konvertimiste läbiviimiseks käsureal nimega ebook-converter, mis saab aru ka html failidest. | ||
| + | |||
| + | <source lang=html4strict> | ||
| + | <head> | ||
| + | <title>Sample document</title> | ||
| + | </head> | ||
| + | <body> | ||
| + | <h1>Chapter 1</h1> | ||
| + | ... | ||
| + | <h2>Section 1.1</h2> | ||
| + | ... | ||
| + | <h2>Section 1.2</h2> | ||
| + | ... | ||
| + | <h1>Chapter 2</h1> | ||
| + | ... | ||
| + | <h2>Section 2.1</h2> | ||
| + | ... | ||
| + | </body> | ||
| + | </html> | ||
| + | </source> | ||
| + | |||
| + | Then, we set the options as: | ||
| + | |||
| + | Level 1 TOC : //h:h1 | ||
| + | Level 2 TOC : //h:h2 | ||
| + | |||
| + | This will result in an automatically generated two level Table of Contents that looks like: | ||
| + | |||
| + | Chapter 1 | ||
| + | Section 1.1 | ||
| + | Section 1.2 | ||
| + | Chapter 2 | ||
| + | Section 2.1 | ||
| + | |||
| + | Käsureavõti calbrel oleks seljuhul | ||
| + | |||
| + | --level1-toc '//h:h1' | ||
===calibre-server=== | ===calibre-server=== | ||
Redaktsioon: 19. märts 2013, kell 11:49
Sissejuhatus
Calibre on üsnagi võimas töövahend e-raamatutega tegelemiseks. Ta suudab konvertida palju erinevaid formaate, omab selleks nii GUI kui CLI (käsurea) töövahendeid ning pakub isegi oma e-raamatutele kaugelt ligipääsemiseks erinevaid võimalusi.
You can use the Connect/share toolbar button to turn the Content Server on and off. If it’s not already visible, visit the toolbar preferences again and add it to the list of current actions:
Käsureal konvertimine
Calibre on hea vahend konvertimiste läbiviimiseks käsureal nimega ebook-converter, mis saab aru ka html failidest.
<head>
<title>Sample document</title>
</head>
<body>
<h1>Chapter 1</h1>
...
<h2>Section 1.1</h2>
...
<h2>Section 1.2</h2>
...
<h1>Chapter 2</h1>
...
<h2>Section 2.1</h2>
...
</body>
</html>
Then, we set the options as:
Level 1 TOC : //h:h1 Level 2 TOC : //h:h2
This will result in an automatically generated two level Table of Contents that looks like:
Chapter 1
Section 1.1 Section 1.2
Chapter 2
Section 2.1
Käsureavõti calbrel oleks seljuhul
--level1-toc '//h:h1'
calibre-server
Debianis paigaldamiseks:
# apt-get install calibre
Seejärel kopeerime nt enda raamatukogu /home/calibre ja stardime serveri
# calibre-server --with-library=/home/calibre
Veel võtmeid:
--url-prefix /calibre
--daemonize
sest vaikimisi lastakse kõik ligi
--password
Kuulatav port, vaikimisi 8080
--port, -p
kasutajanimi, vaikimisi calibre
--username
To access your library from the Kindle click on Menu –> Experimental –> Launch Web Browser and key in the IP and port number of your Calibre server. Make sure to bookmark it immediately, typing numbers in on the Kindle is extremely tedious.
