Skip to content

PDF bookmark for H&P (Computer Architecture, 6th) Japanese edition

License

Notifications You must be signed in to change notification settings

takenobu-hs/pdf_bookmark_for_HandP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF bookmarks for H&P (Computer Architecture, 6th) Japanese version

This is unofficial information on how to add bookmarks (outline) to the Japanese version PDF of "Computer Architecture: A Quantitative Approach, Sixth Edition".

Overivew

The book is available for purchase from the following official website:

This PDF does not have bookmarks (outline) in the body content as of Dec. 2024. Therefore, you can add them using the data from this repository and following the step below.

Disclaimer

Caution

This procedure does not provide any guarantees. Please make sure to back up the original PDF to avoid any potential damage to it.

How to generate a PDF with bookmarks

For example, with the following command, you can generate a new PDF with added bookmarks. The environment assumes Ubuntu. This procedure requires pdftk.

$ pdftk ORIGINAL.pdf update_info_utf8 metadata.txt output NEW.pdf

If the original PDF is updated, please generate the metadata.txt file using the steps below, and then execute the command above.

$ pdftk ORIGINAL.pdf dump_data > data/metadata.org.txt
$ sed -e  '/BookmarkPageNumber: 22/ r data/body_bookmark.txt' data/metadata.org.txt > metadata.txt

About

PDF bookmark for H&P (Computer Architecture, 6th) Japanese edition

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published