1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[235],{43598:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>a,contentTitle:()=>s,default:()=>p,frontMatter:()=>i,metadata:()=>c,toc:()=>d});var t=r(85893),o=r(11151);const i={sidebar_position:17,description:"Negate a waypoint marker \u2014 visible on all subslides *except* the referenced ones.",toc_max_heading_level:2},s="not-wp",c={id:"reference/core/not-wp",title:"not-wp",description:"Negate a waypoint marker \u2014 visible on all subslides *except* the referenced ones.",source:"@site/docs/reference/core/not-wp.mdx",sourceDirName:"reference/core",slug:"/reference/core/not-wp",permalink:"/docs/reference/core/not-wp",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:17,frontMatter:{sidebar_position:17,description:"Negate a waypoint marker \u2014 visible on all subslides *except* the referenced ones.",toc_max_heading_level:2},sidebar:"tutorialSidebar",previous:{title:"next-wp",permalink:"/docs/reference/core/next-wp"},next:{title:"effect",permalink:"/docs/reference/core/effect"}},a={},d=[{value:"wp : <TypeLink></TypeLink> | <TypeLink></TypeLink>",id:"wp",level:3}];function l(e){const n={a:"a",code:"code",em:"em",h1:"h1",h3:"h3",p:"p",strong:"strong",...(0,o.a)(),...e.components},{Param:r,Parameters:i,Signature:s,SignatureName:c,SignatureParam:a,SourceLink:d,TypeLink:l}=n;return r||h("Param",!0),i||h("Parameters",!0),s||h("Signature",!0),c||h("SignatureName",!0),a||h("SignatureParam",!0),d||h("SourceLink",!0),l||h("TypeLink",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"not-wp",children:"not-wp"}),"\n",(0,t.jsx)(s,{children:(0,t.jsxs)("code",{children:[(0,t.jsx)(c,{children:"not-wp"}),"(",(0,t.jsx)(a,{children:(0,t.jsx)(n.a,{href:"#wp",children:"wp"})}),")",(0,t.jsx)(d,{href:"https://github.com/touying-typ/touying/blob/main/src/core.typ#L1632"})]})}),"\n",(0,t.jsxs)(n.p,{children:["Negate a waypoint marker \u2014 visible on all subslides ",(0,t.jsx)(n.em,{children:"except"})," the referenced ones."]}),"\n",(0,t.jsxs)(n.p,{children:["Works with bare labels, ",(0,t.jsx)(n.code,{children:"from-wp"}),", ",(0,t.jsx)(n.code,{children:"until-wp"}),", ",(0,t.jsx)(n.code,{children:"prev-wp"}),", ",(0,t.jsx)(n.code,{children:"next-wp"}),",\n",(0,t.jsx)(n.code,{children:"get-first"}),", ",(0,t.jsx)(n.code,{children:"get-last"}),", or any other waypoint marker."]}),"\n",(0,t.jsxs)(n.p,{children:["Like the ",(0,t.jsx)(n.code,{children:'"!"'})," prefix for strings, ",(0,t.jsx)(n.code,{children:"not-wp"})," cannot introduce new subslides \u2014\nit only masks existing ones."]}),"\n",(0,t.jsxs)(n.p,{children:["Example: ",(0,t.jsx)(n.code,{children:"#only(not-wp(<my-label>))[hidden during my-label]"})]}),"\n",(0,t.jsxs)(i,{children:[(0,t.jsxs)(n.h3,{id:"wp",children:["wp : ",(0,t.jsx)(l,{type:"label"})," | ",(0,t.jsx)(l,{type:"dictionary"})]}),(0,t.jsx)(r,{children:(0,t.jsx)(n.p,{children:"A waypoint label or marker to negate."})})]}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"Returns:"})," ",(0,t.jsx)(l,{type:"dictionary"})]})]})}function p(e={}){const{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(l,{...e})}):l(e)}function h(e,n){throw new Error("Expected "+(n?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}},11151:(e,n,r)=>{r.d(n,{Z:()=>c,a:()=>s});var t=r(67294);const o={},i=t.createContext(o);function s(e){const n=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),t.createElement(i.Provider,{value:n},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.