From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29398 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.text.pandoc Subject: AW: spans in title / metadata blocks -> metadata read as table Date: Wed, 27 Oct 2021 11:50:36 +0000 Message-ID: References: <715b35799a5144bbbd9ecd730626baa8@unibe.ch> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29125"; mail-complaints-to="usenet@ciao.gmane.io" To: Original-X-From: pandoc-discuss+bncBCZ27W53TUFBBD724SFQMGQEIO2ETGQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Oct 27 13:50:42 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ed1-f57.google.com ([209.85.208.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mfhS6-0007PY-CD for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 27 Oct 2021 13:50:42 +0200 Original-Received: by mail-ed1-f57.google.com with SMTP id v9-20020a50d849000000b003dcb31eabaasf2037860edj.13 for ; Wed, 27 Oct 2021 04:50:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1635335441; cv=pass; d=google.com; s=arc-20160816; b=Z7VVaFXE02bevEmMzrKsxESOwcApEHwvfWG48lFe5C3MFWHPmPFjtweYnDB1AVMY0j 96q09ormYvCySGnVs89pYPv+UvPSbL/3M/O1EKkP2wGUlptYMgDO+QZDDfk4QzZAYBFP 7YYrNjgcN7OO8U/+g6uaaO5gKOo2Lrq96+9F3OgzXUrnZCRGx1NNjpgJ6JsdG1Blc4VN K40WOLdAg3ygrHfh2u5skhiDWDxahR/nFlo+0xHVEz3VyvWv87HhBX3PyaTLwDIqn27/ 4nWJGwYgQSGknbq2ugbESl3wEyitGHo3pm+8hVlFK2xZWtlezKvJfVx+Gu9j+UWvq37A 326A== 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:mime-version :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:to:from:sender:dkim-signature; bh=vHq2eVa5sOLMOgFd/0KZo6TvP8zBnmHj/td7hU2MXKo=; b=CMlFq012b3em4mZ2vIhlZp6q5xRMq5rHOirRNhC1IznUO02MFNwWFjy2eTYMciq9mE tioaArzoyfMlcO9DCDgHN0CandvCBfh/XQsop7mgCUmw1s6lcj0cT+zu1mS8RhngDUCe ESiXzCsCBbQyd9Y0Pjg4GD1smQiDF7/tnCqa03Iz+k87n0N5Vzt1O1Nflbr1uifKSp5S suqkoYwC0n5kKpeew+LesUHw2lJflClY+vxPII21F5RgeqgO5nY7LV8ICKyn7TP7H/f9 0Py2xNyszs7DlR5G9UjRvDxX+uSYVDwxn1/D19AYZNZpIk3aQDVI50AbBZ+Ja9QXr3cY f6LQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.84 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:accept-language:content-language :content-transfer-encoding:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=vHq2eVa5sOLMOgFd/0KZo6TvP8zBnmHj/td7hU2MXKo=; b=TKBI/uVLun1vpLzxe29oATtveNO75HKAORx7vOhNMXc7twZV2vuSozMkALg6uP6UQv fCHaHKLJrjTStvFgRzEgEysHFhX7C74saBLmBif6EkmPqVQPZ21IwKFbSdzzrJ2gQshj XpbCfuw7mPYxQ5/s8fLgrlDcEAdJTZMVYOlKVbIOTHJCC9RldoZvjVYcSvVxNFFo8lPb rhTFBRj722zELye3D9HfX+SQUlji1q3tGcvzqM8pnQ7xcPJK6sp8YTMEej9AqixVcNs1 TynqprJd2BOwt+cDJ9lKVSUq+sHAyaZ0jr9DqKWu2NvlrokRLY X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:subject:thread-topic:thread-index :date:message-id:references:in-reply-to:accept-language :content-language:content-transfer-encoding:mime-version :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=vHq2eVa5sOLMOgFd/0KZo6TvP8zBnmHj/td7hU2MXKo=; b=4BJCMp8ZN/7im9xzr6sjKCVRlIiZUiUlWcmlL6OthflTl3K2v21I+nLZar/H0vgZZI hNk7O+cSNV75Elk9q17q7o/RotAdSiXE6WyNoxCIJhp6NdxAOHnT0ER8x2j0LaAam+o5 m6dE7FsBUMkPFDR7Xdf5/m+2fbLIpuydB+QXgNvevK4QEjo1rOLs9lrDUqzV2UDAJoZO lepjzd11wlMhN66b04vL+Jq1o7JzSpkjBNEfn/eWL/i5hX1nuUWf+OIHwh+j+p0ZrXWt E+Z6J Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533RUpkB47jH/UKOP8FmKdLWG4WwqR7lIKtZXhOzsQr9vxRaTupW L2bJGqNQAAfGl2bR60pva5Y= X-Google-Smtp-Source: ABdhPJylOikxf2xqvbkX0vlZJtlh8HNy1bQ/4p1RBfpd5iBfauTHZjO6qr469n4IHSFcJb0A/o/s/A== X-Received: by 2002:a50:8d52:: with SMTP id t18mr2840831edt.71.1635335441725; Wed, 27 Oct 2021 04:50:41 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:907:d29:: with SMTP id gn41ls10307784ejc.3.gmail; Wed, 27 Oct 2021 04:50:39 -0700 (PDT) X-Received: by 2002:a17:907:160b:: with SMTP id hb11mr27900899ejc.492.1635335438929; Wed, 27 Oct 2021 04:50:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635335438; cv=none; d=google.com; s=arc-20160816; b=zvPtR2dfsVnxaCLBGpGFtWIp0JPXviEEKV6tcNmu8EAOYfDQQwqlnQssYcFqrfuBBZ mcHEgeRNrAXWaFxpcI8K3EKY244jhRQv8bsGq/yPPHXLmCnRpuJ3bHa1lOCZrkgFPaMy 9aSu59eOEtwfqLOmsyjlb/feBwKEoVp6NPG6w92Er0ohA4G8RvMBgBq1EI2lDWepgbMa SyzSM8NAjChHTZ+seRMzOPJeGtSVh2gl20hFIEqYMjziFcedvYoajQTpsL4JyYOdasiE e+fNLfa0J9WkXp1EHCZcafvTqqXExU96xJSTaWfE0fUqsZdWcOfZuJs7Q0kljtWfY87t z8vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:to:from; bh=A0O8aIOnGnqEXkIgvrsQb0/D3zmDgzyaFwZp/ahoEJI=; b=Kd8XjZToEeuNSqdqDQi3+thqjQTLmmEdjoI435ucAnzESHaOy+alfpGtrEwS3HzqJv TeRkWFIqyDC3ywEtc5xQrK756OiCvd1WUu2DUEBP2vhxEiZk6MfyfkLHG78KhdhAnzdt KtXLf49Gu9FJlH/9JA+kYhuj3ljaghUCusKKhXyqZsUx6sF+DdK0wO6IuwDWLYYYBmdz fu+4GlImWbzFXy9XNCdXZXASJOi/eOpGLdo6YLuXc6VEcIdhgN/S/AsVPAXkmv7tFBH9 xtj/86P87kRblaKdspq8TeKVCPAe57UJ5fakLp/RWcakLAiI190EQcuDzY+hL1tdW4fp FCqw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.84 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch Original-Received: from mailhub-lb3.unibe.ch (mailhub-lb3.unibe.ch. [130.92.0.84]) by gmr-mx.google.com with ESMTPS id bi21si1200716edb.0.2021.10.27.04.50.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Oct 2021 04:50:38 -0700 (PDT) Received-SPF: pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.84 as permitted sender) client-ip=130.92.0.84; X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-04.campus.unibe.ch [130.92.13.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb3.unibe.ch (Postfix) with ESMTPS id 8C34C500100 for ; Wed, 27 Oct 2021 13:50:37 +0200 (CEST) Thread-Topic: spans in title / metadata blocks -> metadata read as table Thread-Index: AdfLEisuedSr/lSdSwGTaD5ZPa2Ff///6huA//+8xFA= In-Reply-To: Accept-Language: de-CH, en-US Content-Language: de-DE x-originating-ip: [172.18.72.2] X-Original-Sender: denis.maier-NSENcxR/0n0@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of denis.maier-NSENcxR/0n0@public.gmane.org designates 130.92.0.84 as permitted sender) smtp.mailfrom=denis.maier-NSENcxR/0n0@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=unibe.ch 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:29398 Archived-At: Thanks! That solved it. Best, Denis > -----Urspr=C3=BCngliche Nachricht----- > Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > Im Auftrag von Bastien DUMONT > Gesendet: Mittwoch, 27. Oktober 2021 11:50 > An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > Betreff: Re: spans in title / metadata blocks -> metadata read as table >=20 > Hi, >=20 > I raised a similar issue here: https://github.com/jgm/pandoc/issues/7152 >=20 > In short: simply replacing double quotes by single quotes should solve yo= ur > problem. >=20 > ``` > --- > title: 'asdf \[[=D7=90=D7=91=D7=92=D7=93]{dir=3D"rtl"}\]. asdf' > --- >=20 > asdf > ``` >=20 > gives: >=20 > ``` > Pandoc (Meta {unMeta =3D fromList [("title",MetaInlines [Str "asdf",Space= ,Str > "[",Span ("",[],[("dir","rtl")]) [Str "\1488\1489\1490\1491"],Str "].",Sp= ace,Str > "asdf"])]}) [Para [Str "asdf"]] ``` >=20 > Le Wednesday 27 October 2021 =C3=A0 09:11:20AM, denis.maier-NSENcxR/0n0@public.gmane.org a = =C3=A9crit : > > Hi > > > > I have these two MWE: > > > > > > > > ``` > > > > --- > > > > title: "asdf \[[=D7=90=D7=91=D7=92=D7=93]{dir=3D"rtl"}\]. asdf" > > > > --- > > > > > > > > asdf > > > > ``` > > > > > > > > vs. > > > > > > > > ``` > > > > --- > > > > title: "asdf. asdf" > > > > --- > > > > > > > > asdf > > > > ``` > > > > > > > > The second example works correctly, but pandoc won=E2=80=99t pick up th= e > > metadata when there is the span in the title. (The metadata will then > > be read as a table.) > > > > > > > > I that a bug or intended behaviour? > > > > > > > > Best > > > > Denis > > > > -- > > 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 email to [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To view this discussion on the web visit > > [2]https://groups.google.com/d/msgid/ > > pandoc-discuss/715b35799a5144bbbd9ecd730626baa8%40unibe.ch. > > > > References: > > > > [1] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [2] > > https://groups.google.com/d/msgid/pandoc-discuss/715b35799a5144bbbd9ec > > d730626baa8%40unibe.ch?utm_medium=3Demail&utm_source=3Dfooter >=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 > email 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/YXkgv/JhzP8y4uee%40localhost. --=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/ffa07e03d0cf4d1689f5e56fb3d6c34b%40unibe.ch.