PageSourceSearch

https://touying-typ.github.io/assets/js/e18ddfd5.8a31db92.js

js touying-typ.github.io collected 2026-10-03 10:07:48 UTC 3,571 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4628],{95053:(e,i,t)=>{t.r(i),t.d(i,{assets:()=>c,contentTitle:()=>a,default:()=>p,frontMatter:()=>o,metadata:()=>s,toc:()=>l});var n=t(85893),r=t(11151);const o={sidebar_position:8,description:"Display the collected bibliography entries.",toc_max_heading_level:2},a="bibliography",s={id:"reference/magic/bibliography",title:"bibliography",description:"Display the collected bibliography entries.",source:"@site/docs/reference/magic/bibliography.mdx",sourceDirName:"reference/magic",slug:"/reference/magic/bibliography",permalink:"/docs/reference/magic/bibliography",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:8,frontMatter:{sidebar_position:8,description:"Display the collected bibliography entries.",toc_max_heading_level:2},sidebar:"tutorialSidebar",previous:{title:"bibliography-as-footnote",permalink:"/docs/reference/magic/bibliography-as-footnote"},next:{title:"Pdfpc",permalink:"/docs/category/pdfpc"}},c={},l=[{value:"title : <TypeLink></TypeLink> | <TypeLink></TypeLink> | <TypeLink></TypeLink> <Default><code>auto</code></Default>",id:"title",level:3}];function d(e){const i={a:"a",code:"code",h1:"h1",h3:"h3",p:"p",strong:"strong",...(0,r.a)(),...e.components},{Default:t,Param:o,Parameters:a,Signature:s,SignatureName:c,SignatureParam:l,SourceLink:d,TypeLink:p}=i;return t||h("Default",!0),o||h("Param",!0),a||h("Parameters",!0),s||h("Signature",!0),c||h("SignatureName",!0),l||h("SignatureParam",!0),d||h("SourceLink",!0),p||h("TypeLink",!0),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.h1,{id:"bibliography",children:"bibliography"}),"\n",(0,n.jsx)(s,{children:(0,n.jsxs)("code",{children:[(0,n.jsx)(c,{children:"bibliography"}),"(",(0,n.jsx)(l,{children:(0,n.jsx)(i.a,{href:"#title",children:"title: auto"})}),")",(0,n.jsx)(d,{href:"https://github.com/touying-typ/touying/blob/main/src/magic.typ#L201"})]})}),"\n",(0,n.jsxs)(i.p,{children:['Display the collected bibliography entries. Avoids the "multiple bibliographies are not yet supported" error by rendering entries gathered by ',(0,n.jsx)(i.code,{children:"bibliography-as-footnote"}),"."]}),"\n",(0,n.jsxs)(i.p,{children:["Usage: ",(0,n.jsx)(i.code,{children:"#magic.bibliography()"})]}),"\n",(0,n.jsxs)(a,{children:[(0,n.jsxs)(i.h3,{id:"title",children:["title : ",(0,n.jsx)(p,{type:"str"})," | ",(0,n.jsx)(p,{type:"auto"})," | ",(0,n.jsx)(p,{type:"none"})," ",(0,n.jsx)(t,{children:(0,n.jsx)(i.code,{children:"auto"})})]}),(0,n.jsx)(o,{children:(0,n.jsxs)(i.p,{children:["The heading for the bibliography section. When ",(0,n.jsx)(i.code,{children:"auto"}),", uses a language-appropriate title. When ",(0,n.jsx)(i.code,{children:"none"}),", no heading is shown. Default is ",(0,n.jsx)(i.code,{children:"auto"}),"."]})})]}),"\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.strong,{children:"Returns:"})," ",(0,n.jsx)(p,{type:"content"})]})]})}function p(e={}){const{wrapper:i}={...(0,r.a)(),...e.components};return i?(0,n.jsx)(i,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}function h(e,i){throw new Error("Expected "+(i?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},11151:(e,i,t)=>{t.d(i,{Z:()=>s,a:()=>a});var n=t(67294);const r={},o=n.createContext(r);function a(e){const i=n.useContext(o);return n.useMemo((function(){return"function"==typeof e?e(i):{...i,...e}}),[i,e])}function s(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),n.createElement(o.Provider,{value:i},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.