แก้ไขบุ๊กมาร์ก
สร้างสารบัญที่เอกสารยาว ๆ ควรจะมีมาตั้งแต่แรก
เครื่องมือนี้ทำงานในเบราว์เซอร์ของคุณทั้งหมด ไฟล์ของคุณไม่ถูกอัปโหลดเลย และคุณตรวจสอบได้เองในแท็บเครือข่ายของเบราว์เซอร์ ตรวจสอบด้วยตัวเอง เปิดแท็บเครือข่ายของเบราว์เซอร์แล้วดู คุณจะเห็นคำขอเล็ก ๆ หนึ่งรายการที่ถามว่าคุณยังมีโควตางานเหลืออยู่หรือไม่ ซึ่งมีแค่ชื่อเครื่องมือกับค่าแฮช ไม่ใช่ตัวไฟล์
เครื่องมือนี้ทำอะไร
Bookmarks are the panel down the side of a reader that lists a document's sections and jumps to them. A long PDF without one is a scroll bar and nothing else. This tool writes that outline: you build the tree by hand, or generate it from the headings the document already has, and each entry is written as a jump to a page in the file itself.
Use it on the documents that need an outline most and rarely have one: a scanned report, a bundle merged from a dozen sources, a manual exported by a tool that did not bother, a court filing where someone has to find exhibit 14 quickly. Renaming an existing entry that reads "Heading 2.1.4" is the other common reason people arrive.
วิธีทำงาน
- Drop the PDF onto this page. Any outline it already has is read and shown as a tree.
- Add entries, retitle them, and drag them to change their level - a bookmark nested under another becomes a sub-entry in the reader's panel.
- Set the page each entry points at.
- Or turn on generation from headings and let the document's own heading structure become the tree, then tidy what it produced.
- Press Save bookmarks and the download starts.
Generating from headings uses the same size-and-position analysis that PDF to Markdown uses. There is no heading tag in a normal PDF - a heading is simply text that is bigger, bolder or more isolated than the text around it - so the structure is inferred from the page rather than read from it. A document that converts to Markdown with sensible headings gets sensible bookmarks from the same reading, and one that does not will need tidying afterwards.
Each entry is written as an explicit destination with the view position left unset, which tells a reader to jump to the page and keep the zoom the reader is already at. Naming a page beyond the end of the document is clamped to the last page rather than written as given: readers handle an out-of-range destination inconsistently and a few refuse to open the file at all.
Nesting is the part that makes an outline useful rather than merely long. A branch with children is written open, so a reader shows the chapters expanded on first opening rather than a row of collapsed triangles. Titles are stored as Unicode, so a heading with an accent, a dash or a non-Latin script comes through as written.
The tree replaces the document's outline rather than merging into it, so what you see in the editor before you save is exactly what the file will have. There is no way to save an empty outline here - the tool needs at least one entry - so this is not the way to strip bookmarks out of a document.
The reading, the analysis and the writing all happen in your browser. Generating an outline for a 400-page scan takes a while because every page's text has to be examined, and the progress bar counts pages rather than guessing; none of those pages leaves the device.
สิ่งที่เครื่องมือนี้ทำไม่ได้
- Generated bookmarks are inferred from type size and position, not read from tags. A document with decorative large text gets entries that are not chapters, one with a flat visual hierarchy gets a flat tree, and a scan with no text layer produces nothing at all - run OCR first, then come back.
คำถามที่คนมักถาม
- บุ๊กมาร์กของ PDF คืออะไรกันแน่
- มันคือสารบัญของเอกสารเอง เก็บไว้เป็นโครงต้นไม้ของรายการที่แต่ละรายการชี้ไปยังหน้าใดหน้าหนึ่ง โปรแกรมอ่านแสดงมันในแผงด้านข้าง Acrobat เรียกว่า Bookmarks, Preview เรียกว่า Table of Contents ส่วน Chrome แสดงเป็นโครงเอกสาร มันแยกจากหน้าสารบัญที่พิมพ์ไว้ซึ่งเป็นแค่ข้อความ และแยกจากบุ๊กมาร์กที่เบราว์เซอร์ของคุณเก็บไว้
- มันสร้างสารบัญให้ฉันได้ไหม
- ได้ จากหัวข้อของเอกสาร ข้อความในทุกหน้าถูกตรวจดู และช่วงข้อความที่ดูเหมือนหัวข้อ คือตัวอักษรใหญ่กว่า หนากว่า มีที่ว่างรอบมากกว่า จะกลายเป็นรายการที่จัดลำดับชั้นตามระดับที่ปรากฏ วิธีนี้ได้ผลดีกับรายงานและคู่มือที่ทำจากโปรแกรมประมวลผลคำ และได้ผลน้อยกว่ากับเอกสารที่ลำดับชั้นทางสายตาแบนราบ ให้ถือผลลัพธ์เป็นร่างแรกแล้วจัดให้เรียบร้อย
- จะทำบุ๊กมาร์กย่อยได้อย่างไร
- ย้ายรายการหนึ่งไปอยู่ใต้อีกรายการในโครงต้นไม้ แล้วมันจะกลายเป็นรายการลูก ไม่มีขีดจำกัดความลึกที่ต้องกังวล โปรแกรมอ่านรับได้สบายหลายระดับ และราวสามระดับคือจุดที่มันมีประโยชน์สูงสุด กิ่งที่มีรายการลูกจะถูกเขียนแบบเปิดไว้ โปรแกรมอ่านจึงแสดงมันกางออกตั้งแต่เปิดเอกสารครั้งแรก
- PDF ที่ฉันรวมไฟล์แล้วเสียบุ๊กมาร์กไป นี่คือทางแก้ใช่ไหม
- เป็นทางแก้หนึ่ง แต่ทางที่ดีกว่าคือรวมไฟล์ด้วยรวม PDF ซึ่งสร้างสารบัญของแต่ละไฟล์ต้นทางขึ้นใหม่และชี้ทุกรายการไปยังตำแหน่งหน้าใหม่ ถ้าความเสียหายเกิดขึ้นไปแล้ว หรือถ้าไฟล์ต้นทางไม่เคยมีสารบัญเลย ก็สร้างมันที่นี่ การสร้างจากหัวข้อมักเร็วกว่าการพิมพ์ชื่อบททั้งชุดด้วยมือ
- เอกสารถูกอัปโหลดไปวิเคราะห์ไหม
- ไม่ การวิเคราะห์หัวข้อทำงานบนเครื่องของคุณใน Web Worker ซึ่งเป็นเหตุผลที่เอกสารยาว ๆ ใช้เวลาให้เห็นแทนที่จะเสร็จทันที เพราะงานเกิดขึ้นตรงนี้ ไม่ใช่บนเซิร์ฟเวอร์ที่มีคอร์มากกว่า ไม่มีข้อมูลใดของเอกสารถูกส่งออกไป รวมถึงชื่อบทที่คุณพิมพ์เองด้วย