Giter VIP home page Giter VIP logo

flp.mobi's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

flp.mobi's Issues

NOTICE OF INFRINGING WORK POSTED ON GITHUB

(Posted on behalf of Caltech)

NOTICE OF INFRINGING WORK POSTED ON GITHUB

The California Institute of Technology (Caltech) is the sole owner of the copyright in the text of The Feynman Lectures on Physics, most recently published as LCCN 2010938208 ISBN 978-0-465-02414-8.

Michael A. Gottlieb and Rudolph Pfeiffer own the copyright in the conversion of the text of the Feynman Lectures of Physics into LaTeX format for print and PDF, and the HTML format for electronic publication.

Basic Books, a division of Perseus Books Group, is the sole and exclusive licensee of Caltech, Michael A. Gottlieb and Rudolph Pfeiffer for all publications relating to The Feynman Lectures on Physics – including print and electronic text versions, photographs and audio recordings.

These exclusive rights are being violated by material available upon your site at the following URL(s):

https://github.com/fmap/flp.mobi .

I have a good faith belief that the use of this material in this manner is not authorized by the copyright holders or the law. I swear, under penalty of perjury, that the information in this notification is accurate and that I am authorized to act on behalf of all the copyright owners, mentioned above, of the exclusive rights that are being infringed.

I may be contacted at the following email address and telephone number:

[edited out for privacy]

The person who posted the material on GitHub has stated the following in a counter-notice (under penalty of perjury):

I interpret the basis of the [previous] take-down to be (1) Perseus holding the copyright of The Feynman Lectures on Physics, (2) files in the repository infringing upon that material. I don't believe either basis is valid: (1) Caltech hold the copyright, Perseus only have print publishing rights, the integrity of the notice relies on Perseus having been authorised to act on behalf of Caltech; (2) none of Caltech's content is included in the repository, all it contains are a set of scripts to process material provided by others.

This statement has no basis in fact as to the illegality of the posting. Moreover, section (2) of the last sentence provides proof that the material GitHub is posting is designed to contribute to the infringement of our copyright each time the posted material is downloaded by a visitor to your site and used to convert the Feynman Lectures. The “material provided by others” is our copyrighted material, and the process that the scripts allow is copyright infringement. As stated at https://github.com/fmap/flp.mobi ,

A toolchain to build a collection of MOBIs from Caltech's new online edition of the Feynman Lectures, so you can read them offline on your Kindle. We use EPUB as an intermediate representation, so likelihood is you'll get something working on your iPocketKoboNook too.

We posted our HTML free-to-read version of the Feynman Lectures on Physics online even though we realized that some might make copies of various sections for their own review, but thought that risk worthwhile in view of the educational value of introducing new students to the historic lectures delivered by Richard Feynman. However, the massive downloading of that script, through GitHub, destroys the balance that was the basis of our decision. We request that you remove or disable access to the posting at https://github.com/fmap/flp.mobi that contributes to this infringement in as quickly as possible.

Regards,

Adam Cochran
Associate General Counsel
Chair, Feynman Legacy Project
Caltech

errors when running make command

thanks for clearing up that the mobi making was wrong in #10 👍

i had the following error towards the end of the make command:

1% Converting input to HTML...
InputFormatPlugin: EPUB Input running
on /Users/sayanee/Desktop/flp.mobi/flpI.epub
Python function terminated unexpectedly: No valid entries in the spine of this EPUB
Traceback (most recent call last):
  File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 147, in main
    return run_entry_point()
  File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.7/site.py", line 116, in run_entry_point
    return getattr(pmod, func)()
  File "site-packages/calibre/ebooks/conversion/cli.py", line 325, in main
  File "site-packages/calibre/ebooks/conversion/plumber.py", line 989, in run
  File "site-packages/calibre/customize/conversion.py", line 239, in __call__
  File "site-packages/calibre/ebooks/conversion/plugins/epub_input.py", line 210, in convert
ValueError: No valid entries in the spine of this EPUB
make[1]: *** [mobi] Error 255
make: *** [all] Error 2

Equations aren't numbered correctly.

Expressions in the equation environment (\begin{equation}...\end{equation}) are labeled with different numbers than those referenced within the text, because they're missing the context of the document whilst being converted to images..

Could this be fixed by (1) determining their position within the original document; (2) inserting \label commands with that index hardcoded?.

Download does not work anymore here

Hi!

First, congratulations for the impressive work. What a beautiful project! Thank you so much for share it.

After two days working in my environment (yes, that dependencies...), it worked and I finally got the three mobi files to put in my Kindle.

Unfortunately, the make command output some link errors and missing image files. So I run a "make clean ; bundle ; make" trying to fix these errors.

The make clean deleted all downloaded files and now, after run the make command, it starts downloading the files again but some 404 errors appears and the make exit with Error 2.

I tried to make again in four different days since last week without success.

Do you have this problem now too (since last week) or is it the website blocking my IP?

Thank you in advanced!

Best Regards,
Rodrigo.

Here are the output (sorry for the length...):

[root@webserver flp.mobi]# make clean git clean -Xfd Removing I_copyright.html Removing css/ Removing img/ Removing index.html [root@webserver flp.mobi]# bundle Using mime-types (2.0) Using mini_portile (0.5.2) Using nokogiri (1.6.0) Using bundler (1.3.5) Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed. [root@webserver flp.mobi]# make which zip bundle wget ebook-convert /usr/bin/zip /usr/local/rvm/gems/ruby-1.9.3-p484@global/bin/bundle /usr/bin/wget /usr/bin/ebook-convert wget -c -rnH -k -np http://www.feynmanlectures.caltech.edu/ || true --2014-01-13 22:22:52-- http://www.feynmanlectures.caltech.edu/ Resolving www.feynmanlectures.caltech.edu... 131.215.235.206 Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 11833 (12K) [text/html] Saving to: “index.html”

100%[=====================================================================================================================================================================>] 11,833 24.4K/s in 0.5s

2014-01-13 22:22:54 (24.4 KB/s) - “index.html” saved [11833/11833]

Loading robots.txt; please ignore errors.
--2014-01-13 22:22:54-- http://www.feynmanlectures.caltech.edu/robots.txt
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-01-13 22:22:55 ERROR 404: Not Found.

--2014-01-13 22:22:55-- http://www.feynmanlectures.caltech.edu/css/custom.css
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3735 (3.6K) [text/css]
Saving to: “css/custom.css”

100%[=====================================================================================================================================================================>] 3,735 --.-K/s in 0s

2014-01-13 22:22:55 (264 MB/s) - “css/custom.css” saved [3735/3735]

--2014-01-13 22:22:55-- http://www.feynmanlectures.caltech.edu/img/caltechseal_orange_7in_primary-rgb.PNG
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 40018 (39K) [image/png]
Saving to: “img/caltechseal_orange_7in_primary-rgb.PNG”

100%[=====================================================================================================================================================================>] 40,018 48.4K/s in 0.8s

2014-01-13 22:22:57 (48.4 KB/s) - “img/caltechseal_orange_7in_primary-rgb.PNG” saved [40018/40018]

--2014-01-13 22:22:57-- http://www.feynmanlectures.caltech.edu/img/twitter.png
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 926 [image/png]
Saving to: “img/twitter.png”

100%[=====================================================================================================================================================================>] 926 --.-K/s in 0s

2014-01-13 22:22:57 (75.5 MB/s) - “img/twitter.png” saved [926/926]

--2014-01-13 22:22:57-- http://www.feynmanlectures.caltech.edu/img/facebook.png
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 805 [image/png]
Saving to: “img/facebook.png”

100%[=====================================================================================================================================================================>] 805 --.-K/s in 0s

2014-01-13 22:22:58 (67.3 MB/s) - “img/facebook.png” saved [805/805]

--2014-01-13 22:22:58-- http://www.feynmanlectures.caltech.edu/img/email.png
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 760 [image/png]
Saving to: “img/email.png”

100%[=====================================================================================================================================================================>] 760 --.-K/s in 0s

2014-01-13 22:22:58 (63.0 MB/s) - “img/email.png” saved [760/760]

--2014-01-13 22:22:58-- http://www.feynmanlectures.caltech.edu/img/S46_16.jpg
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 100897 (99K) [image/jpeg]
Saving to: “img/S46_16.jpg”

100%[=====================================================================================================================================================================>] 100,897 42.9K/s in 2.3s

2014-01-13 22:23:01 (42.9 KB/s) - “img/S46_16.jpg” saved [100897/100897]

--2014-01-13 22:23:01-- http://www.feynmanlectures.caltech.edu/img/S46_17.jpg
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 108894 (106K) [image/jpeg]
Saving to: “img/S46_17.jpg”

100%[=====================================================================================================================================================================>] 108,894 37.4K/s in 2.8s

2014-01-13 22:23:04 (37.4 KB/s) - “img/S46_17.jpg” saved [108894/108894]

--2014-01-13 22:23:04-- http://www.feynmanlectures.caltech.edu/I_copyright.html
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4253 (4.2K) [text/html]
Saving to: “I_copyright.html”

100%[=====================================================================================================================================================================>] 4,253 --.-K/s in 0.001s

2014-01-13 22:23:05 (3.16 MB/s) - “I_copyright.html” saved [4253/4253]

--2014-01-13 22:23:05-- http://www.feynmanlectures.caltech.edu/css/screen.css
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12091 (12K) [text/css]
Saving to: “css/screen.css”

100%[=====================================================================================================================================================================>] 12,091 45.3K/s in 0.3s

2014-01-13 22:23:06 (45.3 KB/s) - “css/screen.css” saved [12091/12091]

--2014-01-13 22:23:06-- http://www.feynmanlectures.caltech.edu/css/polytexnic.css
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4357 (4.3K) [text/css]
Saving to: “css/polytexnic.css”

100%[=====================================================================================================================================================================>] 4,357 --.-K/s in 0.001s

2014-01-13 22:23:06 (2.80 MB/s) - “css/polytexnic.css” saved [4357/4357]

--2014-01-13 22:23:06-- http://www.feynmanlectures.caltech.edu/css/core.css
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6061 (5.9K) [text/css]
Saving to: “css/core.css”

100%[=====================================================================================================================================================================>] 6,061 --.-K/s in 0.001s

2014-01-13 22:23:07 (5.03 MB/s) - “css/core.css” saved [6061/6061]

--2014-01-13 22:23:07-- http://www.feynmanlectures.caltech.edu/css/big.css
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 327 [text/css]
Saving to: “css/big.css”

100%[=====================================================================================================================================================================>] 327 --.-K/s in 0s

2014-01-13 22:23:07 (26.0 MB/s) - “css/big.css” saved [327/327]

--2014-01-13 22:23:07-- http://www.feynmanlectures.caltech.edu/css/medium.css
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 325 [text/css]
Saving to: “css/medium.css”

100%[=====================================================================================================================================================================>] 325 --.-K/s in 0s

2014-01-13 22:23:08 (28.2 MB/s) - “css/medium.css” saved [325/325]

--2014-01-13 22:23:08-- http://www.feynmanlectures.caltech.edu/css/src/grid.png
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-01-13 22:23:08 ERROR 404: Not Found.

FINISHED --2014-01-13 22:23:08--
Downloaded: 14 files, 288K in 6.7s (43.1 KB/s)
Converting index.html... 10-0
Converting I_copyright.html... 6-0
Converting css/screen.css... 0-1
Converting css/core.css... nothing to do.
Converting css/big.css... nothing to do.
Converting css/polytexnic.css... nothing to do.
Converting css/custom.css... nothing to do.
Converting css/medium.css... nothing to do.
Converted 8 files in 0.002 seconds.
wget -c -rnH -k -np http://www.feynmanlectures.caltech.edu/ || true
--2014-01-13 22:23:08-- http://www.feynmanlectures.caltech.edu/
Resolving www.feynmanlectures.caltech.edu... 131.215.235.206
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

Loading robots.txt; please ignore errors.
--2014-01-13 22:23:09-- http://www.feynmanlectures.caltech.edu/robots.txt
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-01-13 22:23:10 ERROR 404: Not Found.

--2014-01-13 22:23:10-- http://www.feynmanlectures.caltech.edu/css/custom.css
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:10-- http://www.feynmanlectures.caltech.edu/img/caltechseal_orange_7in_primary-rgb.PNG
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:11-- http://www.feynmanlectures.caltech.edu/img/twitter.png
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:12-- http://www.feynmanlectures.caltech.edu/img/facebook.png
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:12-- http://www.feynmanlectures.caltech.edu/img/email.png
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:13-- http://www.feynmanlectures.caltech.edu/index.html
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:13-- http://www.feynmanlectures.caltech.edu/img/S46_16.jpg
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:14-- http://www.feynmanlectures.caltech.edu/img/S46_17.jpg
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:14-- http://www.feynmanlectures.caltech.edu/I_copyright.html
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:15-- http://www.feynmanlectures.caltech.edu/css/screen.css
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:15-- http://www.feynmanlectures.caltech.edu/css/polytexnic.css
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:16-- http://www.feynmanlectures.caltech.edu/css/core.css
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:16-- http://www.feynmanlectures.caltech.edu/css/big.css
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:17-- http://www.feynmanlectures.caltech.edu/css/medium.css
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:17-- http://www.feynmanlectures.caltech.edu/css/src/grid.png
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-01-13 22:23:18 ERROR 404: Not Found.

Converting img/S46_17.jpg... nothing to do.
Converting index.html... 10-0
Converting css/core.css... nothing to do.
Converting css/big.css... nothing to do.
Converting css/custom.css... nothing to do.
Converting img/facebook.png... nothing to do.
Converting I_copyright.html... 6-0
Converting img/email.png... nothing to do.
Converting img/S46_16.jpg... nothing to do.
Converting css/screen.css... nothing to do.
Converting img/caltechseal_orange_7in_primary-rgb.PNG... nothing to do.
Converting img/twitter.png... nothing to do.
Converting css/polytexnic.css... nothing to do.
Converting css/medium.css... nothing to do.
Converted 14 files in 0.001 seconds.
wget -c -rnH -k -np http://www.feynmanlectures.caltech.edu/ || true
--2014-01-13 22:23:18-- http://www.feynmanlectures.caltech.edu/
Resolving www.feynmanlectures.caltech.edu... 131.215.235.206
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

Loading robots.txt; please ignore errors.
--2014-01-13 22:23:19-- http://www.feynmanlectures.caltech.edu/robots.txt
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-01-13 22:23:19 ERROR 404: Not Found.

--2014-01-13 22:23:19-- http://www.feynmanlectures.caltech.edu/css/custom.css
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:20-- http://www.feynmanlectures.caltech.edu/img/caltechseal_orange_7in_primary-rgb.PNG
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:20-- http://www.feynmanlectures.caltech.edu/img/twitter.png
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:21-- http://www.feynmanlectures.caltech.edu/img/facebook.png
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:21-- http://www.feynmanlectures.caltech.edu/img/email.png
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:22-- http://www.feynmanlectures.caltech.edu/index.html
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:22-- http://www.feynmanlectures.caltech.edu/img/S46_16.jpg
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:23-- http://www.feynmanlectures.caltech.edu/img/S46_17.jpg
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:23-- http://www.feynmanlectures.caltech.edu/I_copyright.html
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:24-- http://www.feynmanlectures.caltech.edu/css/screen.css
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:24-- http://www.feynmanlectures.caltech.edu/css/polytexnic.css
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:25-- http://www.feynmanlectures.caltech.edu/css/core.css
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:26-- http://www.feynmanlectures.caltech.edu/css/big.css
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:26-- http://www.feynmanlectures.caltech.edu/css/medium.css
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

--2014-01-13 22:23:27-- http://www.feynmanlectures.caltech.edu/css/src/grid.png
Connecting to www.feynmanlectures.caltech.edu|131.215.235.206|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-01-13 22:23:27 ERROR 404: Not Found.

Converting img/S46_17.jpg... nothing to do.
Converting index.html... 10-0
Converting css/core.css... nothing to do.
Converting css/big.css... nothing to do.
Converting css/custom.css... nothing to do.
Converting img/facebook.png... nothing to do.
Converting I_copyright.html... 6-0
Converting img/email.png... nothing to do.
Converting img/S46_16.jpg... nothing to do.
Converting css/screen.css... nothing to do.
Converting img/caltechseal_orange_7in_primary-rgb.PNG... nothing to do.
Converting img/twitter.png... nothing to do.
Converting css/polytexnic.css... nothing to do.
Converting css/medium.css... nothing to do.
Converted 14 files in 0.001 seconds.
for volume in I II III;
do make convert v=$volume;
done
make[1]: Entering directory /home/rodpp/flp.mobi' bundle install Using mime-types (2.0) Using mini_portile (0.5.2) Using nokogiri (1.6.0) Using bundler (1.3.5) Your bundle is complete! Usebundle show [gemname]to see where a bundled gem is installed. ./bin/macros < I_01.html > template/macros.tex /bin/sh: I_01.html: No such file or directory make[1]: *** [preprocess] Error 1 make[1]: Leaving directory/home/rodpp/flp.mobi'
make[1]: Entering directory /home/rodpp/flp.mobi' bundle install Using mime-types (2.0) Using mini_portile (0.5.2) Using nokogiri (1.6.0) Using bundler (1.3.5) Your bundle is complete! Usebundle show [gemname]to see where a bundled gem is installed. ./bin/macros < II_01.html > template/macros.tex /bin/sh: II_01.html: No such file or directory make[1]: *** [preprocess] Error 1 make[1]: Leaving directory/home/rodpp/flp.mobi'
make[1]: Entering directory /home/rodpp/flp.mobi' bundle install Using mime-types (2.0) Using mini_portile (0.5.2) Using nokogiri (1.6.0) Using bundler (1.3.5) Your bundle is complete! Usebundle show [gemname]to see where a bundled gem is installed. ./bin/macros < III_01.html > template/macros.tex /bin/sh: III_01.html: No such file or directory make[1]: *** [preprocess] Error 1 make[1]: Leaving directory/home/rodpp/flp.mobi'
make: *** [all] Error 2

path normalisation

I seem to have a problem with path normalisation in eq2img script on ubuntu 13.10.
During preprocess i get a few errors like this one:

sed: -e expression #1, char 71: unknown option to 's'

And as a result ./bin/images outputs paths like this for every equation:

/home/Feynman/flp.mobi//bin/../img/00065b781ce3832d948591c35c1bc59b.png

which leads to "zip warning: name not matched" errors and missing equations in the book.

On `make dl`

Reposting mail verbatim, because lazy:

> I'm going to call that done, at least until the second volume is
> converted upstream (at which point we shouldn't need to do anything but
> add a line to the Makefile.) Do the I and III build okay on each of your
> systems?

I get fail on 'make all'

Converting css/28796_002.css... nothing to do.
Converting css/polytexnic.css... nothing to do.
Converting css/custom.css... nothing to do.
Converted 95 files in 0.1 seconds.
Makefile:8: recipe for target 'dl' failed
make: *** [dl] Error 8

clean is a bit extreme as it's now dowloading everything again.
> make: *** [dl] Error 8

From the Make documentation:
> ‘[foo] Error NN’
> ‘[foo] signal description’
> These errors are not really make errors at all. They mean that a program that make invoked as part of a recipe returned a
non-0 error code (‘Error NN’), which make interprets as failure, or it exited in some other abnormal fashion (with a signal
of some type). See Errors in Recipes.
> If no *** is attached to the message, then the sub-process failed but the rule in the makefile was prefixed with the -
special character, so make ignored the error.

From the wget manpage:
> C<8>
>     Server issued an error response.

I'm re-running dl to see if I get the same error / which resource that
response's about.
> I'm re-running dl to see if I get the same error / which resource that
> response's about.

Eww, so:

  1. There are links to unpublished chapters somewhere on that site,
     e.g. http://www.feynmanlectures.caltech.edu/II_15.html         

  2. When wget tries to fetch them, it gets a 404 back, and sets its
     return code to 8                                               

        % wget http://www.feynmanlectures.caltech.edu/II_15.html
        --2013-12-06 01:49:31--  http://www.feynmanlectures.caltech.edu/II_15.html
        Resolving www.feynmanlectures.caltech.edu (www.feynmanlectures.caltech.edu)... 131.215.235.206
        Connecting to www.feynmanlectures.caltech.edu (www.feynmanlectures.caltech.edu)|131.215.235.206|:80... connected.
        HTTP request sent, awaiting response... 404 Not Found
        2013-12-06 01:49:32 ERROR 404: Not Found.

        % echo $?
        8

  3. Because wget returns !0, later make tasks don't run.

Is there a way around this, besides wrapping wget to lie about what it
saw?

stop violating the FLP copyright

The online edition of The Feynman Lectures Website posted at www.feynmanlectures.caltech.edu and www.feynmanlectures.info is free-to-read online. However, it is under copyright. The copyright notice can be found on every page: it is in the footer that your script strips out! The online edition of FLP can not be downloaded, copied or transferred for any purpose (other than reading online) without the written consent of the copyright holders (The California Institute of Technology, Michael A. Gottlieb, and Rudolf Pfeiffer), or their licensees (Basic Books). Every one of you is violating my copyright by running the flp.mobi script. Furthermore Github is committing contributory infringement by hosting your activities on their website. A lot of hard work and money and time went into making the online edition of FLP. It is a gift to the world - one that I personally put a great deal of effort into, and I feel you are abusing it. We posted it to benefit the many bright young people around the world who previously had no access to FLP for economic or other reasons. It isn't there to provide a source of personal copies for a bunch of programmers who can easily afford to buy the books and ebooks!! Let me tell you something: Rudi Pfeiffer and I, who have worked on FLP as unpaid volunteers for about a decade, make no money from the sale of the printed books. We earn something only on the electronic editions (though, of course, not the HTML edition you are raping, to which we give anyone access for free!), and we are planning to make MOBI editions of FLP - we are working on one right now. By publishing the flp.mobi script you are essentially taking bread out of my mouth and Rudi's, a retired guy, and a schoolteacher. Proud of yourselves? That's all I have to say personally. Github has received DMCA takedown notices and if this script doesn't come down pretty soon they (and very possibly you) might be hearing from some lawyers. As of Monday, this matter is in the hands of Perseus's Domestic Rights Department and Caltech's Office of The General Counsel.

Michael A. Gottlieb
Editor, The Feynman Lectures on Physics New Millennium Edition
www.feynmanlectures.info
www.feynmanlectures.caltech.edu

Errors on DVI creation

I haven't been able to pinpoint the problem, but I'm having trouble with some of the tex equations not being created as dvi files. I also had trouble with the base directory variable in eq2img where it would try to write to /img instead of /path/to/flp,mobi/img. I set BASE_DIRECTORY manually and that allowed make to execute, but the dvi problem is still perplexing to me. Any tips?

Edit: The problem I was having with BASE_DIRECTORY was due to not having installed realpath. Could you add realpath, ruby-bundler, and dvipng to your list of dependencies?

Local links are broken.

On my Kindle, when following internal links to footnotes or figures, I'm always moved to the top of the document, rather than the appropriate anchor.. The references work fine in the compiled HTML.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.