特殊:Badtitle/NS100:BookSmart:修订间差异
小 创建新页面为 '{{From|https://help.ubuntu.com/community/BookSmart}} {{Languages|UbuntuHelp:BookSmart}} Parent: Software == Introduction == BookSmart is a bookmaking app...' |
小无编辑摘要 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/BookSmart}} | {{From|https://help.ubuntu.com/community/BookSmart}} | ||
{{Languages|UbuntuHelp:BookSmart}} | {{Languages|UbuntuHelp:BookSmart}} | ||
== Introduction == | == Introduction == | ||
BookSmart is a bookmaking application developed by Blurb, Inc. It allows users to design and publish books. | BookSmart is a bookmaking application developed by Blurb, Inc. It allows users to design and publish books. | ||
第8行: | 第7行: | ||
== Installation Instructions == | == Installation Instructions == | ||
These instructions are heavily based on the hard work done by Blurb forum member [http://www.blurb.com/user/clecuret Cedric Lecuret]. His original instructions are [http://sites.google.com/site/leucblog/Home/booksmart--linux here]. | These instructions are heavily based on the hard work done by Blurb forum member [http://www.blurb.com/user/clecuret Cedric Lecuret]. His original instructions are [http://sites.google.com/site/leucblog/Home/booksmart--linux here]. | ||
Firstly, download the latest version of BookSmart from [http://www.blurb.com/ here]. Make sure you get the Mac version, not the Windows version. Alternatively, download it from the | === Download and mount install disc === | ||
<code><nowiki>wget http://downloads.blurb.com/booksmart/ | Firstly, download the latest version of BookSmart from [http://www.blurb.com/ here]. Make sure you get the Mac version, not the Windows version. Alternatively, download it from the command line. The following will get v2.5.1, which may not be the latest version so check first: | ||
<code><nowiki>wget http://downloads.blurb.com/booksmart/BookSmart_2.5.1.dmg</nowiki></code> Updated 2009-10-2 | |||
Now install some software to convert the DMG file into something that Linux can mount, such as dmg2img. Follow these [[UbuntuHelp:DMG2IMG|DMG2IMG]] instructions. Then, convert the file using: | Now install some software to convert the DMG file into something that Linux can mount, such as dmg2img. Follow these [[UbuntuHelp:DMG2IMG|DMG2IMG]] instructions. Then, convert the file using: | ||
<code><nowiki>dmg2img | <code><nowiki>dmg2img BookSmart_2.0.2.dmg</nowiki></code> | ||
Next mount the disc image: | Next mount the disc image: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo mkdir | sudo mkdir /macbooksmart | ||
sudo modprobe hfsplus | sudo modprobe hfsplus | ||
sudo mount -t hfsplus -o loop | sudo mount -t hfsplus -o loop BookSmart_2.0.2.img /macbooksmart | ||
</nowiki></pre> | </nowiki></pre> | ||
=== Install files === | |||
Install the BookSmart files: | |||
<pre><nowiki> | <pre><nowiki> | ||
sudo mkdir /usr/lib/booksmart/ | sudo mkdir /usr/lib/booksmart/ | ||
第26行: | 第27行: | ||
The 1.9.9 Mac version of BookSmart will only run under Java 1.5, so make sure that is installed: | The 1.9.9 Mac version of BookSmart will only run under Java 1.5, so make sure that is installed: | ||
<code><nowiki>sudo apt-get install sun-java5-jre</nowiki></code> | <code><nowiki>sudo apt-get install sun-java5-jre</nowiki></code> | ||
=== Create startup script === | |||
Create a script that can start BookSmart: | |||
<pre><nowiki> | <pre><nowiki> | ||
sudo echo '#! /bin/sh | sudo echo '#! /bin/sh | ||
第41行: | 第43行: | ||
exit $? | exit $? | ||
' > /usr/lib/booksmart/booksmart.sh | ' > $HOME/booksmart.sh | ||
sudo mv $HOME/booksmart.sh /usr/lib/booksmart/booksmart.sh | |||
sudo chmod a+x /usr/lib/booksmart/booksmart.sh | sudo chmod a+x /usr/lib/booksmart/booksmart.sh | ||
</nowiki></pre> | </nowiki></pre> | ||
=== Set up menu === | |||
Finally, create a menu item to run BookSmart. Right-click on the Applications menu and select Edit Menu. Add a new entry under the Graphics menu called BookSmart which runs the following command: | Finally, create a menu item to run BookSmart. Right-click on the Applications menu and select Edit Menu. Add a new entry under the Graphics menu called BookSmart which runs the following command: | ||
<code><nowiki>/usr/lib/booksmart/booksmart.sh</nowiki></code> | <code><nowiki>/usr/lib/booksmart/booksmart.sh</nowiki></code> | ||
=== Tidying up === | |||
You can now tidy up the files used during installation: | |||
<pre><nowiki> | |||
sudo umount /macbooksmart | |||
sudo rmdir /macbooksmart | |||
rm BookSmart_2.0.2.* | |||
</nowiki></pre> | |||
== Getting Started With BookSmart == | == Getting Started With BookSmart == | ||
You can now run BookSmart by selecting Applications > Graphics > BookSmart from the menu. | You can now run BookSmart by selecting Applications > Graphics > BookSmart from the menu. |
2009年11月17日 (二) 18:40的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/BookSmart }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/af | • {{#if: UbuntuHelp:BookSmart|Afrikaans| [[::BookSmart/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/ar | • {{#if: UbuntuHelp:BookSmart|العربية| [[::BookSmart/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/az | • {{#if: UbuntuHelp:BookSmart|azərbaycanca| [[::BookSmart/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/bcc | • {{#if: UbuntuHelp:BookSmart|جهلسری بلوچی| [[::BookSmart/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/bg | • {{#if: UbuntuHelp:BookSmart|български| [[::BookSmart/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/br | • {{#if: UbuntuHelp:BookSmart|brezhoneg| [[::BookSmart/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/ca | • {{#if: UbuntuHelp:BookSmart|català| [[::BookSmart/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/cs | • {{#if: UbuntuHelp:BookSmart|čeština| [[::BookSmart/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/de | • {{#if: UbuntuHelp:BookSmart|Deutsch| [[::BookSmart/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/el | • {{#if: UbuntuHelp:BookSmart|Ελληνικά| [[::BookSmart/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/es | • {{#if: UbuntuHelp:BookSmart|español| [[::BookSmart/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/fa | • {{#if: UbuntuHelp:BookSmart|فارسی| [[::BookSmart/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/fi | • {{#if: UbuntuHelp:BookSmart|suomi| [[::BookSmart/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/fr | • {{#if: UbuntuHelp:BookSmart|français| [[::BookSmart/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/gu | • {{#if: UbuntuHelp:BookSmart|ગુજરાતી| [[::BookSmart/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/he | • {{#if: UbuntuHelp:BookSmart|עברית| [[::BookSmart/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/hu | • {{#if: UbuntuHelp:BookSmart|magyar| [[::BookSmart/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/id | • {{#if: UbuntuHelp:BookSmart|Bahasa Indonesia| [[::BookSmart/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/it | • {{#if: UbuntuHelp:BookSmart|italiano| [[::BookSmart/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/ja | • {{#if: UbuntuHelp:BookSmart|日本語| [[::BookSmart/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/ko | • {{#if: UbuntuHelp:BookSmart|한국어| [[::BookSmart/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/ksh | • {{#if: UbuntuHelp:BookSmart|Ripoarisch| [[::BookSmart/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/mr | • {{#if: UbuntuHelp:BookSmart|मराठी| [[::BookSmart/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/ms | • {{#if: UbuntuHelp:BookSmart|Bahasa Melayu| [[::BookSmart/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/nl | • {{#if: UbuntuHelp:BookSmart|Nederlands| [[::BookSmart/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/no | • {{#if: UbuntuHelp:BookSmart|norsk| [[::BookSmart/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/oc | • {{#if: UbuntuHelp:BookSmart|occitan| [[::BookSmart/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/pl | • {{#if: UbuntuHelp:BookSmart|polski| [[::BookSmart/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/pt | • {{#if: UbuntuHelp:BookSmart|português| [[::BookSmart/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/ro | • {{#if: UbuntuHelp:BookSmart|română| [[::BookSmart/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/ru | • {{#if: UbuntuHelp:BookSmart|русский| [[::BookSmart/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/si | • {{#if: UbuntuHelp:BookSmart|සිංහල| [[::BookSmart/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/sq | • {{#if: UbuntuHelp:BookSmart|shqip| [[::BookSmart/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/sr | • {{#if: UbuntuHelp:BookSmart|српски / srpski| [[::BookSmart/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/sv | • {{#if: UbuntuHelp:BookSmart|svenska| [[::BookSmart/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/th | • {{#if: UbuntuHelp:BookSmart|ไทย| [[::BookSmart/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/tr | • {{#if: UbuntuHelp:BookSmart|Türkçe| [[::BookSmart/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/vi | • {{#if: UbuntuHelp:BookSmart|Tiếng Việt| [[::BookSmart/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/yue | • {{#if: UbuntuHelp:BookSmart|粵語| [[::BookSmart/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/zh | • {{#if: UbuntuHelp:BookSmart|中文| [[::BookSmart/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/zh-hans | • {{#if: UbuntuHelp:BookSmart|中文(简体)| [[::BookSmart/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:BookSmart | UbuntuHelp:BookSmart | {{#if: | :}}BookSmart}}/zh-hant | • {{#if: UbuntuHelp:BookSmart|中文(繁體)| [[::BookSmart/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:BookSmart|:BookSmart|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :BookSmart/zh | | {{#ifexist: BookSmart/zh | | {{#ifeq: {{#titleparts:BookSmart|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:BookSmart|1|-1|}} | zh | | }}
Introduction
BookSmart is a bookmaking application developed by Blurb, Inc. It allows users to design and publish books. Although Blurb do not offer or support a Linux version of BookSmart, it is a Java application which will run on Linux with a bit of fiddling. Website: http://www.blurb.com/
Installation Instructions
These instructions are heavily based on the hard work done by Blurb forum member Cedric Lecuret. His original instructions are here.
Download and mount install disc
Firstly, download the latest version of BookSmart from here. Make sure you get the Mac version, not the Windows version. Alternatively, download it from the command line. The following will get v2.5.1, which may not be the latest version so check first:
wget http://downloads.blurb.com/booksmart/BookSmart_2.5.1.dmg
Updated 2009-10-2
Now install some software to convert the DMG file into something that Linux can mount, such as dmg2img. Follow these DMG2IMG instructions. Then, convert the file using:
dmg2img BookSmart_2.0.2.dmg
Next mount the disc image:
sudo mkdir /macbooksmart sudo modprobe hfsplus sudo mount -t hfsplus -o loop BookSmart_2.0.2.img /macbooksmart
Install files
Install the BookSmart files:
sudo mkdir /usr/lib/booksmart/ sudo cp -r /macbooksmart/BookSmart.app/Contents/Resources/Java/lib/ /usr/lib/booksmart/ sudo cp -r /macbooksmart/BookSmart.app/Contents/Resources/Java/resources/ /usr/lib/booksmart/
The 1.9.9 Mac version of BookSmart will only run under Java 1.5, so make sure that is installed:
sudo apt-get install sun-java5-jre
Create startup script
Create a script that can start BookSmart:
sudo echo '#! /bin/sh cd /usr/lib/booksmart classpath="" # Build classpath with all jars in the lib directory for jar in lib/*.jar do classpath=$classpath:$jar done /usr/lib/jvm/java-1.5.0-sun/jre/bin/java -Xincgc -ea -Xms256m -Xmx1024m -classpath $classpath com.blurb.booksmart.application.BookSmart exit $? ' > $HOME/booksmart.sh sudo mv $HOME/booksmart.sh /usr/lib/booksmart/booksmart.sh sudo chmod a+x /usr/lib/booksmart/booksmart.sh
Finally, create a menu item to run BookSmart. Right-click on the Applications menu and select Edit Menu. Add a new entry under the Graphics menu called BookSmart which runs the following command:
/usr/lib/booksmart/booksmart.sh
Tidying up
You can now tidy up the files used during installation:
sudo umount /macbooksmart sudo rmdir /macbooksmart rm BookSmart_2.0.2.*
Getting Started With BookSmart
You can now run BookSmart by selecting Applications > Graphics > BookSmart from the menu.
Known Issues
The thumbnails for themes for the New Book wizard are missing/misnamed.