From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32462 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ulrike Fischer Newsgroups: gmane.text.pandoc Subject: Re: trouble with hyperref loaded after `header-includes` in the default latex template Date: Mon, 10 Apr 2023 12:56:12 +0200 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21592"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: 40tude_Dialog/2.0.15.41de To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCKYBFEGRAJRBVOWZ6QQMGQE3I6CVSY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Apr 10 12:56:25 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wm1-f59.google.com ([209.85.128.59]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1plpCD-0005Sz-2Y for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 10 Apr 2023 12:56:25 +0200 Original-Received: by mail-wm1-f59.google.com with SMTP id q19-20020a05600c46d300b003ef69894934sf830483wmo.6 for ; Mon, 10 Apr 2023 03:56:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1681124184; cv=pass; d=google.com; s=arc-20160816; b=aOjE82mipvHBmeVPNghJShH8vWow+yj4Kx0fBhmP7rBqGNVq3LHNxOhkpk4rQHR7dG FwqR622Nopaw1ElGBmAkfbfJvWxdhHSZ3RWloBP7gUcCxFJ33UNoEO6DNJ/0rFI3xk04 3VijSEaBjNTnQarKGZPY7gwbFWm/jy2K9qgRGBzMiGO34SRTTraEz9vD8aoO/aEO3ooc fW0XaWOBZTVyX9Sxu32RNPH4cyF5yq+6+fuvlXE0i/NNcKUG6UoWDDe2ZEuZkTwuR7P+ jG95SaplQDYXjJ2GDu9UWk2rXLY4j+EELhzRooUFTYJVwQIs2QfqXxb2YGul2rmzwPjL 3kzw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:user-agent:mime-version:reply-to :references:message-id:date:subject:from:to:sender:dkim-signature; bh=B9OhUdh+dxPgPd43w/jAF4NE0QQJFUJoJv7onRQ5WIE=; b=IvYe3eNzcw4wV3w2VqwA96c/gEWcStlsJkgtJx7G42HdETLkOWJiKAoLvOYZz1/O2h f/YScfW+l76n9ISVqRBrhGGmEsgwRmIpZG7JrxlMwE+Ek4csnwJj97fj8cUWKGvxxQpK w4ciLJ9gGrMnR9h4LFMj6VFmclMRFtArB8LGr5eGfrbyQExTfpk/FRBJdypa8nhSBQFB Z779Phu5ldkF7rkKlpla2oCJzTvo6cutHclUUShwR1KgW8OCMLIlMy2QaJT12o+xGAX2 L03c5WpV7irXZe17aEvcfy0O6DU3Meq//7u1wkmtExBhfga7t2eniDaaE/IUfhjQVX6H Fmdg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of gtp-pandoc-discuss@m.gmane-mx.org designates 116.202.254.214 as permitted sender) smtp.mailfrom=gtp-pandoc-discuss@m.gmane-mx.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1681124184; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:user-agent:mime-version:reply-to:references :message-id:date:subject:from:to:sender:from:to:cc:subject:date :message-id:reply-to; bh=B9OhUdh+dxPgPd43w/jAF4NE0QQJFUJoJv7onRQ5WIE=; b=Tq/MW/LLwXC8W2qZ3YKesQW1Rvjrup7wSmuWnCE+IZKdPNBGmYSX7zJOxJMwDpE10k WbQhkFmQ/AvJvzHVLKIf/neF7V/DqggyhdEoLcGor4zD8+KsiOiAaPDQUkc20NeKTt7I eNEJVLM1lGc7ACX9GGnb3w+LFnPvJJg5qbZ0oUIu1gbj+k7XOkEHtRyXYPVArkL2kX/C mPK+dAAKZC8MLECZi4LHiALBJ0XHhvPKJ0zs6kZ8ZKum0ouktkPkV5/UqaqS/bDkBlBm 1tF34J+/SeCkRi0ykerqwVe6IReB+hxdPCQ+vkEbhuxadVJjMGXeU+COgJDZl5JV+bB8 OpWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681124184; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:user-agent :mime-version:reply-to:references:message-id:date:subject:from:to :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=B9OhUdh+dxPgPd43w/jAF4NE0QQJFUJoJv7onRQ5WIE=; b=eyba4Vy7QrRZPoonfM/QvGESdykZY9/JfLiWPPKLxpxPQPOrdLj2dlPMUB+gJQniuY uH7Q8Sy0VFqdGyC5QT7oNpLjoMhHdkxaZACeCp3wj/ZQ42EhjM4e+PnTnQAVpkbjpf/2 fkm/8RvECKtNHzyVj7gpC2jU3pwRh+jhjaalw1IHs+QlvPpCXk3vh8gk608PXzpnVaow h0tIlodoyzH/N6Co7uCphkapt48mD3v2ohHYx7h1m6PLijIzeou78SIboVRTKbspNg18 Oi1AdapH3zjcoUu+TbbQ1 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AAQBX9eiPTvCmM46Wpz7HXNfbUYL49IAWZ1pjlsmoHBobUjMjLfMqikY JBHC1cdYe5mXKIerrYM3FXw= X-Google-Smtp-Source: AKy350ZceDO8PJhKEosKi0lTipyZ3LhkTcxOyJ6lqdWWNLE0XYi3CNiNz/MaysgXBVMRIWyR8Uh7+w== X-Received: by 2002:a7b:ce16:0:b0:3ef:6935:da8d with SMTP id m22-20020a7bce16000000b003ef6935da8dmr2046065wmc.8.1681124184569; Mon, 10 Apr 2023 03:56:24 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:600c:3b0f:b0:3f0:7f3f:3a4b with SMTP id m15-20020a05600c3b0f00b003f07f3f3a4bls2764811wms.3.-pod-control-gmail; Mon, 10 Apr 2023 03:56:20 -0700 (PDT) X-Received: by 2002:a05:600c:b4e:b0:3ef:61f6:d7c4 with SMTP id k14-20020a05600c0b4e00b003ef61f6d7c4mr6525721wmr.18.1681124180119; Mon, 10 Apr 2023 03:56:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681124180; cv=none; d=google.com; s=arc-20160816; b=zEAo23eTRv5/yzIQABO0mYOMu/t38plwGCnTZZTIfUqwsP51SfSRJ2Cm0icDvLu5w7 SM+uIMPbFJ6UxHRQJbtJW6OrbBwwEJxyMP91AX89Ad+AEBmtowtSamTeVGhJfcAh+cZ1 FMWhqZ/W+/3rG3YgtcgGyAKsuyxWtJH1vyiQpLDoWv3bI67X9jEJ6powwNI2ia6DjAQA PdoHy7DXgps3q2RAahnWxWGg/05iVg8RKWnRzHPTWQB3nQbyTiGOINyOIuxPSunhqIN0 TEVAq+mHZg1QBo9lsjA1ao0LCzXZ7f28SxfyPzOwp+FbJ4Zv+S3qVXb2/4uflpKOsA5e Tqxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:content-transfer-encoding:mime-version:reply-to :references:message-id:date:subject:from:to; bh=eZS5+8gQC4SHfmjR5Od/sNJd+QhchOnMWGau1m8I408=; b=xD3bIVUhJ2N1ASJfFFABCsPx1kSR6URXujS1KOyUtE/Q1lL01NlCPexvJobbsyOmei 8NdJXxTf5/VB0uv4XXIbsreYhYcl9gk9OXpTb3fN+dC4NfhfG5TUHBKBeEVE9/pTM9BU HronWIZpAIt88K+SWjKM64cU8e2483mFa64qn5UHYG3s2loOQcwpB3OkwC3NPJANqh26 4IhmVteftPmKU1ZNY/g4Oh3a4eSiv/djy0j5w0DP7J2qeM7xGTCwUQ4f0BeXqEz049t0 w63wwBuFr+J1qub0TeRbozEtYsHVgdtMDn0cZRrUOPM9Py34tZXdp56skp3Hqzhw0QZx Koeg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of gtp-pandoc-discuss@m.gmane-mx.org designates 116.202.254.214 as permitted sender) smtp.mailfrom=gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from ciao.gmane.io (ciao.gmane.io. [116.202.254.214]) by gmr-mx.google.com with ESMTPS id cl4-20020a5d5f04000000b002d889e899d4si501086wrb.7.2023.04.10.03.56.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Apr 2023 03:56:20 -0700 (PDT) Received-SPF: pass (google.com: domain of gtp-pandoc-discuss@m.gmane-mx.org designates 116.202.254.214 as permitted sender) client-ip=116.202.254.214; Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1plpC7-0005Lx-IG for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Mon, 10 Apr 2023 12:56:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ X-Original-Sender: gtp-pandoc-discuss@m.gmane-mx.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of gtp-pandoc-discuss@m.gmane-mx.org designates 116.202.254.214 as permitted sender) smtp.mailfrom=gtp-pandoc-discuss@m.gmane-mx.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:32462 Archived-At: Am Mon, 10 Apr 2023 16:12:19 +0800 (GMT+08:00) schrieb jiewuza: > I get an error > `cleverref must be loaded after hyperref`, > after updating. > > I find in the default latex template that hyperref package is deferred to be loaded after `header-includes`, while I usually put 3rd packages including cleverref in it. > > I know I can use customized template. But I'd like to figure out where should I put those packages that are required to be load after hyperref with the default template. I have no idea about how pandoc handles that, but from the LaTeX side you could use \AddToHook{package/hyperref/after}{\usepackage{cleveref}} or \AddToHook{begindocument/before}{\usepackage{cleveref}} to delay the loading of cleveref. (It is a bit of a pain, that it wants to be loaded later, but cleveref is not actively maintained currently, and so it can't be enhanced with hooks to resolve this). -- Ulrike Fischer http://www.troubleshooting-tex.de/