[{"data":1,"prerenderedAt":1146},["ShallowReactive",2],{"docs-navigation:en":3,"content-page:docs:RCFl2HGurkAGMUPWebyUfZrqmb4vq-AGCloglJ0govc":133,"content-page-surround:docs:RCFl2HGurkAGMUPWebyUfZrqmb4vq-AGCloglJ0govc":1133,"i-logos:typescript-icon":1136,"i-logos:vue":1140,"i-lucide:clipboard":1143},[4,25,73,121,127],{"title":5,"id":6,"canonicalKey":7,"locale":8,"draft":9,"icon":10,"sidebar":11,"path":12,"children":13},"Getting Started","content:docs:1.getting-started:.navigation.yml","1","en",false,"lucide:rocket","group","\u002Fdocs\u002Fgetting-started",[14,20],{"title":15,"id":16,"canonicalKey":17,"locale":8,"draft":9,"icon":18,"path":19},"Installation","content:docs:1.getting-started:2.installation.md","1\u002F2","lucide:download","\u002Fdocs\u002Fgetting-started\u002Finstallation",{"title":21,"id":22,"canonicalKey":23,"locale":8,"draft":9,"icon":10,"path":24},"Quickstart","content:docs:1.getting-started:3.quickstart.md","1\u002F3","\u002Fdocs\u002Fgetting-started\u002Fquickstart",{"title":26,"page":9,"canonicalKey":27,"locale":8,"id":28,"draft":9,"icon":29,"sidebar":11,"children":30},"Guides","2","content:docs:2.guides:.navigation.yml","lucide:compass",[31,37,43,49,55,61,67],{"title":32,"id":33,"canonicalKey":34,"locale":8,"draft":9,"icon":35,"path":36},"Authoring","content:docs:2.guides:1.authoring.md","2\u002F1","lucide:component","\u002Fdocs\u002Fguides\u002Fauthoring",{"title":38,"id":39,"canonicalKey":40,"locale":8,"draft":9,"icon":41,"path":42},"Contents, links & bookmarks","content:docs:2.guides:2.contents-links-bookmarks.md","2\u002F2","lucide:list-tree","\u002Fdocs\u002Fguides\u002Fcontents-links-bookmarks",{"title":44,"id":45,"canonicalKey":46,"locale":8,"draft":9,"icon":47,"path":48},"Images & fonts","content:docs:2.guides:3.images-and-fonts.md","2\u002F3","lucide:image","\u002Fdocs\u002Fguides\u002Fimages-and-fonts",{"title":50,"id":51,"canonicalKey":52,"locale":8,"draft":9,"icon":53,"path":54},"SVG graphics","content:docs:2.guides:4.svg-graphics.md","2\u002F4","lucide:shapes","\u002Fdocs\u002Fguides\u002Fsvg-graphics",{"title":56,"id":57,"canonicalKey":58,"locale":8,"draft":9,"icon":59,"path":60},"Errors & debugging","content:docs:2.guides:5.errors-and-debugging.md","2\u002F5","lucide:bug","\u002Fdocs\u002Fguides\u002Ferrors-and-debugging",{"title":62,"id":63,"canonicalKey":64,"locale":8,"draft":9,"icon":65,"path":66},"Testing your PDFs","content:docs:2.guides:6.testing.md","2\u002F6","lucide:flask-conical","\u002Fdocs\u002Fguides\u002Ftesting",{"title":68,"id":69,"canonicalKey":70,"locale":8,"draft":9,"icon":71,"path":72},"Production recipes","content:docs:2.guides:7.recipes.md","2\u002F7","lucide:notebook-tabs","\u002Fdocs\u002Fguides\u002Frecipes",{"title":74,"page":9,"canonicalKey":75,"locale":8,"id":76,"draft":9,"icon":77,"sidebar":11,"children":78},"Reference","3","content:docs:3.reference:.navigation.yml","lucide:book-marked",[79,85,91,97,103,109,115],{"title":80,"id":81,"canonicalKey":82,"locale":8,"draft":9,"icon":83,"path":84},"definePdf","content:docs:3.reference:1.define-pdf.md","3\u002F1","lucide:settings-2","\u002Fdocs\u002Freference\u002Fdefine-pdf",{"title":86,"id":87,"canonicalKey":88,"locale":8,"draft":9,"icon":89,"path":90},"The #pdf registry","content:docs:3.reference:2.registry.md","3\u002F2","lucide:braces","\u002Fdocs\u002Freference\u002Fregistry",{"title":92,"id":93,"canonicalKey":94,"locale":8,"draft":9,"icon":95,"path":96},"Module options","content:docs:3.reference:3.module-options.md","3\u002F3","lucide:sliders","\u002Fdocs\u002Freference\u002Fmodule-options",{"title":98,"id":99,"canonicalKey":100,"locale":8,"draft":9,"icon":101,"path":102},"Primitives","content:docs:3.reference:4.primitives.md","3\u002F4","lucide:box","\u002Fdocs\u002Freference\u002Fprimitives",{"title":104,"id":105,"canonicalKey":106,"locale":8,"draft":9,"icon":107,"path":108},"Composables","content:docs:3.reference:5.composables.md","3\u002F5","lucide:function-square","\u002Fdocs\u002Freference\u002Fcomposables",{"title":110,"id":111,"canonicalKey":112,"locale":8,"draft":9,"icon":113,"path":114},"Test utilities","content:docs:3.reference:6.test-utilities.md","3\u002F6","lucide:test-tube","\u002Fdocs\u002Freference\u002Ftest-utilities",{"title":116,"id":117,"canonicalKey":118,"locale":8,"draft":9,"icon":119,"path":120},"Styles","content:docs:3.reference:7.styles.md","3\u002F7","lucide:palette","\u002Fdocs\u002Freference\u002Fstyles",{"title":122,"id":123,"canonicalKey":124,"locale":8,"draft":9,"icon":125,"sidebar":11,"path":126},"Conformance & Philosophy","content:docs:4.conformance:.navigation.yml","4","lucide:scale","\u002Fdocs\u002Fconformance",{"title":128,"id":129,"canonicalKey":130,"locale":8,"draft":9,"icon":131,"sidebar":11,"path":132},"Examples","content:docs:5.examples:.navigation.yml","5","lucide:layout-grid","\u002Fdocs\u002Fexamples",{"title":38,"description":134,"icon":41,"body":135,"type":1120,"id":39,"canonicalKey":40,"draft":9,"partial":9,"locale":8,"collection":1121,"navigationFile":9,"file":1122,"route":1128,"resolution":1130},"usePdfPageNumbers, the multi-pass layout loop, convergence and maxPasses, internal links, and the bookmark outline.",{"type":136,"children":137,"toc":1110},"root",[138,146,153,173,296,329,349,355,373,704,716,737,748,754,766,798,867,878,884,921,1063,1094,1100],{"type":139,"tag":140,"props":141,"children":142},"element","p",{},[143],{"type":144,"value":145},"text","Nuxt PDF builds a table of contents, internal links, and a bookmark outline from\nordinary components. There is no TOC component and no automatic heading\ncollection. You author the list, and the engine resolves the page numbers.",{"type":139,"tag":147,"props":148,"children":150},"h2",{"id":149},"named-destinations-and-internal-links",[151],{"type":144,"value":152},"Named destinations and internal links",{"type":139,"tag":140,"props":154,"children":155},{},[156,158,164,166,171],{"type":144,"value":157},"Give any primitive an ",{"type":139,"tag":159,"props":160,"children":161},"code",{},[162],{"type":144,"value":163},"id",{"type":144,"value":165}," to make it a named destination, then link to it with\n",{"type":139,"tag":159,"props":167,"children":168},{},[169],{"type":144,"value":170},"\u003CPdfLink src=\"#id\">",{"type":144,"value":172},":",{"type":139,"tag":174,"props":175,"children":179},"pre",{"language":176,"class":177,"tabindex":178},"vue","shiki shiki-themes light-plus dark-plus dark:dark-plus","0",[180],{"type":139,"tag":159,"props":181,"children":183},{"class":182},"language-vue",[184,243,245,248,249],{"type":139,"tag":185,"props":186,"children":189},"span",{"class":187,"style":188},"line","display: inline",[190,196,202,208,214,220,225,230,235,239],{"type":139,"tag":185,"props":191,"children":193},{"style":192},"color:#800000;--shiki-dark:#808080",[194],{"type":144,"value":195},"\u003C",{"type":139,"tag":185,"props":197,"children":199},{"style":198},"color:#800000;--shiki-dark:#569CD6",[200],{"type":144,"value":201},"PdfText",{"type":139,"tag":185,"props":203,"children":205},{"style":204},"color:#E50000;--shiki-dark:#9CDCFE",[206],{"type":144,"value":207}," id",{"type":139,"tag":185,"props":209,"children":211},{"style":210},"color:#000000;--shiki-dark:#D4D4D4",[212],{"type":144,"value":213},"=",{"type":139,"tag":185,"props":215,"children":217},{"style":216},"color:#0000FF;--shiki-dark:#CE9178",[218],{"type":144,"value":219},"\"terms\"",{"type":139,"tag":185,"props":221,"children":222},{"style":192},[223],{"type":144,"value":224},">",{"type":139,"tag":185,"props":226,"children":227},{"style":210},[228],{"type":144,"value":229},"Terms &amp; conditions",{"type":139,"tag":185,"props":231,"children":232},{"style":192},[233],{"type":144,"value":234},"\u003C\u002F",{"type":139,"tag":185,"props":236,"children":237},{"style":198},[238],{"type":144,"value":201},{"type":139,"tag":185,"props":240,"children":241},{"style":192},[242],{"type":144,"value":224},{"type":144,"value":244},"\n",{"type":139,"tag":185,"props":246,"children":247},{"class":187,"style":188},[],{"type":144,"value":244},{"type":139,"tag":185,"props":250,"children":251},{"class":187,"style":188},[252,256,261,266,270,275,279,284,288,292],{"type":139,"tag":185,"props":253,"children":254},{"style":192},[255],{"type":144,"value":195},{"type":139,"tag":185,"props":257,"children":258},{"style":198},[259],{"type":144,"value":260},"PdfLink",{"type":139,"tag":185,"props":262,"children":263},{"style":204},[264],{"type":144,"value":265}," src",{"type":139,"tag":185,"props":267,"children":268},{"style":210},[269],{"type":144,"value":213},{"type":139,"tag":185,"props":271,"children":272},{"style":216},[273],{"type":144,"value":274},"\"#terms\"",{"type":139,"tag":185,"props":276,"children":277},{"style":192},[278],{"type":144,"value":224},{"type":139,"tag":185,"props":280,"children":281},{"style":210},[282],{"type":144,"value":283},"Jump to terms",{"type":139,"tag":185,"props":285,"children":286},{"style":192},[287],{"type":144,"value":234},{"type":139,"tag":185,"props":289,"children":290},{"style":198},[291],{"type":144,"value":260},{"type":139,"tag":185,"props":293,"children":294},{"style":192},[295],{"type":144,"value":224},{"type":139,"tag":140,"props":297,"children":298},{},[299,301,306,308,314,316,320,322,327],{"type":144,"value":300},"Internal ",{"type":139,"tag":159,"props":302,"children":303},{},[304],{"type":144,"value":305},"#id",{"type":144,"value":307}," links resolve ",{"type":139,"tag":309,"props":310,"children":311},"strong",{},[312],{"type":144,"value":313},"by name in a single pass",{"type":144,"value":315},". They do not trigger\nthe multi-pass loop and add no cost. A ",{"type":139,"tag":159,"props":317,"children":318},{},[319],{"type":144,"value":305},{"type":144,"value":321}," that does not match any destination\nin the mounted document fails the render with ",{"type":139,"tag":159,"props":323,"children":324},{},[325],{"type":144,"value":326},"PDF_TREE_INVALID",{"type":144,"value":328},".\nThe link and destination must both exist in the initial mounted tree and after\nevery page-number update; do not conditionally create a destination only after\nits page number becomes available.",{"type":139,"tag":330,"props":331,"children":333},"info",{"icon":332},"lucide:info",[334,336,340,342,347],{"type":144,"value":335},"When an ",{"type":139,"tag":159,"props":337,"children":338},{},[339],{"type":144,"value":163},{"type":144,"value":341}," sits on a node that spans a page boundary, both the printed page\nnumber and the jump target resolve to the section's ",{"type":139,"tag":309,"props":343,"children":344},{},[345],{"type":144,"value":346},"first",{"type":144,"value":348}," page. This is a\ndeliberate divergence from React PDF, whose last-writer-wins table points at the\nlast page.",{"type":139,"tag":147,"props":350,"children":352},{"id":351},"printing-page-numbers-usepdfpagenumbers",[353],{"type":144,"value":354},"Printing page numbers: usePdfPageNumbers",{"type":139,"tag":140,"props":356,"children":357},{},[358,360,365,367,371],{"type":144,"value":359},"To print the page a destination lands on, read the auto-imported\n",{"type":139,"tag":159,"props":361,"children":362},{},[363],{"type":144,"value":364},"usePdfPageNumbers()",{"type":144,"value":366}," composable. It returns a readonly, reactive map from ",{"type":139,"tag":159,"props":368,"children":369},{},[370],{"type":144,"value":163},{"type":144,"value":372},"\nto its 1-based page:",{"type":139,"tag":174,"props":374,"children":375},{"language":176,"class":177,"tabindex":178},[376],{"type":139,"tag":159,"props":377,"children":378},{"class":182},[379,414,415,446,447,450,451,549,550,565,566,569,570,586,587,599,600,617,618,635,636,653,654,662,663,671,672,688,689],{"type":139,"tag":185,"props":380,"children":381},{"class":187,"style":188},[382,386,391,396,401,405,410],{"type":139,"tag":185,"props":383,"children":384},{"style":192},[385],{"type":144,"value":195},{"type":139,"tag":185,"props":387,"children":388},{"style":198},[389],{"type":144,"value":390},"script",{"type":139,"tag":185,"props":392,"children":393},{"style":204},[394],{"type":144,"value":395}," setup",{"type":139,"tag":185,"props":397,"children":398},{"style":204},[399],{"type":144,"value":400}," lang",{"type":139,"tag":185,"props":402,"children":403},{"style":210},[404],{"type":144,"value":213},{"type":139,"tag":185,"props":406,"children":407},{"style":216},[408],{"type":144,"value":409},"\"ts\"",{"type":139,"tag":185,"props":411,"children":412},{"style":192},[413],{"type":144,"value":224},{"type":144,"value":244},{"type":139,"tag":185,"props":416,"children":417},{"class":187,"style":188},[418,424,430,435,441],{"type":139,"tag":185,"props":419,"children":421},{"style":420},"color:#0000FF;--shiki-dark:#569CD6",[422],{"type":144,"value":423},"const",{"type":139,"tag":185,"props":425,"children":427},{"style":426},"color:#0070C1;--shiki-dark:#4FC1FF",[428],{"type":144,"value":429}," pageNumbers",{"type":139,"tag":185,"props":431,"children":432},{"style":210},[433],{"type":144,"value":434}," = ",{"type":139,"tag":185,"props":436,"children":438},{"style":437},"color:#795E26;--shiki-dark:#DCDCAA",[439],{"type":144,"value":440},"usePdfPageNumbers",{"type":139,"tag":185,"props":442,"children":443},{"style":210},[444],{"type":144,"value":445},"()",{"type":144,"value":244},{"type":139,"tag":185,"props":448,"children":449},{"class":187,"style":188},[],{"type":144,"value":244},{"type":139,"tag":185,"props":452,"children":453},{"class":187,"style":188},[454,458,463,467,473,478,483,488,493,498,503,508,513,517,521,526,531,535,539,544],{"type":139,"tag":185,"props":455,"children":456},{"style":420},[457],{"type":144,"value":423},{"type":139,"tag":185,"props":459,"children":460},{"style":426},[461],{"type":144,"value":462}," entries",{"type":139,"tag":185,"props":464,"children":465},{"style":210},[466],{"type":144,"value":434},{"type":139,"tag":185,"props":468,"children":470},{"style":469},"color:#001080;--shiki-dark:#9CDCFE",[471],{"type":144,"value":472},"sections",{"type":139,"tag":185,"props":474,"children":475},{"style":210},[476],{"type":144,"value":477},".",{"type":139,"tag":185,"props":479,"children":480},{"style":437},[481],{"type":144,"value":482},"map",{"type":139,"tag":185,"props":484,"children":485},{"style":210},[486],{"type":144,"value":487},"(",{"type":139,"tag":185,"props":489,"children":490},{"style":469},[491],{"type":144,"value":492},"s",{"type":139,"tag":185,"props":494,"children":495},{"style":420},[496],{"type":144,"value":497}," =>",{"type":139,"tag":185,"props":499,"children":500},{"style":210},[501],{"type":144,"value":502}," ({ ",{"type":139,"tag":185,"props":504,"children":505},{"style":469},[506],{"type":144,"value":507},"id:",{"type":139,"tag":185,"props":509,"children":510},{"style":469},[511],{"type":144,"value":512}," s",{"type":139,"tag":185,"props":514,"children":515},{"style":210},[516],{"type":144,"value":477},{"type":139,"tag":185,"props":518,"children":519},{"style":469},[520],{"type":144,"value":163},{"type":139,"tag":185,"props":522,"children":523},{"style":210},[524],{"type":144,"value":525},", ",{"type":139,"tag":185,"props":527,"children":528},{"style":469},[529],{"type":144,"value":530},"title:",{"type":139,"tag":185,"props":532,"children":533},{"style":469},[534],{"type":144,"value":512},{"type":139,"tag":185,"props":536,"children":537},{"style":210},[538],{"type":144,"value":477},{"type":139,"tag":185,"props":540,"children":541},{"style":469},[542],{"type":144,"value":543},"title",{"type":139,"tag":185,"props":545,"children":546},{"style":210},[547],{"type":144,"value":548}," }))",{"type":144,"value":244},{"type":139,"tag":185,"props":551,"children":552},{"class":187,"style":188},[553,557,561],{"type":139,"tag":185,"props":554,"children":555},{"style":192},[556],{"type":144,"value":234},{"type":139,"tag":185,"props":558,"children":559},{"style":198},[560],{"type":144,"value":390},{"type":139,"tag":185,"props":562,"children":563},{"style":192},[564],{"type":144,"value":224},{"type":144,"value":244},{"type":139,"tag":185,"props":567,"children":568},{"class":187,"style":188},[],{"type":144,"value":244},{"type":139,"tag":185,"props":571,"children":572},{"class":187,"style":188},[573,577,582],{"type":139,"tag":185,"props":574,"children":575},{"style":192},[576],{"type":144,"value":195},{"type":139,"tag":185,"props":578,"children":579},{"style":198},[580],{"type":144,"value":581},"template",{"type":139,"tag":185,"props":583,"children":584},{"style":192},[585],{"type":144,"value":224},{"type":144,"value":244},{"type":139,"tag":185,"props":588,"children":589},{"class":187,"style":188},[590,595],{"type":139,"tag":185,"props":591,"children":592},{"style":192},[593],{"type":144,"value":594},"  \u003C",{"type":139,"tag":185,"props":596,"children":597},{"style":198},[598],{"type":144,"value":260},{"type":144,"value":244},{"type":139,"tag":185,"props":601,"children":602},{"class":187,"style":188},[603,608,612],{"type":139,"tag":185,"props":604,"children":605},{"style":204},[606],{"type":144,"value":607},"    v-for",{"type":139,"tag":185,"props":609,"children":610},{"style":210},[611],{"type":144,"value":213},{"type":139,"tag":185,"props":613,"children":614},{"style":216},[615],{"type":144,"value":616},"\"entry in entries\"",{"type":144,"value":244},{"type":139,"tag":185,"props":619,"children":620},{"class":187,"style":188},[621,626,630],{"type":139,"tag":185,"props":622,"children":623},{"style":204},[624],{"type":144,"value":625},"    :key",{"type":139,"tag":185,"props":627,"children":628},{"style":210},[629],{"type":144,"value":213},{"type":139,"tag":185,"props":631,"children":632},{"style":216},[633],{"type":144,"value":634},"\"entry.id\"",{"type":144,"value":244},{"type":139,"tag":185,"props":637,"children":638},{"class":187,"style":188},[639,644,648],{"type":139,"tag":185,"props":640,"children":641},{"style":204},[642],{"type":144,"value":643},"    :src",{"type":139,"tag":185,"props":645,"children":646},{"style":210},[647],{"type":144,"value":213},{"type":139,"tag":185,"props":649,"children":650},{"style":216},[651],{"type":144,"value":652},"\"`#${entry.id}`\"",{"type":144,"value":244},{"type":139,"tag":185,"props":655,"children":656},{"class":187,"style":188},[657],{"type":139,"tag":185,"props":658,"children":659},{"style":192},[660],{"type":144,"value":661},"  >",{"type":144,"value":244},{"type":139,"tag":185,"props":664,"children":665},{"class":187,"style":188},[666],{"type":139,"tag":185,"props":667,"children":668},{"style":210},[669],{"type":144,"value":670},"    {{ entry.title }} {{ pageNumbers[entry.id] ?? '' }}",{"type":144,"value":244},{"type":139,"tag":185,"props":673,"children":674},{"class":187,"style":188},[675,680,684],{"type":139,"tag":185,"props":676,"children":677},{"style":192},[678],{"type":144,"value":679},"  \u003C\u002F",{"type":139,"tag":185,"props":681,"children":682},{"style":198},[683],{"type":144,"value":260},{"type":139,"tag":185,"props":685,"children":686},{"style":192},[687],{"type":144,"value":224},{"type":144,"value":244},{"type":139,"tag":185,"props":690,"children":691},{"class":187,"style":188},[692,696,700],{"type":139,"tag":185,"props":693,"children":694},{"style":192},[695],{"type":144,"value":234},{"type":139,"tag":185,"props":697,"children":698},{"style":198},[699],{"type":144,"value":581},{"type":139,"tag":185,"props":701,"children":702},{"style":192},[703],{"type":144,"value":224},{"type":139,"tag":140,"props":705,"children":706},{},[707,709,714],{"type":144,"value":708},"Reading the composable is the ",{"type":139,"tag":309,"props":710,"children":711},{},[712],{"type":144,"value":713},"only",{"type":144,"value":715}," signal that turns on the multi-pass\nlayout: the document is laid out repeatedly, feeding each pass's resolved\ndestination-page map back in until it stabilizes.",{"type":139,"tag":717,"props":718,"children":720},"warning",{"icon":719},"lucide:triangle-alert",[721,723,728,730,735],{"type":144,"value":722},"On the first pass every entry is ",{"type":139,"tag":159,"props":724,"children":725},{},[726],{"type":144,"value":727},"undefined",{"type":144,"value":729},". Always keep a fallback\n(",{"type":139,"tag":159,"props":731,"children":732},{},[733],{"type":144,"value":734},"pageNumbers[id] ?? ''",{"type":144,"value":736},") so the first pass renders a blank rather than throwing.",{"type":139,"tag":140,"props":738,"children":739},{},[740,742,746],{"type":144,"value":741},"Calling ",{"type":139,"tag":159,"props":743,"children":744},{},[745],{"type":144,"value":364},{"type":144,"value":747}," outside a PDF render throws, rather than returning\nan empty map that could be mistaken for first-pass state.",{"type":139,"tag":147,"props":749,"children":751},{"id":750},"convergence-and-maxpasses",[752],{"type":144,"value":753},"Convergence and maxPasses",{"type":139,"tag":140,"props":755,"children":756},{},[757,759,764],{"type":144,"value":758},"The loop is a fixed point. An ordinary table of contents converges in ",{"type":139,"tag":309,"props":760,"children":761},{},[762],{"type":144,"value":763},"two\npasses",{"type":144,"value":765},": pass one fills the numbers in, pass two lays out with them and the map\nno longer changes.",{"type":139,"tag":140,"props":767,"children":768},{},[769,771,776,778,782,784,789,791,796],{"type":144,"value":770},"A document does not converge if its layout depends on the page numbers that it prints.\nFor example, a TOC entry can change height when its page number changes. After ",{"type":139,"tag":159,"props":772,"children":773},{},[774],{"type":144,"value":775},"maxPasses",{"type":144,"value":777},"\n(a validated positive integer on ",{"type":139,"tag":159,"props":779,"children":780},{},[781],{"type":144,"value":80},{"type":144,"value":783},", default 5) the render fails with a\n",{"type":139,"tag":159,"props":785,"children":786},{},[787],{"type":144,"value":788},"PDF_LIMIT_EXCEEDED",{"type":144,"value":790}," ",{"type":139,"tag":159,"props":792,"children":793},{},[794],{"type":144,"value":795},"NuxtPdfError",{"type":144,"value":797},", attributed to the template:",{"type":139,"tag":174,"props":799,"children":801},{"language":800,"class":177,"tabindex":178},"ts",[802],{"type":139,"tag":159,"props":803,"children":805},{"class":804},"language-ts",[806,828,829,838,839,858,859],{"type":139,"tag":185,"props":807,"children":808},{"class":187,"style":188},[809,813,817,823],{"type":139,"tag":185,"props":810,"children":811},{"style":437},[812],{"type":144,"value":80},{"type":139,"tag":185,"props":814,"children":815},{"style":210},[816],{"type":144,"value":195},{"type":139,"tag":185,"props":818,"children":820},{"style":819},"color:#267F99;--shiki-dark:#4EC9B0",[821],{"type":144,"value":822},"Props",{"type":139,"tag":185,"props":824,"children":825},{"style":210},[826],{"type":144,"value":827},">({",{"type":144,"value":244},{"type":139,"tag":185,"props":830,"children":831},{"class":187,"style":188},[832],{"type":139,"tag":185,"props":833,"children":835},{"style":834},"color:#008000;--shiki-dark:#6A9955",[836],{"type":144,"value":837},"  \u002F\u002F Raise the cap only if a genuinely convergent document needs more passes.",{"type":144,"value":244},{"type":139,"tag":185,"props":840,"children":841},{"class":187,"style":188},[842,847,853],{"type":139,"tag":185,"props":843,"children":844},{"style":469},[845],{"type":144,"value":846},"  maxPasses:",{"type":139,"tag":185,"props":848,"children":850},{"style":849},"color:#098658;--shiki-dark:#B5CEA8",[851],{"type":144,"value":852}," 8",{"type":139,"tag":185,"props":854,"children":855},{"style":210},[856],{"type":144,"value":857},",",{"type":144,"value":244},{"type":139,"tag":185,"props":860,"children":861},{"class":187,"style":188},[862],{"type":139,"tag":185,"props":863,"children":864},{"style":210},[865],{"type":144,"value":866},"})",{"type":139,"tag":140,"props":868,"children":869},{},[870,872,876],{"type":144,"value":871},"Non-convergence fails closed; the loop does not force a wrong answer. Raise\n",{"type":139,"tag":159,"props":873,"children":874},{},[875],{"type":144,"value":775},{"type":144,"value":877}," only when you know the document actually settles.",{"type":139,"tag":147,"props":879,"children":881},{"id":880},"bookmarks-the-outline",[882],{"type":144,"value":883},"Bookmarks (the outline)",{"type":139,"tag":140,"props":885,"children":886},{},[887,889,894,896,901,902,907,908,912,914,919],{"type":144,"value":888},"Add a ",{"type":139,"tag":159,"props":890,"children":891},{},[892],{"type":144,"value":893},"bookmark",{"type":144,"value":895}," to any of ",{"type":139,"tag":159,"props":897,"children":898},{},[899],{"type":144,"value":900},"PdfPage",{"type":144,"value":525},{"type":139,"tag":159,"props":903,"children":904},{},[905],{"type":144,"value":906},"PdfView",{"type":144,"value":525},{"type":139,"tag":159,"props":909,"children":910},{},[911],{"type":144,"value":201},{"type":144,"value":913},", or ",{"type":139,"tag":159,"props":915,"children":916},{},[917],{"type":144,"value":918},"PdfImage",{"type":144,"value":920}," to\nbuild the PDF outline. The value is a title string, or an object:",{"type":139,"tag":174,"props":922,"children":923},{"language":176,"class":177,"tabindex":178},[924],{"type":139,"tag":159,"props":925,"children":926},{"class":182},[927,1038,1039,1047,1048],{"type":139,"tag":185,"props":928,"children":929},{"class":187,"style":188},[930,934,938,943,947,951,956,961,965,969,973,977,981,985,989,994,998,1003,1007,1011,1015,1020,1025,1030,1034],{"type":139,"tag":185,"props":931,"children":932},{"style":192},[933],{"type":144,"value":195},{"type":139,"tag":185,"props":935,"children":936},{"style":198},[937],{"type":144,"value":906},{"type":139,"tag":185,"props":939,"children":940},{"style":210},[941],{"type":144,"value":942}," :",{"type":139,"tag":185,"props":944,"children":945},{"style":204},[946],{"type":144,"value":163},{"type":139,"tag":185,"props":948,"children":949},{"style":210},[950],{"type":144,"value":213},{"type":139,"tag":185,"props":952,"children":953},{"style":210},[954],{"type":144,"value":955},"\"",{"type":139,"tag":185,"props":957,"children":958},{"style":469},[959],{"type":144,"value":960},"section",{"type":139,"tag":185,"props":962,"children":963},{"style":210},[964],{"type":144,"value":477},{"type":139,"tag":185,"props":966,"children":967},{"style":469},[968],{"type":144,"value":163},{"type":139,"tag":185,"props":970,"children":971},{"style":210},[972],{"type":144,"value":955},{"type":139,"tag":185,"props":974,"children":975},{"style":210},[976],{"type":144,"value":942},{"type":139,"tag":185,"props":978,"children":979},{"style":204},[980],{"type":144,"value":893},{"type":139,"tag":185,"props":982,"children":983},{"style":210},[984],{"type":144,"value":213},{"type":139,"tag":185,"props":986,"children":987},{"style":210},[988],{"type":144,"value":955},{"type":139,"tag":185,"props":990,"children":991},{"style":210},[992],{"type":144,"value":993},"{ ",{"type":139,"tag":185,"props":995,"children":996},{"style":469},[997],{"type":144,"value":530},{"type":139,"tag":185,"props":999,"children":1000},{"style":469},[1001],{"type":144,"value":1002}," section",{"type":139,"tag":185,"props":1004,"children":1005},{"style":210},[1006],{"type":144,"value":477},{"type":139,"tag":185,"props":1008,"children":1009},{"style":469},[1010],{"type":144,"value":543},{"type":139,"tag":185,"props":1012,"children":1013},{"style":210},[1014],{"type":144,"value":525},{"type":139,"tag":185,"props":1016,"children":1017},{"style":469},[1018],{"type":144,"value":1019},"expanded:",{"type":139,"tag":185,"props":1021,"children":1022},{"style":420},[1023],{"type":144,"value":1024}," true",{"type":139,"tag":185,"props":1026,"children":1027},{"style":210},[1028],{"type":144,"value":1029}," }",{"type":139,"tag":185,"props":1031,"children":1032},{"style":210},[1033],{"type":144,"value":955},{"type":139,"tag":185,"props":1035,"children":1036},{"style":192},[1037],{"type":144,"value":224},{"type":144,"value":244},{"type":139,"tag":185,"props":1040,"children":1041},{"class":187,"style":188},[1042],{"type":139,"tag":185,"props":1043,"children":1044},{"style":210},[1045],{"type":144,"value":1046},"  \u003CPdfText :id=\"sub.id\" :bookmark=\"sub.title\">{{ sub.title }}\u003C\u002FPdfText>",{"type":144,"value":244},{"type":139,"tag":185,"props":1049,"children":1050},{"class":187,"style":188},[1051,1055,1059],{"type":139,"tag":185,"props":1052,"children":1053},{"style":192},[1054],{"type":144,"value":234},{"type":139,"tag":185,"props":1056,"children":1057},{"style":198},[1058],{"type":144,"value":906},{"type":139,"tag":185,"props":1060,"children":1061},{"style":192},[1062],{"type":144,"value":224},{"type":139,"tag":140,"props":1064,"children":1065},{},[1066,1068,1073,1075,1080,1081,1086,1087,1092],{"type":144,"value":1067},"Nesting follows the component tree, so a child's bookmark nests under its\nancestor's. The outline carries title text, its initially expanded state, and\nparent\u002Fchild nesting. Nuxt PDF does not expose reader page-mode preferences or\nbookmark destination geometry (",{"type":139,"tag":159,"props":1069,"children":1070},{},[1071],{"type":144,"value":1072},"top",{"type":144,"value":1074},"\u002F",{"type":139,"tag":159,"props":1076,"children":1077},{},[1078],{"type":144,"value":1079},"left",{"type":144,"value":1074},{"type":139,"tag":159,"props":1082,"children":1083},{},[1084],{"type":144,"value":1085},"zoom",{"type":144,"value":1074},{"type":139,"tag":159,"props":1088,"children":1089},{},[1090],{"type":144,"value":1091},"fit",{"type":144,"value":1093},").",{"type":139,"tag":147,"props":1095,"children":1097},{"id":1096},"a-full-example",[1098],{"type":144,"value":1099},"A full example",{"type":139,"tag":140,"props":1101,"children":1102},{},[1103,1108],{"type":139,"tag":159,"props":1104,"children":1105},{},[1106],{"type":144,"value":1107},"playground\u002Fpdfs\u002Freport.vue",{"type":144,"value":1109}," in the repository demonstrates the whole feature: a\ncontents page linking to each section, live page numbers, per-section bookmarks,\nand a fixed footer with a dynamic page counter. The engine resolves all these features through the\nmulti-pass loop.",{"title":1111,"searchDepth":1112,"depth":1112,"links":1113},"",4,[1114,1116,1117,1118,1119],{"id":149,"depth":1115,"text":152},2,{"id":351,"depth":1115,"text":354},{"id":750,"depth":1115,"text":753},{"id":880,"depth":1115,"text":883},{"id":1096,"depth":1115,"text":1099},"markdown","docs",{"source":1123,"path":1124,"stem":1125,"dir":1126,"extension":1127},"content","docs\u002F2.guides\u002F2.contents-links-bookmarks.md","docs\u002F2.guides\u002F2.contents-links-bookmarks","guides","md",{"requestedPath":42,"resolvedPath":42,"alternates":1129},[],{"requested":1131,"resolved":1132,"usedFallback":9},{},{"locale":8},{"previous":1134,"next":1135},{"title":32,"id":33,"canonicalKey":34,"locale":8,"draft":9,"path":36},{"title":44,"id":45,"canonicalKey":46,"locale":8,"draft":9,"path":48},{"left":1137,"top":1137,"width":1138,"height":1138,"rotate":1137,"vFlip":9,"hFlip":9,"body":1139},0,256,"\u003Cpath fill=\"#3178c6\" d=\"M20 0h216c11.046 0 20 8.954 20 20v216c0 11.046-8.954 20-20 20H20c-11.046 0-20-8.954-20-20V20C0 8.954 8.954 0 20 0\"\u002F>\u003Cpath fill=\"#fff\" d=\"M150.518 200.475v27.62q6.738 3.453 15.938 5.179T185.849 235q9.934 0 18.874-1.899t15.678-6.257q6.738-4.359 10.669-11.394q3.93-7.033 3.93-17.391q0-7.51-2.246-13.163a30.8 30.8 0 0 0-6.479-10.055q-4.232-4.402-10.149-7.898t-13.347-6.602q-5.442-2.245-9.761-4.359t-7.342-4.316q-3.024-2.2-4.665-4.661t-1.641-5.567q0-2.848 1.468-5.135q1.469-2.288 4.147-3.927t6.565-2.547q3.887-.906 8.638-.906q3.456 0 7.299.518q3.844.517 7.732 1.597a54 54 0 0 1 7.558 2.719a41.7 41.7 0 0 1 6.781 3.797v-25.807q-6.306-2.417-13.778-3.582T198.633 107q-9.847 0-18.658 2.115q-8.811 2.114-15.506 6.602q-6.694 4.49-10.582 11.437Q150 134.102 150 143.769q0 12.342 7.127 21.06t21.638 14.759a292 292 0 0 1 10.625 4.575q4.924 2.244 8.509 4.66t5.658 5.265t2.073 6.474a9.9 9.9 0 0 1-1.296 4.963q-1.295 2.287-3.93 3.97t-6.565 2.632t-9.2.95q-8.983 0-17.794-3.151t-16.327-9.451m-46.036-68.733H140V109H41v22.742h35.345V233h28.137z\"\u002F>",{"left":1137,"top":1137,"width":1138,"height":1141,"rotate":1137,"vFlip":9,"hFlip":9,"body":1142},221,"\u003Cpath fill=\"#41b883\" d=\"M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0z\"\u002F>\u003Cpath fill=\"#41b883\" d=\"m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0z\"\u002F>\u003Cpath fill=\"#35495e\" d=\"M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0z\"\u002F>",{"left":1137,"top":1137,"width":1144,"height":1144,"rotate":1137,"vFlip":9,"hFlip":9,"body":1145},24,"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"8\" height=\"4\" x=\"8\" y=\"2\" rx=\"1\" ry=\"1\"\u002F>\u003Cpath d=\"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2\"\u002F>\u003C\u002Fg>",1786511353407]