From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32960 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Alberto_Sim=C3=B5es?= Newsgroups: gmane.text.pandoc Subject: Re: Internal link to a RawBlock created via filter Date: Sat, 15 Jul 2023 21:39:38 +0100 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000fc971506008c91c8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9547"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCPPPLF75UIRBJUIZSSQMGQEQDYACUQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jul 15 22:40:10 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f60.google.com ([209.85.210.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qKm3l-0002IP-Rq for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 15 Jul 2023 22:40:09 +0200 Original-Received: by mail-ot1-f60.google.com with SMTP id 46e09a7af769-6b9c09823e7sf2075527a34.1 for ; Sat, 15 Jul 2023 13:40:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1689453608; cv=pass; d=google.com; s=arc-20160816; b=t/wY4FCQs0SxaKZj3uXwIpnp0sLKSVtPkN06a2O1By7NHR7p8EhSofOjMujDTt/+E4 lJHDri+qTX5HdOmGXQ9UmY0h6tT68q492+zrHyAoNSBru6Ywp7nxETy8CorveQ5xgnpG PYZv8bC8Mug4fnDoFDPqFSo5t3oG8JlSupuWzVCM1rj+uy1+4GyF1ZHSpcQHA8WZReNs GsnJ9espaxAI0G6Yf2K70obsAtAHPxG56KvLXQfmonTXnzW2fRZeKH8eSTNCAqRfR5d/ l+9RIhwqADsq6aPYWC4Nd4BmS7mnyV/3PjmdJkllye6DqANpgZMSzG8L/YNGW1joYbOL MhWw== 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:reply-to:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=N+gVdsh9SeFgsUgK5wSnfs7eNAT7IRz6YNltx8YQpdc=; fh=BdWCEHoA++TxB9vhFf1kKdxm1A0m4OlXUlCVWlNbA+0=; b=mH7SSvgCWlKH1KWrUX16Uky0NCMET+weRuEuzxENaKq0NpflGsUTg0NiKgrUTE/OfA j35iUAlPvJYeV+odCJhlAKdAMKX5AziZpsV1Q4l26oitIIvvR9MueziZ/zXSPN736IAh 2G6UYiyPByyVBNHBtX1Kni9IS82DydlK5ieZKhfUP5HHHG1qppdRKLfMAWS+V2FE0xWx 4v4D2ZH5o6mrnzAgGRUi77MHx09JMiWcz3w3KBhic88awVi5CFwVoYInP7cLQBunKNKZ ROrXt0A1gNpLsGqBH0dazUdqvB2tYMhx0AFHZjoXAVDr5jtXJzHolMeCk4ZqUWeE0Qwh eQGQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=TnHVeD3z; spf=pass (google.com: domain of hashashin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::831 as permitted sender) smtp.mailfrom=hashashin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1689453608; x=1692045608; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:sender :from:to:cc:subject:date:message-id:reply-to; bh=N+gVdsh9SeFgsUgK5wSnfs7eNAT7IRz6YNltx8YQpdc=; b=XT1MdGtxZaxulGPQndIN65gCKeL5/+odYe5G7WMpFjp+pI248Y1rwyfIgpbgnUeX/E OoNF9MP5ioezCXDU5eejewoUsg6khuR7BqC8/4kmSM9k/XL4+KK6XGmoIO79JEw0oLeY 4/ecbL2JIxlS+5DFkXnzoZJVIZ0hhKLxvaltP6aKmS3KkUmN4XmUtRgyEL7o56K3s7n/ 2eO9boBqKw79Icu5HWzaFgVPD76/t0hwM9lgVG6jVmipl1l+sr1qZH09KcDkfh0bNHlA KLzStFXFvPyjjVL3fbpXU3DDOXjPyqFXVGk/l9dvlVZBM0FiiIUgE8YOLv84xMjyflCz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689453608; x=1692045608; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version:from:to:cc :subject:date:message-id:reply-to; bh=N+gVdsh9SeFgsUgK5wSnfs7eNAT7IRz6YNltx8YQpdc=; b=L1tfSKpjxJkQWVEt8/LXsO8f9e4l/ZDF6Qfh0zYyYLh7wUM3V/wWFZ7Zbe3cgqBLRC 35LPoi+bjcqTu6x1eCqY7GwdJxwz78pSgtRAuRS8UKHRv5lLcF1Y+2giTqWqV1Uv9PzC Wf/TQcGCW3RKEk7f/D9kVeKbgHBWxGcZjsPEHVYFurH0RIr7szdrvbMvq3LZlnC3VuCw tK9AbCRe4EwW0yEJEFifxHn9YkVAyPvdd3f0pwUJ4dop72ywFPUsyxNZJ6HxKD15jTqU F18oAToZVfwHqjrauZgCdVZRBPqK+Jrh7a0gmZGN6GGwnP7SWHG3puzt4s0Monft5CxT Tb9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689453608; x=1692045608; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:to:subject :message-id:date:from:in-reply-to:references:mime-version :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=N+gVdsh9SeFgsUgK5wSnfs7eNAT7IRz6YNltx8YQpdc=; b=WKOEiJ59XIn+Tdr6fucVGc+oObK60Rx7bpI5Q12F3UCvPA2qRwSQ68hQ5M+udp+ZRJ S5g/A5FRbY2KONca/Uv85Qa1l2kJILM6EF+Lky9mYV6jXcrE3XAT1IH5sl4ji4S0OI8L F+fPyuIhuta4JaxVz/kxFRK8KNJHbl3F2sZWiATWn6RL1JNnRzSRVn1pyjhOagVY2iBX pfi3T/Foy80mKUIXyGBhm5YtUj9Z19wHZknqAd+XEXZjRiKwnPp/wgMiG/sUpo/LASH/ gYuA2j Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ABy/qLb9lAA7cQSjvAHudSmG3IUcTT7RuNBSvHQn9gTq/CTExSNTq4t/ l2GYWOdTP3JBbhvXoAkCSY0= X-Google-Smtp-Source: APBJJlEAwTpz+fvpxyRmfYLrkLJZYDQlzl+2d81GVeLzZDJFgrFGpRJjRoxN2T44awmMoLkc8mINFQ== X-Received: by 2002:a05:6871:a9:b0:1b7:1904:1ad9 with SMTP id u41-20020a05687100a900b001b719041ad9mr9960823oaa.53.1689453608725; Sat, 15 Jul 2023 13:40:08 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:170f:b0:19f:9b81:342f with SMTP id h15-20020a056870170f00b0019f9b81342fls2803046oae.0.-pod-prod-02-us; Sat, 15 Jul 2023 13:40:05 -0700 (PDT) X-Received: by 2002:a05:6870:e2cd:b0:1a0:85d3:3d70 with SMTP id w13-20020a056870e2cd00b001a085d33d70mr8845659oad.28.1689453605705; Sat, 15 Jul 2023 13:40:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689453605; cv=none; d=google.com; s=arc-20160816; b=ovB9l0V6C91uHZsqlBES559qlzD4jrqTS0/fa6vhenGzvAsftHeOcLIaIFtYF9iqQ4 /kPWhje66GhfmbUPO0RwjOK+6vmfrA+980h6Pqpu0bijO3Lkko+I5NQi2quuMZQ06qqj BhNy0LNkxWcK7hzqnAKQjs3heL5o5NtGftai7uBJu215X3/oeNmWRRCvno7cD73kHjZH edT8H/wUoo7UydjbxypuWNLeDJJjm8nCh13b6FRcWh0wNnL9EY4HhVEfg+jl0ybiC2J3 wxwE5uFwymAhFXrViwxwlVHKEplKr5N1WQ7111qqLcZqFn68W7izBlXliAZabM/m/VsN uFfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=EVAgZYEKT2vaTLXZjqQWW5Dj+FEeJNvWpTHYfh0lcWE=; fh=BdWCEHoA++TxB9vhFf1kKdxm1A0m4OlXUlCVWlNbA+0=; b=Rt2mckvCVkBE7h4K/Gd8Gn+oOwmyfG5YdmfMq+YoLKd9fcPgpA2bSzD/5bIYgtU4xV jd53dJTH+ETVbCoYr/s4SS4G0HPP2ViQUBuFjviJTUD4pgO9gq2XEUEZ8JXEiuigf9aP S1jdNRxVsAevhBzBxyNUs/GMzU6RAH2NhIA24Y0TnfvlI3OsWxmYbXQ/Sy2Xd37rGS3l hmtBsKH5AnQrbs8RBS15HOSh/3fN6LZAljpIfu1pPHkA9fyiqAxqso2u7mGRODEgb7AE n9FTBeP0dppq7N1dTJiJv4dOXwv6jx2m4EtXLEA/Q/JTcZAJO8lZvfrj+q6Au3U9YK/v yIBQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=TnHVeD3z; spf=pass (google.com: domain of hashashin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::831 as permitted sender) smtp.mailfrom=hashashin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com. [2607:f8b0:4864:20::831]) by gmr-mx.google.com with ESMTPS id gr21-20020a056870aa9500b001b3caa6f8adsi871074oab.2.2023.07.15.13.40.05 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 15 Jul 2023 13:40:05 -0700 (PDT) Received-SPF: pass (google.com: domain of hashashin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::831 as permitted sender) client-ip=2607:f8b0:4864:20::831; Original-Received: by mail-qt1-x831.google.com with SMTP id d75a77b69052e-403aa9d4991so8252681cf.0 for ; Sat, 15 Jul 2023 13:40:05 -0700 (PDT) X-Received: by 2002:a05:6214:500b:b0:62b:6c6f:b3e3 with SMTP id jo11-20020a056214500b00b0062b6c6fb3e3mr3012687qvb.3.1689453604934; Sat, 15 Jul 2023 13:40:04 -0700 (PDT) In-Reply-To: X-Original-Sender: hashashin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=TnHVeD3z; spf=pass (google.com: domain of hashashin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::831 as permitted sender) smtp.mailfrom=hashashin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:32960 Archived-At: --000000000000fc971506008c91c8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Jul 15, 2023 at 9:24=E2=80=AFPM Alberto Simoes wrote: > Hello > > I am using a filter based on the tikz example in the python pandocfilters > documentation. > I am generating one id=3D"foo" and a \label{foo} in the html and latex > output, respectively, for an internal link target. > > Nevertheless, when I use a link to that block, with [Look here](#foo) th= e > link is generated to the first page, and not to the raw block that has th= e > label defined. > > I suppose that Pandoc is creating an internal index of references before > generating the latex/html code (??) and is not aware that my RawBlock has= a > link target. > > The generated LaTeX looks good to me... -------- \begin{figure}[h] \centering ... \caption{Vibra=C3=A7=C3=A3o simples} \label{fig1} \end{figure} A corda \emph{A} deslocada para o ponto \emph{B} regressa =C3=A0 base \emph{A}. A vibra=C3=A7=C3=A3o simples p=C3=B3de pois representar-se em fac= e da \protect\hyperlink{fig1}{fig.~1} pela f=C3=B3rmula \(AB + BA\). ---------- What am I missing? Thank you --=20 Alberto Sim=C3=B5es --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/CAAkRyrtVDA8otm8WQNFyp1f2MgAhWu3vXZJvF0-Mwfx43g%3D8FQ%40mail= .gmail.com. --000000000000fc971506008c91c8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Sat, Jul 15, 2023 at 9:24=E2=80=AF= PM Alberto Simoes <hashashin@gmai= l.com> wrote:
Hello

I am using a filter based on the t= ikz example in the python pandocfilters documentation.
I am gener= ating one id=3D"foo" and a \label{foo} in the html and latex outp= ut, respectively, for an internal link target.

Nev= ertheless, when I use a link to that block, with [Look here](#foo)=C2=A0 th= e link is generated to the first page, and not to the raw block that has th= e label defined.

I suppose that Pandoc is creating= an internal index of references before generating the latex/html code (??)= and is not aware that my RawBlock has a link target.


The generated LaTeX looks good to me...

=
--------
\begin{figure}[h]
\centering
...
\caption{Vibra=C3=A7=C3=A3o simples}
\label{fig1}
\end{figure= }

A corda \emph{A} deslocada para o ponto \emp= h{B} regressa =C3=A0 base
\emph{A}. A vibra=C3=A7=C3=A3o simples p=C3=B3= de pois representar-se em face da
\protect\hyperlink{fig1}{fig.~1} pela = f=C3=B3rmula \(AB + BA\).
----------

What am I missing?

Thank you

=C2=A0
--
Alberto Si= m=C3=B5es

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://group= s.google.com/d/msgid/pandoc-discuss/CAAkRyrtVDA8otm8WQNFyp1f2MgAhWu3vXZJvF0= -Mwfx43g%3D8FQ%40mail.gmail.com.
--000000000000fc971506008c91c8--